cancel
Showing results for 
Search instead for 
Did you mean: 

ADC not working properly on Nucleo-MB1549

BadEngineer
Associate II

I'm trying to get some adc values from my nucle-mb1549-ws but no matter what i do, i can't seem to get any values. 

Below i have attached the main.c file source code. 

Below is an image of my .ioc file to give you an idea of what is happening. I am trying to get a reading from the ADC_IN5 which is on PA0. 

BadEngineer_0-1728402239296.png

 

Below the orange wire should be connected to PA0, that is just connected to 3.3V or ground (supplied by the Nucleo board). Is there something wrong in my wiring or in my main.c file? 

 

BadEngineer_1-1728402380161.png

 

 

 

3 REPLIES 3
SofLit
ST Employee

Hello @BadEngineer ,

Could you please clarify what is that "Nucleo-MB1549" board? is it the NUCLEO-U575ZI-Q or NUCLEOU5A5ZJ-Q (MB1549)? 

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

In order to find it on the cube ide you have to select this project: NUCLEO-U575ZI-Q

 

However this seems to build it for stm32u575Z but on my nucleo board it seems to use a ship for stm32u585. I don't understand what is happening

 

BadEngineer_0-1728468275281.png

 

It's not a commercial board from ST as it is having a socket. I think you got this board from a local FAE for evaluation.

Need to use an official ST board in order to help you efficiently or contact your local FAE/sales if you need to keep using that board.

 

 

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