English
Language : 

M16C6N4 Datasheet, PDF (226/406 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6N4)
16. A/D Converter
16.2.5 Current Consumption Reducing Function
When not using the A/D converter, its resistor ladder and reference voltage input pin (VREF) can be
separated using the VCUT bit in the ADCON1 register. When separated, no current will flow from the
VREF pin into the resistor ladder, helping to reduce the power consumption of the chip.
To use the A/D converter, set the VCUT bit to “1” (VREF connected) and then set the ADST bit in the
ADCON0 register to “1” (A/D conversion start). The VCUT and ADST bits cannot be set to “1” at the same time.
Nor can the VCUT bit be set to “0” (VREF unconnected) during A/D conversion.
Note that this does not affect VREF for the D/A converter (irrelevant).
16.2.6 Output Impedance of Sensor under A/D Conversion
To carry out A/D conversion properly, charging the internal capacitor C shown in Figure 16.10 has to be
completed within a specified period of time. T (sampling time) as the specified time. Let output impedance
of sensor equivalent circuit be R0, microcomputer’s internal resistance be R, precision (error) of the A/D
converter be X, and the resolution of A/D converter be Y (Y is 1024 in the 10-bit mode, and 256 in the 8-bit mode).
–
VC is generally VC = VIN {1 – e
1
C (R0 + R)
t
}
And when t = T, VC=VIN – X VIN = VIN(1 – X )
Y
Y
Hence, R0 = –
e
–
1
C (R0 + R)
T
=
X
Y
1
X
– C (R0 + R) T = ln Y
T
–R
C • ln X
Y
Figure 16.10 shows analog input pin and external sensor equivalent circuit.
When the difference between VIN and VC becomes 0.1LSB, we find impedance R0 when voltage
between pins VC changes from 0 to VIN-(0.1/1024) VIN in time T. (0.1/1024) means that A/D precision
drop due to insufficient capacitor charge is held to 0.1LSB at time of A/D conversion in the 10-bit mode.
Actual error however is the value of absolute precision added to 0.1LSB.
When f(φAD) = 10 MHz, T = 0.3 µs in the A/D conversion mode with sample & hold. Output impedance R0
for sufficiently charging capacitor C within time T is determined as follows.
T = 0.3 µs, R = 7.8 kΩ, C = 1.5 pF, X = 0.1, and Y = 1024. Hence,
R0 = –
0.3 ✕ 10-6
0.1
1.5 ✕ 10 –12 • ln
1024
–7.8 ✕103 = 13.9 ✕ 103
Thus, the allowable output impedance of the sensor circuit capable of thoroughly driving the A/D converter
turns out to be approximately 13.9 kΩ.
Rev.2.30 Oct 24, 2005 page 208 of 376
REJ09B0009-0230