Skip to main content
AElgh
Associate III
May 17, 2022
Solved

How to properly drive the VL53L0X into Sleep mode?

  • May 17, 2022
  • 7 replies
  • 5206 views

The datasheet mentions putting the sensor into sleep by driving XSHUT low. measuring the power consumption shows that the power is consumed more when I connect XSHUT even when I drive it low by 200 microAmp. 

The XSHUT is normally pulled-up on the breakout board so no leakage is assumed.

This topic has been closed for replies.
Best answer by Anne BIGOT

Hello,
We just did a test using :

- a 53L0-SATEL-I1

 - a X-Nucleo-LPM0A1 board from ST for power consumption measurement as per the pictures below :

 

 

here are the results of our tests :

 

with the X-SHUTdown connected :

We got : 5.4 µA

 

And with X-SHUTdown disconnected we got :

We got : 6.1 µA

 

Regards

 

7 replies

Julien NGUYEN
ST Employee
May 24, 2022

Hello,

If I understand : You wanted to measure the current when the xshutdown pin is forced to zero by the microcontroller. And you measure more than the value mentionned in the datasheet? What is the current value you were measuring.

Thanks

Julien

AElgh
AElghAuthor
Associate III
May 24, 2022

Thank you Julien for your reply, i made 2 kinds of measurements one with XSHUT pin connected to the microcontroller & the Other I disconnected the pin. the firmware cycle is:

1- Wakeup (Ideal)

  • With XSHUT = 0.34mA
  • Without = 0.01mA

2- Measuring

  • Same for both = 14.5mA (With Budget 20mS).

3- Sleep

  • With XSHUT = 0.04mA
  • Without = 0.01mA

Based on this result, my decision was to leave the XSHUT unconnected (The Sensor is mounted on a breakout board with pull-up resistances). But I was hoping to have better power performance when using the XSHUT pin.

Thank you

Julien NGUYEN
ST Employee
May 25, 2022

Hi,

Please confirm me. What is the microcontroller are you using ? When you say unconnected, do you mean that you do not control the xshut down pin but you connect this PIN to VCC via a pull up resistor?

If you always connect the the xshut pin to VCC how do you put the ToF in the sleep mode?

What do you mean the sleep mode ? If you want to gain in power consumption you need to put the ToF into the HW stdby mode (xshut = 0)

I measure today on the VL53L4CD, I get 19 mA in ranging mode and less that 0,1 uA in HW standby mode (xshutdown driven to zero by the microcontroller ). The VL53L4CD and VL53L0X have the similar electrical performance. I will do the same measurement on the VL53L0X.

0693W00000NqfU8QAJ.png0693W00000NqfUNQAZ.png 

Thanks

Julien

AElgh
AElghAuthor
Associate III
May 25, 2022

Hi,

Please confirm me. What is the microcontroller are you using ?

I'm using ESP32 - but I take the measurement directly from the output of the sensor board.

When you say unconnected, do you mean that you do not control the xshut down pin but you connect this PIN to VCC via a pull-up resistor?

Yes, according to the schematic of the breakout board of the Sensor that I have:

0693W00000NqfmMQAR.png 

If you always connect the xshut pin to VCC how do you put the ToF in the sleep mode?

By pulling the pin into GND (as mentioned in the Datasheet).

What do you mean by the sleep mode? If you want to gain power consumption you need to put the ToF into the HW stdby mode (xshut = 0)

I apologize for the mixing of terminology as I'm using many sensors and I put them all in the low power mode, but yes as you said, in the HW stdby mode (xshut = 0).

I measure today on the VL53L4CD, I get 19 mA in ranging mode and less than 0,1 uA in HW standby mode (xshutdown driven to zero by the microcontroller ).

The VL53L4CD and VL53L0X have similar electrical performance. I will do the same measurement on the VL53L0X.

I get the same measure for the ranging (time budget 33mSecand).

0693W00000NqfqiQAB.png 

but the standby is much higher.

0693W00000NqfpfQAB.png 

However when the Microcontroller goes into the deep sleep mode (the vdd to the sensor is off).

0693W00000NqfpVQAR.png 

still don't know what prevents me from getting the less than 0.1uA !!

Thank you

Amir

SLERO.1
Associate
November 14, 2023

Hello,

so still no reply ?

 

SLERO.1
Associate
December 5, 2023

I also saw that consumption is higher when XSHUT is connected

But you know AElgh , they don't care !!!!!

we are talking about this since may 2022 

AElgh
AElghAuthor
Associate III
December 7, 2023

Hello SLERO, I'm sorry your case is not solved yet. I think ST has a much better community w.r.t others.

Indeed XSHUT helps a lot to reduce the current, in my case:

without XSHUT: VL53L4CD consumes around 1.4mA in Idle-Mode.

In HW-Stnadby: it's around 320uA.

 

I suspect that something should be turned off before putting the sensor into HW-Standby as the sensor consumes so little(as in the Power profile) just after the initialization is done.

 

I'm still digging into this trying all the configurations that could be done with the sensor's pins.

I'll let you know if I get into something

Amir

Anne BIGOT
Anne BIGOTBest answer
Technical Moderator
December 13, 2023

Hello,
We just did a test using :

- a 53L0-SATEL-I1

 - a X-Nucleo-LPM0A1 board from ST for power consumption measurement as per the pictures below :

 

 

here are the results of our tests :

 

with the X-SHUTdown connected :

We got : 5.4 µA

 

And with X-SHUTdown disconnected we got :

We got : 6.1 µA

 

Regards

 

Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised. ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'
AElgh
AElghAuthor
Associate III
December 13, 2023

@SLERO.1 If you are using an ST-MCU, check this solution:
vl53l4cd-power-consumption-measurement 

 

Good Luck

SLERO.1
Associate
December 13, 2023

@AElgh 

I will check, thx a lot