
S1C62920 TECHNICAL MANUAL
EPSON
45
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (R/F Converter)
Fig. 4.10.3.2 Oscillation switch timing
When the time base counter has counted up to "0000H", the counting operation of both counters and CR
oscillation stop, and an interrupt occurs. At the same time, the RFRUN register is set to "0", and the R/F
converter circuit stops operation completely.
Figure 4.10.3.3 shows the R/F conversion end timing.
To prevent malfunction of the measurement counter, a CR oscillation clock is also counted in the
measurement counter when the time base counter becomes "0000H". An interrupt occurs in synchroniz-
ing with the rising edge of OSC1 or OSC3 (one of these selected as the time base counter input clock)
immediately after the measurement counter stops.
Further, the timing of the RFRUN register when it is set to "0" is the falling edge of the interrupt request
signal.
fOSC1(3)
RFRUN register
RFIN
Time base counter clock
Time base counter
Measurement counter clock (RFOUT)
Measurement counter
Measurement counter starts counting
Time base counter starts counting (count-down)
n *
n+1
n+2
n+3
n+4
Starts measurement of reference resistance
*: Initial setting value (complement) for counting of reference resistance
0000H FFFFH FFFEH FFFDH FFFCH FFFBH FFFAH FFF9H FFF8H FFF7H
Fig. 4.10.3.1 Counting up start timing
If the measurement counter becomes "0000H" due to overflow, the oscillation is switched from the
reference resistance side to the sensor side, and the measurement counter starts counting up according
to the oscillation clock on the sensor side.
The time base counter shifts to the counting-up mode at this point and starts counting up from the
value that has been counted while the reference resistance was oscillating.
Timing in switching oscillation is shown in Figure 4.10.3.2.
The sensor oscillation starts in synchronization with the counting of the time base counter after a
measurement of the reference resistance has completed.
n+2
n+1
n *
n+1
n+2
n+3
n+4
n+5
FFFFFH
00000H
00001H
00002H
n+3
n+4
n+5
n+6
FFFFEH
FFFFDH
fOSC1(3)
RFRUN register
RFIN
Time base counter clock
Time base counter
Measurement counter clock (RFOUT)
Measurement counter
Count-up
Starts CR oscillation of sensor
in synchronization with time base counter
"1"
Count-down
Ends measurement of reference resistance
*: Number of counts of reference resistance corresponding to the oscillation time