Skip to content

RTC looses time upon system reset #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
LieBtrau opened this issue Aug 13, 2018 · 2 comments
Closed

RTC looses time upon system reset #11

LieBtrau opened this issue Aug 13, 2018 · 2 comments
Assignees
Milestone

Comments

@LieBtrau
Copy link

Hello,
The RTC is powered from the VBAT pin. It should be able to keep tracking time, even though the main power supply is off. According to this site that should be possible.

I checked with an oscilloscope if the LSE keeps running if the main VDD is off while VBAT is powered. That is ok.

The parameter resetTime in the rtc.begin(bool resetTime, RTC_Hour_Format format = RTC_HOUR_24); function probably allows to setup the RTC in the application without resetting its current time. It doesn't have the expected behaviour.

@fpistm
Copy link
Member

fpistm commented Aug 13, 2018

This feature is currently not implemented.
stm32duino/Arduino_Core_STM32#266

And yes reset time will be used for that.

@LieBtrau
Copy link
Author

Hi @fpistm, do you have any idea when this feature will be available?

@fpistm fpistm self-assigned this Sep 20, 2018
@fpistm fpistm added this to the 1.02/1.1.0 milestone Sep 20, 2018
fpistm added a commit to fpistm/STM32RTC that referenced this issue Feb 15, 2019
Require STM32 core version higher than 1.5.0.

Fix stm32duino#11

Signed-off-by: Frederic.Pillon <[email protected]>
fpistm added a commit that referenced this issue Feb 26, 2019
Require STM32 core version higher than 1.5.0.

Fix #11

Signed-off-by: Frederic.Pillon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants