2019-05-02 04:50 AM
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.
2019-05-02 09:05 AM
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.