Skip to main content
DEska.1
Associate
Feb 2, 2023 2:32 PM UTC
Question

how to use dual simultaneous adc with DMA

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

Javier1
Principal
Feb 3, 2023 1:41 PM UTC
AKhot.1
Associate III
Jun 5, 2023 1:21 PM UTC

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