English
Language : 

HD64F3642AHV Datasheet, PDF (296/551 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 9 Timers
9.6.3 Timer Operation
The watchdog timer has an 8-bit counter (TCW) that is incremented by clock input (φ/8192).
When TCSRWE = 1 in TCSRW, if 0 is written in B2WI and 1 is simultaneously written in
WDON, TCW starts counting up (two write accesses to TCSRW are necessary in order to operate
the watchdog timer). When the TCW count value reaches H'FF, the next clock input causes the
watchdog timer to overflow and generates an internal reset signal. The internal reset signal is
output for 512 clock cycles of the φOSC clock. It is possible to write to TCW, causing TCW to
count up from the written value. The overflow period can be set in the range from 1 to 256 input
clocks, depending on the value written in TCW.
Figure 9.36 shows an example of watchdog timer operations.
Example: φ = 4 MHz and the desired overflow period is 30 ms.
4 × 106 × 30 × 10–3 = 14.6
8192
The value set in TCW should therefore be 256 – 15 = 241 (H'F1).
H'FF
H'F1
TCW count
value
TCW overflow
H'00
Internal reset
signal
Start
H'F1 written
in TCW
H'F1 written in TCW
Reset
512 φOSC clock cycles
Figure 9.36 Typical Watchdog Timer Operations (Example)
Rev. 6.00 Sep 12, 2006 page 274 of 526
REJ09B0326-0600