Skip to main content
Visitor II
February 13, 2024
Question

ADC multimode DMA init error

  • February 13, 2024
  • 0 replies
  • 801 views

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?

    This topic has been closed for replies.