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.

SW-EK-TM4C123GXL: Help RTC module is not accurate problem

Part Number: SW-EK-TM4C123GXL

Hi all:

I had issue about RTC follow is my test
platform : EK-TM4C123GXL
RTOS:TI RTOS Tivac 2 16 00 08
IDE:
Code Composer Studio 7.3.0
XDCtools 3.32.0.06_core3
Compiler TI v16.9.4.LTS

void InitHibernation(void)
{
SysCtlPeripheralEnable(SYSCTL_PERIPH_HIBERNATE);
//
// Wait for the Hibernate module to be ready.
//
while(!SysCtlPeripheralReady(SYSCTL_PERIPH_HIBERNATE))
{
}
//
// Determine if the Hibernation module is active.
//

HibernateEnableExpClk(SysCtlClockGet());
// Configure the clock source for Hibernation module and enable the
// RTC feature.
//
HibernateClockConfig(HIBERNATE_OSC_HIGHDRIVE);
HibernateRTCEnable();
}

and i print the HibernateRTCGet() value to console.  Follow is my log. 

2018/5/23 17:22:30 [RX] - RTC:172 <CR><LF>

2018/5/24 09:20:25 [RX] - RTC:58329 <CR><LF>

58329 - 172 = 58157 = 16 h  09 m 17 s

 2018/5/23 17:22:30 + 16 h 09 m 17 s

= 2018/5/24 09:31:47

 over the actual time 11 m 22 s

Is any RTC register setting wrong? or need to be set?

Thank you.