2025-07-22 12:47 AM
Hello everyone,
I’ve integrated USBX configured as a Mass Storage Class (MSC) device into my project, which uses the STM32H743BITx MCU. The project compiles successfully, and the system detects when a USB device is connected. However, enumeration fails.
I’m wondering if this issue could be related to the USB type or the clock configuration. I’ve read that many USB problems stem from clock accuracy.
I’m currently using the internal clock source, specifically the 48 MHz HSI48 oscillator for USB. Is this oscillator accurate enough for USB operations, or is it preferable to use a PLL-generated 48 MHz clock? Unfortunately, I don’t have an external crystal available.
When I try to configure the USB clock using a PLL (e.g., PLLQ) with HSI, I encounter the following error in CubeMX:
“PLL Mux should have HSE as input”
Also, I’m following the same layout as the schematic of the Discovery board. Has anyone experienced similar issues or found a reliable configuration without an external crystal?
Thanks in advance!
2025-07-23 12:53 AM
Here’s the example I’m working with.
However, if HSI48 can be used with an external PHY, then I won’t worry about it anymore.
I’m currently running the ux_host_hub_hid_msc example (v3.3.0) for the STM32H747I-DISCO board, and I’m encountering an issue when enumerating a USB MSC device, it fails right after plugging it in.
I’m using USBX.
At first, I suspected the problem might be related to the clock configuration, but as you mentioned, that shouldn’t be the case…
What should I do?