Additional ADC1 interrupts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-10-07 7:29 AM
In terms of number of interrupts, the STM32F302 has what appears to be one interrupt for Analog conversions, the �ADC1_IRQn�. Can that be changed? I was thinking that optimally I would like one interrupt for starting the ADC conversions and then one more for the completion of the interrupts. Do I have to use the ADC1_IRQn interrupt and follow the entire ADC conversion from start to the finishing point where it writes the data to the struct we have created from the JSQR1-4 registers?
Thanks! #nucleo #stm32f302- Labels:
-
STM32F3 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-10-07 8:34 AM
If you are sampling multiple channels, then use the DMA TC interrupt to indicate once they are all completed. Don't use the ADC EOC interrupt.
Up vote any posts that you find helpful, it shows what's working..
