Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate.
- Described the feature in detail and justified the reason for the request.
- Provided specific use cases and examples.
Feature description
Certain boards contain a fixed-function reset component to reset the camera during power-up. For instance the the M5Stack AtomS3R-CAM uses a reset circuit called CN809S
, that introduces a fixed delay of 140+ ms after the pwdn line level came down.
On such boards, the SCCB_Probe()
will subsequently fail to detect the sensor, that is still held in reset by the reset circuitry.
Use cases
All boards that employ a camera reset logic that cannot be controlled by the MCU. This is quite common in case of lack of PCB space or available GPIOs.
Alternatives
Changing the hardware - not really an option for a component sourced commercially out of the shelf.
Additional context
Link to the affected product: https://docs.m5stack.com/en/core/AtomS3R%20Cam
Schematic of the affected board: https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/products/core/AtomS3R%20Cam/Sch_M5_AtomS3R_CAM%E5%B0%8F%E6%9D%BF.pdf
Affected line of code:
esp32-camera/driver/esp_camera.c
Line 196 in 4467667