cancel
Showing results for 
Search instead for 
Did you mean: 

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

ALara.1
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

1 REPLY 1
TDK
Guru

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".