Uploaded June 2022 | Updated November 2026, 3 hours ago
First design review of series. Examining schematic and PCB design of a Spartan 7-based board made using KiCad. Common errors, best practices, routing techniques, and so on discussed in brief. Thanks to Andrey for sending this one in! Send your designs for review here: phils-lab.net/contact
(AD: This video includes a paid promotion for JLCPCB and Altium.)
Andrey's EEVblog post and Git repo:
eevblog.com/forum/fpga/custom-spartan-7-board-for-beginners
github.com/asmi84/kicad-projects/tree/master/S7_Min
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
[SUPPORT]
Free trial of Altium Designer: altium.com/yt/philslab (AD)
PCBA from $0 (Free Setup, Free Stencil): jlcpcb.com/RHS (AD)
Patreon: patreon.com/phils94
[LINKS]
GitHub: github.com/pms67
[TIMESTAMPS]
00:00 Have your design reviewed!
00:43 JLCPCB (Ad)
01:01 Altium Designer Free Trial (Ad)
01:44 Custom Spartan-7 Board Overview
02:50 Schematic
08:30 PCB
ID: QIBvbJtYjWuHiTG0uCoK
First design review of series. Examining schematic and PCB design of a Spartan 7-based board made using KiCad. Common errors, best practices, routing techniques, and so on discussed in brief. Thanks to Andrey for sending this one in! Send your designs for review here: phils-lab.net/contact
(AD: This video includes a paid promotion for JLCPCB and Altium.)
Andrey's EEVblog post and Git repo:
eevblog.com/forum/fpga/custom-spartan-7-board-for-beginners
github.com/asmi84/kicad-projects/tree/master/S7_Min
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
[SUPPORT]
Free trial of Altium Designer: altium.com/yt/philslab (AD)
PCBA from $0 (Free Setup, Free Stencil): jlcpcb.com/RHS (AD)
Patreon: patreon.com/phils94
[LINKS]
GitHub: github.com/pms67
[TIMESTAMPS]
00:00 Have your design reviewed!
00:43 JLCPCB (Ad)
01:01 Altium Designer Free Trial (Ad)
01:44 Custom Spartan-7 Board Overview
02:50 Schematic
08:30 PCB
ID: QIBvbJtYjWuHiTG0uCoK
![STM32 USB 2.0 High-Speed Tutorial (ULPI + MSC + SDRAM) - Phils Lab #167
Firmware and hardware tutorial on how to interface STM32 MCUs with USB 2.0 High-Speed (HS) PHYs. Testing via USB mass storage device (MSD) class with external SDRAM on a custom STM32-based hardware platform.
Limited-time: $2 for 6-layer PCBs up to 100×100 mm - grab your $33 coupon now: https://jlcpcb.com/events/6-layer-pcb?from=PhilsLab (Ad)
Altium Develop: http://altium.com/yt/philslab
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[LINKS]
USB FS + SD MSC Video: https://www.youtube.com/watch?v=aEwwQMdKd-c
SDRAM Video: https://www.youtube.com/watch?v=h28D4AaPSjg
ULPI Blog Post: https://resources.altium.com/p/usb-high-speed-ulpi-routing
USB HS DMA Fix: https://community.st.com/t5/stm32-mcus-embedded-software/problem-with-stm32h747-hs-usb-dma/m-p/165464#M9835
[TIMESTAMPS]
00:00 Intro
02:07 JLCPCB (Ad)
03:09 Altium Develop (Ad)
04:16 Hardware Walkthrough
11:27 CubeIDE Peripheral Set-Up
21:21 Firmware
27:53 Demo & Test
31:25 USB DMA
33:00 Increasing MSC_MEDIA_PACKET Size
34:59 Outro STM32 USB 2.0 High-Speed Tutorial (ULPI + MSC + SDRAM) - Phils Lab #167](https://i.ytimg.com/vi/b6WIETPXQJc/mqdefault.jpg)

![PCB Design for Manufacturing (DFM) Q&A with Sierra Circuits - Phils Lab #158
(AD: This video includes an unpaid promotion for Sierra Circuits.)
A huge thank you to Amit & Lucy from Sierra Circuits for having a chat with me about design for manufacturing from a PCB manufacturer and assemblers perspective!
Try the Better DFM tool to check your PCB design before you send your files for fab:
https://www.protoexpress.com/tools/pcb-dfm-tool/?utm_source=youtube&utm_medium=social&utm_campaign=philslab%2Bpodcast%2Bjan%2B2024
Join Sierra Circuits’ new forum SierraConnect to get answers to all your PCB questions:
https://sierraconnect.protoexpress.com/?utm_source=youtube&utm_medium=social&utm_campaign=philslab%2Bpodcast%2Bjan%2B2024
PCB Fabrication Notes: https://www.protoexpress.com/kb/pcb-fabrication-notes/
PCB Assembly Notes: https://www.protoexpress.com/kb/assembly-notes/
[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
[TIMESTAMPS]
00:00 Intro
02:22 Rounded Corners
03:27 Solder Mask Expansion
05:47 Acid Traps
08:07 Teardrops
08:38 Copper Fills, Board Warp, and Copper Balance
12:13 Via Finished Drill Size and Annular Ring
15:30 Pick and Place Orientation Standard
17:12 Reducing Number of Different Drill Sizes
19:06 Fiducial Marker Shape
20:18 Rounding Drill Hole Sizes
21:19 Polarity Markers
22:13 Designators
25:02 Panelisation
27:48 Layer Index, Fab Drawings, and Callouts
30:44 Etch Comp
31:33 Output File Format
33:37 Removing Non-Functional Pads
34:54 Outro PCB Design for Manufacturing (DFM) Q&A with Sierra Circuits - Phils Lab #158](https://i.ytimg.com/vi/c2JySJjjs0A/mqdefault.jpg)
![Tremolo Effect - Digital Audio Processing with STM32 #3 - Phils Lab #51
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. Third video in series, covering the tremolo effect. Essentially, amplitude modulation of the audio waveform using a low-frequency oscillator (LFO). In this video, well be using a triangular waveform modulator. Including live guitar demo.
(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
First 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:41 Previous Videos
01:02 Altium Designer Free Trial (Ad)
01:20 Hardware Platform
01:57 JLCPCB and Git Repo (Ad)
02:20 Test Set-Up and Hardware Overview
03:20 Tremolo Effect Overview
04:22 Tremolo Block Diagram
05:43 Tremolo Equation
06:16 Generating the LFO Triangle Wave
07:43 Tremolo.h (Header)
08:50 Tremolo.c (Source)
11:07 main.c
12:30 Time-Domain Analysis (WaveForms)
14:28 Frequency-Domain Analysis (WaveForms)
16:22 Guitar Demo
ID: QIBvbJtYjWuHiTG0uCoK Tremolo Effect - Digital Audio Processing with STM32 #3 - Phils Lab #51](https://i.ytimg.com/vi/cj8E1ivCCEo/mqdefault.jpg)
![FPGA/SoC Board Bring-Up - QSPI (Zynq Part 3) - Phils Lab #98
How to configure the QSPI Flash memory interface and create first-stage bootloader (FSBL) to automatically program a Xilinx/AMD Zynq system-on-chip on custom hardware. Schematic and hardware walkthrough, Vivado and Vitis configuration, and test.
(AD: This video includes a paid promotion for 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
FSBL:
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/439124055/Zynq-7000+FSBL
https://xilinx.github.io/Embedded-Design-Tutorials/docs/2021.1/build/html/docs/Feature_Tutorials/debuggable-fsbl/debuggable-fsbl.html
[TIMESTAMPS]
00:00 Introduction
00:51 Previous Videos
01:13 Altium Designer Free Trial (Ad)
01:30 Schematic
02:45 Memory Choice (UG908)
03:53 PCB & Bootmode Pins
04:58 First-Stage Boot Loader (FSBL) Overview
05:39 Vivado Set-Up
06:57 Vitis FSBL & Boot Image
07:49 Vitis Hello World Application & Boot Image
09:14 Hardware Connection
09:53 Program Flash
11:44 Bootmode Selection (QSPI)
12:17 UART Hello World Test
12:26 Summary & Whats Next
13:08 Outro FPGA/SoC Board Bring-Up - QSPI (Zynq Part 3) - Phils Lab #98](https://i.ytimg.com/vi/cmS0J4ZFhv4/mqdefault.jpg)
![STM32 Fast Fourier Transform (CMSIS DSP FFT) - Phils Lab #111
How to implement a Fast Fourier Transform (FFT) on an embedded system (STM32 microcontroller + CODEC) using ARMs CMSIS library. Full walkthrough and demo of a peak frequency detector. 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]
CMSIS Libraries: https://github.com/ARM-software/CMSIS_4
STM32CubeIDE: https://www.st.com/en/development-tools/stm32cubeide.html
3blue1brown FFT Video: https://www.youtube.com/watch?v=spUNpyF58BY
Hardware Walkthrough Video: https://www.youtube.com/watch?v=AxEL3eESL9I
I2S/DMA Set-Up Video: https://www.youtube.com/watch?v=zlGSxZGwj-E
[TIMESTAMPS]
00:00 Introduction
01:13 Altium Designer Free Trial (Ad)
01:36 PCBWay (Ad)
01:56 Previous Videos
02:27 FFT Basics
03:04 CMSIS Libraries
04:24 Adding Libraries to CubeIDE
06:06 Basic Code Structure
07:12 Including arm_math.h
07:43 ARM FFT Function Overview
09:04 FFT Variables & Defines
09:56 Initialising FFT
10:14 Processing Callback (Fill Buffer, Compute FFT)
12:32 Peak Frequency Detector
13:26 FFT Complex Result
14:27 Computing Magnitude
15:10 Frequency Bins
17:15 Data via USB
17:38 Test Set-Up
18:10 Live Demo
19:43 Outro STM32 Fast Fourier Transform (CMSIS DSP FFT) - Phils Lab #111](https://i.ytimg.com/vi/d1KvgOwWvkM/mqdefault.jpg)
![(Sponsored) ESC Hardware Design - Phils Lab #66
How to design our own simple ESC (electronic speed controller) for control of brushless DC motors (BLDCs), including tips on ESC structure, power section, current and voltage feedback, microcontroller pin-out, USB HS ULPI, and more.
(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
ESC/BLDC motor explanation: https://www.youtube.com/watch?v=yiD5nCfmbV0
[TIMESTAMPS]
00:00 Introduction
00:44 Altium Designer Free Trial (Ad)
01:00 ESC Overview and Specification
03:12 Power/Buck Converter
05:52 Microcontroller and USB HS Phy
09:12 Pinout (STM32CubeIDE)
11:19 Half-Bridge, Gate Driver, Voltage/Current Feedback
17:53 Outro
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) ESC Hardware Design - Phils Lab #66](https://i.ytimg.com/vi/dJjxcjJOlN0/mqdefault.jpg)
![(Sponsored) STM32 Board Bring-Up (Firmware and Test) - Phils Lab #54
Basic board firmware bring-up of the new LittleBrain++ PCB featuring an STM32F4 microcontroller, sensors, and USB. How to write simple test firmware (I2C, USB), set-up STM32CubeIDE, and transfer data from a schematic to software.
(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)
Hardware design courses: https://phils-lab-shop.fedevel.education
Patreon: https://www.patreon.com/phils94
[LINKS]
GitHub: https://github.com/pms67
[USB CDC CODE]
After include statements:
static uint8_t lineCoding[7] // 115200bps, 1stop, no parity, 8bit
= { 0x00, 0xC2, 0x01, 0x00, 0x00, 0x00, 0x08 };
in CDC_Control_FS:
case CDC_SET_LINE_CODING:
memcpy(lineCoding, pbuf, sizeof(lineCoding));
break;
case CDC_GET_LINE_CODING:
memcpy(pbuf, lineCoding, sizeof(lineCoding));
break;
[TIMESTAMPS]
00:00 Introduction
00:35 First Steps
01:40 Tag-Connect SWD Programming Header/Connector
02:24 JLCPCB and GitHub Repo (Ad)
03:00 Altium Designer Free Trial (Ad)
03:16 Hardware Overview
04:59 STM32CubeIDE Basics
05:59 Pinout
08:14 Clock Configuration
09:15 Programming and GPIO (LED) Test
12:08 I2C #1 (Inertial Measurement Unit)
16:58 I2C #2 (Pressure Sensor)
19:11 USB (Virtual COM Port)
23:14 Outro
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) STM32 Board Bring-Up (Firmware and Test) - Phils Lab #54](https://i.ytimg.com/vi/dRKSs3wms4U/mqdefault.jpg)
![HyperLynx DC Drop Simulation - Phils Lab #164
Basics of performing various DC drop simulations using HyperLynx. Full tutorial from ODB++ export, simulation set-up, to running the simulation, and extracting results.
Many thanks to Siemens EDA and Wilfried for their support.
(AD: This video contains a paid promotion for Siemens EDA.)
Xpedition Standard: https://eda.sw.siemens.com/en-US/pcb/xpedition/standard/?stc=usdi103546&utm_source=LinkedIn&utm_medium=social_site&utm_campaign=WW_DI+SW_Products+Launch&utm_content=text_ad%2Flink (AD)
Hyperlynx: https://eda.sw.siemens.com/en-US/pcb/hyperlynx/?utm_source=LinkedIn&utm_medium=social_site&utm_campaign=WW_DI+SW_Products+Launch&utm_content=text_ad%2Flink (AD)
Code for free tokens: Phil25tokenpack
(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
[TIMESTAMPS]
00:00 Intro
01:00 Hardware Overview
03:27 Net Labels
04:35 Designators
05:10 Stack-Up
06:02 ODB++ Export
07:50 HyperLynx Import
09:52 Verify Stack-Up
10:52 Power Supply Set-Up
11:54 Power Network Set-Up
17:22 DC Simulation
22:57 Outro HyperLynx DC Drop Simulation - Phils Lab #164](https://i.ytimg.com/vi/dloxxsITwy8/mqdefault.jpg)
![Critiquing My Own PCB Designs - Phils Lab #43
My first PCB design was in 2019 - lets look back and see how bad these were and how Ive improved over the last few years! Featuring KiCad 6.0 and Altium Designer. (Apologies for the less-than-optimal audio!)
(AD: This video includes a paid promotion for Altium.)
[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
PCB Design Course Survey: https://docs.google.com/forms/d/e/1FAIpQLSdZ6HsUT4wNnNue6oQX4ntOlme4q4LD_dm1qklAGkJTaYS6LA/viewform?usp=sf_link
[TIMESTAMPS]
00:00 Introduction
00:24 Altium Designer Free Trial (Ad)
00:47 PCB Design Course Survey
01:13 First PCB (Arduino Due Shield)
07:01 Second PCB (Update on Arduino Due Shield)
10:05 Third PCB (Teensy Shield)
11:15 First Four-Layer PCB (First STM32 Board)
15:53 Hades Flight Control System (Second STM32 Board)
21:43 My Current PCB Designs (2021)
ID: QIBvbJtYjWuHiTG0uCoK Critiquing My Own PCB Designs - Phils Lab #43](https://i.ytimg.com/vi/eQYJLRH4WPs/mqdefault.jpg)
![(Sponsored) Design Review (Buck + STM32 + Peripherals) - Phils Lab #81
Design review of PCB containing an STM32F1 microcontroller, buck converter, relays, and various peripherals. Going through schematic and PCB, giving tips and guidelines throughout.
Khadems Git repo: https://github.com/citrineio/LEL-Detector
(AD: This video includes a paid promotion for 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]
GitHub: https://github.com/pms67
[TIMESTAMPS]
00:00 Introduction
01:15 Altium Designer Free Trial (Ad)
01:38 Schematic - Overview
03:07 Schematic - Power (Buck, LDO)
08:08 Schematic - MCU & Peripherals
12:48 PCB
17:12 PCB - Buck Converter
19:22 PCB - Additional Comments
20:15 Recommended Videos (Sponsored) Design Review (Buck + STM32 + Peripherals) - Phils Lab #81](https://i.ytimg.com/vi/eZnyBt2LVoc/mqdefault.jpg)