Skip to main content
Visitor II
January 19, 2024
Question

STM32F USB High speed real throughput

  • January 19, 2024
  • 1 reply
  • 3349 views

Hi,

we have developed a board with a low resolution camera interface using an STM32L0xx MCU.

Now we want to use an HD camera and for this we have a module supporting USB2.0@30fps of 1920H x 1080V frames on USB, so it is really important to use a USB HS @host configuration with full bandwidth untilization (in the range of 400Mbps). 

We see on product selector, there are STM32F2 and STM32F4 series (few par numbers) supporting OTG with host USB HS, but we do not see detailed information regarding the actual performance of those chips in host USB HS mode. Is possible to have a confirmation about the performance of that interface? Are there benchmarking data?    

    This topic has been closed for replies.

    1 reply

    Super User
    January 19, 2024

    I have personally gotten ~42 Mbps in device mode. At the time, the bus was constrained by 48 MHz single data line, so the ceiling may be higher, but it's at least that high.

    Seriously doubt you can get anything close to 400 Mbps. Consider that you have to do something with that data once it arrives.

    STOMPOUAuthor
    Visitor II
    January 19, 2024

    Many thanks for the feedback and the data.

    The app won't have anything time-consuming (no transcoding, no decoding and on-the-fly processing but simple storage), nevertheless if few hundreds of Mbps is not achievable in the so-called HS mode, then it is not HS but FS. 

    This is a decision point whether STM32F MCUs are relevant for embedded HD Video applications as most camera modules provide HS USB connectivity.  

    Super User
    January 19, 2024

    42 Mbps is well above FS speeds. But yeah, I wouldn't put an STM32F4 chip in something like that. Math just doesn't support it.

    1920 * 1080 * 2 byte/pixel * 30 frames/sec = about 1 Gbps.