English
Language : 

PIC18F23K22 Datasheet, PDF (302/492 Pages) Microchip Technology – 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
PIC18(L)F2X/4XK22
17.3 A/D Acquisition Requirements
For the ADC to meet its specified accuracy, the charge
holding capacitor (CHOLD) must be allowed to fully
charge to the input channel voltage level. The Analog
Input model is shown in Figure 17-5. The source
impedance (RS) and the internal sampling switch (RSS)
impedance directly affect the time required to charge the
capacitor CHOLD. The sampling switch (RSS) impedance
varies over the device voltage (VDD), see Figure 17-5.
The maximum recommended impedance for analog
sources is 10 k. As the source impedance is
decreased, the acquisition time may be decreased.
After the analog input channel is selected (or changed),
EQUATION 17-1: ACQUISITION TIME EXAMPLE
an A/D acquisition must be done before the conversion
can be started. To calculate the minimum acquisition
time, Equation 17-1 may be used. This equation
assumes that 1/2 LSb error is used (1024 steps for the
ADC). The 1/2 LSb error is the maximum error allowed
for the ADC to meet its specified resolution.
Assumptions: Temperature = 50°C and external impedance of 10k 3.0V VDD
TACQ = Amplifier Settling Time + Hold Capacitor Charging Time + Temperature Coefficient
= TAMP + TC + TCOFF
= 5µs + TC + Temperature - 25°C0.05µs/°C
The value for TC can be approximated with the following equations:
VAP
P
L
I
E
D


1
–
2----0-1--4---7-
=
VCHOLD

VAPPLIED1
–
e–-R---T--C-C--
=
VCHOLD


;[1] VCHOLD charged to within 1/2 lsb
;[2] VCHOLD charge response to VAPPLIED

VAPPLIED1
–
e –-R---T-C--c- 


=
V
A
P
P
L
I
E
D


1
–
2---0--1-4---7--
;combining [1] and [2]
Solving for TC:
TC = –CHOLDRIC + RSS + RS ln(1/2047)
= –13.5pF1k + 700 + 10k ln(0.0004885)
= 1.20µs
Therefore:
TACQ = 5µs + 1.20µs + 50°C- 25°C0.05s/°C
= 7.45µs
Note 1: The reference voltage (VREF) has no effect on the equation, since it cancels itself out.
2: The charge holding capacitor (CHOLD) is discharged after each conversion.
3: The maximum recommended impedance for analog sources is 10 k. This is required to meet the pin
leakage specification.
DS41412B-page 302
Preliminary
 2010 Microchip Technology Inc.