Hello,
I'm using nRF5 SDK with version 15, nRF52832 IC and softdevice s132. I need to save hold the data in the ram even in sleep mode. I'm using the below code. However it did not resolved my issue.
sd_power_ram_power_set(4,(POWER_RAM_POWER_S0POWER_On << POWER_RAM_POWER_S0POWER_Pos) | (POWER_RAM_POWER_S1POWER_On << POWER_RAM_POWER_S1POWER_Pos) | (POWER_RAM_POWER_S0RETENTION_On << POWER_RAM_POWER_S0RETENTION_Pos) | (POWER_RAM_POWER_S1RETENTION_On << POWER_RAM_POWER_S1RETENTION_Pos));