cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_ADCEx_EndOfSamplingCallback in DMA mode?

pimaty
Associate

Is it possible to make HAL_ADCEx_EndOfSamplingCallback fire when ADC is running in the dual mode with DMA .

More specifically:

On a NUCLEO-H723ZG, the ADC is started by HAL_ADCEx_MultiModeStart_DMA() and ADC2 is a slave to ADC1. The ADC conversion is triggered by TIM4 Capture Compare event, and I want to process each ADC value one by one rather than after HAL_ADC_ConvHalfCpltCallback() or HAL_ADC_ConvCpltCallback(). The sampling time is long so plenty of time before consecutive conversions.

PM

 

0 REPLIES 0