cancel
Showing results for 
Search instead for 
Did you mean: 

how to configure ADC in stm32cubemx for stm32h743 MCU

RShar.9
Senior

how to configure ADC in stm32cubemx for STM32H743ZI MCU,

i tried many times adc not working using DMA

PLAESE HELP

1 ACCEPTED SOLUTION

Accepted Solutions
Houssem CHAABANI
Senior II

 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

View solution in original post

1 REPLY 1
Houssem CHAABANI
Senior II

 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