Trouble with ADC accuracy
I am using the ADC on a Nucleo-L412KB board. I am setting up the ADC for single conversion once per second.
I am getting digital values which are off, as though the Vref is up around 3.4 V. I have an LM385 voltage reference as a source and have tried a precision bench supply (Power Designs 2005) and with either input, working the math backwards, it is as though Vref is about 100 mV off.
I have read AN2834. This is a simple "get acquainted" exercise, with the board right out of the box.
Is there sometihng I could be overlooking? Am I required to set up Vref? Or is this handled by default with the HAL initialization?
Clyde
