Solved
Unable to start ranging on the vl53l8cx
- November 2, 2023
- 3 replies
- 2369 views
Hello,
I've already used the vl53l5cx and it worked flawlessly, so I decided to try the newest one. I'm working on an esp32s3 and a satel-vl53l8 using the ULD. I completed the platform file, and it initialized the sensor without errors. But when the sensor tries to start ranging, I get an VL53L8CX_STATUS_ERROR caused by two data sizes which should be the same but aren't.
//In vl53l8cx_api.c
//vl53l8cx_start_ranging()
if(tmp != p_dev->data_read_size)
{
status |= VL53L8CX_STATUS_ERROR;
}I can’t figure out how to fix it. If you need any additional information, I will be pleased to answer.
Thanks
