Hi all,
During the initialization task, i am calling the Hibernate initalization function.Here is the function:
void Board_InitHibernate(void)
{
MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_HIBERNATE);
while (!MAP_SysCtlPeripheralReady(SYSCTL_PERIPH_HIBERNATE))
{
}
MAP_HibernateEnableExpClk(SYSTEM_CLOCK); // When executing this line it hangs, SYSTEM_CLOCK is 120000000
MAP_HibernateClockConfig(HIBERNATE_OSC_LOWDRIVE);
MAP_HibernateRTCEnable();
MAP_HibernateCounterMode(HIBERNATE_COUNTER_24HR);
}
At exactly HibernateEnableExpClk function, some of my boards hang at a particular address. (I tried ROM_HibernateEnableExpClk and HibernateEnableExpClk as well)
When i click the pause button in debugger, i see that it hangs in _HibernateWriteComplete function.
I have roughly 30 boards, only in 2 of them this happens, so it is very likely to have a hardware problem.
In the boards where this problem happens, it is %100 reproducible.
WAKE and HIB pins are connected as follows:
Both working and problematic boards have YM code as 82, so as i understand prod date is February 2018.
From DID0 register, i read Major Rev=0 and Minor Rev=2, so die revision is A2 in all boards.
What kind of hardware problem can cause this ?
Best regards,
Erman