VEML4031X00 www.vishay.com Vishay Semiconductors TABLE 3 - REGISTER NAME: ALS_CONF_0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reserved ALS_IT ALS_MODE ALS_TRIG ALS_INT ALS_ON_0 COMMAND CODE0x00BIT NAMEFUNCTIONBITVALUEDESCRIPTION Reserved Reserved 7 0x0 (0b0) Should be kept default 0x0 (0b000) 3.125 ms (default) 0x1 (0b001) 6.25 ms 0x2 (0b010) 12.5 ms 0x3 (0b011) 25 ms ALS_IT Set the integration time 6 : 4 0x4 (0b100) 50 ms 0x5 (0b101) 100 ms 0x6 (0b110) 200 ms 0x7 (0b111) 400 ms Set the measurement mode of the 0x0 (0b0) Auto mode (default) ALS_MODE 3 sensor 0x1 (0b1) Active force mode Set the active force mode trigger; 0x0 (0b0) Off (default) ALS_TRIG this bit will be reset to 0 after the 2 measurement cycle 0x1 (0b1) Trigger Enable / disable the interrupt 0x0 (0b0) Disable (default) ALS_INT 1 function of the ALS channel 0x1 (0b1) Enable Switch the sensor on / off 0x0 (0b0) Turn on the sensor (ALS_ON_0 and ALS_ON_1 must ALS_ON_0 0 be executed together to start the Turn off the sensor (shutdown) 0x1 (0b1) sensor) (default) Note • Command Code 0x00 default value is 0x01 = device shutdown TABLE 4 - REGISTER NAME: ALS_CONF_1 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ALS_ON_1 ALS_PDDIV Reserved ALS_GAIN ALS_PERS ALS_CAL COMMAND CODE0x01BIT NAMEFUNCTIONBITVALUEDESCRIPTION Switch the sensor on / off 0x0 (0b0) Turn on the sensor (ALS_ON_0 and ALS_ON_1 must ALS_ON_1 7 be executed together to start the Turn off the sensor (shutdown) 0x1 (0b1) sensor) (default) Set the effective photodiode size 0x0 (0b0) 4/4 PD used ALS_PDDIV 6 for the ALS and IR channel 0x1 (0b1) 1/4 PD used Reserved Reserved 5 0x0 (0b0) Should be kept default 0x0 (0b00) Gain x1 0x1 (0b01) Gain x2 ALS_GAIN Set the gain of the ALS 4 : 3 0x2 (0b10) Gain x0.66 0x3 (0b11) Gain x0.5 0x1 (0b00) 1 time (default) Set the amount of consecutive 0x2 (0b01) 2 times ALS_PERS threshold crossing events 2 : 1 necessary to trigger interrupt 0x3 (0b10) 4 times 0x4 (0b11) 8 times Must be set to “1” 0x1 (0b1) ALS_CAL Internal calibration after power on 0 when power on ready 0x0 (0b0) Disable (default) Rev. 1.1, 12-Mar-2025 8 Document Number: 80348 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