Hi,
I’m using a one shot timer which can be started during a the cycle of another periodic timer and individually.
During the one shot timer cycle im calling xTimerIsTimerActive and checking its returnvalue.
If I start the one shot timer w/o the periodic timer, a few times in a row, xTimerIsTimerActive returns as expected pdTRUE.
If I let it start during the cycle of the periodic Timer, the first cycle is as expected, but in all following cycles xTimerIsTimerActive returns pdFALSE.
Below, the function which starts the one shot timer, which can be called individually or during the periodic timer cycle:
One thing you might try is to set configTIMER_TASK_PRIORITY higher than the priority of any of your tasks that use timers. See if that makes a difference.