I want to develop a firmware for an embedded system (with LPC1313 micro), I want to use RTX RTOS for this project. I write the firmware myself(single developer).
I have seven tasks that should communicate with each other,some times one task send and receive data from many tasks.
What is the better way for task communications ? using global variables with some locking mechanism or message boxes?
If I want to use message box ,Is it needed to define one mbox for each communication between 2 tasks?
please help me.
So for communication between two tasks we use mailbox ,but for sharing some information between several task we use global variables and use event and lock mechanism for sync and access contol.