Uploaded May 2023 | Updated November 2026, 3 hours ago
How to implement a soft-core microcontroller (AMD/Xilinx Microblaze) and peripherals (UART, GPIO) on an FPGA. PCBs by PCBWay pcbway.com
From project creation, system generation in Vivado, Vitis set-up, to live demos. Featuring a custom AMD/Xilinx Spartan 7-based audio processing PCB. (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
Free trial of Altium Designer: altium.com/yt/philslab (AD)
Patreon: patreon.com/phils94
[GIT]
github.com/pms67
[SOCIAL]
Instagram: instagram.com/philslabyt
[LINKS]
Microblaze: xilinx.com/products/design-tools/microblaze.html
Vivado: xilinx.com/products/design-tools/vivado.html
Vitis: xilinx.com/products/design-tools/vitis/vitis-platform.html
[TIMESTAMPS]
00:00 Introduction
00:55 Altium Designer Free Trial (Ad)
01:24 PCBWay (Ad)
01:55 Hardware Design Course
02:12 Microblaze Basics
04:18 Hardware Block Diagram
06:25 Vivado Project Set-Up
07:18 Constraints
11:30 Microblaze Block Design
12:40 Clocking Wizard IP
13:54 UART IP
15:27 GPIO IP
16:16 Reset Signal
17:29 Bitstream Generation
18:30 Exporting Hardware (XSA)
19:05 Vitis IDE
19:24 Vitis Project Set-Up
20:07 UART Hello World Test
21:50 GPIO LED Test
23:45 Outro
How to implement a soft-core microcontroller (AMD/Xilinx Microblaze) and peripherals (UART, GPIO) on an FPGA. PCBs by PCBWay pcbway.com
From project creation, system generation in Vivado, Vitis set-up, to live demos. Featuring a custom AMD/Xilinx Spartan 7-based audio processing PCB. (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
Free trial of Altium Designer: altium.com/yt/philslab (AD)
Patreon: patreon.com/phils94
[GIT]
github.com/pms67
[SOCIAL]
Instagram: instagram.com/philslabyt
[LINKS]
Microblaze: xilinx.com/products/design-tools/microblaze.html
Vivado: xilinx.com/products/design-tools/vivado.html
Vitis: xilinx.com/products/design-tools/vitis/vitis-platform.html
[TIMESTAMPS]
00:00 Introduction
00:55 Altium Designer Free Trial (Ad)
01:24 PCBWay (Ad)
01:55 Hardware Design Course
02:12 Microblaze Basics
04:18 Hardware Block Diagram
06:25 Vivado Project Set-Up
07:18 Constraints
11:30 Microblaze Block Design
12:40 Clocking Wizard IP
13:54 UART IP
15:27 GPIO IP
16:16 Reset Signal
17:29 Bitstream Generation
18:30 Exporting Hardware (XSA)
19:05 Vitis IDE
19:24 Vitis Project Set-Up
20:07 UART Hello World Test
21:50 GPIO LED Test
23:45 Outro
![Bilinear Transform IIR Filter Design (STM32 DSP) - Phils Lab #159
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.)
Basics of discretisation of analog filter prototypes using the Bilinear (Tustin) transform for an STM32-based custom DSP hardware effects platform. Demonstration of derivation, frequency-warping, and software implementation in C.
[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]
Real-Time Software Implementation of Analog Filters: https://www.youtube.com/watch?v=MrbffdimDts
DSP Playlist: https://www.youtube.com/playlist?list=PLXSyc11qLa1ZCn0JCnaaXOWN6Z46rK9jd
QA403 Tutorial: https://www.youtube.com/watch?v=S5oqL3dJ-G8
[TIMESTAMPS]
00:00 Intro
01:34 JLCPCB (Ad)
02:38 Discretisation Basics
04:36 Discretisation Methods
06:19 Bilinear Transform Derivation
07:52 Stability
08:19 Frequency Warping
09:41 RC Low-Pass Filter Example
13:20 Bilinear vs Backward Euler vs Analog Prototype
15:38 Software Implementation (STM32)
21:17 Frequency Response Demo
22:51 Outro Bilinear Transform IIR Filter Design (STM32 DSP) - Phils Lab #159](https://i.ytimg.com/vi/oBVi0smvm8Q/mqdefault.jpg)
![STM32 + SWD + ST-Link + CubeIDE | Debugging on Custom Hardware Tutorial - Phils Lab #4
Guide on how to connect, check, program, and debug your custom STM32-based hardware via SWD and the ST-Link debugger utilising STM32CubeIDE.
If you have any questions or suggestions for future videos, please let me know in the comments!
[Timestamps]
00:00 Introduction
00:28 ST-Link
01:08 Hardware Connections
02:11 ST-Link Utility (Checking that we can connect to STM32 MCU)
03:37 STM32CubeIDE (Programming and debugging software package)
05:22 Enabling SWD
06:04 Setting up an external high-speed crystal (HSE)
07:10 Additional peripheral selection
08:50 LED blinking test code
09:44 Building code and checking for compiler errors
10:02 Debug configuration, debugging, and flashing via ST-Link
11:26 Running, pausing, and setting breakpoints
12:20 Hardware running code
[Hardware]
ST-Link/V2 Debugger: https://www.st.com/en/development-tools/st-link-v2.html
20-pin to 10-pin 1.27mm Adapter: https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-20-10/
[Software]
STM32CubeIDE: https://www.st.com/en/development-tools/stm32cubeide.html
ST-Link Utility: https://www.st.com/en/development-tools/stsw-link004.html
ID: QIBvbJtYjWuHiTG0uCoK STM32 + SWD + ST-Link + CubeIDE | Debugging on Custom Hardware Tutorial - Phils Lab #4](https://i.ytimg.com/vi/qMUzLU636s8/mqdefault.jpg)
![Noise Gate - DSP with STM32 - Phils Lab #58
Audio noise gate theory and real-time implementation on an STM32 microcontroller in C. Basic (threshold) vs advanced noise gate (threshold + attack + release + hold), analysis in time domain, tests using Digilent ADP3450 to see influence of noise gate parameters on signals. Live guitar demos.
(AD: This video includes a paid promotion for JLCPCB and Altium.)
[SUPPORT]
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
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
First DSP Video: https://youtu.be/VDhmVrbSpqA
GitHub: https://github.com/pms67
Matlab article: https://www.mathworks.com/help/audio/ref/noisegate-system-object.html
Dynamic range gate paper: https://www.eecs.qmul.ac.uk/~josh/documents/2012/GiannoulisMassbergReiss-dynamicrangecompression-JAES2012.pdf
Digilent ADP3450: https://digilent.com/shop/analog-discovery-pro-3000-series-portable-high-resolution-mixed-signal-oscilloscopes/
[TIMESTAMPS]
00:00 Guitar Demo
00:18 Introduction
01:22 JLCPCB and Git (Ad)
01:47 Altium Designer Free Trial (Ad)
02:23 Noise Gate Theory
04:55 Basic Noise Gate Implementation (STM32CubeIDE)
05:54 Basic Noise Gate Live Tests (Digilent Waveforms)
07:27 Basic Noise Gate Guitar Demo
07:38 Noise Gate Improvements (Advanced Noise Gate)
13:00 Advanced Noise Gate Implementation (STM32CubeIDE)
18:37 Advanced Noise Gate Live Tests (Digilent Waveforms)
21:05 Advanced Noise Gate Guitar Demo
ID: QIBvbJtYjWuHiTG0uCoK Noise Gate - DSP with STM32 - Phils Lab #58](https://i.ytimg.com/vi/q_Anc8KyrXI/mqdefault.jpg)
![Boost Converter Design & Sizing - Phils Lab #113
How to determine and calculate appropriate component values for a switching regulator (boost converter). Including sizing of input/output capacitors, inductor, diode, and feedback network. As well as how to navigate distributor part searches to find suitable components. (AD: This video includes a paid promotion for 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]
Boost converter PCB design: https://www.youtube.com/watch?v=1g-D8T65SJU
Buck converter component selection & sizing: https://www.youtube.com/watch?v=FqT_Ofd54fo
Buck converter PCB design: https://www.youtube.com/watch?v=AmfLhT5SntE
[TIMESTAMPS]
00:00 Introduction
00:59 Altium Designer Free Trial (Ad)
01:25 Boost Topology & Components
02:28 Design Parameters
03:53 Choice of Controller IC
08:26 Inductance Calculation
11:07 Maximum Currents
13:01 Inductor Selection
14:57 Diode
16:24 Feedback Network
19:11 Input/Output Capacitors
23:46 Outro Boost Converter Design & Sizing - Phils Lab #113](https://i.ytimg.com/vi/qd7qcZnV70o/mqdefault.jpg)
![Biquad Filters (DSP with STM32) - Phils Lab #172
Theory and implementation of digital, discrete-time biquad filters on an STM32-based audio-processing system.
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)
OSHWLab Stars 2026: https://oshwlab.com/activities/stars2026
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]
DSP Playlist: https://www.youtube.com/playlist?list=PLXSyc11qLa1ZCn0JCnaaXOWN6Z46rK9jd
[TIMESTAMPS]
00:00 Intro
02:02 JLCPCB (Ad)
03:37 Altium Develop (Ad)
04:42 Basics
07:02 Why use Biquads?
08:35 Transposed Direct Form II
09:58 Difference Equations
12:58 Computing Coefficients
15:33 Implementation
23:09 Lowpass Filter Test (2nd Order)
24:47 Cascading Biquads (4th Order LPF)
25:59 Outro Biquad Filters (DSP with STM32) - Phils Lab #172](https://i.ytimg.com/vi/rDERCmBAv3I/mqdefault.jpg)
![(Sponsored) Design Review - Schematic & PCB - Phils Lab #70
Second design review of series. Examining schematic and PCB design of a wireless keyboard adapter made using KiCad. Common errors, best practices, routing techniques, and so on discussed in brief. Thanks to Andrew for sending this one in! Send your designs for review here: https://phils-lab.net/contact
(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 Design Review Overview
00:30 Blue Wizard Mod (KiCad Design)
01:32 Altium Designer Free Trial (Ad)
02:06 Schematic Review
09:20 PCB Review
ID: QIBvbJtYjWuHiTG0uCoK (Sponsored) Design Review - Schematic & PCB - Phils Lab #70](https://i.ytimg.com/vi/rIDl-V2G2yk/mqdefault.jpg)
![Flight Control System Design: Hardware and PCB Design with KiCAD - Phils Lab #1
Complete source files: https://github.com/pms67/HadesFCS
If youre enjoying my content, please consider becoming a patron: https://www.patreon.com/phils94
[Timestamps listed below]
First part of a series of videos on the design of a complete flight control system from scratch (hardware, software, control and navigation algorithms, base station, etc.).
I go through the necessary steps to design the hardware, including choosing components, schematic design, layout, routing, and testing.
I designed the PCB with KiCAD and had the boards manufactured and assembled by PCBWay.
Timestamps:
00:00 Quick look at hardware
[Slides]
00:06 Introduction
01:05 Aims
02:14 Prototype
02:43 Requirements
04:12 Block Diagram
06:37 Creating the schematic
09:06 Picking the physical parts
11:00 PCB layout
12:37 Routing
14:21 Preparation for production
15:14 Testing the hardware
16:54 Next steps for flight control system design
[KiCAD]
18:42 Schematic
19:48 Final layout
20:23 PCB sectioning
22:25 Important PCB areas (e.g. oscillators)
24:08 High current traces
24:44 Routing order and stitching vias
25:25 First hardware tests
ID: QIBvbJtYjWuHiTG0uCoK Flight Control System Design: Hardware and PCB Design with KiCAD - Phils Lab #1](https://i.ytimg.com/vi/rLDqQ2L_mUQ/mqdefault.jpg)
![Debugging, Logging, and Monitoring via SWO Trace (STM32 ITM & DWT) - Phils Lab #173
Printf, variable monitoring, debugging, and more using the serial wire trace output (SWO).
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)
OSHWLab Stars 2026: https://oshwlab.com/activities/stars2026
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]
SWO Basics: https://black-magic.org/usage/swo.html
[TIMESTAMPS]
00:00 Intro
01:46 JLCPCB (Ad)
03:21 Altium Develop (Ad)
04:26 SWO & HW Overview
07:31 CubeIDE Set-Up
09:03 ITM Port & SendChar
12:12 printf via ITM
13:14 Enabling SWV
16:04 Multiple ITM Ports
18:34 DWT Comparator Variable Monitor
22:44 Outro Debugging, Logging, and Monitoring via SWO Trace (STM32 ITM & DWT) - Phils Lab #173](https://i.ytimg.com/vi/rdmJgQW5JrQ/mqdefault.jpg)
![DSP Overdrive (Asymmetrical Clipping) in Software (STM32) - Phils Lab #153
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.)
How to design and implement an audio asymmetrical clipping overdrive/distortion algorithm on a custom STM32-based digital signal processing system.
[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]
Previous Overdrive Video: https://www.youtube.com/watch?v 0ys155xv1Q
STM32 DSP Introduction: https://www.youtube.com/watch?v=VDhmVrbSpqA
STM32 I2S/ADC/DMA: https://www.youtube.com/watch?v=zlGSxZGwj-E
FIR Filters: https://www.youtube.com/watch?v=uNNNj9AZisM
IIR Filters: https://www.youtube.com/watch?v=QRMe02kzVkA
Audio EQ: https://www.youtube.com/watch?v=4o gUht_Xc
[TIMESTAMPS]
00:00 Solo
00:18 Intro
01:55 Previous Video
02:23 JLCPCB (Ad)
03:32 Analogue Overdrive
04:53 Asymmetrical Clipping
06:43 Static Non-Linearity Parameters
08:32 Time & Frequency Domain
10:15 Block Diagram
12:14 Code (STM32)
17:08 Test - Time & Frequency Domain
20:50 Test - Guitar Playthrough
23:39 Outro DSP Overdrive (Asymmetrical Clipping) in Software (STM32) - Phils Lab #153](https://i.ytimg.com/vi/rnvEA7SOaSA/mqdefault.jpg)
![I2C Hardware & PCB Design - Phils Lab #132
I2C implementation tips (pull-up resistor sizing, bus capacitance, schematic gotchas, and PCB design). 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]
How To Write A Driver (STM32, I2C): https://www.youtube.com/watch?v JQAve05o_0
I2C Bus Specification and User Manual: https://www.nxp.com/docs/en/user-guide/UM10204.pdf
Designing with I2C Bus Devices: https://www.nxp.com/docs/en/training-reference-material/DESIGNING-WITH-I2C-BUS-DEVICES.pdf
I2C Bus Pull-Up Resistor Calculation: https://www.ti.com/lit/an/slva689/slva689.pdf?ts=1608399660926
Why, When, and How To Use I2C Buffers: https://www.ti.com/lit/an/scpa054/scpa054.pdf?ts=1709118605496
[TIMESTAMPS]
00:00 Introduction
01:50 PCBWay (Ad)
02:33 I2C Basics
07:19 Bus Capacitance
11:15 Pull-Up Resistors
18:29 Repeaters, Level Shifters, and Multiplexers
21:06 Schematic Tips
25:16 PCB Design Tips
34:20 Outro I2C Hardware & PCB Design - Phils Lab #132](https://i.ytimg.com/vi/sCHK3P5tn7s/mqdefault.jpg)
