Skip to main content
Visitor II
March 7, 2025
Question

Send HD resolution images to B-CAMS-OMV and H747i-DISCO

  • March 7, 2025
  • 1 reply
  • 501 views

 

Hello everyone.

 

I would like to use the STM32H747I-DISCO and B-CAMS-OMV (OV5640) module to view HD resolution images on my PC.

 

I found a good example in the link below that uses the hardware I have.

 

USB_WebCam 

LiamSmith_0-1741306059822.png

 

However, when I add the code to set the HD (1280*720 ) resolution to the example code and run it, the camera is not recognized by the PC.

 

Is it possible to stream high resolution images or send captured images with the H747i-DISCO board and B-CAMS-OMV module?

 

I just want to confirm that it is possible or impossible.

 

 

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    March 7, 2025

    Hello @LiamSmith and welcome to the community;

     

    To support the higher resolution you need to make sure that the DMA is configured to support the higher resolutions.

    In case of a resolution that is 1280x1024, the image size is 655360 words (32 bits). This size must be
    divided into equal buffers, with a maximum size of 65535 for each of them. To be correctly received, the image
    must then be divided into 16 frame buffers, with each frame buffer size equal to 40960 (lower than 65535).

    An example is developed and described using this DMA configuration in AN5020 Section 8.3.6: Resolution capture (YCbCr data format).

    Also, I think this FAQ How to improve DCMI frame rate: An example using a ov5640 camera module can help you.

    OV5640 sensor is supposed to support up to 5 Megapiexel (2592×1944) resolution. Also, I don't find any problem for HD resolution to be supported by the STM32H7. The DCMI interface is very sensible to latency for memory access, for that make sure that no huge concurrent access to the memory by other masters.

    What do you mean by "the camera is not recognized by the PC."? Do you have the same issue posed here?

     

    Thank you.

    Kaouthar