Skip to main content
ALara.1
Associate
Nov 30, 2020 7:59 PM UTC
Solved

How to configure and read an ADC without DMA on the STM32H750VBT6 ?

I am using the MCU STM32H750VBT6 and I am trying to configure the ADC1 to take readings from a sensor, but I am not using DMA, only that the DMA is not returning the correct value to me, it would give me an example code of how to read a ADC1 channel? Also what settings are used?

This topic has been closed for replies.
TDK
TDKBest answer
Nov 30, 2020 10:52 PM UTC

Here is an example for the H743:

https://github.com/STMicroelectronics/STM32CubeH7/blob/79196b09acfb720589f58e93ccf956401b18a191/Projects/NUCLEO-H743ZI/Examples/ADC/ADC_RegularConversion_Polling/Src/main.c

The relevant ADC portions should be identical for the H750.

"If you feel a post has answered your question, please click ""Accept as Solution""."

1 reply

TDK
TDKBest answer
Nov 30, 2020 10:52 PM UTC
"If you feel a post has answered your question, please click ""Accept as Solution""."