Skip to main content
MBuil
Visitor II
May 2, 2019
Question

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

  • May 2, 2019
  • 1 reply
  • 751 views

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.

This topic has been closed for replies.

1 reply

John E KVAM
ST Employee
May 2, 2019

​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.