ADC-DMA setup in STM32CubeIDE: DMA Continuous Requests option in parameter settings is missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-09-07 5:46 PM
I'm trying to use the DMA on an STM32 H743ZI2 nucleo dev board to continuously read values from an ADC input into a buffer.
I'm trying to follow along the tutorial here: https://www.digikey.com/en/maker/projects/getting-started-with-stm32-working-with-adc-and-dma/f5009db3a3ed4370acaf545a3370c30c
However, when I try to configure my ADC parameter settings, I do not see an option to enable DMA continuous requests, and as a result, my callback functions aren't being called.
How can I enable continuous DMA requests if this option is unavailable, or change settings such that this option appears?
Below are screenshots showing my issue:
Thanks,
chris
Solved! Go to Solution.
- Labels:
-
ADC
-
DMA
-
STM32CubeMX
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-12 2:45 AM
Dear @CWu.2 ,
In order to activate ADC DMA on STM32H7 you need to follow these steps:
- Activate ADC instance under analog ADC.
- Add DMA under system core -> DMA and choose the ADC instance that you already activated.
- Under ADC setting -> conversion data management setting choose DMA Circular mode.
Now you have configured ADC with DMA but you may have problem related to STM32H7 memory layout, so you will need to follow this article in order to get it working as expected.
Please use the last version of STM32CubeMX.
Hope that this solve your issue.
Best regards,
Houssem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-12 2:45 AM
Dear @CWu.2 ,
In order to activate ADC DMA on STM32H7 you need to follow these steps:
- Activate ADC instance under analog ADC.
- Add DMA under system core -> DMA and choose the ADC instance that you already activated.
- Under ADC setting -> conversion data management setting choose DMA Circular mode.
Now you have configured ADC with DMA but you may have problem related to STM32H7 memory layout, so you will need to follow this article in order to get it working as expected.
Please use the last version of STM32CubeMX.
Hope that this solve your issue.
Best regards,
Houssem
