VEML6030
www.vishay.com
Vishay Semiconductors
Rev. 1.2, 13-Jan-17
8
Document Number: 84366
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 #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.
Command Code #2: Low Threshold Windows Setting
Command code address = 02h. Once enable INT function and use high / low windows threshold, bit 15:0 provides 16 bit register
for low bound threshold windows setting.
Command Code #3: Power Saving Mode: PSM
Command code address = 03h. Bits 2 and 1 define the power saving modes. Bits 15 : 3 are reserved.
Command Code #4: ALS High Resolution Output Data
Command code address = 04h. To access 16 bit high resolution ALS output, it is suitable to follow read protocol to read from
command code #04 16 bits register.
Command Code #5: White Channel Output Data
Command code address = 05h. To access 16 bit WHITE output, it is suitable to follow read protocol to read from command
code #05 16 bits register.
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)
TABLE 3 - LOW THRESHOLD WINDOWS SETTING #2
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 low threshold window setting (15:8 MSB 8 bits of whole 16 bits)
ALS low threshold window setting (7:0 LSB 8 bits of whole 16 bits)
TABLE 4 - POWER SAVING MODES
COMMAND CODE REGISTER NAME BIT FUNCTION / DESCRIPTION R / W
03
PSM 2 : 1
Power saving mode; see table “Refresh time”
00 = mode 1
01 = mode 2
10 = mode 3
11 = mode 4
W
PSM_EN 0
Power saving mode enable setting
0 = disable
1 = enable
W
TABLE 5 - ALS HIGH RESOLUTION OUTPUT DATA #4
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 resolution output data (15 : 8 MSB 8 bits of whole 16 bits)
ALS high resolution output data (7 : 0 LSB 8 bits of whole 16 bits)
TABLE 6 - WHITE CHANNEL OUTPUT DATA #5
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
WHITE output data (15 : 8 MSB 8 bits of whole 16 bits)
WHITE output data (7 : 0 LSB 8 bits of whole 16 bits)