Skip to main content
vicki19880929
Associate III
Aug 7, 2013 1:03 AM UTC
Question

[STM32L] ADC channels and sampling rate

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

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    Aug 7, 2013 2:00 AM UTC
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..