AnsweredAssumed Answered

LPSPI TX FIFO not draining on RT1050?

Question asked by Jack King on Jul 22, 2018
Latest reply on Jul 23, 2018 by Jack King

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