cancel
Showing results for 
Search instead for 
Did you mean: 

I use sensor VL53L1CBV0FY/1. It works, distance is measured. I began to make calibrations and problem occured. After calling VL53L1_PerformRefSpadManagement the error -13 (VL53L1_ERROR_CONTROL_INTERFACE) is appeared.

IShir.1
Associate

Inside this function I determined that the error is in inner function VL53L1_run_device_test. I can not find information about it. The PCB is wired correctly. There are interface pull-ups. Thanks.

1 REPLY 1
John E KVAM
ST Employee

This is a really odd one. A long time ago on the L0 we used to have the odd issue were the pre-programed RefSpad on a sensor was not close enough, and folks got this error. Try programming the RefSpad to 3 PRIOR to running the calibration. Does that pass?


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.