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.

TM4C129DNCPDT: Setting a Sub-second Value to the Hibernation Module's RTC

Part Number: TM4C129DNCPDT

Hello everyone,

For a required spec in our project, the clock on our processor (Tiva TM4C129DNCPDT) must be very accurate, within 10 milliseconds of the UTC, and must be re-synchronized periodically. Because we must also have the RTC running while powered down, I'm using the Hibernation Module's RTC (the module runs off our battery while not powered).

I need to be able to set the sub-second value in the Hibernation module in order to achieve the required accuracy, but the register appears to be read-only. I've even tried writing 0x00000000 to reset the register, but that doesn't seem to work either. I'm also following the steps that are used when calling HibernateRTCSet, locking and unlocking, and waiting for each write to complete.

Is there any way at all to set the sub-second value? Or do I have to go about getting this accuracy some other way? The main alternative I can think of is applying a sub-second offset to all of my timestamps, getting this offset while synchronizing. But it would be easier just to have control over this register.

Thanks,

- Tom