| Electronic Components Datasheet Search |
|
TLC6989 Datasheet(PDF) 17 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TLC6989 Datasheet(HTML) 17 Page - Texas Instruments |
|
17 / 72 page ![]() 7.3.4.6.1 CHECK Bit Error The CHECK (17th) bit of each CCSI data byte must be the NOT of the 16th bit. When the CHECK bit is the same as the 16th bit, the FLAG_CCSI_CHECK_BIT, FLAG_CCSI, and FLAG_ERR are set to 1. The SPI controller can access the TLC6989 and write 1 to CLR_FLAG to clear the flags. The CCSI peripheral stops receiving the current CCSI command and waits until an END byte is received. Afterwards, the CCSI peripheral works normally independent of the status of the error flags. 7.3.4.6.2 Data Integrity Diagnostics 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 TLC6989 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 TLC6989 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. 7.3.4.6.3 CCSI Command Queue Overflow The TLC6989 provides a detection when there are too many commands in the queue to be transmitted by the CCSI controller or expected to be received by the CCSI peripheral. When the command queue is full and a new CCSI command is received by the SPI peripheral, the FLAG_CCSI_CMD_QUEUE_OVF, FLAG_CCSI, and FLAG_ERR are set to 1. In addition, the CCSI command queue and TXFIFO are cleared in the same way as TXFFCLR. The SPI controller can access the TLC6989 and write 1 to CLR_FLAG to clear the flags. The error flag has to be cleared to be able to store new CCSI commands and the CCSI controller can start transmitting. When the FLAG_CCSI_CMD_QUEUE_OVF is set, the CCSI controller and CCSI peripheral are likely to get out of synchronization. Therefore, TI recommends to perform a SOFTRESET command after this flag has been set. 7.3.4.7 FIFO Diagnostics Both the TXFIFO and RXFIFO have their own overflow and underflow diagnostics. Below sections decribe these in more detail. 7.3.4.7.1 TXFIFO Overflow When the TXFIFO is full (TXFFST = 0x1FF) and new data words are received by the SPI peripheral which have to be stored in the TXFIFO, the FLAG_TXFFOVF, FLAG_TXFF, and FLAG_ERR are set to 1. In addition, the TXFIFO is cleared in the same way as TXFFCLR. The SPI controller can access the TLC6989 and write 1 to CLR_FLAG to clear the flags. The error flag has to be cleared to be able to store new CCSI data words on the TXFIFO and the CCSI controller can start transmitting. 7.3.4.7.2 TXFIFO Underflow When the FIFO is empty (TXFFST = 0x0) and the CCSI controller tries to read a new word from the TXFIFO, the FLAG_TXFFUVF, FLAG_TXFF, and FLAG_ERR are set to 1. The ongoing transmission by the CCSI controller is stopped. The SPI controller can access the TLC6989 and write 1 to CLR_FLAG to clear the flags. The error flag has to be cleared to be able to store new CCSI data words on the TXFIFO and the CCSI controller can start transmitting. 7.3.4.7.3 TXFIFO Single Error Detection (SED) The TXFIFO is protected with a parity bit. When a single bit error is detected during a read operation from the TXFIFO, the FLAG_TXFFSED, FLAG_TXFF, and FLAG_ERR are set to 1. The ongoing transmission by the CCSI controller is stopped. However, the TXFIFO is not automatically cleared. The SPI controller can access the www.ti.com TLC6989 SLVSHF5 – NOVEMBER 2024 Copyright © 2024 Texas Instruments Incorporated Submit Document Feedback 17 Product Folder Links: TLC6989 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |