USB B Connection Failure with STM 767 ZIT
USB Issues with STM32F767-ZIT – Project Status
I’m an amateur working on building an electronic device. Currently, I’m in the planning and prototyping phase and creating my own PCB design. My current project is based on the STM32F767-ZIT, and I’m having trouble getting the USB (USB-B) connection to work.
Hardware Setup
Power: VBUS is powered through a ferrite from 5 V on the female USB-B jack.
Data lines: D+ and D- are connected to PA11/PA12, each with 22 Ω resistors.
GND: connected to the board.
HSE: 8 MHz
Wires: relatively short, nothing unusual.
Current Behavior
When connecting to a PC:
Windows plays the device connect sound, and a device appears in Device Manager.
The device shows as “Unknown USB Device (Device Descriptor Request Failed)”.
Properties:
Device type: USB Controller
Manufacturer: Standard USB Host Controller
Status: “This device has been stopped because it reported problems (Code 43)”
USBView shows: FailedEnumeration: Unknown USB Device (Device Descriptor Request Failed)
Oscilloscope Observations
D+ shows 3–4 pulses when plugged in, then stays high (~3 V).
D- shows no activity, stays at 0 V.
Testing PA11/PA12 as GPIOs produces clean square waves on both lines.
When switching back to USB mode, D- remains at 0 V, and communication fails.
Software / Tools
Windows SDK + USBView for debugging
USBView debug information:
[Port2] FailedEnumeration: Unknown USB Device (Device Descriptor Request Failed)
ConnectionStatus: FailedEnumeration
Device Bus Speed: Full
bLength: 0x00 (should be 18)
bDescriptorType: 0x00
bcdUSB: 0x0000
Device enumeration failure
Notes
I am not using VBUS sense on PA9. It seems optional, since Windows still detects a device (sound notification), so it appears functional in part.
