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.

RTOS/TMS320F28335: Transmitting Long UART Data Problem

Part Number: TMS320F28335


Tool/software: TI-RTOS

Hi Everyone,

I have three task, one of them is transmitting 80 bytes of data through UART , second one is doing control applications and the last one is doing mission uploading and downloading.  All of task have same priority. My problem is that transmiting 80 bytes of UART data cause a delay on the other task's timings since I gave same priority for tasks.  How can I transmit long UART data without disturbing microcontroller and changing task priorites ? 

Best Regards

Sertac

  • Sertac,

    Is the UART transfer interrupt or polling based? If it is interrupt based, the sending task should be blocking on a semaphore until the interrupt runs to denote completion (at which time it can call Semaphore_post to free the task to run again).

    Why do you want to keep all the tasks at the same priority?

    Todd