Tool/software: TI-RTOS
Hello,
i want to understand the priority for call back function.
My application is TCP based and i have registered for callback function for transmit, receive and processing the incoming packets in task context and the task is in high priority i.e. priority 1.
I am also posting event to other task to perform some operation which is having lower task priority i.e. 5. Now i am expecting the callback function should be completed before event pend task to resume. but the real scenario is opposite to that. event pend task is completing before callback function execution.
From the document i understood that Event post will be executed in HWI context and also i believe that event pend will be based on task priority. but in this case its entirely different in behavior.
can anyone help me understand the priority between callback function registered in high priority and event pend at lower priority?
Regards
Bala