Skip to main content
Mcabe.1
Associate II
June 20, 2022
Question

VL53L4CX integration with esp32 problem

  • June 20, 2022
  • 3 replies
  • 1750 views

I am trying to measure with the sensor VL53L4CX controlled by an ESP32 (4MB Flash) on ESP IDF. I have installed the drivers STSW-IMG029 v1.2.8 and implemented the I2C functions to read from the sensor, but the ESP32 boot when the I2C read something from VL53L4CX showing this error:

0693W00000NsHT0QAN.png 

I don't know if there is a problem with the drivers that corrupts the ESP32 memory.

In the same project i am able to read from VL53L1X and VL53L0X without problem.

This topic has been closed for replies.

3 replies

Julien NGUYEN
ST Employee
June 20, 2022

Hi,

Please try the VL53L4CX official Arduino Lib on your ESP32

https://github.com/stm32duino/VL53L4CX

And tell me if you resolve the issue.

Thanks

Julien

Mcabe.1
Mcabe.1Author
Associate II
June 20, 2022

Yes I tried Arduino Lib and works but I need a library that works on ESP IDF

Julien NGUYEN
ST Employee
June 20, 2022

Hi,

The driver works on the STM32 and Arduino, sorry but I'm not familiar with the ESP IDF framework to help you !

Julien