2025-02-16 11:42 PM
Hi All,
On a custom board we have notice weird behaviour with the watchdog timer.
Indeed sometimes on low temperature (closer to 0°C) the board is unable to restart normally on WDT reset.
On WDT reset, the scheduler restarts during few ticks and hangs.
Any ideas would be will be very appreciated.
Regards
2025-02-17 12:13 AM
I would check my oscillators first - are all running at correct frequency?
Than I would escalate to power supplies
An have a look at Watchdog registers
2025-02-17 12:22 AM
As mentioned, this sounds very much like a hardware issue.
Either external clock generation (quartz), or the power supply.
I suggest to check if and where your MCU has a MCO output.
Instrument your code, and watch MCO during such low-temperature restart events.