
S1C621C0 TECHNICAL MANUAL
EPSON
61
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (R/F Converter)
DBGOS: Debugging element selection (D0HD3)
Selects an element to be oscillated during the debug mode.
When "1" is written:
Sensor
When "0" is written:
Reference resistance
Reading:
Valid
When "1" is written to DBGOS, sensor is continuously oscillated during the debug mode, and when "0" is
written, reference resistance is continuously oscillated. This selection is valid only in the debug mode.
At initial reset, this register is set to "0".
RFDBG: Debug mode selection (D0HD2)
Selects the debug mode of the R/F converter.
When "1" is written:
Debug mode
When "0" is written:
Normal mode
Reading:
Valid
When "1" is written to RFDBG, the debug mode is selected, and when "0" is written, the normal mode is
selected. When the debug mode is set, the oscillating operation of the element side selected by the DBGOS
register can be done continuously.
At initial reset, this register is set to "0".
RFCLK: Input clock selection (D0HD1)
Select an input clock of the time base counter.
When "1" is written:
OSC3
When "0" is written:
OSC1
Reading:
Valid
When "1" is written to RFCLK, the OSC3 clock (Typ. 455 kHz) is selected. When "0" is written, the OSC1
clock (Typ. 32.768 kHz) is selected.
The initial value must be set on the measurement counter so that the time base counter will not overflow
while CR oscillation is being counted.
At initial reset, these registers are set to "0".
SENS0: Sensor selection (D1HD0)
Selects a sensor to be R/F-converted.
When "1" is written:
SEN1
When "0" is written:
SEN0
Reading:
Valid
When "1" is written to SENS0, the sensor connected to the SEN1 terminal is selected. When "0" is written,
the sensor connected to the SEN0 terminal is selected.
At initial reset, this register is set to "0".
MC0–MC15: Measurement counter (D3H–D6H)
This counter counts up according to the CR oscillation clock. It permits writing and reading on a 4-bit basis.
The complement of the number of clocks to be counted by the oscillation of the reference resistance, must
be entered in this counter prior to R/F conversion.
If R/F conversion is initiated, the counter counts up from the set initial value, first according to the oscilla-
tion clock of the reference resistance. When the counter reaches "0000H" due to overflow, the oscillation of
the reference resistance stops, and the sensor starts oscillating. The counter continues counting according to
the sensor oscillation clock. Counting time during the CR oscillation of the reference resistance is calculated
by the time base counter. The measurement counter stops counting when the same period of time elapses.
Number of clocks counted by the sensor oscillation can be evaluated from the value indicated by the
counter when it stops. Calculate the target value by processing the above counted number according to the
program.
Measurable range and the overflow of the counter must be taken into account when setting an initial value
to be entered prior to R/F conversion.
After an initial reset, data in this counter become indefinite.