Skip to main content
Associate III
September 18, 2026
Question

STM32H573 USB FS interface max 8 endpoints

Greetings,

I am not quite a USB, or USBX, expert, but I do have a question.

I have a custom HW design utilizing the H573, and the USB FS port, which according to the datasheet

supports a max of 8 configurable endpoints.

We have a USB Hub chip integrated into the HW design, and hoped to support 4 USB devices behind

the hub. Assuming that each device is a 2.0 USB Flash Drive (Sandisk, or whatever vendor),

and each USB Flash drive consumes 3 endpoints (control, IN and OUT), this is twelve endpoints just for

the flash drives.

The number 8 (endpoints), is fixed in STM32H5 hardware?

 

Am I correct in saying that the four flash drive application will never work?

 

Thanks

Ken

2 replies

gbm
Super User
September 19, 2026

A simple mass storage device (BOT-SCSI) uses only one pair of endpoints. H5 supports 8 pairs.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
ST Technical Moderator
September 21, 2026

Hi ​@microcoder 

In host mode, the STM32 does not allocate device endpoints; it uses host channels or pipes to interface downstream devices. A typical USB mass storage flash drive uses EP0 + one bulk IN + one bulk OUT endpoint. The host uses one control pipe per connected device address. It’s not 4 independent hardware EP0s on the host controller.

I hope it’s clear

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL