cancel
Showing results for 
Search instead for 
Did you mean: 

ADC Scan conversions without DMA in STM32F103RB

Muzahir Hussain
Associate III
Posted on May 06, 2018 at 18:41

Is it possible to do ADC SCAN conversions without using DMA?

#adc-scan-continuous #stm32f103rb #adc
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on May 06, 2018 at 18:50

No. And it is not practical.

For individual samples, there is Injected mode.

For multiple you can trigger the ADC to load a small array quickly, and where you would have waited for EOC you wait for DMA TC.

Where samples are occurring on a timely basis, use a TIM to trigger the start of conversion, and then manage in the IRQ Handler.

Best to move beyond the polled mentality.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

1 REPLY 1
Posted on May 06, 2018 at 18:50

No. And it is not practical.

For individual samples, there is Injected mode.

For multiple you can trigger the ADC to load a small array quickly, and where you would have waited for EOC you wait for DMA TC.

Where samples are occurring on a timely basis, use a TIM to trigger the start of conversion, and then manage in the IRQ Handler.

Best to move beyond the polled mentality.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..