TCS34711 TAOS [TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS], TCS34711 Datasheet - Page 13

no-image

TCS34711

Manufacturer Part Number
TCS34711
Description
COLOR LIGHT-TO-DIGITAL CONVERTER
Manufacturer
TAOS [TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS]
Datasheet
Enable Register (0x00)
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)
Wait Time Register (0x03)
The LUMENOLOGY r Company
ENABLE
Reserved
Reserved
FIELD
PON
AIEN
WEN
AEN
WTIME
The Enable register is used primarily to power the TCS3471 device on and off, and enable functions and
interrupts as shown in Table 3.
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)
FIELD
ATIME
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.
FIELD
1
BITS
7:5
7
4
3
2
1
0
BITS
BITS
7:0
7:0
Reserved
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 I
interface, this bit is temporarily overridden and the oscillator is enabled, independent of the state of PON.
REGISTER VALUE
6
VALUE
0xAB
0xFF
0x00
0xD5
0xC0
0xFF
0xF6
0x00
5
Table 4. RGBC Timing Register
Table 5.
r
Table 3. Enable Register
www.taosinc.com
AIEN
Wait Time Register
4
INTEG_CYCLES
WAIT TIME
256
85
256
1
10
42
64
1
WEN
×
3
DESCRIPTION
1024 up to a maximum of 65535.
COLOR LIGHT-TO-DIGITAL CONVERTER
DESCRIPTION
DESCRIPTION
Reserved
2
TIME (WLONG = 0)
r
204 ms
614 ms
2.4 ms
101 ms
154 ms
700 ms
2.4 ms
24 ms
TIME
AEN
1
PON
Copyright E 2011, TAOS Inc.
0
TIME (WLONG = 1)
TAOS115 − MARCH 2011
0.029 sec
2.45 sec
MAX COUNT
7.4 sec
Address
0x00
TCS3471
10240
43008
65535
65535
1024
2
C
13
×

Related parts for TCS34711