STM32L152RE ADC
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-07-13 2:58 AM
Posted on July 13, 2016 at 11:58
I am using NUCLEO-STM32L152RE with 3 input channel of ADC and i used ADC in Interrupt mode with interrupt is generated after one channel conversion complete. And then in callback function of conversion complete i read data register of ADC.Is there any way by which i can identified that which channel's data i am reding currently?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-07-13 4:36 AM
Posted on July 13, 2016 at 13:36
That's not the STM32 model. For multiple channels you are expected to DMA into an array, where position infers channel. You then use the DMA TC interrupt instead of the ADC EOC one to know all the conversions are complete.
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..
