

R2022-12
Cascading, per port power switching usb2.0-HS 7 port hub
- Size
- 100 × 80 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 138
- Nets
- 111
- Pads
- 533
- Tracks, vias
- 1,262, 281
- Pours
- 12
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 20 Mar 2020
- Updated
- 21 Dec 2023
Overview
R2022-12 is an open-source printed circuit board by karlp, from the karlp/hubbish repository on GitHub. It is a 4-layer board of 100 × 80 mm with 138 parts on 111 nets, routed with 1,262 tracks and 281 vias.
It is built around the SIC437AED, USB2517I-JZX-TR and SRV05-4-P-T7, with the M24C02-WMN6TP, AMS1117-3.3V and CC0603KRX7R9BB104 among its other parts. Its parts include 48 capacitors, 35 resistors, 19 ICs, 12 diodes and 8 connectors.
Main components
12SIC437AED
MLP44-24L(4x4)-40℃~+125℃ 1 12A 300kHz~1MHz 3V~28V 50uA 600mV~20V Adjustable Buck Buck Built-in Yes MLP44-24L(4x4) DC-DC Converters ROHSVishay IntertechnologyDC-DC ConvertersUSB2517I-JZX-TR
QFN-64-EP(9x9)-40℃~+85℃ 130mA 3V~3.6V 480Mbps 7 Controller USB 2.0 QFN-64-EP(9x9) USB Converters ROHSMicrochip TechnologyUSB ConvertersSRV05-4-P-T7
SOT-23-612V 1A@8/20us 3.5pF 500W@8/20us 5V 5uA 6V ESD Four channels IEC 61000-4-2、IEC 61000-4-5、IEC 61000-4-4 SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSPROTEKESD And Surge Protection (TVS/ESD)M24C02-WMN6TP
SOIC-8-40℃~+85℃ 2.5V~5.5V 200 Years 2Kbit 4,000,000 Cycles 400kHz 5ms I2C SOIC-8 EEPROM ROHSSTMicroelectronicsEEPROMAMS1117-3.3V
SOT-223-20℃~+85℃ 1 1.2A 1.5V@(800mA) 15V 3.3V 5mA Fixed Positive Thermal shutdown SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSJSMSEMIVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsCC0603KRX7R9BB104
0603100nF 50V X7R ±10% 0603 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHSYAGEOMultilayer Ceramic Capacitors MLCC - SMD/SMTCL31A107MQHNNNE
1206100uF 6.3V X5R ±20% 1206 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHSSamsung Electro-MechanicsMultilayer Ceramic Capacitors MLCC - SMD/SMTLTST-C195KGJRKT
SMD-4P,1.6x1.5mm-55℃~+85℃ 130° 20mA 2V、2V 35mcd、45mcd 571nm、631nm 574nm、639nm 75mW Discrete Diode Red, Yellow Green Water Clear SMD-4P,1.6x1.5mm LED Indication - Discrete ROHSLite-OnLED Indication - DiscreteCL21A106KAYNNNE
080510uF 25V X5R ±10% 0805 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHSSamsung Electro-MechanicsMultilayer Ceramic Capacitors MLCC - SMD/SMTCL31A106KBHNNNE
120610uF 50V X5R ±10% 1206 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHSSamsung Electro-MechanicsMultilayer Ceramic Capacitors MLCC - SMD/SMT907-111A1012D10200
插件17.3mm 2 8P Female Right Angle Type-A USB 2.0 White 插件 USB Connectors ROHSJing Extension of the Electronic Co.USB ConnectorsHSM6115
SOP-81 P-Channel 11A 141pF 2.5V 25mΩ@10V 25nC@4.5V 3.635nF 5.2W 60V SOP-8 MOSFETs ROHSHUASHUOMOSFETs
README
README.mdHubbish is not rubbish.
Hubbish is a USB 2.0 HS hub. And? It has per port power switching and overrcurrent shutoff. And? It is designed for cascading, with 6 ports for user devices on the front, and ports on each side for directly plugging together. And? That's it.
but why.gif?
Per port power switching was a goal. Also, "this should be really simple!" Also, to make the physical layout sensible for the desired use case. Initially, this project was conceived to be part of regression testing the USB stack for libopencm3. The minimal test setup there required 17 USB devices. This is also why the ports are paired. It's setup to have one port for the DUT and one for the test driver. They are otherwise completely independent.
That's all folks!
Design goals
Cheap as shit, but fully functional. So, cheapest china compatible parts for everything, but to avoid running into hub depth limits, and make config simpler, still using a 7 port hub, not attempting to cascade 4 port hubs. Given that the original design goal requires 3 stacked hubs for 18 test ports, caascading hubs internally was not appealing.
Still, doing usb-hs on 2 layers requires fat traces and isolation to do properly, so this setup is currently targetting jlcpcb's cheap as shit 4 layer 2313 stackup.
Oh, and design it to actually go in a case.
Origins
This project was split out from the libopencm3-tests repository when it became apparent that it was it's own monster.
Versions
"r4" r2022-12
Status
Only on paper, mostly, uses a proper matched pair to "correctly" implement the auto vbus/5v switchiver. (I misunderstood the use of the matched pair, and just used two discrete transistors in overzealous BOM optimization. TBD: fixes the pwoer good indicator on the main supply as well? Still need to work on the "local power" portion a bit more fully? (or double check it?)
"r3" r2022-10
Improvements
After a long hiatus, I decided to get back to it, and not even bother assembling the r2 boards I had gotten back. I had already found some errors, which I can't remember entirely right now, so we just moved forward to r3: This has a very overhauled BOM, to match JLC's assembly service, rather than just something to assemble myself by hand. Some footprints change to suit this as well.
Status
This was built and assembled by JLC. It works ok. It doesn't switch between bus powered and self powered very well, iirc. The hub's "local power" flag isn't handled properly, and that's just my error. The board still uses optional A-male or B-micro for the upstream USB connection, and "obviously" that should all be PD and type-C these days :) maybe one day... Finally, the dual colour leds chosen aren't really very good at showing two colours for low speed / full speed / high speed, particular the difference between FS and HS, which is the more interesting one. Should revisit that, but I had enough on with this revision to not do more. The "Power Good" LED for the onboard DCDC supply doesn't work properly either, again, my error, but not really critical. Finally, the polarity protection FET is only rated to Vgs of 30V. It's suggested (rightly) that this is really pushing it for a 24V design, and I should look for a better option there.
But, the 40W supply works! This is the biggest DCDC supply I'd ever made myself. (FIXME - add the picture of all the usb load testers plugged in) And not just works, it works and keeps cool, and you can deliver all that power to all 7 downstream ports, up to the limit of each of the load switches.
This design also just decided that programming the EEPROM was the right thing to do, as it also lets you arrange the LEDs nicely to match the ports, and provide proper serial numbers, which are also an important part of a big cascaded port power switching design. [generatei2c.py] is a python script that generates commands for use with i2cutils to program the eeprom via the header. I used the i2c_tools example on an ESP32 devboard to do this. It's... very simplistic, but it's enough.

