Watchdog Timer Events - Texas Instruments TMS320C6A816 Series Technical Reference Manual

C6-integra dsp+arm processors
Table of Contents

Advertisement

www.ti.com
18.2 Architecture
18.2.1 Power Management
There are two clock domains in the watchdog timers:
Functional clock domain: WDTi_FCLK is a 32 kHz watchdog timer functional clock. It is used to
clock the watchdog timer internal logic.
Interface clock domain: WDTi_ICLK is a 125 MHz watchdog timer interface clock. It is used to
synchronize the watchdog timer L4 port to the L4 interconnect. All accesses from the interconnect
are synchronous to WDTi_ICLK.
In this device, the clocks to the watchdog timers are always On. The clocks cannot be turned off, if the
watchdog timers is not being used.
18.2.2 Interrupts
Table 18-1
list the event flags, and their masks, that cause module interrupts.
Event Flag
WDT_WIRQSTAT[0] EVENT_OVF
WDT_WIRQSTAT[1] EVENT_DLY
18.2.3 General Watchdog Timer Operation
The watchdog timers are based on an upward 32-bit counter coupled with a prescaler. The counter
overflow is signaled through two independent signals: a simple reset signal and an interrupt signal, both
active low.
Figure 18-2
The interrupt generation mechanism is controlled through the WDT_WIRQENSET/WDT_WIRQENCLR
and WDT_WIRQSTAT registers.
The prescaler ratio can be set from 1 to 128 by accessing the WDT_WCLR[4:2] PTV bit field and the
WDT_WCLR[5] PRE bit of the watchdog control register (WDT_WCLR).
The current timer value can be accessed on-the-fly by reading the watchdog timer counter register
(WDT_WCRR), modified by accessing the watchdog timer load register (WDT_WLDR) (no on-the-fly
update), or reloaded by following a specific reload sequence on the watchdog timer trigger register
(WDT_WTGR). A start/stop sequence applied to the watchdog timer start/stop register (WDT_WSPR)
can start and stop the watchdog timers.
Figure 18-2. 32-Bit Watchdog Timer Functional Block Diagram
WDTi_FCLK
L4 interface
SPRUGX9 – 15 April 2011
Submit Documentation Feedback
Preliminary
Table 18-1. Watchdog Timer Events
Event Mask
WDT_WIRQENSET/WDT_WIRQENCLR[0]
OVF_IT_ENA
WDT_WIRQENSET/WDT_WIRQENCLR[1]
DLY_IT_ENA
is a functional block diagram of the watchdog timer.
Watchdog timer
Prescaler
(1:128 ratio)
Registers
© 2011, Texas Instruments Incorporated
Mapping
WDTINT
WDTINT
Counter
RESET
(32−bit)
Interrupt
IRQ
generation
Architecture
Comments
Watchdog timer overflow
Watchdog delay value
reached
1661
Watchdog Timer

Advertisement

Table of Contents
loading

Table of Contents