Datasheet

VEML7700
www.vishay.com
Vishay Semiconductors
Rev. 1.0, 19-Nov-15
6
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
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 (OUTPUT DATA [dec.] / ALS sensitivity) x (10 / IT [ms]). Please study also the application note.
Command Code #1: High Threshold Windows Setting
Command code address = 01h. Once enable INT function and use high / low windows threshold, bit 15:0 provides 16 bit register
for high bound threshold windows setting.
TABLE 1 - CONFIGURATION REGISTER #0
COMMAND CODE REGISTER NAME BIT FUNCTION / DESCRIPTION R / W
00 reserved 15 : 13 Set 000b W
ALS_SM 12 : 11
Sensitivity mode selection
00 = ALS sensitivity x 1
01 = ALS sensitivity x 2
10 = ALS sensitivity x (1/8)
11 = ALS sensitivity 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
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
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 reserved 3 : 2 Set 00b R
06
ALS_IF_L 15 ALS crossing low threshold INT trigger level R
ALS_IF_H 14 ALS crossing high threshold INT trigger level R
reserved 13 : 0
TABLE 2 - HIGH THRESHOLD WINDOWS SETTING #1
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Description
ALS high threshold window setting (15:8 MSB 8 bits of whole 16 bits)
ALS high threshold window setting (7:0 LSB 8 bits of whole 16 bits)