Keep in mind that the capacitor we are trying to charge is only 25pF. A 1uF external cap will charge it almost instantly and it's voltage will not be effected (that you can measure).
Mike.
Mr Al, you just repeated the misconception AGAIN without answering any of the points that Pommie and I posted in response to Oznog's post. If the source impedance is 10KΩ or less, then the external source tied the AD input pin is low enough to prevent the capacitive coupling backwards from internal switches from perturbing the voltage at the input pin. This is a dynamic process (AC) which happens only during the conversion sequence.
The external shunt capacitor will present a source impedance much less than 10KΩ and will hold the voltage constant during the conversion. Think about how much current it would take to "move" the capacitor voltage.
This is independent and separate from the DC leakage spec, which slightly changes the DC level at the input pin.
Hello there again Mike and Mike (chuckle),
The dynamic coupling during the sample period is a different issue than the
leakage current issue. The leakage current is associated with the pin
itself, not with the ADC internal circuit. The leakage current is forever
present, from the time the device is powered up to the time it is powered
down, and can vary (usually) plus or minus 1 microamp.
What this means is that we have a total circuit that consists of two
resistors and a smoothing capacitor, where the top resistor is fed from
the source to be measured, and the center tap (the capacitor) is fed
from a DC current source that can slowly vary from -1ua to +1ua. Our job
is to make sure that this variance in current does not affect the AD input
by more than plus or minus one half bit. To reach this goal, the external
DC resistance MUST be less than some value which with a supply
voltage of 5v works out to be 2441 ohms, which is usually taken to be
2500 ohms. Thus, the external source DC resistance must work out to
2500 ohms to reach this goal.
Since the current variation is spec'd over the full temperature range, it
is sometimes assumed that the device will only be operated over a fraction
of that range so many people use 10k as the target resistance goal, but
we have to keep in mind this can still end up giving us an error of around
2 bits if the temperature varies enough or some other phenomenon causes
a change in that current.
Dont get me wrong though, i have used 25k and gotten away with it in
applications that were both calibrated on site and also did not vary in
ambient temperature by more than about 10 degrees C. It's good to
know how this works though.
I thought this was a well known concept among people who regularly
use PIC chips, or did i misunderstand your intent Mike1 or Mike2 ?
Also Mike1 or Mike2, what were your offset measurements for your applications
and what were your target temperature ranges in the past?