TCS3471

TAOS Inc.
is now
ams AG
The technical content of this TAOS datasheet is still valid.
Contact information:
Headquarters:
ams AG
Tobelbaderstrasse 30
8141 Unterpremstaetten, Austria
Tel: +43 (0) 3136 500 0
e-Mail: [email protected]
Please visit our website at www.ams.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
r
r
TAOS115 − MARCH 2011
Features
PACKAGE FN
DUAL FLAT NO-LEAD
(TOP VIEW)
D
D
D
D
6 SDA
SCL 2
5 INT
GND 3
4 NC
Package Drawing Not to Scale
Applications
D Color Temperature Sensing
D RGB LED Backlight Control
D Color Display Closed-Loop Feedback
D
lv
D
VDD 1
Control
Ambient Light Sensing for Display
Brightness Control
Industrial Process Control
Medical Diagnostics
am
lc s
on A
te G
nt
st
il
D
− Programmable Analog Gain, Integration
Time, and Interrupt Function with Upper
and Lower Thresholds
− Resolution Up to 16 Bits
− Very High Sensitivity — Ideally Suited for
Operation Behind Dark Glass
− Up to 1,000,000:1 Dynamic Range
Low Power Wait State
− 65 mA Typical Current
− Wait Timer is Programmable from 2.4 ms
to > 7 Seconds
2
I C Interface Compatible
− Up to 400 kHz (I2C Fast Mode)
Dedicated Interrupt Pin
Pin and Register Set Compatible with the
TCS3x7x Family of Devices
Small 2 mm 2.4 mm Dual Flat No-Lead
Package
Sleep Mode — 2.5 mA Typical Current
al
id
D Color Light Sensing
D
D
End Products and Market Segments
D HDTVs, Mobile Handsets, Tablets, Laptops,
Monitors, PMP (Portable Media Payers)
D Medical Instrumentation
D Consumer Toys
D Industrial/Commercial Lighting
Description
ca
The TCS3471 family of devices provides red, green, blue, and clear light sensing (RGBC) that detects light
intensity under a variety of lighting conditions and through a variety of attenuation materials. An internal state
machine provides the ability to put the device into a low power mode in between RGBC measurements providing
very low average power consumption.
Te
ch
ni
The TCS3471 is directly useful in lighting conditions containing minimal IR content such as LED RGB backlight
control, reflected LED color sampler, or fluorescent light color temperature detector. With the addition of an IR
blocking filter, the device is an excellent ambient light sensor, color temperature monitor, and general purpose
color sensor.
The LUMENOLOGY r Company
Copyright E 2011, TAOS Inc.
r
Texas Advanced Optoelectronic Solutions Inc.
1001 Klein Road S Suite 300 S Plano, TX 75074 S (972)
r 673-0759
www.taosinc.com
1
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
Functional Block Diagram
Interrupt
Wait Control
Clear
Red
Green
Clear ADC
Clear Data
Red ADC
Red Data
Green ADC
Green Data
Blue ADC
Blue Data
Upper Limit
Lower Limit
SDA
Blue
am
lc s
on A
te G
nt
st
il
Detailed Description
lv
GND
SCL
al
id
RGBC Control
I2C Interface
VDD
INT
The TCS3471 light-to-digital device contains a 4 × 4 photodiode array, integrating amplifiers, ADCs,
accumulators, clocks, buffers, comparators, a state machine, and an I2C interface. The 4 × 4 photodiode array
is composed of red-filtered, green-filtered, blue-filtered, and clear photodiodes — four of each type. Four
integrating ADCs simultaneously convert the amplified photodiode currents to a digital value providing up to 16
bits of resolution. Upon completion of the conversion cycle, the conversion result is transferred to the data
registers. The transfers are double-buffered to ensure that the integrity of the data is maintained.
Communication to the device is accomplished through a fast (up to 400 kHz), two-wire I2C serial bus for easy
connection to a microcontroller or embedded controller.
Terminal Functions
TERMINAL
NAME
NO.
TYPE
GND
3
INT
5
NC
4
SCL
2
I
SDA
6
I/O
DESCRIPTION
Power supply ground. All voltages are referenced to GND.
Interrupt — open drain.
ni
O
Do not connect
I2C serial clock input terminal — clock signal for I2C serial data.
ch
I2C serial data I/O terminal — serial data I/O for I2C .
1
Supply voltage.
Te
VDD
ca
The TCS3471 provides a separate pin for level-style interrupts. When interrupts are enabled and a pre-set value
is exceeded, the interrupt pin is asserted and remains asserted until cleared by the controlling firmware. The
interrupt feature simplifies and improves system efficiency by eliminating the need to poll a sensor for a light
intensity value. An interrupt is generated when the value of an RGBC conversion exceeds either an upper or
lower threshold. In addition, a programmable interrupt persistence feature allows the user to determine how
many consecutive exceeded thresholds are necessary to trigger an interrupt.
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
2
www.taosinc.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
Available Options
ADDRESS
0x39
PACKAGE − LEADS
FN−6
INTERFACE DESCRIPTION
I2C Vbus = VDD Interface
ORDERING NUMBER
TCS34711FN
TCS34713†
0x39
FN−6
I2C Vbus = 1.8 V Interface
TCS34713FN
TCS34715†
0x29
FN−6
I2C Vbus = VDD Interface
TCS34715FN
TCS34717
0x29
FN−6
I2C Vbus = 1.8 V Interface
TCS34717FN
Contact TAOS for availability.
al
id
†
DEVICE
TCS34711†
Absolute Maximum Ratings over operating free-air temperature range (unless otherwise noted)†
Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and
functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not
implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
am
lc s
on A
te G
nt
st
il
†
lv
Supply voltage, VDD (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8 V
Digital output voltage range, VO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −0.5 V to 3.8 V
Digital output current, IO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −1 mA to 20 mA
Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −40°C to 85°C
ESD tolerance, human body model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2000 V
NOTE 1: All voltages are with respect to GND.
Recommended Operating Conditions
Supply voltage, VDD
Operating free-air temperature, TA
MIN
NOM
MAX
2.7
3
3.3
V
70
°C
−30
UNIT
Operating Characteristics, VDD = 3 V, TA = 25C (unless otherwise noted)
PARAMETER
TEST CONDITIONS
MIN
Active
IDD
Supply current
MAX
235
330
I2C
2.5
activity
UNIT
μA
65
Wait mode
Sleep mode — no
TYP
10
3 mA sink current
0
0.4
6 mA sink current
0
0.6
INT SDA output low voltage
INT,
I LEAK
Leakage current, SDA, SCL, INT pins
−5
5
μA
I LEAK
Leakage current, LDR pin
−1
+10
μA
VIH
SCL SDA input high voltage
SCL,
VIL
SCL SDA input low voltage
SCL,
TCS34711 & TCS34715
0.7 VDD
TCS34713 & TCS34717
1.25
V
V
TCS34711 & TCS34715
0.3 VDD
TCS34713 & TCS34717
0.54
V
Te
ch
ni
ca
VOL
The LUMENOLOGY r Company
Copyright E 2011, TAOS Inc.
r
r
www.taosinc.com
3
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
Optical Characteristics, VDD = 3 V, TA = 25C, GAIN = 16, ATIME = 0xF6 (unless otherwise noted) (see
Note 1)
Re
Irradiance
responsivity
Red Channel
TEST
CONDITIONS
MIN
TYP
Green Channel
MAX
MIN
TYP
Blue Channel
MAX
MIN
TYP
Clear Channel
MAX
MIN
TYP
MAX
λD = 465 nm
See Note 2
0%
15%
10%
42%
65%
88%
19.2
24
28.8
λD = 525 nm
See Note 3
8%
25%
60%
85%
9%
35%
22.4
28
33.6
λD = 625 nm
See Note 4
85%
110%
0%
15%
5%
25%
27.2
34
UNIT
(counts/
μW/
cm2)
al
id
PARAMETER
40.8
am
lc s
on A
te G
nt
st
il
lv
NOTES: 1. The percentage shown represents the ratio of the respective red, green, or blue channel value to the clear channel value.
2. The 465 nm input irradiance is supplied by an InGaN light-emitting diode with the following characteristics:
dominant wavelength λD = 465 nm, spectral halfwidth Δλ½ = 22 nm, and luminous efficacy = 75 lm/W.
3. The 525 nm input irradiance is supplied by an InGaN light-emitting diode with the following characteristics:
dominant wavelength λD = 525 nm, spectral halfwidth Δλ½ = 35 nm, and luminous efficacy = 520 lm/W.
4. The 625 nm input irradiance is supplied by a AlInGaP light-emitting diode with the following characteristics:
dominant wavelength λD = 625 nm, spectral halfwidth Δλ½ = 9 nm, and luminous efficacy = 155 lm/W.
RGBC Characteristics, VDD = 3 V, TA = 25C, AGAIN = 16, AEN = 1 (unless otherwise noted)
PARAMETER
Dark ADC count value
TEST CONDITIONS
Ee = 0, AGAIN = 60×, ATIME = 0xD6 (100 ms)
ADC integration time step size
TYP
MAX
UNIT
0
1
5
counts
2.27
2.4
2.56
ms
ADC number of integration steps
1
256
steps
ADC counts per step
0
1024
counts
65535
counts
ADC count value
ATIME = 0xFF
MIN
ATIME = 0xC0 (153.6 ms)
G i scaling,
Gain
li
relative
l ti to
t 1× gain
i
setting
0
4×
3.8
4
4.2
16×
15
16
16.8
16 8
58
60
63
60×
%
Wait Characteristics, VDD = 3 V, TA = 25C, Gain = 16, WEN = 1 (unless otherwise noted)
PARAMETER
Wait step size
CHANNEL
MIN
TYP
MAX
2.27
2.4
2.56
ms
256
steps
1
UNIT
Te
ch
ni
ca
Wait number of steps
TEST CONDITIONS
WTIME = 0xFF
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
4
www.taosinc.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
AC Electrical Characteristics, VDD = 3 V, TA = 25C (unless otherwise noted)
PARAMETER†
TEST CONDITIONS
MIN
0
MAX
UNIT
400
kHz
f(SCL)
Clock frequency
t(BUF)
Bus free time between start and stop condition
1.3
μs
t(HDSTA)
Hold time after (repeated) start condition. After
this period, the first clock is generated.
0.6
μs
t(SUSTA)
Repeated start condition setup time
0.6
μs
t(SUSTO)
Stop condition setup time
0.6
μs
t(HDDAT)
Data hold time
t(SUDAT)
Data setup time
100
t(LOW)
SCL clock low period
1.3
t(HIGH)
SCL clock high period
0.6
tF
Clock/data fall time
tR
Clock/data rise time
Ci
Input pin capacitance
μs
ns
μs
μs
lv
0
al
id
only)
TYP
300
am
lc s
on A
te G
nt
st
il
†
(I2C
ns
300
ns
10
pF
Specified by design and characterization; not production tested.
PARAMETER MEASUREMENT INFORMATION
t(LOW)
VIH
SCL
VIL
t(R)
t(F)
t(HDSTA)
t(BUF)
t(HIGH)
t(HDDAT)
t(SUSTA)
t(SUSTO)
t(SUDAT)
VIH
SDA
VIL
P
S
S
Start
Condition
Start
P
Stop
t(LOWSEXT)
SCLACK
SCLACK
t(LOWMEXT)
t(LOWMEXT)
ca
Stop
Condition
t(LOWMEXT)
ni
SCL
ch
SDA
Te
Figure 1. Timing Diagrams
The LUMENOLOGY r Company
Copyright E 2011, TAOS Inc.
r
r
www.taosinc.com
5
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
TYPICAL CHARACTERISTICS
NORMALIZED IDD
vs.
VDD and TEMPERATURE
PHOTODIODE SPECTRAL RESPONSIVITY
1
110%
Normalized to
Clear
@ 755 nm
TA = 25°C
0.7
Red
0.6
0.5
0.4
0.3
50C
500
100%
0C
98%
96%
94%
700
900
λ − Wavelength − nm
92%
2.7
1100
2.8
2.9
3.3
RESPONSIVITY TEMPERATURE
COEFFICIENT
Temperature Coefficient — ppm/ C
Optical Axis
0.8
ca
0.6
0.4
ch
ni
Normalized Responsivity
3.2
10,000
1.0
-Q
+Q
Te
−60
−30
0
30
60
Q − Angular Displacement − °
Copyright E 2011, TAOS Inc.
90
1000
100
400
600
500
700
800
900
1000
λ − Wavelength − nm
Figure 4
Figure 5
The LUMENOLOGY r Company
r
r
6
3.1
Figure 3
NORMALIZED RESPONSIVITY
vs.
ANGULAR DISPLACEMENT
0
−90
3
VDD — V
Figure 2
0.2
25C
102%
Green
0.1
0
300
104%
am
lc s
on A
te G
nt
st
il
Blue
0.2
al
id
Clear
75C
106%
lv
Relative Responsivity
0.8
108%
IDD Normalized @ 3 V, 25C
0.9
www.taosinc.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
PRINCIPLES OF OPERATION
System State Machine
al
id
The TCS3471 provides control of RGBC and power management functionality through an internal state
machine (Figure 6). After a power-on-reset, the device is in the sleep mode. As soon as the PON bit is set, the
device will move to the start state. It will then continue through the Wait and RGBC states. If these states are
enabled, the device will execute each function. If the PON bit is set to 0, the state machine will continue until
all conversions are completed and then go into a low power sleep mode.
Sleep
PON = 1 (r 0:b0)
PON = 0 (r 0:b0)
Wait
lv
Start
am
lc s
on A
te G
nt
st
il
RGBC
Figure 6. Simplified State Diagram
Te
ch
ni
ca
NOTE: In this document, the nomenclature uses the bit field name in italics followed by the register number and
bit number to allow the user to easily identify the register and bit that controls the function. For example, the
power on (PON) is in register 0, bit 0. This is represented as PON (r0:b0).
The LUMENOLOGY r Company
Copyright E 2011, TAOS Inc.
r
r
www.taosinc.com
7
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
RGBC Operation
ATIME(r 1)
2.4 ms to 700 ms
al
id
The RGBC engine contains RGBC gain control (AGAIN) and four integrating analog-to-digital converters (ADC)
for the RGBC photodiodes. The RGBC integration time (ATIME) impacts both the resolution and the sensitivity
of the RGBC reading. Integration of all four channels occurs simultaneously and upon completion of the
conversion cycle, the results are transferred to the color data registers. This data is also referred to as channel
count.
The transfers are double-buffered to ensure that invalid data is not read during the transfer. After the
transfer, the device automatically moves to the next state in accordance with the configured state machine.
AGAIN(r 0x0F, b1:0)
1, 4, 16, 60 Gain
Clear
lv
RGBC Control
Clear ADC
Clear Data
CDATAH(r 0x15), CDATA(r 0x14)
Red ADC
Red Data
RDATAH(r 0x17), RDATA(r 0x16)
Green ADC
Green Data
GDATAH(r 0x19), GDATA(r 0x18)
Blue ADC
Blue Data
BDATAH(r 0x1B), BDATA(r 0x1A)
am
lc s
on A
te G
nt
st
il
Red
Green
Blue
Figure 7. RGBC Operation
The registers for programming the integration and wait times are a 2’s compliment values. The actual time can
be calculated as follows:
ATIME = 256 − Integration Time / 2.4 ms
Inversely, the time can be calculated from the register value as follows:
Integration Time = 2.4 ms × (256 − ATIME)
For example, if a 100-ms integration time is needed, the device needs to be programmed to:
256 − (100 / 2.4) = 256 − 42 = 214 = 0xD6
Te
ch
ni
ca
Conversely, the programmed value of 0xC0 would correspond to:
(256 − 0xC0) × 2.4 = 64 × 2.4 = 154 ms.
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
8
www.taosinc.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
Interrupts
The interrupt feature simplifies and improves system efficiency by eliminating the need to poll the sensor for
light intensity values outside of a user-defined range. While the interrupt function is always enabled and it’s
status is available in the status register (0x13), the output of the interrupt state can be enabled using the RGBC
interrupt enable (AIEN) field in the enable register (0x00).
al
id
Two 16-bit interrupt threshold registers allow the user to set limits below and above a desired light level range.
An interrupt can be generated when the RGBC Clear data (CDATA) falls outside of the desired light level
range, as determined by the values in the RGBC interrupt low threshold registers (AILTx) and RGBC interrupt
high threshold registers (AIHTx). It is important to note that the low threshold value must be less than the high
threshold value for proper operation.
PPERS(r 0x0C, b3:0)
am
lc s
on A
te G
nt
st
il
AIHTH(r 07), AIHTL(r 06)
lv
To further control when an interrupt occurs, the device provides a persistence filter. The persistence filter allows
the user to specify the number of consecutive out-of-range RGBC occurrences before an interrupt is generated.
The persistence register (0x0C) allows the user to set the persistence (APERS) value. See the persistence
register for details on the persistence filter values. Once the persistence filter generates an interrupt, it will
continue until a special function interrupt clear command is received (see command register).
Upper Limit
Clear
ADC
RGBC Persistence
Clear
Data
Lower Limit
Clear
AILTH(r 05), AILTL(r 04)
Figure 8. Programmable Interrupt
State Diagram
Figure 9 shows a more detailed flow for the state machine. The device starts in the sleep mode. The PON bit
is written to enable the device. A 2.4-ms delay will occur before entering the start state. If the WEN bit is set,
the state machine will cycle through the wait state. If the WLONG bit is set, the wait cycles are extended by 12×
over normal operation. When the wait counter terminates, the state machine will step to the RGBC state.
ca
The AEN should always be set. In this case, a minimum of 1 integration time step should be programmed. The
RGBC state machine will continue until it reaches the terminal count, at which point the data will be latched in
the RGBC register and the interrupt set, if enabled.
PON = 1
ch
ni
WLONG = 0
1 to 256 steps
Step: 2.4 ms
Time: 2.4 ms − 614 ms
Minimum − 2.4 ms
Te
WLONG = 1
1 to 256 steps
Step: 29 ms
Time: 29 ms − 7.4 s
Minimum − 29 ms
1 to 256steps
Step: 2.4 ms
Time: 2.4 ms − 614 ms
Sleep
PON = 0
Start
ALS
Wait
Check
ALS
Check
AEN = 1
WEN = 1
Wait
ALS
Delay
Time: 2.4 ms
Figure 9. Expanded State Diagram
The LUMENOLOGY r Company
Copyright E 2011, TAOS Inc.
r
r
www.taosinc.com
9
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
I2C Protocol
Interface and control are accomplished through an I2C serial compatible interface (standard or fast mode) to
a set of registers that provide access to device control functions and output data. The devices support the 7-bit
I2C addressing protocol.
al
id
The I2C standard provides for three types of bus transaction: read, write, and a combined protocol (Figure 10).
During a write operation, the first byte written is a command byte followed by data. In a combined protocol, the
first byte written is the command byte followed by reading a series of bytes. If a read command is issued, the
register address from the previous command will be used for data access. Likewise, if the MSB of the command
is not set, the device will write a series of bytes at the address stored in the last valid command with a register
address. The command byte contains either control information or a 5-bit register address. The control
commands can also be used to clear interrupts.
...
Acknowledge (0)
Not Acknowledged (1)
Stop Condition
Read (1)
Start Condition
Repeated Start Condition
Write (0)
Continuation of protocol
Master-to-Slave
Slave-to-Master
1
am
lc s
on A
te G
nt
st
il
A
N
P
R
S
Sr
W
lv
The I2C bus protocol was developed by Philips (now NXP). For a complete description of the I2C protocol, please
review the NXP I2C design specification at http://www.i2c−bus.org/references/.
7
S
1
Slave Address
W
1
8
A
1
Command Code
8
A
1
Data Byte
A
8
1
1
...
P
I2C Write Protocol
1
7
S
1
Slave Address
R
1
8
A
1
Data
A
Data
1
...
A
P
I2C Read Protocol
1
S
Slave Address
W
1
8
1
1
7
1
1
Command Code
A
Sr
Slave Address
R
A
ca
7
A
8
1
Data
A
8
Data
1
A
1
...
P
I2C Read Protocol — Combined Format
Figure 10. I2C Protocols
Te
ch
ni
1
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
10
www.taosinc.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
Register Set
The TCS3471 is controlled and monitored by data registers and a command register accessed through the
serial interface. These registers provide for a variety of control functions and can be read to determine results
of the ADC conversions. The register set is summarized in Table 1.
Table 1. Register Address
ADDRESS
RESISTER NAME
R/W
−−
COMMAND
W
REGISTER FUNCTION
0x00
ENABLE
R/W
Enables states and interrupts
0x01
ATIME
R/W
RGBC ADC time
0x03
WTIME
R/W
Wait time
0x04
AILTL
R/W
RGBC interrupt low threshold low byte
0x05
AILTH
R/W
RGBC interrupt low threshold high byte
0x06
AIHTL
R/W
RGBC interrupt high threshold low byte
RESET VALUE
0x00
al
id
Specifies register address
0x00
0xFF
0xFF
0x00
lv
0x00
0x00
AIHTH
R/W
RGBC interrupt high threshold high byte
PERS
R/W
Interrupt persistence filters
0x00
0x0D
CONFIG
R/W
Configuration
0x00
0x0F
CONTROL
R/W
Gain control register
0x00
0x12
ID
R
Device ID
0x13
STATUS
R
Device status
0x00
0x14
CDATA
R
Clear ADC low data register
0x00
0x15
CDATAH
R
Clear ADC high data register
0x00
0x16
RDATA
R
Red ADC low data register
0x00
0x17
RDATAH
R
Red ADC high data register
0x00
0x18
GDATA
R
Green ADC low data register
0x00
0x19
GDATAH
R
Green ADC high data register
0x00
0x1A
BDATA
R
Blue ADC low data register
0x00
0x1B
BDATAH
R
Blue ADC high data register
0x00
am
lc s
on A
te G
nt
st
il
0x07
0x0C
0x00
ID
Te
ch
ni
ca
The mechanics of accessing a specific register depends on the specific protocol used. See the section on I2C
protocols on the previous pages. In general, the COMMAND register is written first to specify the specific
control/status register for the following read/write operations.
The LUMENOLOGY r Company
Copyright E 2011, TAOS Inc.
r
r
www.taosinc.com
11
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
Command Register
The command registers specifies the address of the target register for future write and read operations.
Table 2. Command Register
COMMAND
FIELD
BITS
COMMAND
7
TYPE
6:5
4
3
TYPE
2
1
0
−−
ADD
DESCRIPTION
Select Command Register. Must write as 1 when addressing COMMAND register.
Selects type of transaction to follow in subsequent data transfers:
FIELD VALUE
INTEGRATION TIME
00
Repeated byte protocol transaction
01
Auto-increment protocol transaction
10
Reserved — Do not use
11
Special function — See description below
lv
COMMAND
5
al
id
6
am
lc s
on A
te G
nt
st
il
7
Byte protocol will repeatedly read the same register with each data access.
Block protocol will provide auto-increment function to read successive bytes.
ADD
4:0
Address field/special function field. Depending on the transaction type, see above, this field either
specifies a special function command or selects the specific control-status-register for following write and
read transactions. The field values listed below apply only to special function commands:
FIELD VALUE
READ VALUE
00000
Normal — no action
00110
RGBC interrupt clear
other
Reserved — Do not write
Te
ch
ni
ca
RGBC Interrupt Clear. Clears any pending RGBC interrupt. This special function is self clearing.
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
12
www.taosinc.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
Enable Register (0x00)
The Enable register is used primarily to power the TCS3471 device on and off, and enable functions and
interrupts as shown in Table 3.
Table 3. Enable Register
6
5
Reserved
ENABLE
4
3
2
1
0
AIEN
WEN
Reserved
AEN
PON
DESCRIPTION
Address
0x00
al
id
7
FIELD
BITS
Reserved
7:5
AIEN
4
RGBC interrupt enable. When asserted, permits RGBC interrupts to be generated.
WEN
3
Wait enable. This bit activates the wait feature. Writing a 1 activates the wait timer. Writing a 0 disables the
wait timer.
Reserved
2
Reserved. Write as 0.
AEN
1
RGBC enable. This bit actives the two-channel ADC. Writing a 1 activates the RGBC. Writing a 0 disables
the RGBC.
PON1
0
am
lc s
on A
te G
nt
st
il
lv
Reserved. Write as 0.
Power ON. This bit activates the internal oscillator to permit the timers and ADC channels to operate.
Writing a 1 activates the oscillator. Writing a 0 disables the oscillator. During reads and writes over the I2C
interface, this bit is temporarily overridden and the oscillator is enabled, independent of the state of PON.
NOTE 1: A minimum interval of 2.4 ms must pass after PON is asserted before an RGBC can be initiated.
RGBC Timing Register (0x01)
The RGBC timing register controls the internal integration time of the RGBC clear and IR channel ADCs in
2.4-ms increments. Max RGBC Count = (256 − ATIME) × 1024 up to a maximum of 65535.
Table 4. RGBC Timing Register
BITS
ATIME
7:0
DESCRIPTION
VALUE
INTEG_CYCLES
TIME
0xFF
1
2.4 ms
1024
0xF6
10
24 ms
10240
0xD5
42
101 ms
43008
0xC0
64
154 ms
65535
256
700 ms
65535
ca
FIELD
0x00
MAX COUNT
ni
Wait Time Register (0x03)
ch
Wait time is set 2.4 ms increments unless the WLONG bit is asserted, in which case the wait times are 12×
longer. WTIME is programmed as a 2’s complement number.
Te
FIELD
WTIME
Table 5. Wait Time Register
BITS
7:0
The LUMENOLOGY r Company
DESCRIPTION
REGISTER VALUE
WAIT TIME
TIME (WLONG = 0)
TIME (WLONG = 1)
0xFF
1
2.4 ms
0.029 sec
0xAB
85
204 ms
2.45 sec
0x00
256
614 ms
7.4 sec
Copyright E 2011, TAOS Inc.
r
r
www.taosinc.com
13
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
RGBC Interrupt Threshold Registers (0x04 − 0x07)
The RGBC interrupt threshold registers provides the values to be used as the high and low trigger points for
the comparison function for interrupt generation. If the value generated by the clear channel crosses below the
lower threshold specified, or above the higher threshold, an interrupt is asserted on the interrupt pin.
Table 6. RGBC Interrupt Threshold Registers
BITS
0x04
7:0
RGBC clear channel low threshold lower byte
DESCRIPTION
AILTH
0x05
7:0
RGBC clear channel low threshold upper byte
AIHTL
0x06
7:0
RGBC clear channel high threshold lower byte
AIHTH
0x07
7:0
RGBC clear channel high threshold upper byte
al
id
ADDRESS
AILTL
lv
REGISTER
Persistence Register (0x0C)
am
lc s
on A
te G
nt
st
il
The persistence register controls the filtering interrupt capabilities of the device. Configurable filtering is
provided to allow interrupts to be generated after each integration cycle or if the integration has produced a result
that is outside of the values specified by the threshold register for some specified amount of time.
Table 7. Persistence Register
7
6
PERS
5
4
3
Reserved
2
1
FIELD
BITS
7:4
Reserved
DESCRIPTION
APERS
3:0
Interrupt persistence. Controls rate of interrupt to the host processor.
FIELD VALUE
MEANING
0000
Every
0001
1
1 clear channel value outside of threshold range
0010
2
2 clear channel consecutive values out of range
Every RGBC cycle generates an interrupt
3
3 clear channel consecutive values out of range
5
5 clear channel consecutive values out of range
0101
10
10 clear channel consecutive values out of range
ca
0011
0100
0110
15
15 clear channel consecutive values out of range
0111
20
20 clear channel consecutive values out of range
1000
25
25 clear channel consecutive values out of range
1001
30
30 clear channel consecutive values out of range
1010
35
35 clear channel consecutive values out of range
1011
40
40 clear channel consecutive values out of range
1100
45
45 clear channel consecutive values out of range
1101
50
50 clear channel consecutive values out of range
1110
55
55 clear channel consecutive values out of range
1111
60
60 clear channel consecutive values out of range
ni
ch
Te
INTERRUPT PERSISTENCE FUNCTION
The LUMENOLOGY r Company
r
r
14
Address
0x0C
APERS
Reserved
Copyright E 2011, TAOS Inc.
0
www.taosinc.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
Configuration Register (0x0D)
The configuration register sets the wait long time.
Table 8. Configuration Register
7
6
5
4
CONFIG
3
2
0
WLONG
Reserved
Address
0x0D
al
id
Reserved
1
FIELD
BITS
Reserved
7:2
DESCRIPTION
WLONG
1
Wait Long. When asserted, the wait cycles are increased by a factor 12× from that programmed in the
WTIME register.
Reserved
0
Reserved. Write as 0.
lv
Reserved. Write as 0.
am
lc s
on A
te G
nt
st
il
Control Register (0x0F)
The Control register provides eight bits of miscellaneous control to the analog block. These bits typically control
functions such as gain settings and/or diode selection.
Table 9. Control Register
7
6
CONTROL
5
4
3
2
1
Reserved
FIELD
BITS
Reserved
7:2
AGAIN
1:0
AGAIN
Address
0x0F
DESCRIPTION
Reserved.
Write bits as 0
RGBC Gain Control.
FIELD VALUE
RGBC GAIN VALUE
00
1× gain
01
4× gain
10
16× gain
11
60× gain
ca
ID Register (0x12)
0
ni
The ID Register provides the value for the part number. The ID register is a read-only register.
ID
6
5
ch
7
Table 10. ID Register
Te
FIELD
ID
4
3
2
1
Address
0x12
ID
BITS
0
DESCRIPTION
0x14 = TCS34711 & TCS34715
7:0
Part number identification
The LUMENOLOGY r Company
0x1D = TCS34713 & TCS34717
Copyright E 2011, TAOS Inc.
r
r
www.taosinc.com
15
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
Status Register (0x13)
The Status Register provides the internal status of the device. This register is read only.
Table 11. Status Register
5
4
Reserved
FIELD
BIT
Reserved
7:5
AINT
4
Reserved
3:1
AVALID
0
3
AINT
2
1
Reserved
0
AVALID
DESCRIPTION
Reserved.
RGBC clear channel Interrupt.
Reserved.
RGBC Valid. Indicates that the RGBC channels have completed an integration cycle.
Address
0x13
lv
STATUS
6
al
id
7
am
lc s
on A
te G
nt
st
il
RGBC Channel Data Registers (0x14 − 0x1B)
Clear, red, green, and blue data is stored as 16-bit values. To ensure the data is read correctly, a two-byte read
I2C transaction should be used with a read word protocol bit set in the command register. With this operation,
when the lower byte register is read, the upper eight bits are stored into a shadow register, which is read by a
subsequent read to the upper byte. The upper register will read the correct value even if additional ADC
integration cycles end between the reading of the lower and upper registers.
Table 12. ADC Channel Data Registers
ADDRESS
BITS
CDATA
0x14
7:0
Clear data low byte
DESCRIPTION
CDATAH
0x15
7:0
Clear data high byte
RDATA
0x16
7:0
Red data low byte
RDATAH
0x17
7:0
Red data high byte
GDATA
0x18
7:0
Green data low byte
GDATAH
0x19
7:0
Green data high byte
BDATA
0x1A
7:0
Blue data low byte
BDATAH
0x1B
7:0
Blue data high byte
Te
ch
ni
ca
REGISTER
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
16
www.taosinc.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
APPLICATION INFORMATION: HARDWARE
Typical Hardware Application
A typical hardware application circuit is shown in Figure 11. A 1-μF low-ESR decoupling capacitor should be
placed as close as possible to the VDD pin.
VBUS
al
id
VDD
VDD
RP
1 mF
TCS3471
RP
RPI
INT
SDA
am
lc s
on A
te G
nt
st
il
Figure 11. Typical Application Hardware Circuit
lv
SCL
GND
VBUS in Figure 11 refers to the I2C bus voltage, which is either VDD or 1.8 V. Be sure to apply the specified I2C
bus voltage shown in the Available Options table for the specific device being used.
The I2C signals and the Interrupt are open-drain outputs and require pull-up resistors. The pull-up resistor (RP)
value is a function of the I2C bus speed, the I2C bus voltage, and the capacitive load. The TAOS EVM running
at 400 kbps, uses 1.5-kΩ resistors. A 10-kΩ pull-up resistor (RPI) can be used for the interrupt line.
PCB Pad Layout
Suggested PCB pad layout guidelines for the Dual Flat No-Lead (FN) surface mount package are shown in
Figure 12.
Note: Pads can be
extended further if hand
soldering is needed.
2500
1000
1000
400
ca
650
1700
ch
ni
650
400
Te
NOTES: A. All linear dimensions are in micrometers.
B. This drawing is subject to change without notice.
The LUMENOLOGY r Company
Figure 12. Suggested FN Package PCB Layout
Copyright E 2011, TAOS Inc.
r
r
www.taosinc.com
17
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
MECHANICAL DATA
PACKAGE FN
Dual Flat No-Lead
TOP VIEW
496 10
PIN OUT
TOP VIEW
PIN 1
VDD 1
2400 75
al
id
406
10
6 SDA
SCL 2
5 INT
4 NC
am
lc s
on A
te G
nt
st
il
2000
75
lv
GND 3
END VIEW
Photodiode Active Area
SIDE VIEW
295
Nominal
650 50
650
BSC
BOTTOM VIEW
203 8
300
50
CL of Solder Contacts and
Photodiode Array Area (Note B)
125 Nominal
Pb
750 100
Lead Free
All linear dimensions are in micrometers.
The die is centered within the package within a tolerance of ± 75 μm.
Package top surface is molded with an electrically nonconductive clear plastic compound having an index of refraction of 1.55.
Contact finish is copper alloy A194 with pre-plated NiPdAu lead finish.
This package contains no lead (Pb).
This drawing is subject to change without notice.
Te
NOTES: A.
B.
C.
D.
E.
F.
CL of Photodiode Array Area (Note B)
ni
ch
PIN 1
ca
CL of Solder Contacts
Figure 13. Package FN — Dual Flat No-Lead Packaging Configuration
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
18
www.taosinc.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
MECHANICAL DATA
TOP VIEW
2.00 0.05
1.75
1.50
4.00
al
id
4.00
B
+ 0.30
8.00
− 0.10
0.50
0.05
B
A
am
lc s
on A
te G
nt
st
il
A
lv
3.50 0.05
DETAIL B
DETAIL A
5 Max
5 Max
0.254
0.02
2.21 0.05
Ao
2.61 0.05
0.83 0.05
Bo
ni
ca
Ko
All linear dimensions are in millimeters. Dimension tolerance is ± 0.10 mm unless otherwise noted.
The dimensions on this drawing are for illustrative purposes only. Dimensions of an actual carrier may vary slightly.
Symbols on drawing Ao, Bo, and Ko are defined in ANSI EIA Standard 481−B 2001.
Each reel is 178 millimeters in diameter and contains 3500 parts.
TAOS packaging tape and reel conform to the requirements of EIA Standard 481−B.
In accordance with EIA standard, device pin 1 is located next to the sprocket holes in the tape.
This drawing is subject to change without notice.
Te
ch
NOTES: A.
B.
C.
D.
E.
F.
G.
The LUMENOLOGY r Company
Figure 14. Package FN Carrier Tape
Copyright E 2011, TAOS Inc.
r
r
www.taosinc.com
19
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
MANUFACTURING INFORMATION
The FN package has been tested and has demonstrated an ability to be reflow soldered to a PCB substrate.
Table 13. Solder Reflow Profile
PARAMETER
REFERENCE
TCS3471
Average temperature gradient in preheating
tsoak
2 to 3 minutes
Time above 217°C (T1)
t1
Max 60 sec
Time above 230°C (T2)
t2
Max 50 sec
Time above Tpeak −10°C (T3)
t3
Max 10 sec
Tpeak
260°C
am
lc s
on A
te G
nt
st
il
Peak temperature in reflow
Temperature gradient in cooling
Tpeak
lv
Soak time
2.5°C/sec
al
id
The solder reflow profile describes the expected maximum heat exposure of components during the solder
reflow process of product on a PCB. Temperature is measured on top of component. The components should
be limited to a maximum of three passes through this solder reflow profile.
Max −5°C/sec
Not to scale — for reference only
T3
T2
ca
Temperature (C)
T1
Time (sec)
t3
ni
t2
t1
Figure 15. Solder Reflow Profile Graph
Te
ch
tsoak
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
20
www.taosinc.com
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
MANUFACTURING INFORMATION
Moisture Sensitivity
al
id
Optical characteristics of the device can be adversely affected during the soldering process by the release and
vaporization of moisture that has been previously absorbed into the package. To ensure the package contains
the smallest amount of absorbed moisture possible, each device is dry-baked prior to being packed for shipping.
Devices are packed in a sealed aluminized envelope called a moisture barrier bag with silica gel to protect them
from ambient moisture during shipping, handling, and storage before use.
The FN package has been assigned a moisture sensitivity level of MSL 3 and the devices should be stored under
the following conditions:
5°C to 50°C
60% maximum
12 months from the date code on the aluminized envelope — if unopened
168 hours or fewer
lv
Temperature Range
Relative Humidity
Total Time
Opened Time
Te
ch
ni
ca
am
lc s
on A
te G
nt
st
il
Rebaking will be required if the devices have been stored unopened for more than 12 months or if the aluminized
envelope has been open for more than 168 hours. If rebaking is required, it should be done at 50°C for 12 hours.
The LUMENOLOGY r Company
Copyright E 2011, TAOS Inc.
r
r
www.taosinc.com
21
TCS3471
COLOR LIGHT-TO-DIGITAL CONVERTER
TAOS115 − MARCH 2011
PRODUCTION DATA — information in this document is current at publication date. Products conform to
specifications in accordance with the terms of Texas Advanced Optoelectronic Solutions, Inc. standard
warranty. Production processing does not necessarily include testing of all parameters.
LEAD-FREE (Pb-FREE) and GREEN STATEMENT
al
id
Pb-Free (RoHS) TAOS’ terms Lead-Free or Pb-Free mean semiconductor products that are compatible with the current
RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous
materials. Where designed to be soldered at high temperatures, TAOS Pb-Free products are suitable for use in specified
lead-free processes.
Green (RoHS & no Sb/Br) TAOS defines Green to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and
Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material).
am
lc s
on A
te G
nt
st
il
lv
Important Information and Disclaimer The information provided in this statement represents TAOS’ knowledge and
belief as of the date that it is provided. TAOS bases its knowledge and belief on information provided by third parties,
and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate
information from third parties. TAOS has taken and continues to take reasonable steps to provide representative
and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and
chemicals. TAOS and TAOS suppliers consider certain information to be proprietary, and thus CAS numbers and other
limited information may not be available for release.
NOTICE
Texas Advanced Optoelectronic Solutions, Inc. (TAOS) reserves the right to make changes to the products contained in this
document to improve performance or for any other purpose, or to discontinue them without notice. Customers are advised
to contact TAOS to obtain the latest product information before placing orders or designing TAOS products into systems.
TAOS assumes no responsibility for the use of any products or circuits described in this document or customer product
design, conveys no license, either expressed or implied, under any patent or other right, and makes no representation that
the circuits are free of patent infringement. TAOS further makes no claim as to the suitability of its products for any particular
purpose, nor does TAOS assume any liability arising out of the use of any product or circuit, and specifically disclaims any
and all liability, including without limitation consequential or incidental damages.
ca
TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS, INC. PRODUCTS ARE NOT DESIGNED OR INTENDED FOR
USE IN CRITICAL APPLICATIONS IN WHICH THE FAILURE OR MALFUNCTION OF THE TAOS PRODUCT MAY
RESULT IN PERSONAL INJURY OR DEATH. USE OF TAOS PRODUCTS IN LIFE SUPPORT SYSTEMS IS EXPRESSLY
UNAUTHORIZED AND ANY SUCH USE BY A CUSTOMER IS COMPLETELY AT THE CUSTOMER’S RISK.
Te
ch
ni
LUMENOLOGY, TAOS, the TAOS logo, and Texas Advanced Optoelectronic Solutions are registered trademarks of Texas Advanced
Optoelectronic Solutions Incorporated.
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
22
www.taosinc.com