tsl2563 TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS, tsl2563 Datasheet - Page 13

no-image

tsl2563

Manufacturer Part Number
tsl2563
Description
Low-voltage Light-to-digital Converter
Manufacturer
TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS
Datasheet
Command Register
NOTE: An I
Control Register (0h)
The LUMENOLOGY r Company
ADDRESS
Reset Value:
Reset Value:
POWER
CLEAR
BLOCK
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 TSL2562 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 TSL2562 device will automatically insert the appropriate Byte Count (Byte Count = 4) as illustrated in Figure 15.
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 14 and Figure 15. 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
0
0
6
6
WORD
Resv
5
0
5
0
r
Table 3. Command Register
Table 4. Control Register
www.taosinc.com
BLOCK
Resv
4
4
0
0
Resv
3
0
3
0
DESCRIPTION
DESCRIPTION
Resv
2
2
0
0
LIGHT-TO-DIGITAL CONVERTER
ADDRESS
r
1
0
1
0
POWER
TSL2562, TSL2563
Copyright E 2007, TAOS Inc.
LOW-VOLTAGE
0
0
0
0
TAOS066J − MAY 2007
COMMAND
CONTROL
13

Related parts for tsl2563