275
CHAPTER 14 A/D CONVERTER
(3) Noise countermeasures
In order to maintain 8-bit resolution, attention must be paid to noise on pins AVREF0 and ANI0 to ANI7. Since
the effect increases in proportion to the output impedance of the analog input source, it is recommended that
a capacitor be connected externally as shown in Figure 14-10 in order to reduce noise.
Figure 14-10. Connection of Analog Input Pin
Note In order to realize EMI noise reduction, supply power separately to VDD and AVDD and connect separate
grounds to VSS and AVSS.
(4) Pins ANI0/P10 to ANI7/P17
The analog input pins ANI0 to ANI7 also function as input/output port (PORT1) pins. If one of pins ANI0 to
ANI7 is selected to perform A/D conversion, do not execute an input instruction for port 1 during conversion,
as this could lower the conversion resolution.
Also, if digital pulses are applied to a pin adjacent to the pin in the process of A/D conversion, the expected
A/D conversion value may not be obtainable due to coupling noise. Therefore, avoid applying pulses to pins
adjacent to the pin undergoing A/D conversion.
(5) AVREF0 pin input impedance
A series resistor string of approximately 10 k is connected between the AVREF0 pin and the AVSS pin.
Therefore, if the output impedance of the reference voltage source is high, this will result in parallel connection
to the series resistor string between the AVREF0 pin and the AVSS pin, and there will be a large reference voltage
error.
ANI0 to ANI7
AV
REF0
V
DD
AV
DD
AV
SS
V
SS
Reference
Voltage Input
C=100 to 1000 pF
If there is possibility that noise whose
level is AV
REF0
or higher or AV
SS
or lower may be input,
clamp with a diode with a small V
F
(0.3 V or less).
V
DD
Note