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

Watchdog enabled across resets?

nRF52832, SDK14.0.0, S132v5.0.1

http://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.4.pdf

Section 18.8 (page 83) shows that the WDT registers are retained across Soft Reset.

Section 40.3 (page 409) reads:

When the device starts running again, after a reset, or waking up from OFF mode, the watchdog configuration registers will be available for configuration again.

 

The wording here is a little ambiguous. If the watchdog is enabled and active, and we perform a soft reset, what's the behavior after reset? Is the watchdog still enabled and running during system initialization? Does 18.8 include the RUNSTATUS register?

Parents
  • Hi,

    The wording here is a little ambiguous. If the watchdog is enabled and active, and we perform a soft reset, what's the behavior after reset? Is the watchdog still enabled and running during system initialization? Does 18.8 include the RUNSTATUS register?

    I agree. However, I did a quick test and verified that WDT is running and RUNSTATUS is set after a soft reset, which is the behavior I expected (is the reason we added reloading of WDT in our bootloader). So the watchdog will still be enabled and running during system initialization.   

Reply
  • Hi,

    The wording here is a little ambiguous. If the watchdog is enabled and active, and we perform a soft reset, what's the behavior after reset? Is the watchdog still enabled and running during system initialization? Does 18.8 include the RUNSTATUS register?

    I agree. However, I did a quick test and verified that WDT is running and RUNSTATUS is set after a soft reset, which is the behavior I expected (is the reason we added reloading of WDT in our bootloader). So the watchdog will still be enabled and running during system initialization.   

Children
Related