2017-07-20 03:26 AM
Hello There,
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 -
https://www.youtube.com/watch?v=Lodb4PKB_R0&feature=em-upload_owner
2017-07-21 12:51 AM
The SPL (Standard Peripheral Library) for the STM32F4 and the Firmware package for the F4 Discovery contain examples for ADC initialization, including (AFAIK) calibration.
Both are still available as download.
Never used Cube, though..