cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1_ERROR_ZONE_GPH_ID_CHECK_FAIL

User.120
Associate II

We found a problem with VL53L1CB, After VL53L1_GetMeasurementDataReady returns 0, VL53L1_GetMultiRangingData returns VL53L1_ERROR_ZONE_GPH_ID_CHECK_FAIL. What causes this problem?

Thank anyone for a little help

2 REPLIES 2
John E KVAM
ST Employee

I think you want VL53L1_GetMeasurementDataReady to return a 1 to indicated that a measurement was ready. 

I believe that error will go away once the measurement is actually ready. Although I did not find any useful references to it in the code. (There is just the function that translates the error to a string - which is not really helpful.)

Try starting the sensor and waiting a good long (At least whatever you have set for Timing Budget) time before calling VL53L1_GetMeasurementDataReady. You will know the sensor has finished, and you will know what VL53L1_GetMeasurementDataReady is supposed to return when done.

- john


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

Thank you very much for your response.

VL53L1_GetMultiRangingData(VL53L1_DEV Dev, VL53L1_MultiRangingData_t *pMultiRangingData) *pMultiRangingData in this function returns 1, I also waited until *pMultiRangingData was 1 before executing VL53L1_GetMultiRangingData. So I don't know why this result is returned.

In addition, I want to determine whether the ranging performance under the drive of STSW-IMG019 is LONG>MEDIUM>SHORT. I see MEDIUM>LONG>SHORT in um2133, and the actual test is LONG>MEDIUM>SHORT.

Thank anyone for a little help