Skip to main content
Visitor II
February 20, 2025
Question

ADC ADC_SingleConversion_TriggerSW_Init

  • February 20, 2025
  • 1 reply
  • 521 views

Hi everyone,

I'm working with the NUCLEO-U575ZI-Q board and using the ADC_SingleConversion_TriggerSW_Init example. However, I can't get the ADC to measure correctly. No matter what voltage I apply to pin 9 of CN7, the reading always stays around 80mV.

STM32 Version: 1.17.0

Has anyone encountered this issue before? Could I be missing something in the configuration?

Thanks in advance!

    This topic has been closed for replies.

    1 reply

    Super User
    February 20, 2025

    The NUCLEO-L575ZI-Q board doesn't have a ADC_SingleConversion_TriggerSW_Init example, either in GitHub or CubeMX. Show the code you're using, it could be any number of things. Are you using the correct pin and channel? pin 9 on CN7 is PA4.

    Set the pin as a GPIO output and toggle it, can you see the voltage change on a multimeter?

    proyoAuthor
    Visitor II
    February 20, 2025

    Thank you for your quick response.

    I made a mistake when mentioning the development board; I meant to say the STM32U575ZI-Q. I have already corrected it in the original post.

    Sorry for the inconvenience.