EasyManua.ls Logo

NEC PD78052 - Chapter 11 Watchdog Timer; Watchdog Timer Functions; Watchdog Timer Runaway Detection Times

NEC PD78052
603 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
247
CHAPTER 11 WATCHDOG TIMER
11.1 Watchdog Timer Functions
The watchdog timer has the following functions.
Watchdog timer
Interval timer
Caution Select the watchdog timer mode or the interval timer mode with the watchdog timer mode register
(WDTM) (The watchdog timer and interval timer cannot be used at the same time).
(1) Watchdog timer mode
An inadvertent program loop (runaway) is detected. Upon detection of the runaway, a non-maskable interrupt
request or RESET can be generated.
Table 11-1. Watchdog Timer Runaway Detection Times
Runaway Detection Time MCS = 1 MCS = 0
2
11
× 1/fXX 2
11
× 1/fX (410
µ
s) 2
12
× 1/fX (819
µ
s)
2
12
× 1/fXX 2
12
× 1/fX (819
µ
s) 2
13
× 1/fX (1.64 ms)
2
13
× 1/fXX 2
13
× 1/fX (1.64 ms) 2
14
× 1/fX (3.28 ms)
2
14
× 1/fXX 2
14
× 1/fX (3.28 ms) 2
15
× 1/fX (6.55 ms)
2
15
× 1/fXX 2
15
× 1/fX (6.55 ms) 2
16
× 1/fX (13.1 ms)
2
16
× 1/fXX 2
16
× 1/fX (13.1 ms) 2
17
× 1/fX (26.2 ms)
2
17
× 1/fXX 2
17
× 1/fX (26.2 ms) 2
18
× 1/fX (52.4 ms)
2
19
× 1/fXX 2
19
× 1/fX (104.9 ms) 2
20
× 1/fX (209.7 ms)
Remarks 1. f
XX : Main system clock frequency (fX or fX/2)
2. fX : Main system clock oscillation frequency
3. MCS : Bit 0 of oscillation mode selection register (OSMS)
4. Figures in parentheses apply to operation with f
X = 5.0 MHz.

Table of Contents

Related product manuals