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

nRF52 S132-v2.0 RAM retention

Hey all,

What I am trying to achieve today is setting RAM retention on nRF52. As it is stated in Product Specification of nRF52, RAMON register is deprecated ans shouldn't be used.

Ok then, I could use RAM[x].POWER(SET/CLR). But how do i use it, if there is no SD api call (there is only RAMON set call)? Or is it ok if I just set it BEFORE enabling SD?

Parents
  • Hi,

    Seems like the Softdevice has not yet adapted to this change. There are two options for you.

    1. As you suggested set the RAM blocks before enabling the softdevice if it fits your requirement.

    2. If you are designing your code on current hardware versions then you can still use the sd_power_ramon_set API. The RAMON register is still there but could be removed in future chip versions without notice. But it should not matter if your products will be based only on currently available chips.

Reply
  • Hi,

    Seems like the Softdevice has not yet adapted to this change. There are two options for you.

    1. As you suggested set the RAM blocks before enabling the softdevice if it fits your requirement.

    2. If you are designing your code on current hardware versions then you can still use the sd_power_ramon_set API. The RAMON register is still there but could be removed in future chip versions without notice. But it should not matter if your products will be based only on currently available chips.

Children
Related