HS-6 USB D+ pull-up doubled or missing¶
| Severity | Status | Implementation |
|---|---|---|
| warning | planned | mid, depends on NET-7, IMP-9 |
Looks at. USB data nets, resistors to a rail, whether the PHY has the pull-up built in (library).
What it catches. An external 1.5 kΩ pull-up on D+ (or D- for low speed) of a USB device whose PHY already has it built in, or no pull-up on a device whose PHY lacks it.
Why it matters. The host detects a device and its speed by which line is pulled up. Without the pull-up the device is never seen. With two, the line is pulled harder than the specification allows, the device cannot disconnect in software (the external resistor stays on), and a high-speed PHY cannot complete its chirp, which needs the full-speed pull-up switched off. A pull-up powered while VBUS is absent also back-drives the host.
Example. An STM32F103 needs the external 1.5 kΩ on USB_DP; most later STM32 families have it embedded (AN4879 Table 3 lists it as embedded for the STM32F072, for example). A board moved from an F103 to an F072 keeps the old resistor: two pull-ups in parallel, and the device can no longer disconnect in software, so a firmware reset into a bootloader is not seen as a re-attach by the host.
How to check. For each USB device port find resistors from D+ and D- to a rail; compare with the PHY's library flag "internal pull-up" (RP2350, most STM32) or "needs external 1.5 kΩ" (STM32F102/F103).
Fix. Remove the external pull-up on PHYs that have one; add 1.5 kΩ ± 1% to 3.0-3.6 V on those that do not, switched by a GPIO or by VBUS detection so it is only on while VBUS is present (AN4879 §3.1).
References. AN4879 Table 3 ("Pull-up resistor on USB_DP line"), §3.1.1-3.1.2; RP2350 HW §5.1; USB 2.0.