2024-04-08 06:59 PM - edited 2024-04-09 10:04 AM
I previously made another post regarding minimal adjustments to the DCMI example from the v1.4.0 MCU package. I've made several changes since and now, instead of determining the expected performance, would like to maximize the performance, namely the FPS, of the OV5640 (w/ both 720p and 1080p JPEGs).
I've gotten as far as 720p JPEGs coming in around 24fps, solely from increasing OV5640 PCLK (and I'm still working on correctly configuring for 1080p images). Whether it be adjustments to OV5640 configuration, code optimizations, STM clock frequencies, or more, I would like to ask about any and all suggestions for what I can look into.
--------
The general changes I've made so far:
--------
Helpful links:
--------
Development Environment:
2024-04-09 02:14 AM
Hello @afok-esmart ,
The OV5640 imposes the clock frequency on the DCMI peripherical (the OV module is a master and the DCMI is a slave) to increase the fps rate we need to set up correctly the ov5640.
Also, in this case, the DMA must be configured to support the high resolution.
For that could you please check the DMA configuration?
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.
2024-04-09 10:03 AM
Here is my GPDMA1 mode/configuration, based on my CubeMX file:
If it helps, I've also updated my original post w/ details about the IDE version I'm using.
2024-04-15 01:47 AM
Hi. Just checking to see if anyone has any updates about this.