AnsweredAssumed Answered

Cannot read VREFINT Accurately on STM8L052C6 48 pin package

Question asked by kelsey.james on Dec 14, 2012
Latest reply on Mar 9, 2015 by vivy.viva
I route VREFINT to an output pin and it reads correctly at 1.22V.

If I vary my input voltage, the VREFINT raw count value drifts around between 1100 and 1300 counts using VDD at 3.22V.  The higher the voltage, the higher the count.

I checked VDD going in and it is rock solid.  Same with VREFINT going out the PC6 (?) pin.

I am in single conversion mode using PF0 (ADCIN24) as my input pin.

Any help appreciated.  thanks, Jim 

Outcomes