⚠️ Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
If I am able to understand correctly, you want to completely power down the device, so you should store the data into the SPI flash. If your firmware is written in the SPI flash as well, you should use the SmartSnippets toolbox and check in which addresses it is located, so you will need to store the data in different addresses. I would strongly recommend first checking the spi_flash peripheral example of the SDK located under 6.0.12.1020\projects\target_apps\peripheral_examples\spi\spi_flash SDK path. This peripheral example demonstrates how to interact with the SPI flash. Also, a possible solution would be to store the date int the retention RAM to retain them in sleep mode and in every boot. However, if the chip is powered down, the data will be lost.
I am looking for the NV Memory or EEPROM or space for NV data storage in the Device itself. When Device is in powered-up condition and running, I want to store some bytes of data in the memory of the Device itself so that it stays stored such that even if the device powered down and powered-up again that data is not lost.
Please refer to the DA14531 datasheet and check the block diagram. DA14531 doesn’t include an embedded SPI Flash or EEPROM, so you will need to have an external memory. You can also check our new DA14531 Pro-DK for more information.
Hi deshpandead,
If I am able to understand correctly, you want to completely power down the device, so you should store the data into the SPI flash. If your firmware is written in the SPI flash as well, you should use the SmartSnippets toolbox and check in which addresses it is located, so you will need to store the data in different addresses. I would strongly recommend first checking the spi_flash peripheral example of the SDK located under 6.0.12.1020\projects\target_apps\peripheral_examples\spi\spi_flash SDK path. This peripheral example demonstrates how to interact with the SPI flash. Also, a possible solution would be to store the date int the retention RAM to retain them in sleep mode and in every boot. However, if the chip is powered down, the data will be lost.
Thanks, PM_Dialog
HI,
Sorry,I might have expressed it wrongly.
I am looking for the NV Memory or EEPROM or space for NV data storage in the Device itself. When Device is in powered-up condition and running, I want to store some bytes of data in the memory of the Device itself so that it stays stored such that even if the device powered down and powered-up again that data is not lost.
Regards,
Abhijeet
如果是,请让我知道possible.
Hi deshpandead,
In this case you can use either an SPI Flash or an EEPROM. The SDK includes examples for interacting with both of them.
Thanks, PM_Dialog
HI,
That means we need to rely on the external Memory Source.
Thanks & Regards
Hi deshpandead,
Please refer to the DA14531 datasheet and check the block diagram. DA14531 doesn’t include an embedded SPI Flash or EEPROM, so you will need to have an external memory. You can also check our new DA14531 Pro-DK for more information.
Thanks, PM_Dialog