Hi,
I'm currently developing software on nrf52832. Unfortunately, I can't use the SDK for different reasons.
I'm currently looking at the RESETREAS register. If I correctly understand the datasheet, I should have the RESETREAS register with all bits to 0 if the module restarts after a power-cycle. However, in my case, I got the RESET PIN flag that is always set (RESETREAS=0x00000001) after such event.
In other situations, as for example after a reset from my code, I correctly have SREQ flag that is set (RESETREAS=0x00000100).
At boot, I read the RESETREAS register. Then I clear it to avoid having problems at next boot (NRF_POWER->RESETREAS = 0xFFFFFFFF;).
Do you have any idea why I always get the RESET PIN flag after a simple power off-power on ?
Thanks in advance for your answer,
Best regards,
Florent