cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L4CX integration with esp32 problem

Mcabe.1
Associate II

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.

3 REPLIES 3
Julien NGUYEN
ST Employee

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


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Mcabe.1
Associate II

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

Julien NGUYEN
ST Employee

Hi,

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

Julien


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.