|
THL3512 Datasheet, PDF (8/16 Pages) THine Electronics, Inc. – The THL3512 is an LED driver with 24 channel opendrain | |||
|
◁ |
THL3512_Rev.1.02_E
Serial Communication Protocol
2-pair serial LVDS input or 3-wire serial CMOS level input is selected as a serial interface for register setting by the
MODE pin. The 2-pair serial LVDS input and 3-wire serial CMOS level input share input pins (SCL_INp/SCL_INn,
SDA_INp/SDA_INn) which are used as 2-pair serial LVDS input when the MODE pin is set to low, and used as 3-wire
serial CMOS level input when the MODE pin is set to high.
- The serial interface is clock synchronous and used only for writing to registers (one-way communication).
- The data length is 8-bit in MSB first bit order. As for how to recognize the first bit, please refer to the section â2-pair
serial LVDS inputâ and â3-wire serial CMOS level inputâ.
- The first 8 bits that includes the first bit is defined as â1st byteâ and the next 8 bits as â2nd byteâ and so on.
- â1st Byteâ is assigned to the device address. If device address is set to 00h, all the devices are selected to be written
except the device which has a device address 00111111 by the A5-A0 pins.
- â2nd Byteâ is assigned to the register address.
- The bytes after â3rd Byteâ is assigned to register values to write. The register address is incremented every time 8-bit
register value is written. For example, the value of â3rd Byteâ is written to the register at the address indicated in â2nd
byteâ, and the value of â4th byteâ is written to the register at the address (â2nd byteâ+1).
- Donât write except the registers R00-R18
< Serial Data >
1st Byte
2nd Byte
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Device Address
The first bit
3rd Byte
Register Address
Last Byte
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Register Value
Register Value
Device Address Setting
The lower 6 bits out of 8-bit serial interface device address are set by the A0-A5 pin.The higher 2 bits are fixed at 00.
For example,
in case A5=Low, A4=Low, A3=Low, A2=Low, A1=Low, A0=High,
the device address is set to 00000001 (01h).
- If the A0-A5 pins are all set to high, the register of the device can not be written. Please set all the A0-A5 pins to high
in order to use only 2-pair to 2-pair repeater function or 3-wire to 2-pair bridge function without using LED driver out-
puts.
- Since the device address 00000000 (00h) is the one to be used for writing to all devices, basically donât use it.
- Please set device addresses within the range from 00000001 (01h) to 00111110 (3Eh).
Copyright©2014 THine Electronics, Inc.
8
THine Electronics, Inc.
Security E
|
▷ |