English
Language : 

H83028 Datasheet, PDF (385/923 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Example of Phase Counting Mode: Figure 9.30 shows an example of operations in phase
counting mode. Table 9.5 lists the up-counting and down-counting conditions for 16TCNT2.
In phase counting mode both the rising and falling edges of TCLKA and TCLKB are counted. The
phase difference between TCLKA and TCLKB must be at least 1.5 states, the phase overlap must
also be at least 1.5 states, and the pulse width must be at least 2.5 states.
16TCNT2 value
Counting up
Counting down
TCLKB
TCLKA
Figure 9.30 Operation in Phase Counting Mode (Example)
Table 9.5 Up/Down Counting Conditions
Counting
Direction
TCLKB pin
TCLKA pin
Up-Counting
↑
High ↓
Low
Low
↑
High ↓
Down-Counting
HIgh ↓
Low
↓
Low
↑
↑
HIgh
Phase
difference
Phase
difference
Pulse width
Pulse width
TCLKA
TCLKB
Overlap
Overlap
Phase difference and overlap: at least 1.5 states
Pulse width:
at least 2.5 states
Figure 9.31 Phase Difference, Overlap, and Pulse Width in Phase Counting Mode
Rev. 2.00, 09/03, page 355 of 890