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.

TM4C123GH6PM: Hang on HibernateWriteComplete()

Other Parts Discussed in Thread: EK-TM4C123GXL

I have read many post about this problem but i can't find the way to fix it - hang on HibernateEnableExpClk(SysCtlClockGet());

The below code works in ek-tm4c123gxl launchpad, but my custom board is not. I think the reason is hardware. I try to follow the launchpad, it still doesn't work.

I check HIB_CTL, When set HIB_CTL_CLK32EN bit, HIB_CTL_WRC bit never set again.

My code:

...

int main(void)

{

ROM_SysCtlClockSet(SYSCTL_SYSDIV_4|SYSCTL_USE_PLL|SYSCTL_OSC_MAIN|SYSCTL_XTAL_16MHZ);

ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_HIBERNATE);

HibernateEnableExpClk(SysCtlClockGet());

....

}

P/s: I try to set HIB_CTL_VDD3ON bit, it doesn't work.