Is the TX FIFO for LPSPI supposed to update automatically after a writedata?
I am checking the FIFO count and never see it drain when it fills up, so I must be missing something.
Here is my code for writing SPI data and checking the FIFO (based on LPSPI driver example):
while(LPSPI_GetTxFifoCount(EXAMPLE_LPSPI_MASTER_BASEADDR) > (g_masterFifoSize - 2))
//wait until some space becomes available