AnsweredAssumed Answered

Configuring SDADC and ADC Repeat Triggering With DMA

Question asked by Stephen on Jan 16, 2016
Latest reply on Feb 13, 2016 by Stephen
I am triggering ADC1 from TIM4->CCR4 and SDADC1 from TIM4->CCR1. ADC1 is configured for regular conversions and no injected conversions. SDADC1 is configured for injected conversions and no regular conversions.

For both converters I need the conversions transferred by DMA into buffer arrays on every trigger from TIM4. When the arrays are filled, and the callback is called, I need the conversions to stop until the next triggers from TIM4. I hope to do this witout having to call HAL_ADC_Start_DMA() and HAL_SDADC_InjectedStart_DMA() every time the buffers are filled.

Should the DMA mode be Circular or Normal?

Should Continuous Mode be enabled or disabled?