cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 RTC Counter value Reset

veyselka
Associate II
Posted on September 27, 2011 at 10:23

Hi , Im newbie about STM32 . I try to build a calendar project using STM32 discovery board. 

I can read counter value from RS232 port every second. I dissaamble SB1 resistor from discovery board and 3V lithium battery is connected to Vbat and GND. pins.

My problem is, when I cut VUSB or reset board ,  RST counter value is reset and start with zero again. 

I looked  ''Using the STM32 hardware real-time clock (RTC)- AN337''. Problem is about power mode of STM32.. 

How can I configre power modes or which register to save RTC counter or register with loose USB power. 

Best regards

0 REPLIES 0