After enabling and starting the watchdog timer (RR0), how can it be disabled?
This following code does not work:
NRF_WDT->RREN &= ~(1 << WDT_RREN_RR0_Pos);
Neither does:
NRF_WDT->POWER = 0;
Edit: I'm using a Rev G0 chip.
After enabling and starting the watchdog timer (RR0), how can it be disabled?
This following code does not work:
NRF_WDT->RREN &= ~(1 << WDT_RREN_RR0_Pos);
Neither does:
NRF_WDT->POWER = 0;
Edit: I'm using a Rev G0 chip.
I haven't found a way to stop the WDT once it is started short of a power cycle. It even appears to continue to run after reset. I had to add a watchdog service to the DFU code to prevent WDT timeouts during bootloading.
I haven't found a way to stop the WDT once it is started short of a power cycle. It even appears to continue to run after reset. I had to add a watchdog service to the DFU code to prevent WDT timeouts during bootloading.