SLVSHF3 October 2024 LP5899-Q1
PRODUCTION DATA
Data that is transmitted by the CCSI controller which is not modified or extended within the daisy chain of LED drivers is protected by the LP5899-Q1 device with a CRC. Over all the transmitted words of the CCSI command a CRC value is calculated. Once the command is received by the CCSI peripheral, another CRC is calculated over all the received words. When the CRC over the transmitted words does not match the CRC over the received words, the FLAG_CCSI_CRC, FLAG_CCSI, and FLAG_ERR are set to 1. The SPI controller can access the LP5899-Q1 and write 1 to CLR_FLAG to clear the flags.
When an SPI command starts with FWD (commands 0x2 to 0x7), the first data word of the SPI command is checked. When this word matches a write FC0 to FC15 (0xAA00 to 0xAA0F) or VSYNC (0xAAF0) CCSI command, the data integrity diagnostics is executed.
When this error flag is triggered consecutively, the CCSI controller and CCSI peripheral are likely out of synchronization. In that case, TI recommends to perform a SOFTRESET command.