cancel
Showing results for 
Search instead for 
Did you mean: 

OV2640 no bytes in DMA

Grat04
Visitor

 

I'm using an STM32H7 microcontroller to interface with an OV2640 camera. I'm utilizing the 8-bit DCMI interface to capture data from the camera and transfer it to a DMA FIFO buffer. My camera configuration includes generating an 8MHz MCO signal for the MCLK input on the OV2640. I'm processing the data with a Digital Signal Processor to obtain RGB565 format at a resolution of 120x160 pixels. Currently, my HSYNC is set to HIGH, VSYNC to LOW, and I'm using a pixel clock with a rising edge. The problem I am having is I get no valid bytes from the DMA FIFO buffer. I get the value of 0x00. Below is my main.c with the functions running the program, the values I write to the register also work. Please help.

Screenshot 2025-04-28 094027.pngScreenshot 2025-04-28 094135.pngScreenshot 2025-04-28 094201.pngScreenshot 2025-04-28 094228.png

0 REPLIES 0