Skip to main content
brianforde9
Associate III
October 30, 2008
Question

ADC Sample Time

  • October 30, 2008
  • 6 replies
  • 1085 views
Posted on October 30, 2008 at 15:26

ADC Sample Time

#adc-sampling-rate
This topic has been closed for replies.

6 replies

brianforde9
Associate III
May 17, 2011
Posted on May 17, 2011 at 12:50

What effect does ADC Sample Time have on the ''quality'' of the measured voltage? Why adjust this value?

Thanks in advance...

Brian F.

brianforde9
Associate III
May 17, 2011
Posted on May 17, 2011 at 12:50

Quote:

On 30-10-2008 at 17:11, Anonymous wrote:

There are some giudelines for selecting the sampling time in the ADC part of the device datasheets.

Thanks, but I can't find any such. There is an indication as to how to calculate conversion time, given a sample time, but nothing to determine what the sample time should be. Does anyone know what size the sampling capacitor is? In any case, changing the sample time appears to have no effect on my measured value...

Regards,

Brian F.

obtronix
Associate II
May 17, 2011
Posted on May 17, 2011 at 12:50

Depending on the external resistance you have to wait for the sampling cap to charge up (simple RC time constant) if you don't wait long enough you will read the wrong value.

ivanov-i
Associate
May 17, 2011
Posted on May 17, 2011 at 12:50

It is the time for charging the sampling capacitor trough the external source impedance. The internal switch resistance is also included in the calculation.

There are some giudelines for selecting the sampling time in the ADC part of the device datasheets.

brianforde9
Associate III
May 17, 2011
Posted on May 17, 2011 at 12:50

My bad. Found the value...

12pF

Brian F.

amoore
Associate
January 4, 2014
Posted on January 04, 2014 at 01:03

AN2834 (How to get the best ADC accuracy in STM32Fx...) covers in detail the effect on conversion error of the sampling time, source resistance, and internal ADC capacitance.