Usage Notes; Figure 11.11 Contention Between Tcntv Write And Clear - Renesas H8 Series Hardware Manual

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

Advertisement

11.6

Usage Notes

The following types of contention or operation can occur in timer V operation.
1. Writing to registers is performed in the T3 state of a TCNTV write cycle. If a TCNTV clear
signal is generated in the T3 state of a TCNTV write cycle, as shown in figure 11.11, clearing
takes precedence and the write to the counter is not carried out. If counting-up is generated in
the T3 state of a TCNTV write cycle, writing takes precedence.
2. If a compare match is generated in the T3 state of a TCORA or TCORB write cycle, the write
to TCORA or TCORB takes precedence and the compare match signal is inhibited. Figure
11.12 shows the timing.
3. If compare matches A and B occur simultaneously, any conflict between the output selections
for compare match A and compare match B is resolved by the following priority: toggle
output > output 1 > output 0.
4. Depending on the timing, TCNTV may be incremented by a switch between different internal
clock sources. When TCNTV is internally clocked, an increment pulse is generated from the
falling edge of an internal clock signal, that is divided system clock (φ). Therefore, as shown
in figure 11.3 the switch is from a high clock signal to a low clock signal, the switchover is
seen as a falling edge, causing TCNTV to increment. TCNTV can also be incremented by a
switch between internal and external clocks.
Counter clear signal

Figure 11.11 Contention between TCNTV Write and Clear

ø
Address
Internal write signal
TCNTV
TCNTV write cycle by CPU
T
T
T
1
2
3
TCNTV address
N
Rev. 1.00 Aug. 28, 2006 Page 161 of 400
Section 11 Timer V
H'00
REJ09B0268-0100

Advertisement

Table of Contents
loading

Table of Contents