cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L073RZ battery voltage measurement using VREFint

pt
Associate
Posted on February 22, 2018 at 19:19

Hi, I am using STM32L073RZ and trying to use internal reference voltage to measure battery voltage(according to Datasheet page number 28). It says that VREFint can be used to monitor Vdd if external source is not connected. But the there is not much about how to implement this. Please provide some more information.0690X00000604MaQAI.jpg

#stm32l0 #adc
2 REPLIES 2
Andrew Neil
Chief II
Posted on February 22, 2018 at 19:50

You use Vdd as the ADC's reference, and measure Vref-int (on ADC_IN17).

This effectively gives you the difference between 

Vdd and Vref-int.

Because Vref-int is known, you can deduce Vdd ...

ab val
Associate III
Posted on February 23, 2018 at 08:30

Hi,

0690X00000609SVQAY.png