Skip to main content
Associate
December 17, 2024
Question

How to Increase USBD_VIDEO_EPIN_HS_MPS for Higher FPS in UVC with STM32U5G9ZJT6Q

  • December 17, 2024
  • 0 replies
  • 462 views

Hello Everyone,

I am working on a UVC project using the STM32U5G9ZJT6Q MCU, capturing 8-bit data via DCMI and streaming it over USB UVC to VLC or Windows Camera. To achieve higher FPS, I need to increase the USBD_VIDEO_EPIN_HS_MPS (High-Speed Max Packet Size) above 2500.

However, when I try to set USBD_VIDEO_EPIN_HS_MPS beyond 2000, the image does not display, and no data appears in Wireshark.

Is there a way to increase USBD_VIDEO_EPIN_HS_MPS above 2500 reliably, or are there specific configurations needed to support higher packet sizes?

Any guidance or insights would be greatly appreciated.

Thank you in advance!