Hi,
I'm using F28377D to demo the controlSUITE code, 2837xDSci_FFDLB.
And there is a question bother me, it's about the transmit FIFO interrupt implementation.
As i read the SCI technical doc, the description of TXFFIL bits is
TXFFIL4–0 Transmit FIFO interrupt level bits. Transmit FIFO will generate interrupt when the FIFO status bits (TXFFST4–0) and FIFO level bits (TXFFIL4–0 ) match (less than or equal to).
In my opinion, if FFST less than or equal to FFIL, it will execute the tx interrupt to do something(sending data in example code).
if i set TXFFIL = 0x2, and i don't have any data require to send.
In this case, TXFFST will be zero no doubt, but it will cause the TX Interrupt fired.(TXFFST = 0 less than TXFFIL = 2)
This means even if i don't have any data to send, it will execute interrupt continuously.
Does there have any method to avoid this situation?
Thanks!