Associate III
October 8, 2024
Solved
ADC not working properly on Nucleo-MB1549
- October 8, 2024
- 1 reply
- 1057 views
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.

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?

