TSL4531
DIGITAL AMBIENT LIGHT SENSOR
TAOS112 − OCTOBER 2011
ALS Data Registers (0x04 − 0x05)
The ADC data is expressed as a 16-bit word stored in two 8-bit registers. The read-only ADC data registers
DATALOW and DATAHIGH provide the low and high bytes, respectively, of the 16-bit ADC conversion value.
The conversion value translates directly to units of lux.
Table 5. ALS Data Registers
REGISTER
DATALOW
DATAHIGH
ADDRESS
0x04
BITS
7:0
DESCRIPTION
ADC conversion low byte
ADC conversion high byte
0x05
7:0
ID Register (0x0A)
The ID register is a read-only register that provides the value for the part number. The PARTNO field indicates
the part number of each device given in the Available Options section and will remain constant.
Table 6. ID Register
7
6
5
4
3
2
1
0
Reset
ID
PARTNO
Reserved
CONTROL
FIELD
BITS
DESCRIPTION
DEVICE PART NUMBER
FIELD VALUE
1000
TSL45317
TSL45313
TSL45315
TSL45311
1001
PARTNO
Reserved
7:4
3:0
1010
1011
Reserved
The ID register is useful for validating the device type and for verifying the functionality of the interface. When
used for this purpose, it is recommended that the Reserved field be masked out as follows:
Value = ID AND 0xF0, where AND represents a bit-wise AND function
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
10
www.taosinc.com