What does mean "RANGE_STATUS = 7 (WRAPPED_TARGET) - VL53l1X
Hi @STM Community ,
i am using XNUCLEO 53l1A1 with 3 ToF (interrupt mode).
This is my pseudo-code:
1- Sensor = LeftSensor
2- StartMeasurment()
3- Interrupt Received?
- if yes:
4- GetRangingMeasurmentData()
5- ClearInterruptAndStartMeasurment()
6- StopMeasurment()
7- Select Next Sensor
8- Go to 2
- if no: wait
with:
status = VL53L1_SetDistanceMode(Dev, VL53L1_DISTANCEMODE_LONG);
status = VL53L1_SetMeasurementTimingBudgetMicroSeconds(Dev, 33000);
status = VL53L1_SetInterMeasurementPeriodMilliSeconds(Dev, 40);
BLACK COVER GLASS INSTALLED
Very Often RANGE STATUS field value (on VL53L1_RangingMeasurementData_t struct) is equal to 7 VL53L1_RANGESTATUS_WRAP_TARGET_ FAIL (Wrapped target, not matching phases).
Does anyone know the reason?
Thanks
