Figure 8.30 Operation In Phase Counting Mode (Example); Figure 8.31 Phase Difference, Overlap, And Pulse Width In Phase Counting Mode; Table 8.5 Up/Down Counting Conditions - Hitachi H8/3062 Hardware Manual

Single-chip microcomputer h8/3062 series; h8/3062b series; h8/3062f-ztat series; h8/3064f-ztat series
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

Example of Phase Counting Mode: Figure 8.30 shows an example of operations in phase
counting mode. Table 8.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
TCLKB
TCLKA

Figure 8.30 Operation in Phase Counting Mode (Example)

Table 8.5
Up/Down Counting Conditions
Counting Direction
TCLKB pin
TCLKA pin
Phase
difference
TCLKA
TCLKB

Figure 8.31 Phase Difference, Overlap, and Pulse Width in Phase Counting Mode

266
Counting up
Up-Counting
High
Low
Phase
difference
Overlap
Overlap
Down-Counting
Low
High
High
Pulse width
Phase difference and overlap:
Pulse width:
Counting down
Low
Low
High
Pulse width
at least 1.5 states
at least 2.5 states

Advertisement

Table of Contents
loading

Table of Contents