Hi Ariela,
Do you check the return value of timer_id to verify it was successful?
What does the timer_cb() function do?
Does it call any blocking MQX function calls? If yes, you should not call blocking function calls.
Is timer_cb() a short routine or long? Shorter is better as you want to treat a timer callback like an interrupt routine (i.e. short and non-blocking calls).
Do other tasks use the timer_cb() function?
Do you create the timer task or let MQX do it for you? If you are letting MQX do it, then you might want to try creating the timer task with your own priority and stack size. I have seen lowering the priority from default 1 to 2 (or lower as an experiment). Same thing with the stack size as default is 800 bytes so maybe you need more.
Regards,
David