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.

TMS320F280025: SCI_isTransmitterBusy() in SCI driverlib

Part Number: TMS320F280025


Hi Champs,

There is one strange code in sci.h as following captured one. With TX FIFO is enabled, the SCI_isTransmitterBusy() returns \b false if the FIFO is empty. But the code below always returns \b false because "SCI_O_FFTX & FFTX_TXFFST_M(0x1F00)" can not be equal to 0x1F00.

I think this code should be modified like this: 
return(((HWREGH(base + SCI_O_FFTX) & SCI_FFTX_TXFFST_M) != 0)  ? true : false);

All C2000 driverlibs have same problem. Is there anything I am mistaken about it? 

Thanks,
Steve