how to configure ADC in stm32cubemx for stm32h743 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-17 5:21 AM
how to configure ADC in stm32cubemx for STM32H743ZI MCU,
i tried many times adc not working using DMA
PLAESE HELP
Solved! Go to Solution.
- Labels:
-
ADC
-
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-19 6:59 AM
Dear @RShar.9​
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-19 6:59 AM
Dear @RShar.9​
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
