cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H750VBT6 DCMI USART

Shiina
Associate III

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.

Shiina_0-1720607635646.png

Shiina_1-1720607659868.png

Shiina_2-1720607674883.png

 

8 REPLIES 8

Probably because the bandwidth of.the UART is very low?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I set the baudrate to 912600, and the camera output is JPEG, so I don't think USART is too slow.

KDJEM.1
ST Employee

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.

Depends on image size and efficiency. Frame rate suggests images about 60KB

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thanks, I'm using ov2640, which outputs the jpeg directly.

Since I set QVGA, the output jpeg size is generally 4000-5000 bytes.

KDJEM.1
ST Employee

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.

Thank you. I haven't tested anything else yet.