Use Case - Infineon XMC7000 Series Using Manual

Using the watchdog timer
Hide thumbs Also See for XMC7000 Series:
Table of Contents

Advertisement

Using the Watchdog Timer in XMC7000 family MCUs
Basic WDT
Figure 5
shows an example flow to configure the basic WDT.
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
Figure 5
Example flow to configure basic WDT
2.7.1

Use case

This section explains an example of the basic WDT using the following use case. The basic WDT is cleared in the
warn interrupt handler. A reset is triggered if the basic WDT is not cleared between LOWER_LIMIT and
UPPER_LIMIT.
Use case:
LOWER_LIMIT: 125 ms
UPPER_LIMIT: 1 second
WARN_LIMIT: 875 ms
Application Note
Basic Watchdog Timer Setting
Disable Basic Watchdog Timer
Unlock Basic Watchdog Timer
Registers
Set LOWER_LIMIT
Set UPPER_LIMIT
Set WARN_LIMIT
Set LOWER_ACTION
Set UPPER_ACTION
Set WARN_ACTION
Configure Auto Service
Configure Counter Pause in Debug
Mode
Lock Basic Watchdog Timer Registers
Enable WDT Interrupt
Enable Basic Watchdog Timer
Setup Interrupt (WDT Warn Interrupt)
Clear Pending Interrupt
Enable Interrupt
End
System Interrupt Control
Configure Interrupt
Clear NVIC Pending Register
Enable NVIC Interrupt Controller
8 of 33
002-33887 Rev. *A
2022-05-25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xmc7100 seriesXmc7200 series

Table of Contents