The STM32 IWDG
In this section, we’ll analyze the STM32 IWDG module, exploring its main features and other relevant information to help you understand how to leverage this powerful feature in your embedded applications.
STM32 microcontrollers feature two types of WDTs: the IWDG and the Window Watchdog (WWDG). Both are essential for detecting and correcting software malfunctions by initiating a system reset, but they each have unique characteristics and applications.
The IWDG operates using a dedicated LSI clock, ensuring it continues to function even if the main system clock fails. This makes it highly reliable for applications that require continuous monitoring, regardless of the main clock’s state. In contrast, the WWDG derives its clock from the APB1 clock and features a configurable time window. The system must refresh the WWDG within this time window; failing to do so, either too early or too late, will trigger a system reset.
The IWDG is best suited for...