Setting Watchdog Timer Interval Interrupt - NEC 78K0R/KE3 User Manual

16-bit single-chip microcontrollers
Table of Contents

Advertisement

Remarks 1. If the overflow time is set to 2
Window close time
Window open time
<When window open period is 25%>
• Overflow time:
10
2
• Window close time:
0 to 2
• Window open time:
10
2
= 3.56 to 3.88 ms
2. f
: Internal low-speed oscillation clock frequency
IL

8.4.4 Setting watchdog timer interval interrupt

Depending on the setting of bit 7 (WDTINT) of an option byte (000C0H), an interval interrupt (INTWDTI) can be
generated when 75% of the overflow time is reached.
WDTINT
0
Interval interrupt is used.
1
Interval interrupt is generated when 75% of overflow time is reached.
Caution When operating with the X1 oscillation clock after releasing the STOP mode, the CPU starts
operating after the oscillation stabilization time has elapsed.
Therefore, if the period between the STOP mode release and the watchdog timer overflow is
short, an overflow occurs during the oscillation stabilization time, causing a reset.
Consequently, set the overflow time in consideration of the oscillation stabilization time when
operating with the X1 oscillation clock and when the watchdog timer is to be cleared after the
STOP mode release by an interval interrupt.
Remark The watchdog timer continues counting even after INTWDTI is generated (until ACH is written to the
WDTE register). If ACH is not written to the WDTE register before the overflow time, an internal reset
signal is generated.
CHAPTER 8 WATCHDOG TIMER
10
/f
25%
0 to 3.56 ms
3.56 to 3.88 ms
10
/f
(MAX.) = 2
/264 kHz (MAX.) = 3.88 ms
IL
(MIN.) × (1 − 0.25) = 0 to 2
10
/f
IL
(MIN.) × (1 − 0.25) to 2
/f
IL
Table 8-5. Setting of Watchdog Timer Interval Interrupt
Use of Watchdog Timer Interval Interrupt
User's Manual U17854EJ9V0UD
, the window close time and open time are as follows.
IL
Setting of Window Open Period
50%
0 to 2.37 ms
0 to 0.119 ms
2.37 to 3.88 ms
0.119 to 3.88 ms
/216 kHz (MIN.) × 0.75 = 0 to 3.56 ms
10
/216 kHz (MIN.) × 0.75 to 2
10
10
/f
(MAX.) = 2
IL
75%
100%
None
0 to 3.88 ms
10
/264 kHz (MAX.)
295

Advertisement

Table of Contents
loading

Table of Contents