|
| STM32 Independent Watchdog ExampleThe STM32 IWDG example program shows how to configure and use the Independent Watchdog of STMicroelectronics STM32F103xx microcontroller.
The independent watchdog is configured to fire after 2 seconds. LED PB15 indicates that the IWDG is no longer reloaded and is now going to reset the board. LED PB12 is lit when the restart was caused by the IWDG.
The configuration of the clocks and the independent watchdog is done using the Configuration Wizard in file STM32_Init.c.
Two µVision targets are available - Simulator where the program runs in the software simulator.
- MCBSTM32 where the program runs from internal Flash located on the microcontroller.
The example is tesed with the Keil Evaluation Board MCBSTM32. |
|