cancel
Showing results for 
Search instead for 
Did you mean: 

ADC convertion time

leonhard
Associate II
Posted on December 02, 2009 at 09:44

ADC convertion time

3 REPLIES 3
leonhard
Associate II
Posted on May 17, 2011 at 13:32

I already started with ADC of STM32

How can I calculate the Sample Time (@72 MHz). How long is one cycle (1/72Mhz?)?

How do I chose the adequate samling time. I have to several different signals. Some motor currents (dc), some ntc's and some other more or less static currents.

sofiene
Associate III
Posted on May 17, 2011 at 13:32

Hi leonhard;

In fact the maximum ADC clock allowed is 14MHz.

Choosing the sampling time depends strongly on your hardware i.e. it depends on the impedance of the source (RAIN) you are converting. In fact RAIN should meet the condition (formula given in the datasheet: ''12-bit ADC characteristics''.

The total conversion time = sampling time + conversion time.

- Conversion time is equal to 12.5 ADC cyles.

- The sampling time is configured regarding the impedance condition. The higher impedance, the higher the sampling time (refer to the application note AN2834 ''How to get the best ADC accuracy in STM32F10xxx devices'')

B.R.

M3allem

armmcu
Associate II
Posted on May 17, 2011 at 13:32

If I may intervene I will add:

In these calculations one cycle is an ADC clock cycle = 1/fADC

....