VL53L1_ERROR_ZONE_GPH_ID_CHECK_FAIL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-08 2:38 AM
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
- Labels:
-
Time of flight
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-10 7:40 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-10 5:38 PM
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
