TSL2571
LIGHT-TO-DIGITAL CONVERTER
TAOS117A − FEBRUARY 2011
ADC Channel Data Registers (0x14 − 0x17)
ALS data is stored as two 16−bit values. To ensure the data is read correctly, a two−byte read I2C transaction
should be used with auto increment protocol bits set in the command register. With this operation, when the
lower byte register is read, the upper eight bits are stored in 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
REGISTER
C0DATA
ADDRESS
0x14
BITS
7:0
DESCRIPTION
ALS CH0 data low byte
C0DATAH
C1DATA
0x15
7:0
ALS CH0 data high byte
ALS CH1 data low byte
ALS CH1 data high byte
0x16
7:0
C1DATAH
0x17
7:0
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
18
www.taosinc.com