Hi,
I have an custom board where i was using RTC to store some timer required for my application purpose.
my Init code consists of :
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_HIBERNATE);
while(!SysCtlPeripheralReady(SYSCTL_PERIPH_HIBERNATE))
{
}
/*** Enable the Hibernate module and RTC ***/
if(!HibernateIsActive()){
HibernateEnableExpClk(ROM_SysCtlClockGet());
HibernateGPIORetentionEnable();
HibernateClockConfig(HIBERNATE_OSC_LOWDRIVE);
msleep(100);
HibernateRTCEnable();
}
This code was working fine for many days, now when i call "HibernateEnableExpClk" it will be in a loop for write complete
I have tested with other copy of my custom board, this occurs in random devices, after few days if i dosen't power the same device, this setup starts to work fine.
I have gone through many example codes, but was not able to get what is causing this problem
Regards,
Chiranth H D