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

nRF52832 system powers off and wakes up it

Hi everyone,

I am developing a remote control using nRF52832 chip. My prototype is currently developed in PC10040 board. The IDE is Eclipse Oxygen, and the SDK is S132 v5.0.0.

I am trying to power off my system using NRF_POWER->SYSTEMOFF = 0x01; when I press a button and then, by pressing that button again, the system will wake up and cause a reset. The problem is when I press the button for the first time, the system seems to reset unstoppable, even when I press the reset button or turn off and then turn on the power again, it is still reset continuosly.

Could you help me please? Thanks

Parents Reply
  • When the system wakes from SYSTEM OFF it will boot like there was a reset but from RESETREAS register you can get the reason and see that it wasn't Power On Reset or other kind of restart. As you initiate UART afterwards during system start-up anyway (if you use it for debug;) then you simply print the same things like during any start-up but if you print that register you can see that it was trigger by button press. Also you can try to read PIN value over GPIO right after reset and print if it's LOW or HIGH (to verify if the trigger came from particular PIN).

Children
No Data
Related