You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From two VL53L0X sensors connected to pins GPIO 23 & 24 of a Raspberry pi zero w, running VL53L0X_multi_example.py file, I'm having this output:
VL53L0X Start Ranging Address 0x2B
Setting I2C Address to 0x2B
Call of VL53L0X_SetAddress
API Status: -20 : Control Interface Error
VL53L0X Start Ranging Address 0x2D
Setting I2C Address to 0x2D
Call of VL53L0X_SetAddress
API Status: -20 : Control Interface Error
VL53L0X_BETTER_ACCURACY_MODE
Set Accuracy
API Status: -20 : Control Interface Error
VL53L0X_BETTER_ACCURACY_MODE
Set Accuracy
API Status: -20 : Control Interface Error
Timing 20 ms
1 - Error
2 - Error
...
Call of VL53L0X_StopMeasurement
API Status: -20 : Control Interface Error
Call of VL53L0X_StopMeasurement
API Status: -20 : Control Interface Error
I can't understand why this error (API Status: -20 : Control Interface Error), commented as Error during interrupt clear in the Api/core/inc/vl53l0x_def.h, is triggered.
What is going wrong?
The text was updated successfully, but these errors were encountered:
Hi
Now I'm stucking at the same probrem.
Do you hacve any solution?
pi@raspberrypi4:~/VL53L0X_rasp $ ./bin/vl53l0x_ContinuousRanging_Example VL53L0X PAL Continuous Ranging example Failed to open the i2c bus: No such file or directory Failed to init API Status: -20 : Control Interface Error Close Comms VL53L0X_i2c_close API Status: -20 : Control Interface Error
No software solution unfortunately! I used a TCA9548A multiplexer and other libraries to get data from two VL53L0X!
I suggest you to get a look on:
adafruit-circuitpython-tca9548a
adafruit-circuitpython-vl53l0x
From two VL53L0X sensors connected to pins GPIO 23 & 24 of a Raspberry pi zero w, running VL53L0X_multi_example.py file, I'm having this output:
I can't understand why this error (API Status: -20 : Control Interface Error), commented as Error during interrupt clear in the Api/core/inc/vl53l0x_def.h, is triggered.
What is going wrong?
The text was updated successfully, but these errors were encountered: