USB-14 Hub straps and upstream VBUS detect not per the datasheet¶
| Severity | Status | Implementation |
|---|---|---|
| error | planned | hard, depends on NET-7, CFG-2, CFG-5 |
Looks at. Hub part type, strap pins, its datasheet rules.
What it catches. A USB hub whose configuration straps (CFG_SEL, NON_REM, LOCAL_PWR/SELF_PWR, port disables) or upstream VBUS detect are wired against its datasheet or against what the board needs: ports marked removable that are soldered down, self-powered straps on a bus-powered board, VBUS_DET tied to a rail on a detachable hub, a configuration mode that waits for a host that is not there.
Why it matters. Hubs read their straps once at reset and then behave accordingly. Wrong power straps make the hub report a power mode it does not have (ports limited to 100 mA, or over-current reports ignored); a wrong NON_REM breaks the host's view of what is removable; a VBUS_DET tied high keeps the pull-up on without a host (USB-12); an SMBus or EEPROM configuration strap with nothing to configure the hub leaves it silent forever.
Example. B153A's USB2512B/USB2514B is strapped for SMBus configuration (CFG_SEL0 = SCL high, CFG_SEL1 low): out of reset it waits for the MCU to configure it over I2C. Its RESET_N has R304 10 kΩ to GND, so after any MCU reset the hub is held off, and the STM32 ROM bootloader (USB DFU) behind it never reaches the host. VBUS_DET is tied high by R307, although the datasheet asks for a 2:1 divider from upstream VBUS on a detachable hub.
How to check. Per hub family, the datasheet's strap table and pin rules (from the part library), checked against the nets and against the project's intent (self or bus powered, which ports are on board).
Fix. Wire each strap per the datasheet for the intended mode; VBUS_DET from upstream VBUS through the 2:1 divider; for SMBus-configured hubs, make sure the configuring part is up whenever the hub is (LOGIC-5), or use the default configuration with straps.
References. USB251xB §3.3 (pin descriptions; VBUS_DET: two 100 kΩ from upstream VBUS on a detachable hub; NON_REM[1:0]), §3.3.1 (configuring the strap pins), Table 5-1 (CFG_SEL[1:0] configuration options); USB 2.0 §7.2.1.1, §7.2.1.2 (bus- and self-powered hubs); B153 rev B change list (hub RESET_N pull-up).