![Nuvoton NUC970 series Technical Reference Manual Download Page 363](http://html1.mh-extra.com/html/nuvoton/nuc970-series/nuc970-series_technical-reference-manual_1720277363.webp)
NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 363 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
Watchdog Timer (WDT)
5.13
5.13.1 Overview
The purpose of Watchdog Timer (WDT) is to perform a system reset when system runs into an
unknown state. This prevents system from hanging for an infinite period of time. Besides, this
Watchdog Timer supports the function to wake-up system from Idle/Power-down mode.
5.13.2 Features
18-bit free running up counter for WDT time-out interval
Selectable time-out interval (2
4
~ 2
18
) and the time-out interval is 0.48828125 ms ~ 8 s if
WDT_CLK = 32.768 kHz
System kept in reset state for a period of (1 / WDT_CLK) * 63
Supports selectable WDT reset delay period, including 1026
、
130
、
18 or 3 WDT_CLK reset
delay period
Supports to force WDT enabled after chip powered on or reset by setting WDTON in
PWRON register
Supports WDT time-out wake-up function only if WDT clock source is selected as 32 kHz
5.13.3 Block Diagram
18- bit WDT Counter
0
… ... 15
..
4
16 17
000
001
110
111
:
:
WDT_ CLK
Time-
Out
Interval
Period
select
Reset
Delay
Period
Select
Watchdog
Interrupt
Watchdog
Reset
RSTCNT(WDT_CTL[0])
Reset WDT
Counter
WDTEN
(WDT_CTL[7])
Wakeup CPU from
Power - down mode
TOUTSEL
(WDT_CTL[10:8])
IF
(WDT_CTL[3])
INTEN
(WDT_CTL[6])
RSTEN
(WDT_CTL[1])
RSTF
(WDT_CTL[2])
WKEN
(WDT_CTL[4])
WKF
(WDT_CTL[5])
Figure 5.13-1 Watchdog Timer Block Diagram
Note1:
WDT resets CPU and lasts 63 WDT_CLK.
Note2:
If user intends to use WDT to wake-up Idle/Power-down mode, it is recommended that
CPU clock source is set the same as WDT clock source before CPU enters Power-Down mode.
Note3:
The WDT reset delay period can be selected as 3/18/130/1026 WDT_CLK.
5.13.4 Basic Configuration
The WDT clock control and block diagram are shown as follows.