Hi All, my device wakeup from system off casued from reset RWOFF, I read the register RESETSRC and byte E is 1. maybe there is something about the configuration of gpio to go in sleep mode??
Hi All, my device wakeup from system off casued from reset RWOFF, I read the register RESETSRC and byte E is 1. maybe there is something about the configuration of gpio to go in sleep mode??
If byte E in RESETREAS is 1 it means you have woken up from system OFF triggered by GPIO. To do this one of the GPIO have to be configured with SENSE enabled (SENSE bit in NRF_GPIO->PIN_CNF[x] register) before entering system OFF.
Also remember that the RESETREAS register is only cleared during a brownout or power on reset or the individual fields can be reset by writing a '1' to it.
Do you run any example code? The ble examples will by default setup the buttons to wake up the chip if they are pushed.