Hi,
I have designed three task with two Queues to communicate.
First task waiting for external Interrupt . First task put data on queue1 at the end.
second task block for queue1,where data available it unblock.
second task put some data to queue2 and third task block on that.when data available it unblock.
I do not use taskdaly to block the task at the end of task, because all have same priority.
I set same priority to all task.
My problem: When i execute first time three task execute task1 then task2 then task3…. It should go back to task1 and waiting for interrupt again …it s not doing that way and stuck at task3 end. When i reset , it again execute one by one and stuck. I
When i do only two task t1 and t2 they works fine……
t1 is waiting for interrupt register to set (in while loop) … then t1 executes…
t1 read data by serial port, t2 perform some function on data and t3 send data back …… after that i again want that t1 wait s for new data to read…. again same t1>t2>t3>t1>t2….continue…
I dont get that with same priority,they shoul execute one by one…
I also tried to block t1 when it give signal to t2 …But same problem only one time execution….