Hi,
1》In the dark,Place the white target 140mm from the sensor
call function
Status = VL53L0X_perform_offset_calibration(&vl53l0x_dev,0x8c0000,&pOffsetMicroMeter);
2》In indoor environments ,Place the black target 600mm from sensor
call function
Status = VL53L0X_perform_xtalk_calibration(&vl53l0x_dev, 0x2580000, &pXTalkCompensationRateMegaCps);
3》in main function
Status = VL53L0X_set_offset_calibration_data_micro_meter(&vl53l0x_dev,&pOffsetMicroMeter);
Status = VL53L0X_SetXTalkCompensationRateMegaCps(&vl53l0x_dev,pXTalkCompensationRateMegaCps);
Is the above process correct?
But
Status = VL53L0X_set_offset_calibration_data_micro_meter(&vl53l0x_dev,11300); //设置offset
Status = VL53L0X_get_offset_calibration_data_micro_meter(&vl53l0x_dev,&pOffsetMicroMeter); //读取offset
pOffsetMicroMeter = 11250
if ony call
Status = VL53L0X_get_offset_calibration_data_micro_meter(&vl53l0x_dev,&pOffsetMicroMeter); //读取offset
pOffsetMicroMeter = 32150
it seem :
dtat not be write NVM
best wish
thank you