sameerr11
Junior Member level 1
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 taskdelay 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.
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 taskdelay 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.