Hi,
Out of these three reset sources, it's only the watchdog reset that can reliably detected by reading the RESETREAS register. Brownout and poweron reset will clear the register as the table below shows.

To trigger a Watchdog reset, you can start using the driver APIs here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/zephyr/hardware/peripherals/watchdog.html and let it time out.
Best regards,
Vidar
Hi,
Out of these three reset sources, it's only the watchdog reset that can reliably detected by reading the RESETREAS register. Brownout and poweron reset will clear the register as the table below shows.

To trigger a Watchdog reset, you can start using the driver APIs here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/zephyr/hardware/peripherals/watchdog.html and let it time out.
Best regards,
Vidar