2025-06-23 1:04 AM
Dear ST Support Team,
I am currently working on a USB Host Mass Storage Class (MSC) implementation using the STM32H750VBT6 microcontroller.
:white_heavy_check_mark: The configuration is done using STM32CubeMX (version: [ V6.14.1])
:white_heavy_check_mark: Firmware package used: STM32Cube FW_H7 V1.12.1
:white_heavy_check_mark: USB_OTG_FS is configured in Host Only mode, and FATFS is integrated via USB Host interface.
:white_heavy_check_mark: USB 2.0 flash drives are detected and work as expected.
:cross_mark: However, when I connect USB 3.0 / 3.1 / 3.2 flash drives (FAT32 formatted), the drives are **not detected**, and `Appli_state` remains `APPLICATION_IDLE`.
---
:magnifying_glass_tilted_left: I would like clarification on:
1. Whether the STM32H750VBT6 supports USB 3.x devices (backward compatibility) in USB Host mode?
2. If not supported, is there any workaround to support USB 3.0+ flash drives with this MCU?
3. Is there any documented limitation or Error regarding USB 3.x detection failure?
4. Also, please share any recommended USB MSC Host example that is verified on CubeMX (latest version) + STM32Cube FW_H7 V1.11.0 for STM32H750VBT6.
---
:paperclip: I have attached full code :
- The `.ioc` file generated using STM32CubeMX with the mentioned configuration.
- The `main.c` source showing MSC file creation logic.
- CubeMX settings and middleware configuration.
Schematic diagram of USB section & Pinout :
I kindly request a reference CubeMX `.ioc` file from your side, generated using **STM32CubeMX (V6.14.1)** + **STM32Cube FW_H7 V1.12.1**, specifically for STM32H750VBT6 USB Host MSC detection, to ensure my setup is valid.
Thank you ...
2025-06-23 2:52 AM - edited 2025-06-23 2:54 AM
The host controller of STM32H750 is at most capable of High speed, it cannot work in super-speed mode.
Please inspect the descriptors of this USB drive. Maybe it has multiple configurations and the High speed is not the 1st one. If the drive has a configuration for USB 2.x compatible mode, select this configuration.
Quick check: connect this USB drive to a Windows PC via USB 2.0 hub (not 3.x!) and see if it is detected.
2025-06-23 3:30 AM
Since the MCU hardware and USB Host controller do not support USB3.x super speed, the detection relies on the device falling back to USB 2.0 mode. If it fails the quick test, then device is non compliant and it violates USB protocol specifications.
So, you may inspect USB Descriptors: Use tools like USB Device Viewer (Windows) or lsusb -v (Linux) to check the configurations and interfaces descriptors.
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.