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.

EK-TM4C123GXL Launchpad HibernateRTCTrimSet

Other Parts Discussed in Thread: EK-TM4C123GXL

Hello TI E2E Community Members,

I am looking for some guidance in understanding the HibernateRTCTrimSet function, the TivaWare Peripheral Driver Lib documentation states that this register value should nominally be 0x7FFF (or 32,767) and that it is applied to the pre-divider once every 64 seconds. I know that the crystal connected to the RTC on my EK-TM4C123GXL launchpad is a 32,768Hz crystal.

So my hypothetical question is if my RTC is one second slow every 64 seconds and the current value of the RTCTrimSet register is 32,767 how do I calculate what the new RTC trim value should be.