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

RAMON and RAMONB

Hi,

In the nrf51_bitfields.h file, I can see definitions for two registers POWER_RAMON and POWER_RAMONB.

But I don't see this RAMONB in th nRF51 reference manual and have only sd_power_ramon_set() not a sd_power_ramonb_set.

So, if I do sd_power_ramon_set(0xf000f), will all the 4 blocks of RAM will be retained? This is with SDK 5.2 and Soft Device 110 6.0

EDIT: Just found 51822 PS describes just two RAM blocks. Does that means only first two bits of RAMON is valid?

Best regards, Karthik

Parents
  • Hi,

    The field "RAMONB" is something added for future products/revision, and is not in use at this moment (or even existing). I've reported this internally.

    The sd_power_ramon_* functions are directly mapped to the NRF_POWER->RAMON register, meaning that if you set sd_power_ramon_set(0x00030003); you will keep all RAM blocks powered in both SYSTEMON and SYSTEMOFF mode.

    As you've already noticed, the nRF51822 only has 2 RAM blocks.

    The Reference manual describes the nRF51-series, while each product specification sets restrictions on that specific part. In this case, the nRF51-series is described to have 4 RAM blocks, while the nRF51x22 parts only has two as described in the PS chapter 3.2.2.

Reply
  • Hi,

    The field "RAMONB" is something added for future products/revision, and is not in use at this moment (or even existing). I've reported this internally.

    The sd_power_ramon_* functions are directly mapped to the NRF_POWER->RAMON register, meaning that if you set sd_power_ramon_set(0x00030003); you will keep all RAM blocks powered in both SYSTEMON and SYSTEMOFF mode.

    As you've already noticed, the nRF51822 only has 2 RAM blocks.

    The Reference manual describes the nRF51-series, while each product specification sets restrictions on that specific part. In this case, the nRF51-series is described to have 4 RAM blocks, while the nRF51x22 parts only has two as described in the PS chapter 3.2.2.

Children
Related