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

Fatal SD error writing to NRF_POWER->RAM[0].POWERSET

As the title specifies, on writing to the registers mentioned, I receive a Fatal error.

Here's the test code

void save_ram()
{
	__DSB();
	NRF_POWER->RAM[0].POWERSET = 0xFFFFFFFF; // All RAM[0]
	__DSB();
	__NOP();
}

Engineering errata mentions reading having to be done on .POWER rather than .POWERSET but nothing about no write capability.

Is there something obviously wrong with this? It seems debugging it which inserts a lot of time delay, might allow it to work.

Related