2025-02-19 9:46 AM
Hello,
I am currently trying to connect a Pololu VL53L8CX breakout board https://www.pololu.com/product/3419 with flying wires to an STM32 Nucleo-144 F767ZI via the Arduino I2C example. https://github.com/stm32duino/VL53L8CX/blob/main/examples/VL53L8CX_HelloWorld_I2C/VL53L8CX_HelloWorld_I2C.ino
I already read most issues regarding the connection and loaded the I2C scanner suggested here https://github.com/stm32duino/VL53L8CX/issues/5 into a separate file. The scanner returns no I2C devices found. I then wrote a small Input Output program to test the serial connection to the Nucleo without the Pololu board, and the communication worked. The level shifter also seems to be ok, It is an NXS0108, let´s hope NSX fixed their issues with that iteration. For the I2C initiation, I only used wire instead of wire1 without results.
I am completely new to the CubeIDE, and the API integration is also something I have never done. It would help me a lot if you could share additional resources, on how to integrate your drivers with a project, but I would prefer to get It running in the Arduino framework first.
Thank you in advance, your time is valued
2025-03-06 5:49 AM - edited 2025-03-06 5:50 AM
Hi @MaFeBo ,
I gave a look at the schematics of the Polulu VL53L8CX breakout board and it seems to me that the Pull-Up resistors on the I2C pins are missing. Could you try to add such resistors on your hardware setup?
I suggest also to open an issue on the STM32duino VL53L8CX library, so all the community can get information about the solution of this issue.
Best Regards,
Carlo