Skip to main content
Muzahir Hussain
Associate III
May 6, 2018 4:41 PM UTC
Solved

ADC Scan conversions without DMA in STM32F103RB

Posted on May 06, 2018 at 18:41

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

#adc-scan-continuous #stm32f103rb #adc
This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
May 6, 2018 4:50 PM UTC
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
May 6, 2018 4:50 PM UTC
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..