Renesas rl78 Answering Machine User Manual


  Open as PDF
of 1004
 
RL78/G1A CHAPTER 10 WATCHDOG TIMER
Remark If the overflow time is set to 2
9
/fIL, the window close time and open time are as follows.
Setting of Window Open Period
50% 75% 100%
Window close time 0 to 20.08 ms 0 to 10.04 ms None
Window open time 20.08 to 29.68 ms 10.04 to 29.68 ms 0 to 29.68 ms
<When window open period is 50%>
Overflow time:
2
9
/fIL (MAX.) = 2
9
/17.25 kHz = 29.68 ms
Window close time:
0 to 2
9
/fIL (MIN.) × (1 0.5) = 0 to 2
9
/12.75 kHz × 0.5 = 0 to 20.08 ms
Window open time:
2
9
/fIL (MIN.) × (1 0.5) to 2
9
/fIL (MAX.) = 2
9
/12.75 kHz × 0.5 to 2
9
/17.25 kHz = 20.08 to 29.68 ms
10.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% + 1/2f
IL of the overflow time is reached.
Table 10-5. Setting of Watchdog Timer Interval Interrupt
WDTINT Use of Watchdog Timer Interval Interrupt
0 Interval interrupt is used.
1 Interval interrupt is generated when 75% + 1/2fIL 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
watchdog timer enable register (WDTE)). If ACH is not written to the WDTE register before the overflow time,
an internal reset signal is generated.
R01UH0305EJ0200 Rev.2.00 339
Jul 04, 2013