Skip to main content
ODoka.1
Visitor II
March 31, 2023
Question

VL53L5CX ToF sensor issue during initialization procedure.

  • March 31, 2023
  • 1 reply
  • 1159 views

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 

This topic has been closed for replies.

1 reply

Zhiyuan.Han
Technical Moderator
April 23, 2023

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.