Watchdog Timer
5 - 8
C2000 Microcontroller Workshop - System Initialization
Watchdog Timer Module
(lab file: Watchdog.c)
WDCLK
System
Reset
8-bit Watchdog
Counter
CLR
Watchdog
Reset Key
Register
55 + AA
Detector
1 0 1
/
/
3
3
WDDIS
WDCHK
Bad WDCHK Key
/512
Output
Pulse
WDRST
WDINT
WDOVERRIDE
Good Key
Watchdog
Prescaler
WDPS
The watchdog clock is divided by 512 and prescaled, if desired. The watchdog disable switch
allows the watchdog to be enabled and disabled. The watchdog override switch is a safety
mechanism, and once closed, it can only be open by resetting the device.
During initialization, “101” is written into the watchdog check bit fields. Any other values will
cause a reset or interrupt. During run time, the correct keys must be written into the watchdog
key register before the watchdog counter overflows and issues a reset or interrupt. Issuing a reset
or interrupt is user-selectable.
Summary of Contents for C2000 Piccolo LaunchPad
Page 74: ...Interrupts 4 18 C2000 Microcontroller Workshop Reset and Interrupts ...
Page 100: ...Lab 5 System Initialization 5 26 C2000 Microcontroller Workshop System Initialization ...
Page 218: ...Lab 8 IQmath FIR Filter 8 42 C2000 Microcontroller Workshop Numerical Concepts ...
Page 334: ...F28069 controlCARD A 4 C2000 Microcontroller Workshop Appendix A Experimenter s Kit SW2 ...
Page 336: ...F28035 controlCARD A 6 C2000 Microcontroller Workshop Appendix A Experimenter s Kit SW2 SW3 ...