Hello,
I think I found a bug in Timer_setFunc(). It's present both in TI RTOS 2.01.00.03 and older v1.21.00.09 This function is implemented as follows
Void Timer_setFunc(Timer_Object *obj, Timer_FuncPtr fxn, UArg arg) { obj->tickFxn = fxn; obj->arg = arg; Hwi_setFunc(obj->hwi, fxn, arg); }
I removed Hwi_setFunc() call, because in my opinion "fxn" is not intended to be a Timer's Hwi handler directly.