This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf52 RAM Retention issue

Hi, In my project i would like to save 100 bytes of information in RAM before going to System-off sleep mode.I have tested the example project given in sdk11 works okay.Have used the same in my application as well.I am using softdevice S132 .Configured a button to wake up. My issue begins here :-( -After programming my board I used the push button to wake my device,the RAM data was available and works perfectly.But if I power cycle the board once,and after my device sleeps if I wake my device by pressing the push button the RAM details are not read.But what I noticed is the register GPREGRET was written to and read as expected.

-Should i take any special care while saving data to RAM?

Parents
  • Hi Vishal,

    Please clarify, it's not clear if you planned to retain the data when you power cycle the board, or power cycling is just part of the test process, what you want to retain is before and after you sleep after you power cycle ?

    It's not possible to retain data when you power cycle.

    If you test with the test code from the SDK and do a power cycle and test again, do you have the same issue ?

Reply
  • Hi Vishal,

    Please clarify, it's not clear if you planned to retain the data when you power cycle the board, or power cycling is just part of the test process, what you want to retain is before and after you sleep after you power cycle ?

    It's not possible to retain data when you power cycle.

    If you test with the test code from the SDK and do a power cycle and test again, do you have the same issue ?

Children
No Data
Related