2023-03-08 03:22 PM
I use a glass for our VL53L1X sensor. But we found there is a crosstalk problem and
have to use crosstalk compensation. We use VL53L1X ULD for our device.
There are three functions about crosstalk.
int8_t VL53L1X_CalibrateXtalk(uint16_t dev, uint16_t TargetDistInMm, uint16_t *xtalk);
VL53L1X_ERROR VL53L1X_GetXtalk(uint16_t dev, uint16_t *Xtalk);
VL53L1X_ERROR VL53L1X_SetXtalk(uint16_t dev, uint16_t XtalkValue);
Could you tell how to use these functions to compensation crosstalk affect?
best regards
Dai Sai
Solved! Go to Solution.
2023-04-17 07:52 PM - edited 2023-11-20 07:17 AM
Hi Dai Sai
To get correct xtalk value, you need to perform xtalk calibration,
Crosstalk calibration should be conducted in a dark environment, with no IR contribution.
Place a 17 % reflectance chart at the crosstalk calibration distance (xcd),
then call the VL53l1X_CalibrateXtalk(dev, xcd, &xtalk) to get the correct xtalk value.
Once you get the xtalk value you can save this value to your system FLASH, after VL53L1X rebooting, you need read the xtalk value out from FLASH, and set to device by command
VL53L1X_SetXtalk ().
For the clibration distance, the suggested calibration distance will be the inflection point of the raw ranging results (without xtalk compensation).
For more details, please check the guide on www.st.com
Br
Zhiyuan.Han
2023-04-17 07:52 PM - edited 2023-11-20 07:17 AM
Hi Dai Sai
To get correct xtalk value, you need to perform xtalk calibration,
Crosstalk calibration should be conducted in a dark environment, with no IR contribution.
Place a 17 % reflectance chart at the crosstalk calibration distance (xcd),
then call the VL53l1X_CalibrateXtalk(dev, xcd, &xtalk) to get the correct xtalk value.
Once you get the xtalk value you can save this value to your system FLASH, after VL53L1X rebooting, you need read the xtalk value out from FLASH, and set to device by command
VL53L1X_SetXtalk ().
For the clibration distance, the suggested calibration distance will be the inflection point of the raw ranging results (without xtalk compensation).
For more details, please check the guide on www.st.com
Br
Zhiyuan.Han
2023-04-20 05:14 AM
Dear Han,
thank you very much for your information.
I will try based on your advise.
best regards
Dai Sai
2023-04-21 11:41 AM
Also there is an article on the subject. The article tab at the top of this page is where you find it.
Or you can click on:
https://community.st.com/s/article/Time-of-Flight-Cover-glass