Post by RichardMinimising ADC Conversion Errors. Section 4.5 of that AN talks about the
effect of source capacitance.
https://www.st.com/content/ccc/resource/technical/
document/application_note/9d/56/66/74/4e/97/48/93/CD00004444.pdf/files/
CD00004444.pdf/jcr:content/translations/en.CD00004444.pdf
Useful reference.
They are talking about the settling time of the applied signal and the
affects of t = Rexternal x C external on this.
ie if you want to measure a voltage do your best to ensure that the voltage
is what's on the pin when you measure it.
[ :-) ].
I was interested in 4.6
" 4.6 EFFECT OF INJECTION CURRENT
ST microcontrollers have robust tolerance of additional leakage current
introduced on analog input signals as an effect of negative injection
current. Negative injection current on any analog pin (or closely placed
digital input pin) may introduce leakage current into the ADC input. The
worst case is the adjacent analog channel. Negative injection current is
introduced when Vin < Vss. ..."
While this effect is well enough known, I don't recall this being put so
clearly elsewhere as it is in this section.
I also note:
" ... Positive injection current is introduced when VIN > VDD. Therefore
current flows into the I/O pin. Positive injection current within the limit
does not cause any loss of accuracy. ..."
Within the limit?
R
Richard
Post by RichardPost by Sean BrehenyBut that explanation only makes sense if the parasitic cap were on the
ADC
Post by Sean Brehenyside of the sample-and-hold switch. Once you place it externally, it
should
Post by Sean Brehenyonly help, and the sampling frequency or sample-and-hold aperture are
pretty immaterial to it.
Post by RichardPost by Jason WhiteA footnote (note 2 in attached image) in the STM32F207 datasheet (page
127)
Post by Jason Whitestates that a high capacitance at the ADC input pin can reduce
conversion
Post by Sean BrehenyPost by RichardPost by Jason Whiteaccuracy. How exactly should this be interpreted?
Sure, having a R-C lowpass at the ADC input pin will reduce bandwidth.
But
Post by Jason Whitewill the capacitance affect the internal operation of the ADC?
I think I have seen an explanation of this before (maybe in a PIC
datasheet?).
The total input capacitance would be affected by the parasitic
capacitance and that would would change the charge time of the ADC
capacitor. For any given input voltage, this will change how many counts
occur for the same sample rate. Thus, note 2 states that the sampling
frequency would have to be reduced to compensate for the difference in
charge time. Lower sample frequency gives more time to charge and more
counts for a given input voltage.
Richard
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist