ADC + DMA convCplt and convHalfCplt
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-10 1:46 AM
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 config
Labels:
- Labels:
-
ADC
-
DMA
-
STM32L4 series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-10 7:21 AM
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".
