cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using DMA and ADC

Tom83
Associate II

Hello everyone!

I am trying to use DMA for the first time with an ADC.

I think I have configured my ADC and DMA correctly to work together (see configuration below).

Using the debug I notice that in the HAL_ADC_Start_DMA function, the LL_ADC_REG_StartConversion function blocks the program and I never exit it. If I read the comment of this function, it says "If software start has been selected, conversion starts immediately."

I think that in my ADC configuration I have configured "software start".

Does anyone have any idea what the problem could be?

Thanks.

0 REPLIES 0