11 watchdog block – Texas Instruments Digital Signal Processor SM320F2812-HT User Manual

Page 48

Advertising
background image

/512

OSCCLK

WDCR (WDPS(2:0))

WDCLK

WDCNTR(7:0)

WDKEY(7:0)

Bad Key

Good Key

1

0

1

WDCR (WDCHK(2:0))

Bad
WDCHK
Key

WDCR (WDDIS)

Clear Counter

SCSR (WDENINT)

Watchdog

Prescaler

Generate

Output Pulse

(512 OSCCLKs)

8-Bit

Watchdog

Counter

CLR

WDRST

WDINT

Watchdog

55 + AA

Key Detector

XRS

Core-reset

WDRST

(See Note A)

Internal

Pullup

SM320F2812-HT

SGUS062B

JUNE 2009

REVISED JUNE 2011

www.ti.com

C

L1

= C

L2

= 24 pF

C

shunt

= 6 pF

ESR range = 25 to 40

3.11 Watchdog Block

The watchdog block on the F2812 is identical to the one used on the 240x devices. The watchdog module
generates an output pulse, 512 oscillator clocks wide (OSCCLK), whenever the 8-bit watchdog up counter
has reached its maximum value. To prevent this, the user disables the counter or the software must
periodically write a 0x55 + 0xAA sequence into the watchdog key register which resets the watchdog
counter.

Figure 3-9

shows the various functional blocks within the watchdog module.

A.

The WDRST signal is driven low for 512 OSCCLK cycles.

Figure 3-9. Watchdog Module

The WDINT signal enables the watchdog to be used as a wakeup from IDLE/STANDBY mode timer.

In STANDBY mode, all peripherals are turned off on the device. The only peripheral that remains
functional is the watchdog. The WATCHDOG module runs off the PLL clock or the oscillator clock. The
WDINT signal is fed to the LPM block so that it can wake the device from STANDBY (if enabled). See
Section 3.12, Low-Power Modes Block, for more details.

In IDLE mode, the WDINT signal can generate an interrupt to the CPU, via the PIE, to take the CPU out of
IDLE mode.

In HALT mode, this feature cannot be used because the oscillator (and PLL) are turned off and hence so
is the WATCHDOG.

48

Functional Overview

Copyright

©

2009

2011, Texas Instruments Incorporated

Submit Documentation Feedback

Product Folder Link(s):

SM320F2812-HT

Advertising