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.

C6678 SPI question

I have a question about the SPI.

I cannot understand the difference in 2 flags:

SPIFLG->TXINTFLG (indicate if the transmit buffer (TXBUF) is empty and a new data can be written to it)

SPIBUF->TXFULL (indicates if TX shift register is full)

Aren't they saying the same thing?

What of the 2 flag is better to check while i'm trasmitting data using SPI?

Even in the evmc66x_spi.c example file, the function spi_xfer controls the flag TXFULL, while spi_write_word checks TXINTFLG.