- Schematic-r3
- Load testing all ports at once. (I have thermal images, but have lost them... will have to retest)

"r2" r2021-03 (lol, finished and ordered 2022-06)
Improvements:
Adds a 30-40ish Watt power supply. Inductor is rated to 9A, regulator to 12A. Per port power switches are still 1A nominal, so nominally 7x5x1 = 35W for the ports plus around .5x3.3 for the hub itself, or an extra say 2W.
Resizes to 100x80mm so cheaper manufacturing again. We're no longer trying to find an off the shelf case. Places like 3d craft cloud have gotten so cheap I'm going to just make a custom case and have it printed on demand.
What's it look like?

Bugs
This doesn't have ground connected for two caps on the 3v3 rail, and would have needed some bodge wires, but I seem to recall there being something else, to the point that I decided to not even bother assembling it, and just move on to a rev3, designed for JLC assembly.
r2020-03
What's it look like?

Bugs
- Missing a serial resistor for the crystal. Doesn't enumerate the hub without it.
- Needs a jumper wire if yout want to actually run it as a bus powered hub for testing.
- Port numbers are super wonky.
- .... doesn't actually work? I suspect I just have assembly issues, but...
- Bigger than 100x100, which fits the Bud case nicely, and didn't matter when 4L was always just size based but now that jlc is doing 4L super cheap for under 100x100, this can be considered a bug
- vertical (z axis) positioning of the usptream usb-a-male and downstream usb-a-female for chaining doesn't align properly.
Parts
138| Qty | Value | Footprint | References |
|---|---|---|---|
| 14 | 100nF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C3, C8, C10, C11, C12, C14, C15, C16, C18, C19, C41, C43 |
| 14 | 1uF | Capacitor_SMD:C_0603_1608Metric | C6, C7, C9, C13, C17, C20, C21, C22, C23, C24, C25, C26, C39, C40 |
| 13 | 10k | Resistor_SMD:R_0603_1608Metric | R2, R3, R4, R5, R6, R7, R8, R14, R15, R16, R25, R33, R34 |
| 9 | 330 | Resistor_SMD:R_0603_1608Metric | R1, R10, R18, R19, R20, R21, R22, R23, R24 |
| 8 | NUP4202 | Package_TO_SOT_SMD:SOT-23-6 | U2, U11, U12, U13, U14, U15, U16, U17 |
| 7 | 100uF | Capacitor_SMD:C_1206_3216Metric | C27, C28, C29, C30, C31, C32, C33 |
| 7 | APL3511C | Package_TO_SOT_SMD:SOT-23-5 | U4, U5, U6, U7, U8, U9, U10 |
| 7 | LTST-C195KGJRKT | LED_Dual:T1615_LiteOn_LTST_C195x | D4, D5, D6, D7, D8, D9, D10 |
| 6 | 10uF | Capacitor_SMD:C_0805_2012Metric | C42, C44, C45, C46, C47, C48 |
| 4 | 10uF/30+ | Capacitor_SMD:C_1206_3216Metric | C34, C35, C36, C37 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 4 | TestPoint | et-parts:TestPoint_Plated_Hole_0.6_D0.8mm | TP1, TP2, TP3, TP4 |
| 3 | 100k | Resistor_SMD:R_0603_1608Metric | R9, R12, R13 |
| 3 | USB_A_Stacked | Connector_USB:USB_A_Wuerth_61400826021_Horizontal_Stacked | J5, J6, J7 |
| 2 | 20k | Resistor_SMD:R_0603_1608Metric | R30, R35 |
| 2 | 33pF | Capacitor_SMD:C_0603_1608Metric | C4, C5 |
| 2 | DNP | Resistor_SMD:R_0603_1608Metric | R26, R28 |
| 2 | HSM6115 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | Q4, Q5 |
| 2 | Jumper_2_Open | TestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mm | JP1, JP2 |
| 1 | 0 | Resistor_SMD:R_0603_1608Metric | R31 |
| 1 | 1.5uH | Inductor_SMD:L_Chilisin_BMRx00060630 | L1 |
| 1 | 100nF/30+ | Capacitor_SMD:C_0603_1608Metric | C38 |
| 1 | 12k | Resistor_SMD:R_0603_1608Metric | R17 |
| 1 | 1M | Resistor_SMD:R_0603_1608Metric | R11 |
| 1 | 200k | Resistor_SMD:R_0603_1608Metric | R27 |
| 1 | 24MHz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | 2k i2c eeprom | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | 510k | Resistor_SMD:R_0603_1608Metric | R29 |
| 1 | 75k | Resistor_SMD:R_0603_1608Metric | R32 |
| 1 | AMS1117-33 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U19 |
| 1 | AO3401A | Package_TO_SOT_SMD:SOT-23 | Q6 |
| 1 | BCM857BS | Package_TO_SOT_SMD:SOT-363_SC-70-6 | Q2 |
| 1 | Conn_01x03_Male | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J1 |
| 1 | Conn_01x06 | Connector_Phoenix_MSTB:PhoenixContact_MSTBA_2,5_6-G-5,08_1x06_P5.08mm_Horizontal | J8 |
| 1 | DF2S6.2FS,L3M | Diode_SMD:D_SOD-923 | D12 |
| 1 | HS1A | LED_SMD:LED_0805_2012Metric | D2 |
| 1 | HS1B | LED_SMD:LED_0805_2012Metric | D1 |
| 1 | SM400x | Diode_SMD:D_SOD-123F | D3 |
| 1 | SMF24A | Diode_SMD:D_SOD-123F | D11 |
| 1 | SiC437AED | Package_DFN_QFN:Vishay_MLP-44L_4x4 | U18 |
| 1 | USB2517 | Package_DFN_QFN:QFN-64-1EP_9x9mm_P0.5mm_EP4.7x4.7mm_ThermalVias | U3 |
| 1 | USB_A (female down) | Connector_USB:USB_A_Stewart_SS-52100-001_Horizontal | J4 |
| 1 | USB_A male UP | Connector_USB:USB_A_Plug_SOFNG_USB-05 | J2 |
| 1 | USB_B_Micro (up) | Connector_USB:USB_Micro-B_Amphenol_10118194-0001LF_Horizontal | J3 |
More from karlp/hubbish
2- 4 layers100 × 80 mm

