Skip to main content
RShar.9
Associate III
October 17, 2019
Solved

how to configure ADC in stm32cubemx for stm32h743 MCU

  • October 17, 2019
  • 1 reply
  • 1208 views

how to configure ADC in stm32cubemx for STM32H743ZI MCU,

i tried many times adc not working using DMA

PLAESE HELP

This topic has been closed for replies.
Best answer by Houssem CHAABANI

 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

1 reply

Houssem CHAABANI
Houssem CHAABANIBest answer
Visitor II
November 19, 2020

 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