Skip to main content
RShar.9
Associate III
Oct 17, 2019 12:21 PM UTC
Solved

how to configure ADC in stm32cubemx for stm32h743 MCU

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.
Houssem CHAABANI
Houssem CHAABANIBest answer
Visitor II
Nov 19, 2020 2:59 PM UTC

 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
Nov 19, 2020 2:59 PM UTC

 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