Hi there,
I need to keep the real time clock alive in my application when power is removed.
I am thinking to use the hibernation module on TM4C1294 . I don't need any fancy features like waking up the TiVa from RTC. so I think the following is enough
- Connect a 3V cell to VBAT input as back up
- Preset the HIBCALLD0 and HIBCALLD1 registers and set CALEN in HIBCALCTL (one time)
- Read the current date/time from HIBCAL0 and HIBCAL1 (anytime)
Is this the correct sequence?
Also, I didn't find the power consumption of the hibernation module when external power was removed so that it was powered by the battery cell. Any pointer?
Thansk!