2024-02-12 07:15 PM - edited 2024-02-12 07:17 PM
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?