TCS3404 TAOS [TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS], TCS3404 Datasheet - Page 14

no-image

TCS3404

Manufacturer Part Number
TCS3404
Description
DIGITAL COLOR SENSORS
Manufacturer
TAOS [TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS]
Datasheet
TCS3404, TCS3414
DIGITAL COLOR SENSORS
TAOS137A − APRIL 2011
Command Register
NOTES: 1. An I
14
Copyright E 2011, TAOS Inc.
TRANSACTION
Reset Value:
ADDRESS
FIELD
CMD
The command register specifies the address of the target register for subsequent read and write operations.
This register contains eight bits as described in Table 3 and defaults to 00h at power on.
2. Only the Send Byte Protocol should be used when clearing interrupts.
the TCS3404/14 SMBus read/write protocol requires a Byte Count. All eight ADC Channel Data Registers (10h through 17h) can
be read simultaneously in a single SMBus transaction. This is the only 64-bit data block supported by the TCS3404 SMBus protocol.
The TRANSACTION field must be set to 10, and a read condition should be initiated with a COMMAND CODE of CFh. By using
a COMMAND CODE of CFh during an SMBus Block Read Protocol, the TCS3404 device will automatically insert the appropriate
Byte Count (Byte Count = 8) as illustrated in Figure 18. A write condition should not be used in conjunction with the 0Fh register.
2
C block transaction will continue until the Master sends a stop condition. See Figure 18 and Figure 19. Unlike the I
CMD
BITS
7
0
6:5
4:0
7
Select command register. Must write as 1.
Transaction. Selects type of transaction to follow in subsequent data transfer.
Register Address. This field selects the specific control or status register for following write and read com-
mands according to Table 2.
TRANSACTION
FIELD VALUE
6
0
00
01
10
11
0
5
r
Table 3. Command Register
www.taosinc.com
4
0
TRANSACTION
Block protocol
Word protocol
Interrupt clear
Byte protocol
0
3
DESCRIPTION
ADDRESS
2
0
SMB read/write byte protocol
SMB read/write word protocol
SMB read/write block protocol
Clear any pending interrupt and is a write-
once-to-clear field
r
1
0
The LUMENOLOGY r Company
DESCRIPTION
0
0
COMMAND
2
C protocol,

Related parts for TCS3404