how to read multiple ADC channel using interrupt mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-02 5:07 AM
how to read multiple adc value using interrupt mode when call back function is called
HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc) when conversion is complete.
for get adc value HAL_ADC_GetValue(&hadc) function is used.
- Labels:
-
ADC
-
STM32Cube MCU Packages
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-02 5:11 AM
Which STM32?
Injected channels have their individual data register, while normal channels don't.
Use DMA to dispatch multiple normal channels into a RAM table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-02 6:03 AM
stm32f103c8t6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-02 6:07 AM
stm32f103c8t6
3 channel ADC2 no DMA functionality
3 channel ADC1 with DMA
in singe channel interrupt mode works fine but multiple channel gives me random values (ADC2) as op.
