Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 8 months ago.
How to configure manually VREF for ADC (FRDM-K64F)
Hello,
I'd like to modify the reference voltage for the ADC. Currently, it's working from GND to 3.3V and I'd like to use external pins to set my voltage (with a voltage divider). I have understood that i have to configure REFSEL to use an external voltage (V_ALTH and V_ALTL) but i don't know how to link an analog input to these voltage.
Thank you in advance to any one who may be able to give me some ideas
Regards,
Lyricks