- 4 layers103.6 × 71.8 mm

Similar boards
- 4 layers80 × 50 mm

Glowbuck
Diamantenmine/glowbuck
Together with Firefly Luciferin, you can create your own ambilight that connects via USB-C to your computer and draws power from a USB-C PD power supply. Glowbuck is in no way associated with the linked project.
132 parts1GPL-3.0 - 4 layers94 × 52 mm

- 4 layers50 × 30 mm

Picothermal hardware
icamaster/picothermal
Thermal camera based on Flir Lepton with RP2040 and USB-C
121 parts72MIT - 4 layers100 × 100 mm

- 4 layers100 × 100 mm

- 2 layers110 × 100 mm

- 2 layers88.9 × 50.8 mm

Core16 LB
ageppert/Core16-Interactive-Core-Memory
Weave 16 bits of core memory and LEDs to interact with using a magnetic wand
130 parts5 - 2 layers220 × 150 mm

Questions
How big is the R2022-12 PCB?
It measures 100 × 80 mm and has 4 copper layers, 1.6 mm thick.
What parts does the R2022-12 use?
138 parts, built around the SIC437AED, USB2517I-JZX-TR, SRV05-4-P-T7 and M24C02-WMN6TP. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the R2022-12 KiCad files?
From the karlp/hubbish repository on GitHub, at the commit this page was made from: the board is r2022-12/r2022-12.kicad_pcb and its schematic r2020-03/downstream-port-power.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the R2022-12 design in my own project?
Its repository states no licence, so its author keeps all rights: ask karlp before reusing the design.