Uploaded March 2023 | Updated November 2026, 3 hours ago
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: altium.com/yt/philslab (AD)
Patreon: patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Advanced Hardware Design Course Survey:
https://forms.gle/X4jwvtZeJ1jTXh7r9
[GIT]
github.com/pms67
[LINKS]
Instagram: instagram.com/philslabyt
FSBL:
xilinx-wiki.atlassian.net/wiki/spaces/A/pages/439124055/Zynq-7000+FSBL
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 & What's Next
13:08 Outro
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: altium.com/yt/philslab (AD)
Patreon: patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Advanced Hardware Design Course Survey:
https://forms.gle/X4jwvtZeJ1jTXh7r9
[GIT]
github.com/pms67
[LINKS]
Instagram: instagram.com/philslabyt
FSBL:
xilinx-wiki.atlassian.net/wiki/spaces/A/pages/439124055/Zynq-7000+FSBL
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 & What's Next
13:08 Outro
![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)

![PCB Silkscreen & Solder Mask 101 - Phils Lab #133
Basics, tips and tricks for working with silkscreen and solder mask in PCB designs. 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)
[GIT]
https://www.github.com/pms67
[SOCIAL]
Instagram: https://www.instagram.com/philslabyt
[LINKS]
Vias 101: https://www.youtube.com/watch?v=WPT96w3eLAM
Traces 101: https://www.youtube.com/watch?v=xEVntmYLARw
Silkscreen: https://www.pcbway.com/pcb_prototype/PCB_Silkscreen.html
https://resources.altium.com/p/your-guide-pcb-silkscreen
Solder Mask: https://www.pcbway.com/pcb_prototype/PCB_Solder_mask.html
https://www.pcbway.com/blog/Engineering_Technical/Solder_stop_mask.html
[TIMESTAMPS]
00:00 Introduction
03:02 PCBWay (Ad)
03:44 Altium Designer Free Trial (Ad)
04:35 Silkscreen
08:39 Silkscreen Sizing
11:02 Silkscreen Placement & Clearance
14:17 Silkscreen Date Code
15:04 Silkscreen Tip for Dense Designs
15:40 Solder Mask
18:54 Solder Mask Expansion
20:13 Solder Mask Colour Considerations
21:16 Solder Mask Slivers (Bridges)
25:05 Tented Vias
26:15 (Non) Solder Mask Defined Pads
27:55 Outro PCB Silkscreen & Solder Mask 101 - Phils Lab #133](https://i.ytimg.com/vi/f1jH4roZfgE/mqdefault.jpg)
![STM32 + Segger Real-Time Transfer (RTT) Debugging Basics - Phils Lab #177
Basics of using Segger RTT with Segger J-Link debuggers on STM32 microcontrollers.
JLCPCB, Advanced PCBs, Your Precision Partner https://jlcpcb.com/coupon-center (Ad)
EasyEDA Spark - $85,000 PCB Design Competition:https://oshwlab.com/activities/easyeda-spark-2026 (Ad)
Altium Develop: http://altium.com/yt/philslab (Ad)
[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
[LINKS]
SWD: https://www.youtube.com/watch?v=qMUzLU636s8
SWO: https://www.youtube.com/watch?v=rdmJgQW5JrQ
Segger RTT: https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/
https://kb.segger.com/RTT
[TIMESTAMPS]
00:00 Intro
02:18 JLCPCB (Ad)
03:53 Altium Develop (Ad)
04:58 Basics
08:58 Implementation
21:44 Outro STM32 + Segger Real-Time Transfer (RTT) Debugging Basics - Phils Lab #177](https://i.ytimg.com/vi/f9bXY4pD8xw/mqdefault.jpg)
![Audio Compressor Software Implementation (STM32 DSP) - Phils lab #157
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 and Altium.)
Basics of audio dynamic range compressors, covering their individual functional blocks (envelope detector, gain computer, attack and release) and DSP theory, and implementation in software on an STM32H7 microcontroller. Audio examples using an electric guitar.
[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]
Recursive Moving RMS Video: https://www.youtube.com/watch?v=miUXBXUDJDI
DSP Playlist: https://www.youtube.com/playlist?list=PLXSyc11qLa1ZCn0JCnaaXOWN6Z46rK9jd
MATLAB Compressor: https://de.mathworks.com/help/audio/ref/compressor-system-object.html
Gain Computer Static Non-Linearity Interactive Graph: https://www.desmos.com/calculator/wkmkrmn9le
[TIMESTAMPS]
00:00 Intro
00:57 JLCPCB (Ad)
02:02 Altium 365 (Ad)
03:08 Basics
05:34 Block Diagram
08:26 Envelope Detector
10:50 Gain Computer
13:20 Interactive Graph
15:06 Attack & Release (Gain Smoothing)
18:41 Make-Up Gain & Gain Adjustment
19:58 Firmware
21:27 Firmware Parameters
22:24 Firmware Init()
22:54 Firmware Update()
26:41 main.c
27:41 Control Test
31:25 Guitar Playthrough
32:11 Outro Audio Compressor Software Implementation (STM32 DSP) - Phils lab #157](https://i.ytimg.com/vi/fHcRKKvXxpo/mqdefault.jpg)
![PCB Via Fencing & Edge Plating Basics - Phils Lab #175
How to reduce edge-fired EMI emissions with ground via fencing and edge plating. Demonstrations using Altium Designer.
JLCPCB, Advanced PCBs, Your Precision Partner https://jlcpcb.com/coupon-center (Ad)
EasyEDA Spark - $85,000 PCB Design Competition:https://oshwlab.com/activities/easyeda-spark-2026 (Ad)
Altium Develop: http://altium.com/yt/philslab (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
[LINKS]
Controlling Electromagnetic Emissions from PCB Edges in Backplanes (B. Simonovich, Signal Integrity Journal): https://www.signalintegrityjournal.com/articles/292-controlling-electromagnetic-emissions-from-pcb-edges-in-backplanes
20H Rule Discussion Sources: https://cecas.clemson.edu/cvel/pdf/EMCS01-939.pdf https://ieeexplore.ieee.org/document/4559841 https://iiw.kuleuven.be/onderzoek/remi/projects/DfXBridge/UserDocuments/20hrule.pdf
[TIMESTAMPS]
00:00 Intro
01:24 JLCPCB (Ad)
02:37 Altium Develop (Ad)
03:31 Basics
09:10 Via Fencing
20:45 Exposed Copper
22:54 Edge Plating
26:54 Outro PCB Via Fencing & Edge Plating Basics - Phils Lab #175](https://i.ytimg.com/vi/fQ1BTyvXfKw/mqdefault.jpg)