Hi,
I try to enable the ram retention function. (Bank 4) So i used the POWER structure
NRF_POWER->RAM[4].POWERSET |= (POWER_RAM_POWER_S0POWER_On << POWER_RAM_POWER_S0POWER_Pos); NRF_POWER->RAM[4].POWERSET |= (POWER_RAM_POWER_S0RETENTION_On << POWER_RAM_POWER_S0RETENTION_Pos);
This instructions make constantly reset the board. Did you have a idea?
; ************************************************************* ; *** Scatter-Loading Description File generated by uVision *** ; *************************************************************
LR_IROM1 0x00023000 0x0005D000 { ; load region size_region ER_IROM1 0x00023000 0x0005D000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } RW_IRAM1 0x20002A68 0x0000D598 { ; RW data .ANY (+RW +ZI) } }