Hi,
I am using TLC6C5816-Q1 in my project. I want to take the diagnostics of the LED pin. For that, what are the registers to be used?
How to initialize DIAGn register?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am using TLC6C5816-Q1 in my project. I want to take the diagnostics of the LED pin. For that, what are the registers to be used?
How to initialize DIAGn register?
Hi Hailee,
Thanks for your support. Now I changed my hardware setup and initialize the DIAG0,DIAG2 Registers. By reading the ERROR pin can we get the status of LED diagnostics or How can we read the status of the LED fault diagnostics?
Regards,
Viswanath A P.
Hi Viswanath,
Yes, you can use EER pin to get the fault status and read the FAULT_READBACK register to see the specific fault.
BR,
Hailee.
Hi Viswanath,
Please share the full schematic and the test waveforms of ERR and OUTx. Also, some small questions:
Many thanks!
BR,
Hailee.
Hi Hailee,
Thank you so much for your support!!
I am following below shared schematic and the ERR pin is connected to microcontroller.
The Configuration Register which I set is, {0x00,0xFF,0xFF,0xFF,0x55,0x55} (For Two IC in series).
I am using SPI communication in my project.
For Fault purpose, I short One Led and Open another Led which are connected to the diagnostic pin. After that, I read the ERR pin for getting the status.
I configure the ERR pin as INPUT pin.
Regards,
Viswanath A P.
Hi Viswanath,
Please refer to the 7.3.9.2 Register Read and 7.5 Register Map.
The fault information loads to shift registers on the rising edge of RCK and can be read out on SER OUT. On the rising edge of the RCK signal, the MSB data DIAG14_OPEN appears on the SER OUT pin. On each falling edge of SRCK signal, there is 1 bit of data shifted out on the SER OUT pin.
BR,
Hailee.
Hi Hailee,
In Our hardware, Led Driver is working in daisy chain method. We are configuring one IC for diagnostics purpose. But, the SDO pin is connected to second IC of SDI and then the output(SDO PIN) is connected to Microcontroller. In this case, how we can read the fault status of Single IC?
Regards,
Viswanath AP
Hi Viswanath,
I am afraid that we don't have the sample code dedicated to this device for now.
but there is a reference design, maybe you can refer to it.TIDA-01628 reference design | TI.com
BR,
Hailee.
Hi Viswanath,
It is a general daisy application; the controller needs to be ready to receive the response from the last device after the transmission sequence.
you need to map the data and the associated clock.
BR,
Hailee.
Hi Viswanath,
Yes, this CRC reminder can help check the communication loop between MCU and device.
BR,
Hailee.