Hello!
A quick question about how to shutdown unused RAM on the nRF52810-CAAA?
We're not using any of the Soft Devices. Our code is pretty tiny. Map file attached.
We’re using the internal RC oscillator, then, going to sleep, waking up, sending a beacon, sleep, etc.
__WFE(); // wait for event
__SEV(); // go to sleep
__WFE();
Before we go into that while() loop, we’ve been trying to shutdown unused RAM with
NRF_POWER->RAM[0].POWER = 0x00000001;
NRF_POWER->RAM[1].POWER = 0x00000000;
NRF_POWER->RAM[2].POWER = 0x00000000;
But, that’s crashing our chip.
Or should it be done this way?
NRF_POWER->RAM[1].POWERCLR = 0x00030003;
NRF_POWER->RAM[2].POWERCLR = 0x00030003;
Thanks,
Brian