Hi, I am trying to use SPI with the VL53L8CX but i just cant get it to work. I2C is working fine but SPI not at all. I read at the ST-Forum about a faulty level shifter… Solved: VL53L8CX SPI doesn't work properly - STMicroelectronics Community.
Any help is welcome.
Thanks!
Hello.
We test these the SPI communication on every unit, so the board itself is probably okay (or at least, it was probably okay at some point). However, as we note on the VL53L8CX carrier product page, the level shifter on this board is more sensitive to external loads than the circuit we typically use, so we recommend taking extra care to keep connected communication wires short (ideally under 3 inches or 8 cm) and limit other devices on the same I²C or SPI bus.
Can you provide more details about how you are trying to use the VL53L8CX (microcontroller, power supply, etc.) and post some pictures of your setup that show all of your connections? Also, can you look at the SPI signals with an oscilloscope and post captures of what you find?
- Patrick