cancel
Showing results for 
Search instead for 
Did you mean: 

vl53l5cx_set_ranging_frequency_hz and TOF sensors

sde c.1
Senior II

The datasheet says the maximum ranging frequency's for VL53L5CXV0GC/1 are

60Hz at 4x4

15Hz at 8x8

But the firmware allows for example perfectly 100Hz at 4x4 by setting this value with vl53l5cx_set_ranging_frequency_hz().

I also can see the sensor is ready after 20ms when looping function

vl53l5cx_check_data_ready(&dev,&IsReady);

So this seems to work at higher frequency's too. Is the datasheet wrong?

We would like to set the ranging frequency higher for the 8x8 mode. Is this possible?

1 ACCEPTED SOLUTION

Accepted Solutions
Anne BIGOT
ST Employee

The accuracy numbers in the datasheet are valid at the speeds given. It can go faster, but the user is kind of on his own as to verifying the results.


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'

View solution in original post

1 REPLY 1
Anne BIGOT
ST Employee

The accuracy numbers in the datasheet are valid at the speeds given. It can go faster, but the user is kind of on his own as to verifying the results.


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'