Skip to main content
LCord.1
Associate II
October 4, 2021
Question

I cannot see the VL53L5CX device on the I2C Bus. I'm tried it with different arduinos and stm32f401re and with an esp32 dev kit.

  • October 4, 2021
  • 3 replies
  • 1131 views

I have the VL53L5CX-SATEL breakoutbord. The Sensor is working in the VL53L5CX evaluation gui with the X-NUCLEO-53L5A1 evaluation board.

I'm working in the Arduino IDE. The I2C of the VL53L5CX does not work as easy as normal I2C does.

The sensor is working with the example code in the stm32 IDE.

Thanks in advance

Lucordes

This topic has been closed for replies.

3 replies

LCord.1
LCord.1Author
Associate II
October 7, 2021

EDIT got it working by pulling up the PWREN line. Tho this was not written in the datasheet of the satel and if you break the boad in half as intended there is no way to connect to it, and in the datasheet there is nothing indicated.

Anyway I2C works now

MDoc.1
Associate
October 8, 2021

What codes did you put in platform.c

LCord.1
LCord.1Author
Associate II
October 8, 2021

The code that was already there (https://github.com/simondlevy/VL53L5/blob/main/src/st/platform.cpp) and I get the error that I cannot write to it. So wire.write returns 0. Did you change the code in platform.cpp @MDoc.1​ ?