cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1 Dynamic SPAD Selection Question

LDMigotto
Associate II

Hi!
I have two short questions regarding the dynamic SPAD selection happening on the VL53L1 sensor discussed previously here:

- Is there a minimum number of SPADs after the selection? As in, by utilizing a 4x4 region, should I expect no oscillations (the ones I showed on the other post) due to the selection?
- Is there a direct way to find which specific SPADs are being used after the selection? So I could use it to troubleshoot if the weird distance measurements were caused by it or other factors I didn't take into account.

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
John E KVAM
ST Employee

You might still get occasional oscillations, but by limiting the max number of SPADs they should not be as wild. 

The minimum I have seen is something like 3.2. But the API rounds for simplicity. 

The location of the enabled SPADs is called a SPAD Map, and we removed it from the API as it is pretty useless. 

Your issue is due to the DSS algorithm choosing too many SPADs. We can tell by the Number of SPADs and the super high Signal rate. But that algo is buried deep in the sensor, and we don't have any control over it except to limit the max number of SPADS. 

- john


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.

View solution in original post

1 REPLY 1
John E KVAM
ST Employee

You might still get occasional oscillations, but by limiting the max number of SPADs they should not be as wild. 

The minimum I have seen is something like 3.2. But the API rounds for simplicity. 

The location of the enabled SPADs is called a SPAD Map, and we removed it from the API as it is pretty useless. 

Your issue is due to the DSS algorithm choosing too many SPADs. We can tell by the Number of SPADs and the super high Signal rate. But that algo is buried deep in the sensor, and we don't have any control over it except to limit the max number of SPADS. 

- john


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.