cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L152 rtc battery

peterd
Associate II
Posted on October 03, 2014 at 01:48

The STM32L152 is working. Also the external 32KHz is driving the rtc. If I connect a battery to VBAT pin the oscillator stops working if main power go down. There is also no current from battery to VBAT. In running mode there are some µA.

Is there a config bit to switch on the battery power ? 
1 REPLY 1
Posted on October 03, 2014 at 02:23

Does the STM32L152 have a VBAT pin? Are you talking about the DISCOVERY board? Have you made the modifications mentioned in the manual? The LSE should definitely keep ticking if you enter STANDBY.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..