Other Parts Discussed in Thread: CC1310
In my code we are using the Watchdog timer callback to Postevent to each task in order to request aliveSignal. I was expecting that only after the watchDogTimer callBack function is finished the TIRTOS will wakeup the task in order to handle the event it pends. but looks like this is not the way it works, I found that immediately after posting the event the TI-RTOS activate the task that pend for this event and execute it, and than return back to the watchdog timer callback to continue it's activity.
I found this behaver by toggling 2 DIOs : one is set/clr when Enter/exit watchdog timer callback, and the second DIO activated the the task eventPend is handled.
Here is a logic capture that demonstrate it:
Preconditions:
WatchDog interrupt used is WATCHDOG_INT_TYPE_INT(instead of WATCHDOG_INT_TYPE_NMI).
IntPrioritySet(INT_WDT_IRQ, 0);
Could you please clarify this behavior. Am I wrong with my expectation?