I am using STM3F4 discovery board. I am able to print the ADC value on display. I am using PA0 as ADC i/p. The value is constant 4095 if I connect to 3V from board. If I connect PA0(ADC i/p) to my external circuit which is a rail potentiometer the ADC reading is not constant. The last 2 digit are toggling continuously from 822 to 830. Anybody has faced same problem. Any suggestion how to fix the toggling of last 2 digit is welcome.
Video - Adc value toggling - YouTube