User Manual
Table Of Contents
Figure 6. Valid area for running Xtalk calibration
The calibration is performed calling function VL53L4CD_CalibrateXtalk(). The function finds the xtalk, applies the
xtalk, and returns the xtalk correction value. It takes a few seconds to be performed. The following table shows
the available settings for running Xtalk calibration.
Table 2. Available settings for running Xtalk calibration
Setting
Min Proposed by ST Max
Distance [mm]
Depends on customer
cover glass
Depends on customer
cover glass
Depends on customer
cover glass
Number of samples 5 20 255
Note: Increasing the number of samples increases the accuracy, but also increases the time for calibration. The time
relative to number of samples is linear, and values follow the approximate timeout:
• 5 samples ≈ 750 milliseconds
• 10 samples ≈ 1000 milliseconds
• 20 samples ≈ 1500 milliseconds
Users can also call functions VL53L4CD_GetXtalk() and VL53L4CD_SetXtalk() to get the programmed value, or
set a new one.
UM2931
Calibrations
UM2931 - Rev 1
page 6/15