SSP in SPI slave mode: How to flush the transmit FIFO?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Feb 27, 2018 by Craig McQueen
Content originally posted in LPCWare by MindBender on Wed Jul 29 05:01:03 MST 2015
The SSP peripheral doesn't seem to clear the transmit FIFO upon deselection. When the SPI master request information, but prematurely aborts reading, a data of a consecutive command will be preceded by residual data in the transmit FIFO. Is there any way to manually flush the transmit FIFO?