Hitachi H8S/2199 Hardware Manual page 715

Single-chip microcomputer
Table of Contents

Advertisement

Figure 26.56 shows the duty discrimination circuit. A 44% duty cycle is discriminated by
counting with the 16-bit up/down counter, using a φs/4 clock for the up-count and a φs/5 clock for
the down-count. An up-count is performed when the PB-CTL signal is high, and a down-count
when low. Long or short pulse is discriminated by comparing with RCDR2 to RCDR5.
PB-CTL
φ s/4
φ s/5
* FWD : Discriminated by RCDR2 and RCDR3
REV : Discriminated by RCDR4 and RCDR5
FWD
REV
* RCDR2or4 (12bit)
* RCDR3or5 (12bit)
φ s/4
Counter
PB-CTL
1 pulse
φ s/4
Counter
PB-CTL
0 pulse
RCDR3
Counter
RCDR2
φ s/4
PB-CTL
Short pulse
(0 pulse)
φ s/5
RCDR4
Counter
RCDR5
PB-CTL
Long pulse
(1 pulse)
Figure 26.56 Duty Discriminator
UP/DOWN
UP/DOWN counter (16 bits)
Comparison of upper
12-bit
S
R
Clear
PB-CTL↑
φ s/5
φ s/5
φ s/5
φ s/4
UDF
0/1
discrimination
L/S
discrimination
Q
0 pulse L/S threshold value
1 pulse L/S threshold value
0 pulse L/S threshold value
1 pulse L/S threshold value
Rev. 1.0, 02/00, page 709 of 1141

Advertisement

Table of Contents
loading

Table of Contents