16

Independent Watchdog (IWDG)

In this chapter, we’ll learn about the Independent Watchdog (IWDG) timer, a unique component for enhancing the reliability of embedded systems. IWDG is essential for monitoring the system’s operation and ensuring it can recover from unexpected faults or malfunctions.

We will begin by exploring the general concept of watchdog timers (WDTs) and their importance in embedded systems. Following this, we will examine how WDTs function and the unique features of IWDG. Next, we will focus specifically on the STM32 implementation of the IWDG, looking at its key registers and configuration. Finally, we will apply this knowledge to develop a bare-metal IWDG driver, providing practical code examples to solidify our understanding. ...

Get Bare-Metal Embedded C Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.