User manual

DocID026171 Rev 6 59/79
VL6180X Device registers
78
6.2.35 SYSALS__ANALOGUE_GAIN
Address: 0x03F
Type: R/W
Reset: 0x06
Description:
6.2.36 SYSALS__INTEGRATION_PERIOD
Address: 0x040
Type: R/W
Reset: 0x0
Description:
76543210
RESERVED sysals__analogue_gain_light
RR/W
[2:0] sysals__analogue_gain_light: ALS analogue gain (light channel)
0: ALS Gain = 20
1: ALS Gain = 10
2: ALS Gain = 5.0
3: ALS Gain = 2.5
4: ALS Gain = 1.67
5: ALS Gain = 1.25
6: ALS Gain = 1.0
7: ALS Gain = 40
Controls the “light” channel gain.
Note: Upper nibble should be set to 0x4 i.e. For ALS gain of 1.0 write 0x46.
1514131211109876543210
RESERVED sysals__integration_period
RR/W
[8:0] sysals__integration_period: Integration period for ALS mode. 1 code = 1 ms (0 = 1 ms).
Recommended setting is 100 ms (0x63).