
S1C63653 TECHNICAL MANUAL
EPSON
85
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (R/f Converter)
4.12.2 Connection terminals and CR oscillation circuit
Two systems of CR oscillation circuit, channel 0 and channel 1, are built into the R/f converter and
perform CR oscillation with external resistor and capacitor.
The counter that is used to obtain an R/f converted value is shared with channel 0 and channel 1. There-
fore, operation for two systems is realized by switching the CR oscillation circuit that performs R/f
conversion. The channel selection is done using the register SENSEL. When SENSEL is set to "0", channel
0 is selected and when "1" is set, channel 1 is selected.
The sensor type to be R/f converted in the channel 1 can also be selected by the software, and it should be
previously set using the register RFSEL.
Channel selection
SENSEL = "0": Channel 0
SENSEL = "1": Channel 1
Sensor selection for channel 1
RFSEL = "0":
R/f conversion using a resistive sensor such as thermistor
RFSEL = "1":
R/f conversion using a resistive humidity sensor *
* The operation of the oscillation circuit differs from the normal resistive sensor. (Refer to the following.)
(1) R/f conversion using a resistive sensor such as thermistor
Channel 0 is set only for this conversion method, and channel 1 is selected into this method by setting
RFSEL to "0". This method should be selected for R/f conversion using a normal resistive sensor (DC
bias), such as temperature measurement using thermistor. At initial reset, channel 1 is set into this
conversion method.
Figure 4.12.2.1 shows the connection diagram of external elements.
R1
R2
VSS
C
SEN0
REF0
RFIN0
Channel 0
R1
R2
VSS
C
SEN1
HUD
REF1
RFIN1
Channel 1
R1:
R2:
C:
Thermistor
Reference resistor
Capacitor
Fig. 4.12.2.1 Connection diagram in case of R/f conversion
Connect a resistive sensor (such as a thermistor) between the SEN0 (SEN1) and RFIN0 (RFIN1)
terminals.
Next, set the reference value of the item to be measured (e.g. reference temperature in the case of
temperature measurement) and connect the reference resistance equivalent to the sensor resistance
value at the above reference value between the REF0 (REF1) and RFIN0 (RFIN1) terminals. An
element that does not change due to temperature or other environmental conditions must be used as
the reference resistance.
Connect an oscillating capacitor that is used for CR oscillation of both the reference resistance and the
sensor between the RFIN0 (RFIN1) and VSS terminals.
The HUD terminal should be opened because it is not used in this method.
The R/f converter performs CR oscillation using each of the two resistances (sensor and reference
resistance) in the same period, and counts the CR oscillation clock. Difference in counted oscillation
frequency can be evaluated in terms of the difference between the respective resistance values.
Measurement results can be obtained from the changes in resistance values after correcting the
difference according to the program.