AN3265 is an application note published by ST, which introduces how to use STM8S window watchdog and independent watchdog modules to handle software and hardware failures.
This application note describes an implementation based on the STM8S-DISCOVERY evaluation board. It demonstrates the use of the STM8S window watchdog (WWDG) and independent watchdog (IWDG) in conjunction with the clock security system (CSS) to manage both software and hardware failures. Two external pushbuttons are utilized to simulate these malfunctions while LEDs monitor the application progress.
| Component C1 Value | 470 nF |
|---|
No on-board resources are required; the application uses external LEDs, resistors, capacitors, and pushbuttons.
Pressing Button1 lengthens the delay between WWDG refresh operations until the delay becomes too long, triggering a reset.