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

nRF52832 watchdog issue

Hi

I'm trying to implement the watchdog to my project, but I'm having some odd issues. When I power cycle the device the watchdog works fine, but when I program the device through keils Load button (system reset) the device just goes into a limbo state from which it can't recover anymore until I power cycle it, then it works fine again. I've found a similar issue in another post:

https://devzone.nordicsemi.com/question/4575/problem-with-system_reset-and-watchdog/

That post is about the nRF51, but I have the nRF52.

I found two different examples that use the wdt, one is this one:

https://github.com/NordicPlayground/nrf51-watchdog-resetreas-example/blob/master/watchdog_simple/main.c

And the other one is in keils example library that uses the nrf_drv_wdt library.

Both have the same issue.

Edit: The RESETREAS workaround has also issues sometimes.

Related