AnsweredAssumed Answered

stm32f405 rtc help

Question asked by Angelo Dureghello on May 12, 2014
Latest reply on Dec 31, 2015 by li.linda.001
Dear all,

i am using STM32F405 with internal osc. clock.

I connected a 3V lithium battery as VBAT, and would like to use the RTC to keep time when power is off.

I read some samples here and there and implemented some RTC init / setup routines (finally using RTC_SetTime / RTC_SetDate). Until now, i can save time / date to RTC, but if i power off and on after 10 seconds, i see the time set as the same of power off (10 seconds old) while i was expecting the updated time.

Every help is appreciated.