Other Parts Discussed in Thread: SYSBIOS
Hi all,
I've implemented MessageQ communication between the ARM and DSPs exactly like in the image processing demo source code.
I've faced the following problem:
1. I send a message to each DSP core in a row
2. These messages are received correctly on each DSPs
3. the same message is send back immediately to ARM's MessageQueue
=> Only 1-2 messages are received back on the ARM side ( varies)
* If I sleep on each DSP core fixed time (10 ms on core 0, 20 ms on core 1, 30 ms on Core 2, etc..), than ALL messages are received correctly on the ARM side.
* I tried to put a semaphore around MessageQ_put(replyQueueId, msg) on DSP, but it didn't help.
Do I need a synchronizer on the host MessageQ? What is the default synchoronizer on Linux side on the MessageQ, if I call create function with null parameter: MessageQ_create(MPU_MESSAGEQNAME, NULL);