|
7733 Datasheet, PDF (302/940 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
WATCHDOG TIMER
10.2 Operation description
10.2 Operation description
The watchdog timerâs operation is described below.
For its operation in the stop and wait modes, refer to chapter â11. STOP AND WAIT MODES.â
10.2.1 Basic operation
ÂThe watchdog timer starts counting down from âFFF16.â
ÂWhen the watchdog timerâs most significant bit becomes â0,â in other words, when the countdown has
been performed 2048 times, a watchdog timer interrupt request occurs. (Refer to Table 10.2.1.)
ÂWhen the interrupt request occurs (Â), value âFFF16â is set to the watchdog timer.
The watchdog timer interrupt is a non-maskable interrupt. When a watchdog timer interrupt request is
accepted, the processor interrupt priority level (IPL) is set to â1112.â
Table 10.2.1 Occurrence interval of watchdog timer interrupt request
Watchdog timerâs
count source
Occurrence interval of watchdog timer interrupt request
When system clock = When system clock = When system clock =
25 MHz (Note 1)
12 MHz (Note 1)
32 kHz (Note 2)
f512
41.9 ms
87.4 ms
32768 ms
f32
2.62 ms
5.46 ms
2048 ms
Clocks f32, f512, and system clock: Refer to chapter â14. CLOCK GENERATING CIRCUIT.â
Notes 1: This is applied when the system clock selection bit (bit 3 at address 6C16; Refer to Figure 10.2.1.)
= â0â and the main clock division selection bit (bit 0 at address 6F16; Refer to Figure 10.2.2.) = â0.â
2: This is applied when the port-Xc selection bit (bit 4 at address 6C16; Refer to Figure 10.2.1.) =
â1â and the system clock selection bit = â1.â
Make sure that dummy data must be written to address 6016 (Watchdog timer register) by software before
the most significant bit of the watchdog timer becomes â0.â
If writing to address 6016 is not performed because of a program runaway and the most significant bit of
the watchdog timer becomes â0,â a watchdog timer interrupt request occurs. This means that a program
runaway has occurred.
When resetting the microcomputer after detecting a program runaway, write â1â to the software reset bit
(bit 3 at address 5E16) in the watchdog timer interrupt routine. (Make sure that writing â1â to the software
reset bit must be performed on the condition that the main clock is stably supplied.) (For details, refer to
chapter â13. RESETâ and section â17.3 Watchdog timer.â)
7733 Group Userâs Manual
10-5
|
▷ |