Skip to main content
ABouk.1
Associate III
June 10, 2021
Question

ADC + DMA convCplt and convHalfCplt

  • June 10, 2021
  • 1 reply
  • 924 views

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

This topic has been closed for replies.

1 reply

TDK
June 10, 2021

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""."