Consider this scenario, let’s say the mDot has a sleep interval of 1 minute which wakes up based on RTC Timer and the WatchDog timer resets the MCU at every 32 seconds, when not kicked. Also I attach a method to a LowPowerTimeout MBED driver to execute every 20 seconds to kick the watch dog timer, so as to prevent the MCU from resetting.
I have the following question regarding LowPowerTimeout driver available in MBED and not sure I understand the concept of LowPowerTimeout completely and hence the questions.
1) Does the LowPowerTimeout attached method gets called even when the mDot is in deep sleep?
2) If the method is called during mDot sleep and it attempts to kick the watchdog timer, will it break the mDot out of sleep?
Thanks,
Ajay