Skip to main content
Senior II
January 10, 2023
Solved

vl53l5cx_set_ranging_frequency_hz and TOF sensors

  • January 10, 2023
  • 1 reply
  • 885 views

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?

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

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.

1 reply

Anne BIGOT
Anne BIGOTBest answer
Technical Moderator
January 10, 2023

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'