cancel
Showing results for 
Search instead for 
Did you mean: 

Hello,I´m using VL53L1X sensor using the Api provided, all is working but I have a question:

MBuil
Associate

I use Xshut pin to save energy, Do I have to call VL53L1_DataInit() every time that I pull Xshut to wake up the device or only the first time after my microcontroller reset?

And the same question with VL53L1_StaticInit()

I do not have clear what to do or what not to do every timeI wake up the VL53L1 using Xshut.

I have tested both options and it seems that it is not difference but I want to know the best way to manage the situation.

1 REPLY 1
John E KVAM
ST Employee

​Yes, Shutdown really does shutdown everything, so you have to start over and call VL53L1_StaticInit() and VL53L1_DataInit()

But you don't have to use the Shutdown pin. If you Stop() the ranging the chip really does go into a very low power mode barely keeping the memory alive.

It is very low power. Typically only 5 or 6 microAmps.


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.