The LC72148V general-purpose counter is a 20-bit binary counter. The results of count operations can be read out MSB
first through the DO pin. When using the general-purpose counter for frequency measurement, one of four times, 4, 8, 32,
or 64 ms, can be selected as the measurement time with GT0 and GT1. The frequency of the signal input to either the
HCTR or LCTR pin can be measured by determining how many pulses were input to the general-purpose counter during
this measurement time.
When using the general-purpose counter for frequency measurement, the period of the signal input to the LCTR pin can
be measured by determining how many cycles of the check signal (900 kHz) were input to the general-purpose counter
during 1 or 2 periods of the signal input to the LCTR pin.
The general-purpose counter counting is started by setting CTE in the serial data to 1. The serial data is confirmed
internally to the LC72148V by dropping the CE signal from high to low. However, the signal input to the HCTR or
LCTR pin must be provided within the wait time after CE is set low.
Next, the value of the general-purpose counter following completion of the measurement must be read out during the
period while CTE is 1. (The general-purpose counter is reset when CTE is set to 0.)
One point that requires care here is that the general-purpose counter must be reset (cleared) by setting CTE to 0 before
starting the general-purpose counter. Another is that although the signal input to the LCTR pin is transmitted directly to
the general-purpose counter, the signal input to the HCTR pin is passed through a divide-by-two circuit before being
transmitted to the general-purpose counter. Therefore, the result of the count by the general-purpose counter for the
HCTR pin is 1/2 the value as compared to the actual frequency input to the HCTR pin.
No. 6974-16/21
LC72148V
CE
CE
Internal data
latch (CTE)
GT
General-purpose
counter
end-UC
CTE = 1
Measurement
time
end-UC
t
WU
: Wait time
t
WU
End
GT
Count start
Start
Restart
Count end
Count end
Reset
CTE = 1
CTE = 1
CTE = 0
(Integration)
*
: CTE: 0
→
1
→
Resets the general-purpose counter
Starts the general-purpose counter
Restarts when set to 1 again.
For an integrating count, the value counted is accumulated in the general-purpose counter.
Here, counter overflow may occur, and requires caution.
Count value: 0
H
to FFFFF
H
(1,048,575)
For an integrating count