Dear team,
The customer used this chip to make a batch of battery-powered control boards. The circuit board only works for two hours a day, that is, from 7:00 to 9:00, and it stays dormant at other times.
The program will recalculate on 9:00 and set the next wake-up RTC number to ensure that the setting is successful every time .
By 7 o'clock the next day, under normal circumstances, the board can automatically wake up on time.
But after running the program, it is found that each board may not be able to wake up at the time. The board may be normal for a few days, and it may not wake up one day. Since the wake-up is not successful this time, the next wake-up count will not be updated, which will result in the subsequent failure to wake up forever. There have been problems with every board.
The chip version currently in use is G4, and the complete model is TM4C123GH6PMT7. Boards that fail to wake up can only be reset by powering off or through the wake pin.
Although the wake-up fails, the RTC count inside the chip is still going.
The following are the main functions which are used:
HibernateWakeSet(HIBERNATE_WAKE_RTC|HIBERNATE_WAKE_PIN);
HibernateCounterMode(HIBERNATE_COUNTER_RTC);
HibernateRTCMatchSet(0,time);
HibernateRequest();
The customer also find a similar description in the following doc
Please help to check this issue.
BR,
Susan