ML620Q503/Q504 User's Manual
Chapter 24 RC Oscillation Type A/D Converter
FEUL620Q504 24-10
24.3.1 RC Oscillator Circuits
RC-ADC performs A/D conversion by converting the oscillation frequency ratio between a reference resistor (or
capacitor) and a resistive sensor (or capacitive sensor) such as a thermistor to digital data.
By making RC oscillation occur both on the reference side and on the sensor side with the reference capacitor the
error factor that the RS oscillator circuit itself is eliminated, thereby making it possible to perform the A/D
conversion of the characteristics of the sensor itself.
Also, by calculating the ratio between the oscillation frequency on the reference side and that on the sensor side
and then calculating the correlation between the calculated ratio and temperatures that the sensor characteristics
have in advance, a temperature can be obtained based on that calculated ratio.
Table 24-1 lists the eight types of oscillation modes, one of which is selected by the RC-ADC mode register
(RADMOD) OM3–0 bits.
Table 24-1 Oscillation Modes from Which Selection Is Made by OM3–0 Bits
mode
No.
RADMOD
RCOSC0 output pin
RCOSC1 output pin
mode
OM3
OM2
OM1
OM0
RS0
RT0
RCT0
CS0
RS1
RT1
CS1
0
0
0
0
0
Z
Z
Z
Z
Z
Z
Z
IN0 External clock input mode
1
0
0
0
1
1/0
Z
Z
0/1
Z
Z
Z
RS0–CS0
oscillation
RCOSC0
oscillation
mode
2
0
0
1
0
Z
1/0
Z
0/1
Z
Z
Z
RT0–CS0
oscillation
3
0
0
1
1
Z
Z
1/0
0/1
Z
Z
Z
RT
0-1
–CS0
oscillation
4
0
1
0
0
1/0
Z
0/1
Z
Z
Z
Z
RS0–CT0
oscillation
5
0
1
0
1
Z
Z
Z
Z
1/0
Z
0/1
RS1–CS1
oscillation
RCOSC1
oscillation
mode
6
0
1
1
0
Z
Z
Z
Z
Z
1/0
0/1
RT1–CS1
oscillation
7
0
1
1
1
Z
Z
Z
Z
Z
Z
Z
IN1 External clock input mode
8
1
*
*
*
Z
Z
Z
Z
Z
Z
Z
(Prohibited)
Note)
*
: Indicates arbitrary.
Z
: Indicates high-impedance output.
1/0, 0/1
: Indicates active output.
(Prohibited)
: The oscillator clock is not supplied even by setting the RARUN bit to “1” or by starting A/D
conversion.
In Table 24-1, mode No.0 and mode No.7 are modes where external clocks to be input to the IN0 or IN1 pin are
used for measurement with the RC oscillator circuit stopped.
As shown in Table 24-1, the two oscillator circuits, RCOSC0 and RCOSC1, are so specified that they cannot
operate concurrently in order to prevent interference in oscillation from occurring when they oscillate
concurrently.
The relationship between an oscillation frequency f
RCCLK
and an RC constant is expressed by the following
equation:
1
=
t
RCCLK
=
k
RCCLK
•R•C
f
RCCLK
The t
RCCLK
is the period of the oscillator clock, k
RCCLK
the proportional constant, and R x C the product of
capacitances CS, CT, (CS+CVR) and (CT+CVR) and resistances RS and RT. The value of k
RCCLK
slightly
changes depending on the value of the supply voltage VDD, RI, R, or C.
Table 24-2 lists the typical k
RCCLK
values.
Summary of Contents for LAPIS SEMICONDUCTOR ML620Q503
Page 2: ...ML620Q503 Q504 User s Manual Issue Date Apr 16 2015 FEUL620Q504 01...
Page 18: ...Chapter 1 Overview...
Page 32: ...Chapter 2 CPU and Memory Space...
Page 44: ...Chapter 3 Reset Function...
Page 50: ...Chapter 4 Power Management...
Page 70: ...Chapter 5 Interrupts...
Page 134: ...Chapter 6 Clock Generation Circuit...
Page 161: ...Chapter 7 Time Base Counter...
Page 170: ...Chapter 8 Timers...
Page 183: ...Chapter 9 Function Timer FTM...
Page 231: ...Chapter 10 Watchdog Timer...
Page 239: ...Chapter 11 Synchronous Serial Port SSIO...
Page 251: ...Chapter 12 Synchronous Serial Port with FIFO SSIOF...
Page 283: ...Chapter 13 UART...
Page 303: ...Chapter 14 UART with FIFO UARTF...
Page 327: ...Chapter 15 I2 C Bus Interface...
Page 344: ...Chapter 16 Port XT...
Page 350: ...Chapter 17 Port 0...
Page 361: ...Chapter 18 Port 1...
Page 368: ...Chapter 19 Port2...
Page 379: ...Chapter 20 Port 3...
Page 395: ...Chapter 21 Port 4...
Page 410: ...Chapter 22 Port 5...
Page 426: ...Chapter 23 Melody Driver...
Page 439: ...Chapter 24 RC Oscillation type A D Converter RC ADC...
Page 462: ...Chapter 25 Successive Approximation Type A D Converter SA ADC...
Page 479: ...Chapter 26 Analog Comparator...
Page 489: ...Chapter 27 Flash Memory Control...
Page 505: ...Chapter 28 Voltage Level Supervisor VLS...
Page 517: ...Chapter 29 LLD circuit...
Page 519: ...Chapter 30 On Chip Debug Function...
Page 522: ...Appendixes...
Page 552: ...Revision History...