Open hardikofficial963 opened 1 day ago
what pull-up registers are used by the I2C bus? Are you using the esp32-camera library for driving the camera sensor? Can you use the i2c driver to read/write OV5640 registers correctly (no other dependency, just using the i2c master driver in the esp-idf)
what pull-up registers are used by the I2C bus? Yes, we have tried 2k, 5k, 10k ohm pull up.
Are you using the esp32-camera library for driving the camera sensor? Yes
Can you use the i2c driver to read/write OV5640 registers correctly (no other dependency, just using the i2c master driver in the esp-idf) No, currently we are trying to test camera with Arduino Camera webserver example.
This issue is not clear enough to determine whether it is a problem with the sensor or the development board. Here is a reference document. Perhaps using an official development board and running the examples here is a good way to check.
@WangYuxin-esp
The OV5640 sensor works perfectly on the ESP32-S3-Korvo-2 V3.0, as I’ve tested it thoroughly. However, we’re encountering reliability issues with our custom PCB.
Initially, when the PCB is assembled, the camera functions as expected, but after some time, it begins to throw a "Camera Initialization Error", "Camera SCCB Error", "Camera Not Found". In this state, if I move the same camera module to the ESP32-S3-Korvo-2, it continues to work flawlessly.
This leads me to suspect a hardware-related issue with our custom PCB. Could you please provide guidance on potential causes or troubleshooting steps to resolve this problem?
Firstly, double check that the pin configuration in the software configuration is consistent with the hardware. Then we can use an oscilloscope or logic analyzer to compare the relevant circuits on the official development board and custom development board. Including power pins such as XCLK Pin and DVDD Pins.
Answers checklist.
General issue report
We are currently developing a custom PCB based on the ESP32-S3 that integrates the following components:
While all other components are functioning as expected, we are facing a recurring issue with the camera.
Issue Description: The PCB works fine initially after assembly, but after some time, the camera fails to initialize, showing errors such as:
Steps Taken:
Testing with Custom PCB: The camera works immediately after assembly but stops functioning after some time. Testing with ESP32-S3 Development Board:
We connected the OV5640 camera using an FFC breakout board and the same pins used in the custom PCB. The same initialization errors occur.
Attachments for Reference:
Could you please help us identify and resolve the issue? Any insights or suggestions would be greatly appreciated.
Looking forward to your guidance.