2024-07-10 03:35 AM - last edited on 2024-07-11 02:48 AM by SofLit
With DCMI (with DMA) and USART only 1.5FPS, why is the frame rate really low?
The output is set to QVGA and formatted as JPEG.
2024-07-10 03:57 AM
Probably because the bandwidth of.the UART is very low?
2024-07-10 04:10 AM
I set the baudrate to 912600, and the camera output is JPEG, so I don't think USART is too slow.
2024-07-10 05:34 AM - edited 2024-07-10 08:03 AM
Hello @Shiina ,
Which camera sensor are you using? Are you encountering the same behavior with RGB?
Please take a look at How to improve DCMI frame rate: An example using a ov5640 camera module may help you to increase the DCMI frame rate.
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-07-10 11:22 AM
Depends on image size and efficiency. Frame rate suggests images about 60KB
2024-07-10 06:56 PM
Thanks, I'm using ov2640, which outputs the jpeg directly.
2024-07-10 06:57 PM
Since I set QVGA, the output jpeg size is generally 4000-5000 bytes.
2024-07-11 12:31 AM
Hello @Shiina ,
I advise you to take a look at JPEG data capture section in AN5020 may help you to check the DCMI configuration.
Do you have the same issue with a different mode and image size?
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-07-11 06:30 AM
Thank you. I haven't tested anything else yet.