cancel
Showing results for 
Search instead for 
Did you mean: 

Comparator on VDD

poisson
Associate
Posted on October 09, 2015 at 10:47

Hi,

I'm using a STM32 L051K8 and i'm kind of short in IO, is there any way to avoid using an ADC pin to measure VDD??

#vdd #stm32
1 REPLY 1
Danish1
Lead II
Posted on October 09, 2015 at 11:06

As far as I know the ''usual'' way to ''measure'' the Vdd is to measure the internal reference voltage using Vdd as the ADC's supply/reference.

This is mentioned in section 13.10 of the reference manual.

It does not use any pins (other than requiring you to wire up VddA and VssA to Vdd and Vss as appropriate for your package).

Is there a reason this will not work for you?