fix(s3-eye): initialize camera SCCB I2C bus with explicit pins - #4
Open
EzFavorites wants to merge 1 commit into
Open
fix(s3-eye): initialize camera SCCB I2C bus with explicit pins#4EzFavorites wants to merge 1 commit into
EzFavorites wants to merge 1 commit into
Conversation
The ESP32-S3-EYE board camera.c used -1 for pin_sccb_sda/pin_sccb_scl (shared I2C bus), but no code initialized I2C1 before esp_camera_init. This caused SCCB probe to fail with ESP_ERR_NOT_SUPPORTED. Fix: use the actual SCCB GPIO pins (4, 5) so SCCB_Init installs the I2C driver. Also remove stale OV2640 sdkconfig entries since the board uses a GC2145 sensor.
Collaborator
|
Hi, @Crafter-feng . Thank you very much for your contribution. The camera version on the ESP32-S3-EYE is the OV2640 — this is an official development board, and there doesn't seem to be a version with the GC2145. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The ESP32-S3-EYE board camera.c used -1 for pin_sccb_sda/pin_sccb_scl (shared I2C bus), but no code initialized I2C1 before esp_camera_init. This caused SCCB probe to fail with ESP_ERR_NOT_SUPPORTED.
Fix: use the actual SCCB GPIO pins (GPIO 4, 5) so SCCB_Init installs the I2C driver. Also remove stale OV2640 sdkconfig entries and update the sensor ID in boardconfig.h since the board uses a GC2145 sensor.