Rev. 1.0, 02/00, page 712 of 1141
Detection of the Long/Short Pulse: The long/short pulse is detected in PB mode by the L/S
determination based on the comparison of the REC-CTL duty register (RCDR2 to RCDR5) with
the up/down counter and the results of the duty I/O flag. The results of the determination is stored
in bit 0 (LSP0) of the bit pattern register (BTPR) at the rising edge of PB-CTL, shifting at the
same time BTPR leftward.
RCDR2-5 set the L/S thresholds for each of FWD/REV. Set to RCDR2 a threshold of 1 pulse L/S
for FWD, to RCDR3 a threshold of 0 pulse L/S for FWD, to RCDR4 a threshold of 0 pulse L/S for
REV, and to RCDR5 a threshold of 1 pulse L/S for REV. Figure 26.59 shows the detection of
long/short pulse.
Also, the bit pattern of 8-bit can be detected by BTPR. Check that an 8-bit detection has been
done by bit 1 (BPF bit) of the duty I/O register, and then read BTPR.
Bit patter register (8 bits)
Up/Down counter (16-bit)
RCDR2 (12bit)
High-order 12-bit data
L/S is determined at the rising edge of PB-CTL.
After the determination, bit pattern register is
shifted leftward, and the results of the determination
is stored in the LSB.
RCDR3 (12bit)
Internal bus
LSB
FW/RV
DI/O
Shift left-ward
BTPR
R
R
S
Q
RCDR4 (12bit)
RCDR5 (12bit)
R
S
Q
φ
s/4
Note:
Figure 26.59 Detection of Long/Short Pulse