SWRA486A August 2015 – April 2017 CC1310 , CC2620 , CC2630 , CC2640 , CC2640R2F-Q1 , CC2650 , CC2650MODA
The Timer_periodicStub(UArg arg) function clears a pending RTC interrupt, sets a new compare value, and calls the appropriate clock tick function. Be careful when configuring a new compare value if the new value is near, because clearing an RTC event takes precedence over setting an event.
Implementation suggestion 1 (perform the AON sync after clearing the event):
Implementation suggestion 2 (TI-RTOS implementation):