Uploaded August 2024 | Updated November 2026, 3 hours ago
Basics of designing hardware with Gigabit Ethernet MACs, PHYs, and MagJack RJ45 connectors. Covering signalling (RGMII, MDIO), PHY selection, schematic walkthrough, and PCB design. PCBs by PCBWay pcbway.com (AD: This video includes a paid promotion for PCBWay and Altium.)
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: phils-lab.net/courses
Patreon: patreon.com/phils94
Altium Designer Free Trial: altium365.com/yt/philslab @AltiumOfficial #AltiumStories (AD)
[GIT]
github.com/pms67
[SOCIAL]
instagram.com/philslabyt
[LINKS]
Zynq Ethernet Firmware Tutorial: youtube.com/watch?v=Lukjt-zWbuw&t=531s&pp=ygUXcGhpbHMgbGFiIHp5bnEgZXRoZXJuZXQ%3D
MII Wiki: en.wikipedia.org/wiki/Media-independent_interface
Rick Hartley Grounding: youtube.com/watch?v=vALt6Sd9vlY
Zach Peterson Ethernet Grounding: youtube.com/watch?v=ijQMTl7fUOg
Various Ethernet articles/guidelines/app notes/videos:
resources.altium.com/p/ethernet-layout-routing-standards-mac-phy-and-rj-45-connectors
ti.com/lit/an/snla387/snla387.pdf?ts=1724108747773&ref_url=https%253A%252F%252Fwww.google.com%252F
pulseelectronics.com/wp-content/uploads/2020/12/Pulse_Layout-Considerations-v7.pdf
ww1.microchip.com/downloads/aemDocuments/documents/OTH/ApplicationNotes/ApplicationNotes/00002054A.pdf
[TIMESTAMPS]
00:00 Intro
01:54 PCBWay (Ad)
02:31 Altium Designer Free Trial (Ad)
03:02 Basics
06:07 Media-Independent Interface (MII)
07:12 PCB Overview
08:52 Choice of PHY
12:51 PHY Datasheet
15:18 Strapping Pins
16:42 Schematic - MAC
18:17 Schematic - PHY
20:46 Schematic - RGMII, Series Term., Strapping
25:18 Schematic - MDIO, Control, Clock
26:51 Schematic - MDI & MagJack
29:57 PCB - Resources
31:42 PCB - Stack-Up & Impedance Control
35:12 PCB - Layout
36:47 PCB - RGMII
42:15 PCB - MagJack
44:02 PCB - QFN Layout/Decoupling
45:34 Outro
Basics of designing hardware with Gigabit Ethernet MACs, PHYs, and MagJack RJ45 connectors. Covering signalling (RGMII, MDIO), PHY selection, schematic walkthrough, and PCB design. PCBs by PCBWay pcbway.com (AD: This video includes a paid promotion for PCBWay and Altium.)
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: phils-lab.net/courses
Patreon: patreon.com/phils94
Altium Designer Free Trial: altium365.com/yt/philslab @AltiumOfficial #AltiumStories (AD)
[GIT]
github.com/pms67
[SOCIAL]
instagram.com/philslabyt
[LINKS]
Zynq Ethernet Firmware Tutorial: youtube.com/watch?v=Lukjt-zWbuw&t=531s&pp=ygUXcGhpbHMgbGFiIHp5bnEgZXRoZXJuZXQ%3D
MII Wiki: en.wikipedia.org/wiki/Media-independent_interface
Rick Hartley Grounding: youtube.com/watch?v=vALt6Sd9vlY
Zach Peterson Ethernet Grounding: youtube.com/watch?v=ijQMTl7fUOg
Various Ethernet articles/guidelines/app notes/videos:
resources.altium.com/p/ethernet-layout-routing-standards-mac-phy-and-rj-45-connectors
ti.com/lit/an/snla387/snla387.pdf?ts=1724108747773&ref_url=https%253A%252F%252Fwww.google.com%252F
pulseelectronics.com/wp-content/uploads/2020/12/Pulse_Layout-Considerations-v7.pdf
ww1.microchip.com/downloads/aemDocuments/documents/OTH/ApplicationNotes/ApplicationNotes/00002054A.pdf
[TIMESTAMPS]
00:00 Intro
01:54 PCBWay (Ad)
02:31 Altium Designer Free Trial (Ad)
03:02 Basics
06:07 Media-Independent Interface (MII)
07:12 PCB Overview
08:52 Choice of PHY
12:51 PHY Datasheet
15:18 Strapping Pins
16:42 Schematic - MAC
18:17 Schematic - PHY
20:46 Schematic - RGMII, Series Term., Strapping
25:18 Schematic - MDIO, Control, Clock
26:51 Schematic - MDI & MagJack
29:57 PCB - Resources
31:42 PCB - Stack-Up & Impedance Control
35:12 PCB - Layout
36:47 PCB - RGMII
42:15 PCB - MagJack
44:02 PCB - QFN Layout/Decoupling
45:34 Outro
![All-Pass Filter Software Implementation (STM32 DSP) - Phils Lab #162
Discover Easy, Affordable, and Reliable PCB manufacturing with JLCPCB! Register to get $70 New customer coupons: https://jlcpcb.com/?from=PhilsLab (AD: This video includes a paid promotion for JLCPCB.)
All-pass filter basics and theory, software implementation in C on an STM32 MCU, and real-world frequency- and time-domain measurements.
[SUPPORT]
Hardware design courses: https://fedevel.com/instructors/philip-salmony#courses
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[GIT]
https://github.com/pms67
[SOCIAL]
Instagram: https://instagram.com/philslabyt
[LINKS]
DSP Playlist: https://www.youtube.com/playlist?list=PLXSyc11qLa1ZCn0JCnaaXOWN6Z46rK9jd
Bode 100 VNA: https://www.omicron-lab.com/products/vector-network-analysis/bode-100 @OMICRONLabTutorials
[TIMESTAMPS]
00:00 Intro
01:26 JLCPCB (Ad)
02:38 Basics
05:35 First Order Theory
08:47 Second Order Theory
11:08 Hardware
11:45 Software Implementation
17:15 Frequency Domain Test Set-Up
18:34 Calibration & De-Embedding
21:41 First Order (Frequency Domain)
24:29 Second Order (Frequency Domain)
27:44 Time Domain
30:03 Outro All-Pass Filter Software Implementation (STM32 DSP) - Phils Lab #162](https://i.ytimg.com/vi/K9wS4fRjrBE/mqdefault.jpg)
![(Sponsored) How PCBs are Manufactured & Assembled (PCBWay Factory Tour) - Phils Lab #120
(AD: This video includes a paid promotion for PCBWay) See how PCBs are made and assembled in the huge PCBWay factory in Shenzhen, China! https://www.pcbway.com (AD)
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[GIT]
https://github.com/pms67
[SOCIAL]
Instagram: https://instagram.com/philslabyt
[LINKS]
Manufacturing process: https://www.pcbway.com/pcb-service.html
SMT assembly process: https://www.pcbway.com/assembly-process.html
[TIMESTAMPS]
00:00 Intro
01:31 Fabrication Data Generation
02:37 Panel Cutting
03:17 Inner Layers
04:18 Lay-Up
05:13 Pre-Pregs & Copper Foils
06:20 Lamination
07:55 Drilling
09:10 PTH & Electroless Copper Deposition
10:13 Imaging Outer Layers
11:54 Plating
13:15 Etching
14:38 Automatic Optical Inspection (AOI)
15:29 Solder Mask
18:24 Surface Finish
19:50 Silkscreen
20:50 Outline
21:44 E-Test & Final Inspection
23:33 Assembly Process & Incoming Quality Control
25:30 Stencil, Solder Paste, Pick n Place
28:01 Reflow & Inspection
29:28 Through-Hole Assembly & Packaging
31:06 Outro (Sponsored) How PCBs are Manufactured & Assembled (PCBWay Factory Tour) - Phils Lab #120](https://i.ytimg.com/vi/KKd_TkJRMAs/mqdefault.jpg)
![RC High-Pass Filters Explained - Phils Lab #122
Passive RC high-pass filter basics, theory, real-world tests and demos, practical considerations, and examples both in the time- and frequency-domain. PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay and Altium).
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
[GIT]
https://github.com/pms67
[SOCIAL]
Instagram: https://instagram.com/philslabyt
[LINKS]
RC Low-Pass Filters: https://youtu.be/xAuBqK4QsCc
Capacitor Basics: https://www.youtube.com/watch?v=kUruN6WBgSw
[TIMESTAMPS]
00:00 Intro
00:59 Altium Designer (Ad)
01:40 PCBWay (Ad)
02:06 High-Pass Examples
03:24 Basics
05:31 Time-Domain Analysis
08:45 Test Set-Up
09:28 Time-Domain Demo
13:19 Frequency-Domain Analysis
18:22 Frequency-Domain Demo
20:00 Differentiator
22:23 Source & Load Effects
24:31 Cascading Stages
25:29 Component Non-Idealities
27:26 Further Practical Considerations
29:24 Practical Examples
31:47 Outro RC High-Pass Filters Explained - Phils Lab #122](https://i.ytimg.com/vi/KZ4ujk8WUtw/mqdefault.jpg)
![Gigabit Ethernet + FPGA/SoC Bring-Up (Zynq Part 4) - Phils Lab #99
Gigabit Ethernet PHY (physical layer) and AMD/Xilinx Zynq SoC (System-on-Chip) configuration. Schematic and PCB layout/routing overview, RGMII/MDIO/MDI signals, Vivado and Vitis configuration, fixing driver bugs, example TCP bandwidth performance application, and test.
PCBs by PCBWay www.pcbway.com
(AD: This video includes a paid promotion for PCBWay and Altium).
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Advanced Hardware Design Course Survey:
https://forms.gle/X4jwvtZeJ1jTXh7r9
[GIT]
https://github.com/pms67
[LINKS]
Instagram: https://instagram.com/philslabyt
iPerf: https://iperf.fr/iperf-download.php
PHY datasheet: https://datasheet.lcsc.com/lcsc/1912111437_Realtek-Semicon-RTL8211F-CG_C187932.pdf
[TIMESTAMPS]
00:00 Introduction & Previous Videos
01:05 PCBWay (Ad)
01:45 Altium Designer Free Trial (Ad)
02:11 Hardware Overview
03:36 Schematic
05:35 PCB Layout & Routing
06:37 Physical Layer (PHY)
07:14 Vivado Ethernet Set-Up
11:10 Vitis TCP Performance Server Example
12:03 Driver Fix #1 - Autonegotiation Off
13:02 Driver Fix #2 - Link Up/Down Bug
16:26 Hardware Connection
16:42 COM Port Set-Up & Programming
18:14 iPerf Tool
18:37 Bandwidth Performance Test
21:09 Summary
22:08 Outro Gigabit Ethernet + FPGA/SoC Bring-Up (Zynq Part 4) - Phils Lab #99](https://i.ytimg.com/vi/Lukjt-zWbuw/mqdefault.jpg)
![Notch Filters - Digital Audio Processing with STM32 #2 - Phils Lab #49
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Real-time digital processing (DSP) of audio data using an STM32 microcontroller in C on custom audio-processing hardware. Second video in series, covering notch filter basics, software implementation with variable filter parameters, and a live demo with an electric guitar.
(AD: This video includes a paid promotion for JLCPCB and Altium.)
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
PCBA from $0 (Free Setup, Free Stencil): https://jlcpcb.com/RHS (AD)
Patreon: https://www.patreon.com/phils94
[LINKS]
DSP Playlist: https://www.youtube.com/playlist?list=PLXSyc11qLa1ZCn0JCnaaXOWN6Z46rK9jd
STM32 Playlist: https://www.youtube.com/playlist?list=PLXSyc11qLa1a4Tqbz228dPZfMrs-KRpzA
Notch Filter Video: https://youtu.be/ysS4bIXFAsU
Previous DSP Video: https://youtu.be/VDhmVrbSpqA
GitHub: https://github.com/pms67
Digilent ADP3450: https://digilent.com/shop/analog-discovery-pro-3000-series-portable-high-resolution-mixed-signal-oscilloscopes/
[TIMESTAMPS]
00:00 Introduction
00:48 Previous Video and PCB Overview
01:26 JLCPCB and Git Repo (Ad)
02:03 Altium Designer Free Trial (Ad)
02:21 Hardware Overview
02:48 Notch Filter Theory Recap
05:59 Code Overview (STM32CubeIDE)
06:30 Notch Filter Header
07:42 Notch Filter Source
09:10 main.c
09:44 Variable Filter Parameters
10:39 Test Set-Up Overview
11:40 Live Filter Analysis (Frequency- and Time-Domain)
15:39 Live Guitar Demo
ID: QIBvbJtYjWuHiTG0uCoK Notch Filters - Digital Audio Processing with STM32 #2 - Phils Lab #49](https://i.ytimg.com/vi/M63o4Zzhptc/mqdefault.jpg)
![2-Layer PCB Design Tips - Phils Lab #137
Tips for designing with only two copper layers on a PCB (layer assignment, component placement, routing, GND jumps, RF considerations). PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay and Altium.)
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Altium 365: https://www.altium.com/altium-365 (AD)
[GIT]
https://www.github.com/pms67
[SOCIAL]
https://www.instagram.com/philslabyt
[LINKS]
Stitching Vias Article: https://resources.altium.com/p/everything-you-need-know-about-stitching-vias
2- vs 4-Layer EMC Video: https://www.youtube.com/watch?v=crs_QLuUTyQ
[TIMESTAMPS]
00:00 Introduction
02:01 PCBWay (Ad)
02:41 Altium Designer Free Trial (Ad)
03:33 Why 2 Layers?
05:54 Design Constraints
08:34 Layer Assignment & Board Thickness
11:24 Component Placement
14:40 Routing Order, Power Routing
16:49 Signal Routing, GND Jumps/Pours/Stitching
23:06 RF & Controlled Impedance
28:54 2- vs 4-Layer PCB Considerations
31:23 Outro 2-Layer PCB Design Tips - Phils Lab #137](https://i.ytimg.com/vi/M6_an34wQJk/mqdefault.jpg)
![(Sponsored) Solid-State Power Amplifier Design for Guitar - Phils Lab #12
Visit https://jlcpcb.com/RHS for $2 for five 2-layer PCBs and $5 for five 4-layer PCBs. (AD)
Tutorial on how to design a custom 10W solid-state power amplifier for audio (guitar, in particular). Explanation and derivation of a three-stage, analogue power amplifier using a single DC supply (+24V). Includes schematics of long-tailed pair, class A amplifier and biasing stage, and output stage.
(AD: This video includes a paid promotion for JLCPCB.)
If youre enjoying my content, please consider becoming a patron:
https://www.patreon.com/phils94
[TIMESTAMPS]
00:00 Guitar Solo (Steel Panther - If You Really Really Love Me)
00:14 PCBs from JLCPCB (Ad)
00:27 JLCPCB Ordering (Ad)
00:47 Amplifer Block Diagram
01:58 Full Power Amplifier Schematic and Overview
02:36 Long-Tailed Pair (Differencing Amplifier)
04:31 Class A Amplifier and Biasing
06:24 Output Stage
08:54 KiCad Layout (Overview)
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) Solid-State Power Amplifier Design for Guitar - Phils Lab #12](https://i.ytimg.com/vi/M9nZS03r58U/mqdefault.jpg)
![(Sponsored) PCB & Schematic Tip: Net Ties - Phils Lab #69
How to use net ties to increase schematic and PCB readability, convey meaning, and improve your designs. Net ties are used to short nets with different net names together. Includes practical example, creating schematic and footprint symbols in Altium Designer.
(AD: This video includes a paid promotion for Altium.)
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
[LINKS]
GitHub: https://github.com/pms67
[TIMESTAMPS]
00:00 Introduction
00:26 Altium Designer Free Trial (Ad)
00:54 Net Tie Overview
02:38 Net Tie Schematic Symbol
04:04 Net Tie Footprint
06:25 Adding Net Tie to Schematic
06:49 Net Tie in PCB Design
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) PCB & Schematic Tip: Net Ties - Phils Lab #69](https://i.ytimg.com/vi/MgbO0iysi6I/mqdefault.jpg)
![(Sponsored) How To Design a Breakout Board | JLCPCB | Altium Designer - Phils Lab #35
How to design a simple breakout board (PCB) for a sensor (MPU-6050) using the datasheet and Altium Designer. With information on getting the PCBs manufactured by JLCPCB including assembly.
(AD: This video includes a paid promotion for JLCPCB and Altium.)
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Visit https://jlcpcb.com/RHS for $2 for five 2-layer PCBs and $5 for five 4-layer PCBs. (AD)
Patreon: https://www.patreon.com/phils94
Git: https://github.com/pms67
Schematic and Footprint Creation in Altium Designer: https://youtu.be/DVErHmX-qyw
Zynq SoC/FPGA Survey: https://forms.gle/3X2fy92tP6KktpeaA
[TIMESTAMPS]
00:00 Introduction
00:38 Altium Designer Free Trial (Ad)
00:50 Zynq SoC/FPGA Board Survey
01:22 Datasheet (MPU-6050)
02:19 New Project and Adding Files
04:19 Sensor Schematic
07:47 Header Schematic
10:28 Cleaning up the Schematic and ERC
11:44 PCB View and Importing Footprints
12:49 Board Outline
13:41 Component Placement
14:50 Placing Silkscreen
15:22 Mounting Holes
16:09 Copper Pour
16:37 Routing
17:48 Vias
18:51 Rules and Design Rule Check
19:24 Gerber Files
20:20 Pick and Place, BOM Files
22:05 JLCPCB Ordering
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) How To Design a Breakout Board | JLCPCB | Altium Designer - Phils Lab #35](https://i.ytimg.com/vi/Mi9U95MpRXI/mqdefault.jpg)
![(Sponsored) ESD Protection Basics - TVS Diode Selection & Routing - Phils Lab #75
Basics of ESD protection in hardware and PCB designs, TVS diode basics and relevant parameters, layout and routing guidelines, as well as an example on how to select a TVS diode for a specific application.
(AD: This video includes a paid promotion for JLCPCB and Altium.)
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
[GIT]
https://github.com/pms67
[TIMESTAMPS]
00:00 Introduction
00:36 Altium Designer Free Trial (Ad)
01:00 ESD Protection Basics
02:33 TVS Diode Operation
03:19 TVS Diode Parameters
03:46 Uni- vs Bidirectional
04:59 Number of Channels
05:23 Working Voltage
05:52 Clamping Voltage
06:39 Capacitance
07:56 IEC 61000-4-2 Rating
08:28 Schematic & PCB Layout Guidelines
10:56 Example: Choosing a Suitable TVS Diode
14:02 Outro
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) ESD Protection Basics - TVS Diode Selection & Routing - Phils Lab #75](https://i.ytimg.com/vi/MmG_m4xVNfQ/mqdefault.jpg)
![STM32 + RGB LEDs Firmware Tutorial (TIM + DMA) - Phils Lab #136
How to control addressable RGB LEDs (SK6805, WS2812) using PWM timers with DMA in C using STM32 MCUs. PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay.)
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[GIT]
https://www.github.com/pms67
[SOCIAL]
https://www.instagram.com/philslabyt
[LINKS]
SK6805 Datasheet: https://cdn-shop.adafruit.com/product-files/4492/Datasheet.pdf
[TIMESTAMPS]
00:00 Introduction
01:08 PCBWay (Ad)
01:42 Hardware & Schematic Overview
06:06 Datasheet
07:25 Data Structure & Timing
13:34 CubeIDE Set-Up
15:16 Timer Set-Up
18:26 DMA Set-Up
20:15 Driver Header Code
27:04 Driver Source Code
30:10 main.c
31:57 Scope Measurement & Demo
34:47 Outro STM32 + RGB LEDs Firmware Tutorial (TIM + DMA) - Phils Lab #136](https://i.ytimg.com/vi/MqbJTj0Cw6o/mqdefault.jpg)