Skip to content

camera reset by power down line: make delay configurable #742

Open
@hsteinhaus

Description

@hsteinhaus

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:

vTaskDelay(10 / portTICK_PERIOD_MS);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions