
199
ATmega165A/PA/325A/PA/3250A/PA/645A/P/6450A/P [DATASHEET]
8285E–AVR–02/2013
mended to only use low impedant sources with slowly varying signals, since this minimizes the required charge
transfer to the S/H capacitor.
Signal components higher than the Nyquist frequency (f
ADC/2) should not be present for either kind of channels, to
avoid distortion from unpredictable signal convolution. The user is advised to remove high frequency components
with a low-pass filter before applying the signals as inputs to the ADC.
Figure 23-8. Analog input circuitry.
23.7.2
Analog Noise Canceling Techniques
Digital circuitry inside and outside the device generates EMI which might affect the accuracy of analog measure-
ments. If conversion accuracy is critical, the noise level can be reduced by applying the following techniques:
a.
Keep analog signal paths as short as possible. Make sure analog tracks run over the analog ground
plane, and keep them well away from high-speed switching digital tracks.
b.
The AVCC pin on the device should be connected to the digital V
CC supply voltage via an LC network as
c.
Use the ADC noise canceler function to reduce induced noise from the CPU.
d.
If any ADC port pins are used as digital outputs, it is essential that these do not switch while a conver-
sion is in progress.
Figure 23-9. ADC power connections.
ADCn
IIH
1..100 k
Ω
CS/H= 14 pF
VCC/2
IIL
VCC
GND
100nF
Ground Plane
(ADC0) PF0
(ADC7) PF7
(ADC1) PF1
(ADC2) PF2
(ADC3) PF3
(ADC4) PF4
(ADC5) PF5
(ADC6) PF6
AREF
GND
AVCC
52
53
54
55
56
57
58
59
60
61
62
63
64
1
51
DNC
PA0
10
μΗ