SLVSHF3 October 2024 LP5899-Q1
PRODUCTION DATA
To stop an ongoing CCSI transmission, the TXFIFO can be cleared by bit TXFFCLR in register TXFFLVL. This resets the TXFIFO counter (TXFFST) to 0. All the commands in the queue are cleared. The CCSI controller automatically inserts an END byte to reset the LED drivers. The CCSI peripheral continues to work as normal. The TXFFCLR bit automatically returns to 0.
The data on the RXFIFO can be cleared by bit RXFFCLR in register RXFFLVL. This resets the RXFIFO counter (RXFFST) to 0. If the CCSI peripheral is receiving data that needs to be stored on the RXFIFO, the storage is stopped for this command. The next CCSI command received by the CCSI peripheral follows the original request of the SPI command. The CCSI controller continues to work as normal. The RXFFCLR bit automatically returns to 0.