AnsweredAssumed Answered

STM32F103 simultaneous ADC1 and ADC3

Question asked by jk on Apr 3, 2012
Latest reply on Apr 12, 2012 by jk
I have a project involving STM32F103RE.

A timer channel TIM2_CH2 triggers a continuous read on ADC1, which uses DMA1 into a buffer.

What I want to do is set up ADC3 to read a different channel in a similar fashion using DMA2.

* How can I make sure ADC1 and ADC3 are in sync? ADC3 has a different list of trigger options - is there a way I can start the continuous conversion off the same trigger?

* If TIM5 has the same setup as TIM2, and both timers are started simultaneously (or right after another) can I use TIM5_CH1 to trigger ADC3 at the same time as ADC1 is triggered by TIM2_CH2?

Note that I have already considered using ADC1/ADC2 in dual simultaneous mode, but the resulting data would then need to be post-processed because of how the DMA works.

Outcomes