I'm trying to use the hardware watchdog on the Boron. Seems like it should be simple, but...
In setup I have:
Watchdog.init(WatchdogConfiguration()
.capabilities(WatchdogCap::NOTIFY | WatchdogCap::DEBUG_RUNNING)
.timeout(5min));
Watchdog.start();
in the loop I put the boron to sleep for 30 minutes and reboot on waking with:
SystemSleepConfiguration config;
config.mode(SystemSleepMode::ULTRA_LOW_POWER)
.duration(30min);
System.sleep(config);
//when it wakes it does a system reset.
System.reset(RESET_NO_WAIT);
It seems that the unit should reboot every 5 minutes when the watchdog runs out but it only reboots every 30 min. What am I doing wrong?
john