cancel
Showing results for 
Search instead for 
Did you mean: 

ADC multimode DMA init error

SKim.1761
Associate III

SKim1761_0-1707793855535.png

I am using ADC regular simultaneous mode with stm32f427

It works nice with the pulse signal is comming after dma start(HAL_ADCEx_MultiModeStart_DMA)

but if the signal is comming before calling ADC dma start code it going to infinity

how to solve this?

i think at the first start with ADC interrupt code and check the pulse is comming

and if there's not stop interrupt adc, and start dma code and check ADC cplt callback funtion for infinity..

but i think there's somthing i did wrong for ADC DMA start or there would be some parameter for block this case

what should i do?

0 REPLIES 0