cancel
Showing results for 
Search instead for 
Did you mean: 

Independant Watchdog Timer

philipgillespie
Associate II
Posted on November 30, 2010 at 11:13

Independant Watchdog Timer

2 REPLIES 2
lowpowermcu
Associate II
Posted on May 17, 2011 at 14:16

Hi,

I remember that there is an example provided within ST library.

Check it first then call back :)

Herzlich,

MCU Lüfter

Posted on May 17, 2011 at 14:16

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 */

  }

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..