cancel
Showing results for 
Search instead for 
Did you mean: 

Can the 3 ADCs of STM32F767ZI be synchronized in continuous mode?

b.a.
Associate III

I would like to sample 3 channels simultaneously and continuously.

The plan is to use the ADC in continuous operation and DMA.

Is it possible to have all 3 ADC sample at the same time?

And if so, how can this be achieved?

3 REPLIES 3

Yes, that would be Triple Simultaneous mode. The ADC can trigger off a single source, and pull via DMA from the CDR (Common Data Register)

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

Do I have to define a trigger source for continuous operation?

Is there an example for this mode of operation somewhere?

Generally I don't drive the ADC into saturation.

I'd use a trigger, but if you enable the continuous operation it will continue in a tight loop provided the DMA continues to service it.

I'd use the DMA as a double length buffer, circular, managing ping/pong operation via HT and TC interrupts.

I'm sure there are examples if you look under the HAL trees.

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