cancel
Showing results for 
Search instead for 
Did you mean: 

What does the VL53L1_run_spad_rate_map function do in the VL53L1X API?

ASham
Associate

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

2 REPLIES 2
John E KVAM
ST Employee

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.


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

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?