How to handle watchdog in low power modes standby and shutdown (STM32L433)
I tried to use the internal watchdog IWDG and WWDG) on an STM32L433
It worked fine until the device went into low power modes, standby and shutdown.
Because the watchdogs still runs during low power modes, but as the prcoessor is not running the watchdog times out and keeps resetting the processor.
So then I looked at using an external watchdog (STWD100) which can be disabled when in low power mode. I wrote a post about the topic here...
But a comment was made that "If you can enable and disable the watchdog, wild-running code can as well, and you cannot really rely on the watchdog"
So how should a watchdog (internal or external) be handled in low power modes ?
Surely you dont want to keep waking the processor every few milliseconds just to reset the watchdog timer, as the defies the point of being in low power mode to save battery power ?
I was told that the watchdog timer can be frozen in standby, but this does not solve the problem when in shutdown.
