Data Sheet

VEML7700
www.vishay.com
Vishay Semiconductors
Rev. 1.1, 07-Dec-16
5
Document Number: 84286
For technical questions, contact: sensorstechsupport@vishay.com
THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT
ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000
Interrupt pin not available for VEML7700
Note
Command code 0 default value is 01 = devices is shut down
Command Code #0: Configuration Register
Register address = 00h
The command code #0 is for configuration of the ambient light measurements.
Note
Light level [lx] is (ALS OUTPUT DATA [dec.] / ALS Gain x responsivity). Please study also the application note.
COMMAND REGISTER FORMAT
COMMAND CODE REGISTER NAME BIT FUNCTION / DESCRIPTION R / W
00 ALS_CONF_0 15 : 0 ALS gain, integration time, interrupt, and shutdown W
01 ALS_WH
15 : 8 ALS high threshold window setting (MSB) W
7 : 0 ALS high threshold window setting (LSB) W
02 ALS_WL
15 : 8 ALS low threshold window setting (MSB) W
7 : 0 ALS low threshold window setting (LSB) W
03 Power saving 15 : 0 Set (15 : 3) 0000 0000 0000 0b
04 ALS
15 : 8 MSB 8 bits data of whole ALS 16 bits R
7 : 0 LSB 8 bits data of whole ALS 16 bits R
05 WHITE
15 : 8 MSB 8 bits data of whole WHITE 16 bits R
7 : 0 LSB 8 bits data of whole WHITE 16 bits R
06 ALS_INT 15 : 0 ALS INT trigger event R
TABLE 1 - CONFIGURATION REGISTER #0
REGISTER NAME BIT FUNCTION / DESCRIPTION R / W
Reserved 15 : 13 Set 000b W
ALS_GAIN 12 : 11
Gain selection
00 = ALS gain x 1
01 = ALS gain x 2
10 = ALS gain x (1/8)
11 = ALS gain x (1/4)
W
reserved 10 Set 0b W
ALS_IT 9 : 6
ALS integration time setting
1100 = 25 ms
1000 = 50 ms
0000 = 100 ms
0001 = 200 ms
0010 = 400 ms
0011 = 800 ms
W
ALS_PERS 5 : 4
ALS persistence protect number setting
00 = 1
01 = 2
10 = 4
11 = 8
W
Reserved 3 : 2 Set 00b W
ALS_INT_EN 1
ALS interrupt enable setting
0 = ALS INT disable
1 = ALS INT enable
W
ALS_SD 0
ALS shut down setting
0 = ALS power on
1 = ALS shut down
W