This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TM4C1294NCPDT: TM4C1294NCPDT

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

Hello All,

We are doing a project on TM4C1294NCPDT Evaluation Kit using Ti-RTOS drivers. we have to create multiple threads and those threads should be created on the user's choice. All threads also required the user's inputs when the process is running. But we have only one UART to give user's choice. So how can we manage the same UART user interrupt for those all running processes?.  
Thanks and regards,
Kashif Khan 
  • Hi,

      I'm not an RTOS expert. I suppose you can use the semaphore such that all tasks (with different priorities) are pending on the same semaphore until the UART receives an interrupt to unblock the tasks. In your tasks you will need to evaluate if the input is selecting a specific task. If not selected, the un-selected tasks will go back to their pending state. I can forward you question to our TI-RTOS experts if you still have question. It is a major holiday in the US, Please expect delay in the response. 

      These slides maybe helpful.

    http://processors.wiki.ti.com/images/4/4f/Semaphores.pdf