STM32U599VJT USB Not Working on Custom Board (DFU and Application Firmware)
Hi everyone,
I'm using an STM32U599VJT on a custom board and I'm having trouble getting USB to work.
Problem
The MCU cannot be detected by a PC through USB under any condition:
-
USB DFU mode does not appear when entering the system bootloader.
-
USB also does not work from my application firmware.
-
Windows reports "Unknown USB Device (Device Descriptor Request Failed)" (Error 43).
What I Have Verified
-
The MCU successfully enters the system bootloader.
-
I can program and communicate with the device through the UART bootloader without any issue.
-
Therefore, I am confident that the MCU is actually entering the ROM bootloader.
-
VDDUSB is powered at 3.3 V.
-
VBUS sensing is connected and reads approximately 3.3 V when connected to the PC.
-
USB-C CC configuration is present and the board receives power correctly from the PC.
-
USB D+ measures approximately 3 V.
-
USB D− measures approximately 0 V.
-
The board uses a 25 MHz HSE crystal.
-
The USB signals pass through a USB mux that is shared with an ESP32.
-
The ESP32 can enumerate and communicate with the PC normally through the same USB connector, cable, and mux path.
Because the ESP32 works correctly through the same USB path, I believe the USB connector, cable, CC configuration, and USB mux are functioning properly.
I will attach the schematic of the USB section and related power circuitry below.
Any suggestions would be greatly appreciated.
Thank you.



