cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing two cameras with an STM32 Microcontroller

martinj3456
Associate III

Hello all,

I have one query.

Can we interface two cameras directly with an STM32 microcontroller (could be a H7 or F7 series) via DCMI lines or other interfaces? Is there any mechanism to share the common DCMI lines (similar to the SPI slaves) ?

I have found some examples of STM32h7 examples where an OV camera is connected to the MCU through DCMI lines. I was just wondering whether we can use STM32 DCMI interfaces for developing a stereo camera.

I thank you in advance for your suggestions.

1 REPLY 1

The SPI slaves threestate their MISO lines when not selected, thus they can be wired together.

Is the same available for the cameras?

Or, simply use an external multiplexer. It would be controlled by a pin toggled in the vsync interrupt.

The cameras would need to run in sync, so make sure they are capable of being externally synchronized, and you would have only every other frame available from either camera.

JW