Skip to main content
KArai.2
Associate II
November 17, 2022
Solved

VL53L1X Boot period specs (setup time from hardware standby to SW standby)

  • November 17, 2022
  • 2 replies
  • 1347 views

Hello,

I am developing a system using VL53L1X.

Occasionally, when the host microcomputer is asynchronously reset, 

there is no response from the sensor after that.

I've never used the xshut terminal.

If communication with the sensor becomes impossible, 

I'm thinking of using the xshut terminal to synchronize the host microcomputer and the sensor.

Please let me know the setup time required to start I2C communication after setting the xshut pin to high level.

From the topic below, I think 10ms is enough, but I would like some information as a specification.

Title:vl53l1x-xshut-pin

Best regards.

This topic has been closed for replies.
Best answer by John E KVAM

It's a lot less than 10ms. But you don't need to know it.

drop Xshut, wait a ms or two and lift the Xshut line.

The sensor will reboot and come alive.

There is a I2C read -

VL53L1X_ERROR VL53L1X_BootState(VL53L1_Dev_t dev, uint8_t *state)

Just call that.

If it's not booted, wait a ms and call it again.

2 replies

John E KVAM
John E KVAMBest answer
ST Employee
November 17, 2022

It's a lot less than 10ms. But you don't need to know it.

drop Xshut, wait a ms or two and lift the Xshut line.

The sensor will reboot and come alive.

There is a I2C read -

VL53L1X_ERROR VL53L1X_BootState(VL53L1_Dev_t dev, uint8_t *state)

Just call that.

If it's not booted, wait a ms and call it again.

KArai.2
KArai.2Author
Associate II
November 18, 2022

Hello John-san,

Thank you for your answer.

I will try it on a real device to determine the setup time.

The information "about 1ms-2ms range" was very helpful.

Best regards.