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.

TSM320F2808 SCI Controller Programming

Other Parts Discussed in Thread: TMS320F2808

Can someone recommend a best practice programming for this SCI controller?

I am maintaining an existing C code for TMS320F2808 serial data transmit part.  The code for the controller portion looks like this:

put a string of texts to the queue for SCI controller

put all bytes from the queue into the SCI TX FIFO

Set SCIFFTX's TXFFIEN = 1

DELAY(500ms)  // To way for SCI controller completing TX.

What I don't like is the "DELAY(500ms)".

Is there a way to get a interrupt when SCI controller completes a transmit?  Or a poll would be better this DELAY(500ms).

--Joe