VL53L4CD (ULD) not ranging?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-07 8:04 AM
We are moving to VL53L4CD.
Have it all coded but having a strange experience. Simplistically we use the sensor continuously and only use GetResult to retrieve the sensor readings (e.g. not CheckforDataReady).
So, simplistically looks sorta like this using the ULD:
....
VL53L4CD_SensorInit
VL53L4CD_SensorStartRanging()
while Forever
VL53L4CD_ResultsData_t result;
VL53L4CD_Error VL53L4CD_GetResult(&result);
....
This worked fine for the VL53L1X but for the VL53L4CD while all Init, StartRanging and GetResult are returning a status of 0 the reading never changes. It gets a reasonable reading first but then just never changes.
Any idea?
Thanks,
Will
Solved! Go to Solution.
- Labels:
-
CMOS Image Sensors
-
Time of flight
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-07 10:03 AM
Appears to have been the config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-07 10:03 AM
Appears to have been the config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-10 7:53 AM
It almost always is the config - unless it's an I2C issue. Those are 90% of the bugs.
Nice work finding it. If you uncovered something someone else might run into, please share it.
- 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.
