Teensy 3.6 and RTC date and time not ok when power lost.

Status
Not open for further replies.

Stanleyvc

Active member
I have a Teensy 3.6 with a battery, when i reset the Teensy, the clock is ok.
When i lost the power, the time is from te HEX file?
Also with the Example "TimeTeensy3" what is this???
Thanks.
 
Yes, this is into the setup loop "setSyncProvider(getTeensy3Time);"

How can the rtc time to the hex time ?

Thanks.
 
When i lost the power, the time is from te HEX file?

The RTC is supposed to keep time as long as 3V remains on the VBAT pin.

If you disconnect power from VBAT, then next time you boot the RTC is uninitialized. The time you compiled the code is used as a default, because no other info is available. If you have access to accurate time, you can use the functions to set the time.
 
Status
Not open for further replies.
Back
Top