Storage of few bytes data or NV memory

⚠️
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.
7 posts / 0 new
Last post
deshpandead
Offline
Last seen:1 year 4 weeks ago
加入:2018-03-17 12:29
Storage of few bytes data or NV memory

HI,

Is it possible to store the few bytes data(say useful readings) in memory ofDA14531 or DA14585which device can retain (data) even if power goes off?.

Plz.let me know.

Thanks& Regards

Device:
PM_Dialog
Offline
Last seen:12 hours 43 min ago
Staff
加入:2018-02-08 11:03
Hi deshpandead,

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

deshpandead
Offline
Last seen:1 year 4 weeks ago
加入:2018-03-17 12:29
HI,

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

deshpandead
Offline
Last seen:1 year 4 weeks ago
加入:2018-03-17 12:29
如果是,请让我知道possible

如果是,请让我知道possible.

PM_Dialog
Offline
Last seen:12 hours 43 min ago
Staff
加入:2018-02-08 11:03
Hi deshpandead,

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

deshpandead
Offline
Last seen:1 year 4 weeks ago
加入:2018-03-17 12:29
HI,

HI,

That means we need to rely on the external Memory Source.

Thanks & Regards

PM_Dialog
Offline
Last seen:12 hours 43 min ago
Staff
加入:2018-02-08 11:03
Hi deshpandead,

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