Skip to main content
ASham
Associate
September 14, 2019
Question

What does the VL53L1_run_spad_rate_map function do in the VL53L1X API?

  • September 14, 2019
  • 1 reply
  • 748 views

Hello everyone,

I was searching the VL53L1X's Full API and I came across with a function in the "api_calibration" class called " VL53L1_run_spad_rate_map". My question is what quantity does the “SPAD rate�? indicate? And what task does this function exactly do?

Also, one of the arguments for that function is ssc_config_timeout_us which I’m not sure what value I should pick for that.

Thanks,

Adrik

This topic has been closed for replies.

1 reply

John E KVAM
ST Employee
September 16, 2019

In all the code I have, that function is never called. I'm pretty sure it was left over from our manufacturing tests.

That being said, a SPAD map is a list of all the working SPADs. During this test the Sensor faces a known target and it ranges.

In that code returns is a list of all the trigger rates for each SPAD.

Not all SPAD are created equally. Some are partially occluded. This is why the SPAD count you get from a ranges is a floating point number.

ASham
AShamAuthor
Associate
September 16, 2019

Thank you for the explanation. So, is the spad rate a contentious value and does is it depend on the distance of the object in front of it? Or it just shows the state of the SPAD? If it shows the state of the SPAD is it a desecrate value?