TSL2560 TAOS [TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS], TSL2560 Datasheet - Page 14
![no-image](/images/no-image-200.jpg)
TSL2560
Manufacturer Part Number
TSL2560
Description
LIGHT-TO-DIGITAL CONVERTER
Manufacturer
TAOS [TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS]
Datasheet
1.TSL2560.pdf
(42 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
TSL2560, TSL2561
LIGHT-TO-DIGITAL CONVERTER
TAOS059Q − NOVEMBER 2009
Command Register
NOTE: An I
Control Register (0h)
14
Copyright E 2009, TAOS Inc.
ADDRESS
Reset Value:
Reset Value:
POWER
BLOCK
CLEAR
WORD
FIELD
FIELD
CMD
Resv
The command register specifies the address of the target register for subsequent read and write operations.
The Send Byte protocol is used to configure the COMMAND register. The command register contains eight bits
as described in Table 3. The command register defaults to 00h at power on.
The CONTROL register contains two bits and is primarily used to power the TSL256x device up and down as
shown in Table 4.
SMBus read/write protocol requires a Byte Count. All four ADC Channel Data Registers (Ch through Fh) can be read simultaneously in
a single SMBus transaction. This is the only 32-bit data block supported by the TSL2560 SMBus protocol. The BLOCK bit must be set
to 1, and a read condition should be initiated with a COMMAND CODE of 9Bh. By using a COMMAND CODE of 9Bh during an SMBus
Block Read Protocol, the TSL2560 device will automatically insert the appropriate Byte Count (Byte Count = 4) as illustrated in Figure 17.
A write condition should not be used in conjunction with the Bh register.
0h
2
C block transaction will continue until the Master sends a stop condition. See Figure 16 and Figure 17. Unlike the I2C protocol, the
CMD
Resv
BIT
BIT
3:0
7:2
1:0
7
7
6
5
4
7
0
0
Select command register. Must write as 1.
Interrupt clear. Clears any pending interrupt. This bit is a write-one-to-clear bit. It is self clearing.
SMB Write/Read Word Protocol. 1 indicates that this SMB transaction is using either the SMB Write Word or
Read Word protocol.
Block Write/Read Protocol. 1 indicates that this transaction is using either the Block Write or the Block Read
protocol. See Note below.
Register Address. This field selects the specific control or status register for following write and read
commands according to Table 2.
Reserved. Write as 0.
Power up/power down. By writing a 03h to this register, the device is powered up. By writing a 00h to this
register, the device is powered down.
NOTE: If a value of 03h is written, the value returned during a read cycle will be 03h. This feature can be
used to verify that the device is communicating properly.
CLEAR
Resv
6
0
6
0
WORD
Resv
0
0
5
5
r
Table 3. Command Register
Table 4. Control Register
www.taosinc.com
BLOCK
Resv
4
4
0
0
Resv
0
0
3
3
DESCRIPTION
DESCRIPTION
Resv
2
2
0
0
ADDRESS
r
1
0
1
0
The LUMENOLOGY r Company
POWER
0
0
0
0
COMMAND
CONTROL