2010-11-30 02:13 AM
Independant Watchdog Timer
2011-05-17 05:16 AM
Hi,
I remember that there is an example provided within ST library. Check it first then call back :) Herzlich, MCU Lüfter2011-05-17 05:16 AM
Kick it in areas which will not be executed if the system locks up or dead locks.
Do not put the kicker in an interrupt that gets called even when the rest of the system is dead. If you do it under interrupt, qualify the kicking by looking at and clearing other signs-of-life indications you have from multiple sub-systems. When the system restarts you can query the reset status, and I'm sure it's covered in the TRM and example code. /* Check if the system has resumed from IWDG reset */ if (RCC_GetFlagStatus(RCC_FLAG_IWDGRST) != RESET) {/* IWDGRST flag set */ }