cancel
Showing results for 
Search instead for 
Did you mean: 

VL53l8CX SPI not working

susba
Associate

Hi,

I am using VL53L8CX sensor from Pololu and connected it with Nucleo-F411RE board. I am using Arduino IDE 2.3 where I have downloaded STM32duino VL53L8CX library. When I run HelloWorld_I2C example with the wire  connections as mentioned with (SPI/I2c-->GND, Lpn-->A3), I am getting the distance result. But when I do the same with the HelloWorld_SPI example with mentioned connection (SPI/I2c-->3v3, Lpn-->3v3), I am getting nothing. When I put the breaker in between, the initialization itself fails saying sensor initialization status 1. 

I would be a great relief if you could help me with this.

Thank you

1 REPLY 1
John E KVAM
ST Employee

This problem is the same as:

 
Basically, the manufacturer thought he would save some money and switched a part on the board. 
- john
 
 

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.