English
Language : 

TCS3404 Datasheet, PDF (14/40 Pages) TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS – DIGITAL COLOR SENSORS
TCS3404, TCS3414
DIGITAL COLOR SENSORS
TAOS137A − APRIL 2011
Command Register
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.
Table 3. Command Register
7
6
5
4
3
2
1
0
CMD
TRANSACTION
ADDRESS
COMMAND
Reset Value:
FIELD
CMD
TRANSACTION
ADDRESS
0
BITS
7
6:5
4:0
0
0
0
0
0
0
0
DESCRIPTION
Select command register. Must write as 1.
Transaction. Selects type of transaction to follow in subsequent data transfer.
FIELD VALUE
TRANSACTION
DESCRIPTION
00
Byte protocol
SMB read/write byte protocol
01
Word protocol
SMB read/write word protocol
10
Block protocol
SMB read/write block protocol
11
Interrupt clear
Clear any pending interrupt and is a write-
once-to-clear field
Register Address. This field selects the specific control or status register for following write and read com-
mands according to Table 2.
NOTES: 1. An I2C block transaction will continue until the Master sends a stop condition. See Figure 18 and Figure 19. Unlike the I2C protocol,
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. Only the Send Byte Protocol should be used when clearing interrupts.
Copyright E 2011, TAOS Inc.
14
r
www.taosinc.com
The LUMENOLOGY r Company
r