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

Reset reason register (RESETREAS) is always 0 after wakeup from System OFF via GPIO

Hey Folks,

I'm running into an issue with the nRF52840 where the the reset reason register (POWER->RESETREAS) is not populating as expected.

The GPIO is setup to sense high and I am able to enter system off mode. When the GPIO senses high, the device resets. But RESETREAS is always set to zero. I was expecting to see bit 16 (RESETREAS_OFF) set to indicate that the reset was due to wake up from System OFF mode as a result of the DETECT signal from the GPIO.

I'm aware of Errata 136 (Bits in RESETREAS are set when they should not be) and the workaround is applied. But the workaround is only clearing the RESETREAS_RESETPIN bit.

What am I doing wrong here?

Regards,

Kiran

Parents Reply Children
No Data
Related