AnsweredAssumed Answered

Reading a battery voltage on STM8S003F3

Question asked by fleck.charles on May 26, 2015
Latest reply on Feb 4, 2016 by bryson.paul
Hey guys,

I currently have an STM8S003F3 that is being powered by a battery. I want to be able to read the battery voltage, but am trying to reserve pins. I am trying to read the battery voltage off the Vdd pin and compare it to the internal voltage of the STM8S. I am having trouble finding the documentation that describes which internal ADC channels are connected to the Vdd pin, or how to set an ADC up to read the Vdd pin. Does anyone know where this documentation is or how this can be done?

Thank you!
Charles

Outcomes