cancel
Showing results for 
Search instead for 
Did you mean: 

ADC + DMA convCplt and convHalfCplt

ABouk.1
Associate III

Hi,

I am trying to use a circular DMA to transfer ADC samples on STM32L4R9VI.

I configured a 3.2 Msps sampling frequency, which means that HAL_ADC_ConvCpltCallback and HAL_ADC_ConvHalfCpltCallback must be called each 10 ms for a 64000 elemets buffer.

However, i measured the interval between each callback and it gave 10 us ...

The following screenshorts are for DMA and ADC config0693W00000BabBbQAJ.png0693W00000BabBqQAJ.png

1 REPLY 1
TDK
Guru

Show the code that actually sets up and starts the conversion.

If you feel a post has answered your question, please click "Accept as Solution".