Skip to main content
MOda.1
Visitor II
Jun 2, 2020 9:21 PM UTC
Solved

what is the difference between independent and window watchdog timer in function and applications by examples ?

..

This topic has been closed for replies.
TDK
TDKBest answer
Jun 2, 2020 11:11 PM UTC

From the reference manual:

The devices have two embedded watchdog peripherals which offer a combination of high

safety level, timing accuracy and flexibility of use. Both watchdog peripherals (Independent

and Window) serve to detect and resolve malfunctions due to software failure, and to trigger

system reset or an interrupt (window watchdog only) when the counter reaches a given

timeout value.

The independent watchdog (IWDG) is clocked by its own dedicated low-speed clock (LSI)

and thus stays active even if the main clock fails. The window watchdog (WWDG) clock is

prescaled from the APB1 clock and has a configurable time-window that can be

programmed to detect abnormally late or early application behavior.

The IWDG is best suited to applications which require the watchdog to run as a totally

independent process outside the main application, but have lower timing accuracy

constraints. The WWDG is best suited to applications which require the watchdog to react

within an accurate timing window. For further information on the window watchdog, refer to

Section 20 on page 500.

"If you feel a post has answered your question, please click ""Accept as Solution""."

1 reply

TDK
TDKBest answer
Jun 2, 2020 11:11 PM UTC

From the reference manual:

The devices have two embedded watchdog peripherals which offer a combination of high

safety level, timing accuracy and flexibility of use. Both watchdog peripherals (Independent

and Window) serve to detect and resolve malfunctions due to software failure, and to trigger

system reset or an interrupt (window watchdog only) when the counter reaches a given

timeout value.

The independent watchdog (IWDG) is clocked by its own dedicated low-speed clock (LSI)

and thus stays active even if the main clock fails. The window watchdog (WWDG) clock is

prescaled from the APB1 clock and has a configurable time-window that can be

programmed to detect abnormally late or early application behavior.

The IWDG is best suited to applications which require the watchdog to run as a totally

independent process outside the main application, but have lower timing accuracy

constraints. The WWDG is best suited to applications which require the watchdog to react

within an accurate timing window. For further information on the window watchdog, refer to

Section 20 on page 500.

"If you feel a post has answered your question, please click ""Accept as Solution""."