AnsweredAssumed Answered

Triple ADC sequence

Question asked by Vinci on Jan 9, 2015
Latest reply on Jan 9, 2015 by Vinci

Has anyone successfully got the triple adc mode with a sequence working?
Let's say I already got the ADC and the DMA working for 3x channels without any kind of sequence... what do I have to change in order to get the next three channels converted at the next trigger event?

So far I added the next three channels to the SQR3 register by calling "HAL_ADC_ConfigChannel();" and set the NbrOfConversion = 2 in the config of all three ADCs. Unfortunately that didn't do the trick.

Whenever I start the triple ADC conversion with "HAL_ADCEx_MultiModeStart_DMA(&hadc1, (uint32_t*)buffer, 3);" I only get the first 3x channels of my sequence.

Any suggestions?


How exactly does the ADC know which channel from the sequence is the present one?
Is there a register which counts through the sequence whenever a conversion is complete?