Board: ESP32-S3 (Freenove ESP32-S3-WROOM CAM clone with OV2640)
Sensor: Adafruit VL53L0X breakout
Framework: Arduino ESP32 core
I2C pins: SDA=GPIO47, SCL=GPIO21 (verified clean with multimeter, toggled under full firmware with no conflicts)
Problem:
I2C scan found VL53L0X at 0x29 successfully. lox.begin() was then called, failed, and the sensor has never responded on any I2C scan since - on the ESP32 or on a standalone Arduino Uno. The sensor appears permanently damaged after a single failed lox.begin().
Exact sequence:
1. Camera initialized with sccb_i2c_port = 0
2. Wire1 initialized on SDA=47, SCL=21
3. I2C scan found device at 0x29
4. lox.begin(0x29, false, &Wire1) called, returned false
5. All subsequent I2C scans find nothing at any address
6. Full power cycles (10+ seconds) do not recover it
7. Sensor tested on standalone Arduino Uno with stock Adafruit example - fails to boot, I2C scan finds nothing
Power LED on sensor is lit. I2C interface is completely dead.
This one died probably from a failed lox.begin() call.
Key error log from earlier attempts:
E (524) i2c.common: I2C bus id(1) has already been acquired
E (524) i2c.common: acquire bus failed
E (528) sccb-ng: failed to install SCCB I2C master bus on port 1: ESP_ERR_INVALID_STATE
Questions:
1. Can a failed lox.begin() on ESP32-S3 permanently damage a VL53L0X by sending malformed init commands?
2. Is there a known issue with the Adafruit VL53L0X library's init sequence on ESP32-S3 with the OV2640 camera running simultaneously?
3. Is there a recommended approach for running OV2640 camera and an I2C sensor simultaneously on ESP32-S3 that avoids SCCB/I2C conflicts?
Happy to provide full sketches.
VL53L0X dies after failed lox.begin() on ESP32-S3
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 3 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!