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