cancel
Showing results for 
Search instead for 
Did you mean: 

ADC ADC_SingleConversion_TriggerSW_Init

proyo
Associate II

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!

2 REPLIES 2
TDK
Guru

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?

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

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.