cancel
Showing results for 
Search instead for 
Did you mean: 

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

MOda.1
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

1 REPLY 1
TDK
Guru

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".