Hi,
I am using SYSBIOS 6.41.02.41 (it came with the TI-MAC stack and TI-RTOS 2.11.01.09)
The device is CC2650 (4X4)
I have asked a similar question previously, but this time, it's a little bit more complicated.
Here's a link to my previous post
My goal is to be able to restrict access to a peripheral (I used UART with TI-RTOS drivers in this case). When a task requests and obtains access to the peripheral, I want only that task to be allowed to use the peripheral. Other tasks can request access to the peripheral and can block with a specified timeout.
The code that I am using was previously developed using FreeRTOS Binary Recursive Sempahores (big word for mutex which can be called by the same task again).
So far, I was able to accomplish everything that I wanted with GateMutexPri, however, this doesn't allow the use of a timeout to allow other tasks to poll the peripheral in case it is busy.
Does anybody know a clean way to accomplish this? Either through TI-RTOS drivers or SYSBIOS.
Thanks in advance
Michel
