Skip to main content
Visitor II
February 2, 2023
Question

how to use dual simultaneous adc with DMA

  • February 2, 2023
  • 2 replies
  • 2124 views

So I Am trying to use the dual regular simultaneous mode with DMA transfer, I tried to use one ADC with the DMA transfer and It works fine but with 2 ADCs I use the function HAL_ADCEx_MultiModeStart_DMA() but the called back function is not actually called so the HAL_ADC_ConvCpltCallback() is not called which means no conversion is happening also the buffer is empty

does anyone have any idea how to fix that?

here is my main.c code:

https://drive.google.com/file/d/1ve5XwGVgaSBvuDYn4lMT79EXxj1-ykCd/view?usp=sharing

    This topic has been closed for replies.

    2 replies

    Visitor II
    June 5, 2023

    Did you find the solution to this? I am also trying the same. Please let me know if you find it