Skip to main content
RDans.1
Associate
November 29, 2023
Solved

Sample code for ADC_IN on STM32H735G-DK or similar?

I am looking for example code to read from the ADC_IN port on the STM32H735G-DK. I know I need to change a 0 Ohm resistor jumper to use it, but some example code to get me started with it would be helpful. 

This topic has been closed for replies.
KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
November 29, 2023

Hi @RDans.1 ,

I recommend you to start with ADC_DMA_Transfer example available in STM32CubeH7 package. this example has been tested with STM32H735G-DK board

Note that this sample code shows how to convert an analog input and read the converted data using DMA transfer.

I hope this help you!

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.

1 reply

KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
November 29, 2023

Hi @RDans.1 ,

I recommend you to start with ADC_DMA_Transfer example available in STM32CubeH7 package. this example has been tested with STM32H735G-DK board

Note that this sample code shows how to convert an analog input and read the converted data using DMA transfer.

I hope this help you!

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.