2023-03-31 04:43 AM
I try to use VL53L5CX ToF sensor with ST driver library in original version. Host MCU is ESP32 dev kit.
During initialization procedure sensor returns error at step:
status |= _vl53l5cx_poll_for_answer(p_dev, 4, 0, VL53L5CX_UI_CMD_STATUS, 0xff, 2);
Before that step all commands run OK and after that step following commands return error and initialization goes to be impossible.
What is a reason it can be?
2023-04-22 07:25 PM
hi ODoka,
Should be related with I2C HW or SW settings, attached a I2C test guide for you confirm your I2C settings.
Br
Zhiyuan.Han