cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L4CD Power consumption measurement

AElgh
Associate III

Hello Everyone, 
I'm using the VL53L4CD with the STM32WL55JC1, The following is the Power Profile of the cycle:

1- XSHUT GPIO is normally pulled low.

2- XSHUT Pulled up + delay ( sensor wakes up).

3- VL53L4CD Initiliazation.

4- Measurements (20 Samples).

5- XSHUT Pulled Low again.

 

Just after the initializing of the VL53L4CD, the current consumption was 4.45uA, then after HW-Standby, I can't get less than 332uA!?

 

 

AElgh_0-1701856490333.png

 

 

Why this high amount of consumption even if the XSHUT is Pulled Low?

 

The used board is the Sparkfun board(the LED on the board is removed).


I posted this question inside another topic but I think it's better to be alone(since the sensor is different).

 

 

Thank you

Amir

1 ACCEPTED SOLUTION

Accepted Solutions
AElgh
Associate III

Ok, i found a solution, turning the XSHUT-Pin into Analog after HW-Standby Solved the issue:

AElgh_0-1702474991454.png

 

View solution in original post

5 REPLIES 5
Anne BIGOT
ST Employee

Hello Amir,

 

We did replicate your setup with :

- a X-Nucleo-53L4A1 board from ST

- a X-Nucleo-LPM0A1 board from ST for power conso measurement

as per the picture below

 

 

Using the Cube IDE STM32 example code delivered in the VL53L4CD ULD package, modified to match your test description and we got :

0.152 µA on AVDDVCSEL and 0µA on AVDD

 

 

Could it be that you have power conso on I2C ? What are the pull-up resistors you are using on the I2C pins (as per table 3 and 4 of the datasheet) ?

 

Regards

Anne


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'

Hello Anne,

 

Thank you for your reply, If what you mean by "power conso" is a typo of power consumption on I2C, then the answer is no(I'll explain below with the power profile graph), otherwise please explain what you meant.

The pullup resistor values for the use module are 2.2kohm(I also tried to activate the internal pullups of the MCU but the results were almost the same).

 

As I wanted to know which line of code changed the consumption of the HW-Standby from 4.45uA(Original Post) to around 330uA, I ran the following:


- VL53L4CD_ULD_V2.1.1 Driver used.

- VDD: 3.3V.

- XSHUT: Normally High(No Internal Pullup).

- XSHUT-GPIO & I2C Clocks will be Disabled after the Sensor goes to HW-Standby.

I put a few seconds of delay between every line of code that modifies the sensor's registers in the initialization function and draw the power profile it as follows:

 

AElgh_0-1702465934165.png

 

Observation 1: The high consumption that starts to happen during HW-Standby starts after the "Start VHV" Line.

Observation 2: Stop Ranging Command does not affect the Power Consumption!!

Observation 3: Removing XSHUT-Pin Manually seems to stop some leakage current happening there(I'm thinking of how to simulate the same behavior in SW).

 

What do you think?

 

Amir

 

AElgh
Associate III

Ok, i found a solution, turning the XSHUT-Pin into Analog after HW-Standby Solved the issue:

AElgh_0-1702474991454.png

 

@AElgh 

Thank you to share how you did.:grinning_face:

I got the same result as you after HW-Standby , 312uA

To solve this 312uA consumption, I have completely cut the power of the sensor when no need to use it. 

Now consumption is 0

 

SLERO1_1-1702479659761.png

In both cases, if you use Xshut or cut the power, new init must be done. So it's better to save more power.

And we are using our own PCB

SLERO1_2-1702479996967.jpeg

 

 

How did you connect the rest of the I/O to the Lidar? I have got a similar issue where my custom pcb consumes 100 μA more when using the lidar. 

Scherm­afbeelding 2024-08-06 om 16.18.41.png

I do not use the LIDARint pin, Xshut does not really seem to work with my application and is pulled down by the mcu.

after each measurement I turn my mosfet off, but there seems to be 1.8V leaking in somewhere.