cancel
Showing results for 
Search instead for 
Did you mean: 

[STM32L] ADC channels and sampling rate

vicki19880929
Associate III
Posted on August 07, 2013 at 03:03

Hi all.

In the datasheet and reference manual,  it mentioned STM32L1xxRx has 1 ADC module with 20 channels.  I know that 12-bit resolution, the maximal sampling rate could be up to 1Msps.

My question is, if I use 5 analog I/O channels,  how would the sampling rate of each channel be?  Would it be 1Msps for each I/O or it should be divided by the factor of 20 (or 5?)

I'm not very familiar with how the ADC channels work.  Hope someone here could help.

Thanks, :)

Shan

1 REPLY 1
Posted on August 07, 2013 at 04:00

You provide a list of channels to the ADC, and it enumerates through them at whatever sample rate (cycles) you've elected.

Using your numbers we'd get 1 / 5 Msps, or 200 Ksps
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..