tsl2580 ETC-unknow, tsl2580 Datasheet - Page 12

no-image

tsl2580

Manufacturer Part Number
tsl2580
Description
Light-to-digital Converter
Manufacturer
ETC-unknow
Datasheet
TSL2580, TSL2581
LIGHT-TO-DIGITAL CONVERTER
TAOS098 − MARCH 2010
Command Register
NOTE: An I
NOTE: Only the Send Byte Protocol should be used when clearing interrupts.
12
Copyright E 2010, TAOS Inc.
TRANSACTION
TRANSACTION
ADDRESS
The command register specifies the address of the target register for subsequent read and write operations and
contains eight bits as described in Table 3. The command register defaults to 00h at power on.
FIELD
CMD
SMBus read/write protocol requires a Byte Count. All four ADC Channel Registers (14h through 17h) can be read simultaneously in a
single SMBus transaction. This is the only 32-bit data block supported by the TSL258x SMBus protocol. The TRANSACTION Field Value
must be set to 10b, and a read condition should be initiated with a COMMAND CODE of D3h. By using a COMMAND CODE of D3h during
an SMBus Block Read Protocol, the TSL258x device will automatically insert the appropriate Byte Count (Byte Count = 4) as illustrated
in Figure 14. A write condition should not be used in conjunction with the 13h register.
2
C block transaction will continue until the Master sends a stop condition. See Figure 13 and Figure 14. Unlike the I
Bit :
CMD
7
BIT
6:5
6:5
4:0
7
Select command register. Must write as 1 when addressing COMMAND register.
Select type of transaction to follow in subsequent data transfers:
Register Address/Special Function. This field selects the specific control or status register for following
write and read commands according to Table 2. When the TRANSACTION field is set to 11b, this field
specifies a special command function as outlined below.
TRANSACTION
FIELD VALUE
FIELD VALUE
6
00000
00001
00010
00011
x11xx
00
01
10
11
5
r
Table 3. Command Register
TRANSACTION
Special function
Block protocol
Word protocol
Interrupt clear
Byte protocol
Start manual
Stop manual
FUNCTION
integration
integration
SPECIAL
Reserved
Reserved
www.taosinc.com
4
SMB read/write byte protocol
SMB read/write word protocol
SMB and I
transfer, see note below.
Specifies a special command function in the ADDRESS field (see
below).
Reserved. Write as 0000b.
Clear any pending interrupt and is a write−once−to−clear bit
When the Timing Register is set to 00h, a SendByte command
with the ADDRESS field set to 0010b will stop a manual
integration. The actual length of the integration cycle may be read
in the MANUAL INTEGRATION TIMER Register.
When the Timing Register is set to 00h, a SendByte command
with the ADDRESS field set to 0011b will start a manual
integration. The actual length of the integration cycle may be read
in the MANUAL INTEGRATION TIMER Register.
Reserved. Write as 11xxb.
3
DESCRIPTION
2
ADDRESS
C read/write block protocol. Regarding SMBus block
2
r
DESCRIPTION
DESCRIPTION
1
The LUMENOLOGY r Company
0
2
C protocol, the
Reset
00h

Related parts for tsl2580