2022-06-20 02:04 AM
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:
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.
2022-06-20 02:23 AM
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
2022-06-20 02:44 AM
Yes I tried Arduino Lib and works but I need a library that works on ESP IDF
2022-06-20 06:27 AM
Hi,
The driver works on the STM32 and Arduino, sorry but I'm not familiar with the ESP IDF framework to help you !
Julien