High-Speed Interface Design: DDR, USB, PCIe and Ethernet
Lay out the interfaces that make or break a modern board, from serial lanes to DDR byte lanes.
Learn the layout rules behind multi-gigabit serial links, USB 2.0 and 3.x, PCI Express, Ethernet and DDR memory: skew, via stubs, AC coupling, loss budgets, magnetics and isolation, fly-by topologies and delay matching, then simulation and compliance testing to prove the design works.
Advanced · 5 modules · 17 lessons · free certificate
About this course
Most boards that fail at bring-up or in a compliance lab do not fail on their power supplies or their firmware. They fail on a handful of fast interfaces: a PCIe lane that will not train above a low speed, a USB 3 port that falls back to USB 2, an Ethernet port that fails emissions, or DDR memory that passes a quick test and then corrupts data when the board warms up. This course teaches the layout decisions behind those interfaces, starting with the rules all multi-gigabit links share and then working through USB, PCI Express, Ethernet and DDR memory one at a time.
The emphasis is on reasoning you can apply to a new chip: why skew is measured in unit intervals, why a via stub resonates, why DDR matching is done in picoseconds rather than millimetres, and what link training can and cannot correct. Numbers are given only where they come from a named specification or a physical relationship, and typical values are labelled as such. Every lesson sends you back to the two documents that govern a real design: the interface specification and the chip vendor's layout guide. Where the two disagree with anything here, they win.
The course assumes you are comfortable with transmission lines, impedance and return paths. Those are covered in Signal Integrity Fundamentals and Controlled Impedance and Transmission Lines. Stackup and material choices, power delivery and EMC are treated only where an interface depends on them; they have their own Academy courses. Optical links, backplane SerDes above PCIe rates and RF design are out of scope.
Before you start: You should understand transmission lines, characteristic and differential impedance, return current paths and basic stackups, and have laid out at least one multilayer board. Signal Integrity Fundamentals and Controlled Impedance and Transmission Lines in the AAVICO Academy cover this background.
What you will learn
- Route differential pairs, vias, AC coupling capacitors and connector launches for multi-gigabit serial links and build a channel loss budget
- Lay out USB 2.0, USB 3.x with Type-C, and PCI Express to their impedance, coupling, polarity and reference clock requirements
- Lay out a copper Ethernet port from PHY to connector, preserve isolation and time RGMII and SGMII links correctly
- Plan DDR3, DDR4 and LPDDR routing with the right topology, byte lane grouping, termination and delay matching in time
- Apply the essentials of HDMI and MIPI layout and plan simulation, compliance testing and validation for every interface
Who it is for
- PCB designers and hardware engineers laying out boards with PCIe, USB 3, Ethernet or DDR memory
- Engineers moving from microcontroller boards to processor and FPGA designs with fast interfaces
- Signal integrity and hardware engineers who review layouts before release
- Hardware leads who need to judge layout risk and plan simulation and compliance testing
Syllabus
Module 1: Rules Common to Multi-Gigabit Serial Links
Differential routing and skew, via transitions and stubs, AC coupling, connectors, reference planes and loss budgets.
- Differential Pairs and Skew
- Via Transitions, Stubs and Back-Drilling
- AC Coupling, Connectors and Reference Planes
- Loss Budgets and Equalisation
- Module quiz (5 questions)
Module 2: USB 2.0, USB 3.x and PCI Express
Impedance targets, ESD placement, Type-C orientation, PCIe AC coupling, polarity, lane reversal and the reference clock.
- USB 2.0 Layout and ESD Protection
- USB 3.x SuperSpeed and Type-C
- PCI Express Layout
- Module quiz (5 questions)
Module 3: Ethernet: PHY, Magnetics and MAC Interfaces
The PHY to magnetics to connector chain, MDI pairs, isolation, common-mode termination and RGMII and SGMII timing.
- PHY, Magnetics and the MDI Pairs
- Isolation and Common-Mode Termination
- MAC to PHY Interfaces: RGMII and SGMII
- Module quiz (5 questions)
Module 4: DDR Memory Layout
DDR3, DDR4 and LPDDR signal groups, fly-by and T-branch topologies, byte lanes, termination, delay matching and training.
- DDR Signal Groups and Topologies
- Byte Lanes, Strobes and Routing
- Matching Delay, Not Length
- Levelling, Training and DDR Power Rails
- Module quiz (5 questions)
Module 5: HDMI, MIPI, Simulation and Compliance
Layout notes for HDMI and MIPI, then pre- and post-layout simulation and the compliance and validation testing that proves a design.
- HDMI and MIPI Layout Notes
- Simulation Before and After Layout
- Compliance Testing and Validation
- Module quiz (5 questions)
Free downloads for this course
- Controlled Impedance Quick Reference (Reference)
Discuss your project
Email support@aavico.com or use Get in Touch when the website finishes loading.