User manual
Functional description VL6180X
18/79 DocID026171 Rev 6
2.4.3 Interleaved mode
Figure 11. describes the continuous interleaved mode of operation where an ALS
measurement is immediately followed by a range measurement and repeated after an
interval specified by the ALS inter-measurement period.
To enable interleaved mode, set INTERLEAVED_MODE_ENABLE{0x2A3} = 1. Use
SYSALS__START and SYSALS__INTERMEASUREMENT_PERIOD to control interleaved
operation.
Note: Continuous range settings have no effect in this mode.
Figure 11. Interleaved mode
Note: To ensure correct operation in any of the continuous modes, the user must ensure that the
inter-measurement period is sufficient for the operation to be completed within the inter-
measurement period. Failure to do so could result in unpredictable behavior.
2.4.4 Continuous mode limits
To take account of oscillator tolerances and internal processing overheads it is necessary to
place the following constraints on continuous mode operations. The following equations
define the minimum inter-measurement period to ensure correct operation:
Continuous range:
SYSRANGE__MAX_CONVERGENCE_TIME + 5 ≤
SYSRANGE__INTERMEASUREMENT_PERIOD * 0.9
Continuous ALS:
SYSALS__INTEGRATION_TIME * 1.1 ≤ SYSALS__INTERMEASUREMENT_PERIOD *
0.9
Interleaved mode:
(SYSRANGE__MAX_CONVERGENCE _TIME + 5) + (SYSALS__INTEGRATION_TIME *
1.1) ≤ SYSALS__INTERMEASUREMENT_PERIOD * 0.9
Table 6. gives an example how to apply these limits in continuous interleaved mode
operating at a sampling rate of 10 Hz.
ALS
Range
ALS inter-measurement period
ALS inter-measurement period
ALS
Range
ALS
Range
Interrupt
flags