This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

RAM retention of Softdevice RAM region

Hi there

I am currently trying to retain the RAM that is being used by the Softdevice. More precisely the attribute table so that its content does not need to be set after every wakeup from system OFF.

Outside of the Softdevice RAM region I can successfully retain Values.

I use the nRF52832 with the SD132 v6.1.0.

So my main question is, if it is even possible to retain the Softdevice RAM through system OFF?

If so, how can I achieve that?

Thank you in advance!

Best regards,
Pascal

Parents
  • Hi Pascal

    Retaining the SoftDevice RAM region is pointless, as the SoftDevice will reinitialize after system OFF regardless, as it is considered a RESET when awoken, which means NVIC/RTC/TIMER etc. will have to be reinitialized as well, even if you retain full RAM. So it will not be possible to accomplish what you want here.

    This case has an example on how to implement RAM retention.

    Best regards,

    Simon

Reply
  • Hi Pascal

    Retaining the SoftDevice RAM region is pointless, as the SoftDevice will reinitialize after system OFF regardless, as it is considered a RESET when awoken, which means NVIC/RTC/TIMER etc. will have to be reinitialized as well, even if you retain full RAM. So it will not be possible to accomplish what you want here.

    This case has an example on how to implement RAM retention.

    Best regards,

    Simon

Children
Related