This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32f407VG ADC

Hi, I am new to this community and this is my first question. My project is to read the Voltage from potentiometer which is connected to the PA0 (ADC channel 0). So, I want to practice ADC in STM32f4xx. I inserted my code here. I can read analog values, bu the problem that they are very inconsistent, namely they are not constant and differ from each other significantly. I searched datasheet and user manual, but I couldn't solve the problem. Please can you inform me what is my problem here? Thank you very much.

0