English
Language : 

TCS3471 Datasheet, PDF (14/23 Pages) TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS – COLOR LIGHT-TO-DIGITAL CONVERTER
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
7
6
5
4
3
2
1
0
ENABLE
lid FIELD
Reserved
AIEN
a WEN
v Reserved
AEN
ill PON1
BITS
7:5
4
3
2
1
0
Reserved
AIEN
WEN
Reserved
AEN
PON
Address
0x00
DESCRIPTION
Reserved. Write as 0.
RGBC interrupt enable. When asserted, permits RGBC interrupts to be generated.
Wait enable. This bit activates the wait feature. Writing a 1 activates the wait timer. Writing a 0 disables the
wait timer.
Reserved. Write as 0.
RGBC enable. This bit actives the two-channel ADC. Writing a 1 activates the RGBC. Writing a 0 disables
the RGBC.
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.
G t NOTE 1: A minimum interval of 2.4 ms must pass after PON is asserted before an RGBC can be initiated.
A t s RGBC Timing Register (0x01)
s n 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.
am nte FIELD
l co ATIME
BITS
7:0
Table 4. RGBC Timing Register
VALUE
0xFF
0xF6
0xD5
0xC0
0x00
DESCRIPTION
INTEG_CYCLES
1
10
42
64
256
TIME
2.4 ms
24 ms
101 ms
154 ms
700 ms
MAX COUNT
1024
10240
43008
65535
65535
ica Wait Time Register (0x03)
Wait time is set 2.4 ms increments unless the WLONG bit is asserted, in which case the wait times are 12×
n longer. WTIME is programmed as a 2’s complement number.
ch FIELD
TeWTIME
BITS
7:0
Table 5. Wait Time Register
REGISTER VALUE
0xFF
0xAB
DESCRIPTION
WAIT TIME
TIME (WLONG = 0)
1
2.4 ms
85
204 ms
TIME (WLONG = 1)
0.029 sec
2.45 sec
0x00
256
614 ms
7.4 sec
The LUMENOLOGY r Company
r
r
www.taosinc.com
Copyright E 2011, TAOS Inc.
13