Skip to main content
IShir.1
Visitor II
March 9, 2022
Question

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.

  • March 9, 2022
  • 1 reply
  • 846 views

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.

This topic has been closed for replies.

1 reply

John E KVAM
ST Employee
March 18, 2022

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.