Usage Notes; Contention Between Timer Counter (Tcnt) Write And Increment; Changing Value Of Cks2 To Cks0; Switching Between Watchdog Timer Mode And Interval Timer Mode - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

13.5

Usage Notes

13.5.1

Contention between Timer Counter (TCNT) Write and Increment

If a timer counter clock pulse is generated during the T
counter is not incremented. Figure 13-8 shows this operation.
ø
Address
Internal write signal
TCNT input clock
TCNT
13.5.2

Changing Value of CKS2 to CKS0

If bits CKS2 to CKS0 in TCSR are written to while the WDT is operating, errors could occur in the incrementation.
Software must stop the watchdog timer (by clearing the TME bit to 0) before changing the value of bits CKS2 to CKS0.
13.5.3

Switching between Watchdog Timer Mode and Interval Timer Mode

If the mode is switched from watchdog timer to interval timer, or vice versa, while the WDT is operating, errors could
occur in the incrementation. Software must stop the watchdog timer (by clearing the TME bit to 0) before switching the
mode.

System Reset by WDTOVF Signal

13.5.4
If the WDTOVF output signal* is input to the RES pin of the H8S/2357 Group, the H8S/2357 Group will not be
initialized correctly. Make sure that the WDTOVF signal* is not input logically to the RES pin. To reset the entire system
by means of the WDTOVF signal*, use the circuit shown in figure 13-9.
Note: * The WDTOVF pin function is not available in the F-ZTAT version, the H8S/2398, H8S/2394, H8S/2392 or
H8S/2390.
Figure 13-8 Contention between TCNT Write and Increment
state of a TCNT write cycle, the write takes priority and the timer
2
TCNT write cycle
T
T
1
2
N
Counter write data
M
Rev.6.00 Oct.28.2004 page 463 of 1016
REJ09B0138-0600H

Advertisement

Table of Contents
loading

Table of Contents