I tried this using the ram_retention example from the SDK (nRF5_SDK_15.3.0).
The example (Ram Retention) still seems to work if the lines concerning NRF_POWER->RAMON and NRF_POWER->RAM[0].POWERSET are commented out.
Can somebody please comment on this.
Thanks in advance