Other Parts Discussed in Thread: SYSBIOS
I was just debugging the MRR lab_07 using the RTOS analyzer when I noticed a peculiar behavior.
Currently, 2 tasks are running in the MSS(R4 cortex)
1.MmwDemo_mboxReadTask() and 2.ti_sysbios_knl_Idle_loop__E()
ie a task to read the mailbox with the items that are filled from DSS and output them this task is executed on every MmwDemo_mboxCallback
after this task is over the core goes into lower priority Idle_task and the Mbox_read task again waits for the semaphore which is only released on the callback and happens only on the next cycle
But after trying to visualize this behavior on Execution Graph I am getting the following behavior ....ie even before completing the MmwDemo_mboxReadTask() the scheduler is called for a brief time and it schedules the lower priority Idle Task but again the MmwDemo_mboxReadTask() preempts the Idle Task although all these things happen within few us(microseconds) I was curious with the behavior