
TMS320F2810, TMS320F2812
DIGITAL SIGNAL PROCESSORS
SPRS174B – APRIL 2001 – REVISED SEPTEMBER 2001
52
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
watchdog block (continued)
Table 37. WDCNTR Register Bit Definitions
BIT(S) NAME TYPE RESET DESCRIPTION
7:0 WDCNTR R/W 0:0 These bits contain the current value of the WD counter. The 8-bit
counter continually increments at the WDCLK rate. If the counter
overflows, then the watchdog initiates a reset. If the WDKEY register
is written with a valid combination, then the counter is reset to zero.
15:8 reserved R=0 0:0
Table 38. WDKEY Register Bit Definitions
BIT(S) NAME TYPE RESET DESCRIPTION
7:0 WDKEY W/R=0 0:0 Writing 0x55 followed by 0xAA will cause the WDCNTR bits to be
cleared. Writing any other value will cause an immediate watchdog
reset to be generated.
15:8 reserved R=0 0:0
Table 39. WDCR Register Bit Definitions
BIT(S) NAME TYPE RESET DESCRIPTION
2:0 WDPS(2:0) R/W 0:0 These bits configure the watchdog counter clock (WDCLK) rate relative
to OSCCLK/512:
000 WDCLK = OSCCLK/512/1
001 WDCLK = OSCCLK/512/1
010 WDCLK = OSCCLK/512/2
011 WDCLK = OSCCLK/512/4
100 WDCLK = OSCCLK/512/8
101 WDCLK = OSCCLK/512/16
110 WDCLK = OSCCLK/512/32
111 WDCLK = OSCCLK/512/64
5:3 WDCHK(2:0) W/R=0 0:0 The user must ALWAYS write “1,0,1” to these bits whenever a write to
this register is performed. Writing any other value will cause an
immediate reset to the core (if WD enabled).
6 WDDIS R/W 0 Writing a 1 to this bit will disable the watchdog module. Writing a 0 will
enable the module. This bit can only be modified if the WDOVERRIDE
bit in the SCSR2 register is set to 1. On reset, the watchdog module is
enabled.
7 WDFLAG R/W=1 Watchdog reset status flag bit. This bit, if set, indicates a watchdog
reset (WDRST
) generated the reset condition. If 0, then it was an
external device or power-up reset condition. This bit remains latched
until the user writes a 1 to clear the condition. Writes of 0 will be ignored.
15:8 reserved R=0 0:0
PR
DU
T PREVIEW