Other Parts Discussed in Thread: OMAP-L138, , SYSBIOS, OMAPL138
Tool/software: Code Composer Studio
Dear All,
Customers used OMAP-L138 before, and now upgrade the product to AM5728.
When debugging AM5728, they encountered problems in inter-thread communication. They used thread 1 to send data and thread 2 to receive data.
In thread 2, while (1) is used to perform a dead loop waiting for data reception. After receiving the data, the counter adds one, and the program function is normal. But if the Semaphore_pend() function is added to the while (1) dead loop to suspend the thread,the counter in the program does not add 1.
Our customer said that the Semaphore_pend() function can exit the pending operation in advance when the thread receives the data.
We hope TI can help confirm the functionality of the Semaphore_pend(). Can this function cause thread abnormal?
If we can get to the customer source code, can you help us analyze it?
Best Regards.
Kevin Chen