[STM32L] ADC channels and sampling rate
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-08-06 6:03 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-08-06 7:00 PM
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..
Up vote any posts that you find helpful, it shows what's working..
