cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L5CX ToF sensor issue during initialization procedure.

ODoka.1
Associate

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?

0693W00000bhHoMQAU.jpg 

1 REPLY 1
Zhiyuan.Han
ST Employee

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


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.