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.

Hibernation problem

        I have a problem about the hibernate of  Tiva MCU. The code is  put below.

     

SysCtlPeriEnable(SYSCTL_PERIPH_HIBERNATE);

SysCtlDelay(2 *(12000000UL));

HibernateEnableExpClk(SysCtlClockGet()); 

SysCtlDelay(25 *(12000000UL / 1000));
HibRTCSet(35920UL); 
SysCtlDelay(50 *(12000000UL / 1000)); 
HibRTCEnable();

When the  code  gets into  HibernateEnableExpClk(SysCtlClockGet()),it stops. If  I  remove  HibernateEnableExpClk(SysCtlClockGet()) , the program can work continue,but the RTC can't get  initial  value. The crystal of the hibernate  is 32.768KHz. When I use oscilloscope to watch the cystal, the input voltage of the crystal is  -0.1mv -0.1mv ,the frequency  is 32.768KHz, but I  can't get the output of the crystal. The value of HIB_CTL_WRC is always 1.Why the HibernateEnableExpClk(SysCtlClockGet()) can't work , thank you for your reply!