Skip to main content
Visitor II
November 29, 2023
Solved

Sample code for ADC_IN on STM32H735G-DK or similar?

  • November 29, 2023
  • 1 reply
  • 1382 views

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.
    Best answer by KDJEM.1

    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

    1 reply

    KDJEM.1Answer
    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