cancel
Showing results for 
Search instead for 
Did you mean: 

we are using VL53L1CXV0FY/1 proximity sensor in our smart home project .Kindly share how to reboot sensor

ttemc.1
Associate II
 
1 REPLY 1
John E KVAM
ST Employee

The Xshut line is the designed way to to it. Just drop the line for a few milliseconds, bring it back up, wait a couple of milliseconds, and query the 'booted' flag.

It will reset the entire chip - except the I2C interface. That section of the chip is separate.

Unfortunately the I2C hanging is the mostly likely problem.

So if you have seached the internet looking for how to tune the I2C bus and still have a hanging issue...

(Hint - Philips invented that bus, and NXP bought Philips. The best documentation is on the NXP site.)

One can generally clear any I2C bus hang issue by having the MCU (bus master) timeout. Then send 8 clock pulses.

Generally that is enough to clear any bus slave that is hanging the bus.

  • john

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. It helps the next guy.