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: RTC clock issue

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: EK-TM4C123GXL

Hi team,

Issue: After sleeping, the return value with HibernateRTCGet() is always 0:0 in 1970, 1971. But after reset by the power switch, it works normally. The customer  would like to know what's the reason for that.

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hi Cherry,

    After sleeping, the return value with HibernateRTCGet() is always 0:0 in 1970, 1971.

      Please note that TM4C123GH6PM does not support calendar mode. HibernateRTCGet() will only return a RTC counter value, not calendar mode as in years, months, dates and times. Therefore, I'm a bit confused as what you mean by 1970 or 1971. Only TM4C129 MCU supports calendar mode. 

      Once in hibernate, the RTC counter is supposed to count.  If it is not counting then you need to check if you are supplying power to the RTC module during hibernation mode. You should also check the 32kHz oscillator. Is it running. 

      I will also suggest you first run C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c123gxl\hibernate example. It illustrates how to enter and exit hibernate mode.