TSL4531 TAOS [TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS], TSL4531 Datasheet - Page 8

no-image

TSL4531

Manufacturer Part Number
TSL4531
Description
DIGITAL AMBIENT LIGHT SENSOR
Manufacturer
TAOS [TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS]
Datasheet
TSL4531
DIGITAL AMBIENT LIGHT SENSOR
TAOS112 − OCTOBER 2011
Register Set
Command Register
8
Copyright E 2011, TAOS Inc.
COMMAND
ADDRESS
COMMAND
ADDRESS
Reserved
0x0A
0x00
0x01
0x04
0x05
The device 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 mechanics of accessing a specific register depends on the specific protocol used. See the section on I
protocols on the previous pages. In general, the COMMAND register is written first to specify the specific
control/status register for following read/write operations.
There are 16 register locations, but only 5 registers are implemented. To make the register read process more
efficient when reading multiple bytes of data as in the combined format protocol, the address index pointer is
automatically incremented to skip over the unused registers, as shown in Figure 7.
Cycle is 0h, Ah, Bh, Ch, Dh, 0h
The command register specifies the address of the target register for future write and read operations. It
contains two user fields as described below and defaults to 0x00 at power-on.
FIELD
Address in hex
Address increments by 1 except where noted:
−−
COMMAND
0
RESISTER NAME
7
COMMAND
DATAHIGH
CONTROL
DATALOW
BITS
CONFIG
6:4
3:0
1
7
ID
2
Select Command Register. Must write as 1.
Reserved. Write as 0.
Address register. Selects the specific register for write and read transactions that follow.
6
Figure 7. Combined Format Read Cycle Pattern
3
Reserved
4
R/W
R/W
R/W
W
R
R
R
5
r
Table 2. Command Register
5
Table 1. Register Set
www.taosinc.com
6
Specifies register address
Power on/off and single cycle
Powersave Enable / Integration Time
ALS Data LOW Register
ALS Data HIGH Register
Device ID
4
7
8
3
REGISTER FUNCTION
DESCRIPTION
9
A
2
ADDRESS
B
r
C
1
D
The LUMENOLOGY r Company
E
0
F
RESET
VALUE
0x00
0x00
0x00
0x00
0x00
ID
2
C

Related parts for TSL4531