cancel
Showing results for 
Search instead for 
Did you mean: 

Guidance and reference material for integrating OV5640 with STM32H743 using DCMI

shreyaschandran1
Associate

Hello everyone,

I’m working on a project to interface an OV5640 camera module with an STM32H743 MCU via the DCMI interface. I’ve set up the STM32H743 in CubeMX and generated a basic project, but I’m looking for supporting documents, example projects, or reference drivers to help with the integration.

Specifically, I am looking for guidance on:

OV5640 initialization sequence (XCLK, SCCB/I2C configuration, reset/power-down sequence)

Recommended CubeMX DCMI + DMA settings for QVGA RGB565 capture

Memory placement for DMA frame buffers (AXI SRAM vs DTCM vs SDRAM)

Minimal working register tables to enable QVGA or VGA output

Any ST or community examples of STM32H7 + OV5640 projects

 

I understand DCMI + DMA basics, but I am aware that OV5640 requires stricter timing and more complex initialization.

Any pointers to example projects, application notes, or reference drivers would be extremely helpful.

 

Thank you in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @shreyaschandran1 and welcome to the Community;

 

I recommend you to look at AN5020 application note may help you to configure DCMI using STM32CubeMX.

Also, I advise you to get inspired from these available examples:

- DCMI_CaptureMode

DCMI_SnapshotMode

Note these examples used OV5640 camera.

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
KDJEM.1
ST Employee

Hello @shreyaschandran1 and welcome to the Community;

 

I recommend you to look at AN5020 application note may help you to configure DCMI using STM32CubeMX.

Also, I advise you to get inspired from these available examples:

- DCMI_CaptureMode

DCMI_SnapshotMode

Note these examples used OV5640 camera.

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.