AnsweredAssumed Answered

ADC in dual simultanious mode

Question asked by Shafiei.Pooyan on Sep 15, 2016
Latest reply on Sep 16, 2016 by Shafiei.Pooyan
Hello everyone!
I have issue with initializing ADC1 and ADC2 in  regular simultanious mode + DMA.
I am using CubeMx and Hal drivers. Here is my configuration.
image 1

image2

image3

and I start ADCs with these functions.

    HAL_ADC_Start(&hadc2);
    HAL_ADCEx_MultiModeStart_DMA(&hadc1,(uint32_t *)adcData,3);
but no success. Cpu hangs after calling MX_ADC2_Init().
Is there anything wrong?
Any example or guide?
thanks a lot.

Outcomes