2023-12-15 10:03 PM
The SATEL-VL53L8CX dev boards were all out of stock, so I picked up the LS53LX-SlL8 Light Saber Sensor VL53L8CX by Gilisymo for debugging before I build my own PCB. I am interfacing with the sensor via the Adafruit itsy bitsy nRF52840 (but have also used the xiao nRF52840 Sense and the ESP32-S3 QtPy for debugging purposes).
I had previously been able to work with the VL53L5CX easily using the Sparkfun library with a very similar set up. However, using the STM32duino library I can't communicate with the sensor via my nRF52840. The
Solved! Go to Solution.
2024-01-11 09:52 AM
Hello everyone who may be viewing this:
The issue ended up being that the vl53l8cx_class library uses 0 for success and 1 for failure for many of the status checks. This is inverted from other libraries so I naively assumed this library would function just like other libraries for other ST sensors. But the code snippet I included does work as long as you invert all the status checks.
2023-12-25 06:33 PM
Hi
From your issue description, issue seems more link to HW connection, can you share your connection detail and 54-ls53lx-s-l8cx schematic? make sure the AVDD, IOVDD and Core_1V8 are connected correctly.
LPn pin was pull up and SPI_I2C_N was pull down.
Reference schematic as below
Br
Zhiyuan.Han
2024-01-11 09:52 AM
Hello everyone who may be viewing this:
The issue ended up being that the vl53l8cx_class library uses 0 for success and 1 for failure for many of the status checks. This is inverted from other libraries so I naively assumed this library would function just like other libraries for other ST sensors. But the code snippet I included does work as long as you invert all the status checks.