Skip to content

Lockups with OV7670 camera at 24MHz #4644

@jepler

Description

@jepler

This is a weird one, but both @jerryneedell and I have seen it.

If an OV7670-style camera is plugged into the Grand Central M4, and a 24MHz PWM signal is generated on pin D29, then "weird stuff™" happens. This causes a crash or hard-fault during camera initialization (before the new ParallelImageCapture object is even instantiated), and occasionally things that look like non-fatal memory corruption. If the PWM signal is slower (nominal 16MHz, actually 17.mumble MHz) then things are OK.

The problem seems not to occur when the OV7670 is not connected. The OV7670 starts generating input signals on PCC_CLK, PCC_DEN{1,2}, PCC_D{0-7} as soon as the external clock signal is applied. No special functions should be enabled on those pins, though!

I have failed to track this down more closely. As the desired clock rate for the OV7670 is 24MHz it would be good to discover and fix the problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions