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.

TM4C123 Exit Hibernation

Other Parts Discussed in Thread: UNIFLASH, LMFLASHPROGRAMMER

Hi, I was programmed the hibernation module, but the microcontroller does not exit from hibernation mode, and I can't reprogram it. For accident, I didn't write the HIBERNATE_WAKE_PIN parameter in HibernateWakeSet() function of the TivaWare API, and RTC wakeup is wrong, I dont see the change in the LED, someone can help me?

This is the code

int
main(void)
{
	SysCtlClockSet(SYSCTL_SYSDIV_5|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN);
	SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF);
	GPIOPinTypeGPIOOutput(GPIO_PORTF_BASE, GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3);
	SysCtlPeripheralEnable(SYSCTL_PERIPH_HIBERNATE);
	HibernateEnableExpClk(SysCtlClockGet());
	HibernateGPIORetentionEnable();
	HibernateRTCEnable();
	HibernateRTCMatchSet(0,HibernateRTCGet() + 1);
	HibernateWakeSet(HIBERNATE_WAKE_RTC);
	GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_3,
			~GPIOPinRead(GPIO_PORTF_BASE,GPIO_PIN_3));

	HibernateRequest();
    //
    // Loop forever.
    //
    while(1)
    {

    }
}