This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is the right sequence to use RTC?

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

  1. Connect a 3V cell to VBAT input as back up
  2. Preset the HIBCALLD0 and HIBCALLD1 registers and set CALEN in HIBCALCTL (one time)
  3. 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!