cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1CX ambient reading and ranging sequences

CBila.1
Associate II

From what I've read, I get that during a ranging sequence VL53L1CX performs two separate ranging operations and since we have also ambient data I think the sensor listens to the environment without sending any pulses. What I am curious about how they are sequenced? and how the timing works? For example, if I use short-distance mode and set the timing budget to 15ms in ULD API, is it like the sensor first performs an ambient reading 5ms then ranging A 5ms and ranging B 5ms?

1 REPLY 1
John E KVAM
ST Employee

you have it about right.

in the 15ms the sensor has a lot of work to do.

IT must evaluate the sensor temperature and see if it needs to adjust the VCSEL power.

It needs to sense the ambient rate.

It needs to shoot out a few blasts and evaluate the signal strength coming back and adjust the number of SPADs to use.

Then it does the rangeA

And the Range B

check the results, lift the interrupt based on thresholds and it'd done.

All told there is maybe 3-4ms of overhead and the remaining is divided evenly between range A and Range B.

The results can be returned during the next range, so the I2C is hidden.

  • john


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'