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

General purpose retention register NRf52

I need to read (and clear) the general purpose retention register. I cant start the Soft Device just yet, so cant use the sd_power_gpregret_get and sd_power_gpregret_clr functions just yet.

I thought these were just registers that I can write to or read from, but the values don't seem to match up.

x = NRF_POWER->GPREGRET2

and NRF_POWER->GPREGRET2 = 0;

I need to run this almost as the first thing in the application. Any ideas of what I am doing wrong?

Parents Reply Children
Related