English
Language : 

TLC6C5712-Q1 Datasheet, PDF (20/68 Pages) Texas Instruments – 12-Channel, Full-Diagnostic, Constant-Current-Sink LED Driver
TLC6C5712-Q1
SLVSCO9A – AUGUST 2015 – REVISED AUGUST 2015
www.ti.com
7.3.6 Register Protection
To avoid an unintended change of critical registers, register locking and unlocking functions are provided. when
the registers are locked, they cannot be overwritten until an unlock command is issued. When the registers are
locked, they are still available for reading. Critical registers include:
Dot correction register
PWM mapping register
Masking registers
Miscellaneous register
<WRITE_CORRx>, x = 0–11
<WRITE_MAPx>, x = 0–5
<WRITE_CH_ON_MASK0>
<WRITE_CH_ON_MASK1>
<WRITE_SHORT_MASK0>
<WRITE_SHORT_MASK1>
<WRITE_SHORT_GND_MASK0>
<WRITE_SHORT_GND_MASK1>
<WRITE_OPEN_MASK0>
<WRITE_OPEN_MASK1>
<WRITE_PWM_FAULT_MASK>
<WRITE_ERROR_MASK>
<WRITE_MISC_CMD>
7.3.6.1 Dot Correction Register Lock and Unlock
The <WRITE_CORRx> dot correction register can be locked via the LOCK_CORRcommand. When it is locked,
no data in the <WRITE_CORRx> registers can be altered. To unlock, issue the UNLOCK_CORR command.
7.3.6.2 PWM Mapping Register Lock and Unlock
The <WRITE_MAPx> dot correction register can be locked via the LOCK_MAP command. When it is locked, no
data in the <WRITE_MAPx> registers can be altered. To unlock, issue the UNLOCK_MAP command.
7.3.6.3 Masking Register Lock and Unlock
Masking registers can be locked via LOCK_MASK command. When it is locked, no data in the masking registers
listed in the Register Protection section can be altered. To unlock, issue the UNLOCK_MASK command.
7.3.6.4 Miscellaneous Register Lock and Unlock
Miscellaneous registers can be locked via the LOCK_MISC command. When it is locked, no data in the
miscellaneous register listed in the Register Protection section can be altered. To unlock, issue the
UNLOCK_MISC command.
7.3.6.5 Lock Flag Indication
The status of all lock registers is stored in the [LOCK_CORR_FLAG], [LOCK_MASK_FLAG],
[LOCK_MAP_FLAG] and [LOCK_MISC_FLAG] bits of the <READ_STATUS1> register.
7.3.7 Serial Interface – SPI
The serial port is used to write data to, read diagnostic status from and configure settings of the TLC6C5712-Q1
device by transferring the input data to the desired address. During normal operation, an 8-bit serial address and
8-bit serial data are written into the 16-bit shift register. On an SCK rising-edge input, data is sampled. Data is
shifted on a SCK falling edge and the shift registers advance, converting the 16 most-recent inputs to parallel
signals on the LATCH rising edge.
At the rising edge on the LATCH input, a decoder which controls data transfer between shift and storage
registers interprets the addresses. Depending on the address, valid data is conveyed from or to the appropriate
latch or a command is interpreted. On latching a read address, data is read out from a storage register and
shifted out of SDO to the microcontroller or daisy chained TLC6C5712-Q1 device.
20
Submit Documentation Feedback
Product Folder Links: TLC6C5712-Q1
Copyright © 2015, Texas Instruments Incorporated