STM32 USB 2.0 High-Speed Tutorial (ULPI + MSC + SDRAM) - Phils Lab #167 @PhilsLab
STM32 USB 2.0 High-Speed Tutorial (ULPI + MSC + SDRAM) - Phils Lab #167  @PhilsLab
Uploaded December 2025 | Updated November 2026, 3 hours ago
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: jlcpcb.com/events/6-layer-pcb?from=PhilsLab (Ad)

Altium Develop: altium.com/yt/philslab

[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: phils-lab.net/courses
Patreon: patreon.com/phils94

[LINKS]
USB FS + SD MSC Video: youtube.com/watch?v=aEwwQMdKd-c
SDRAM Video: youtube.com/watch?v=h28D4AaPSjg
ULPI Blog Post: resources.altium.com/p/usb-high-speed-ulpi-routing
USB HS DMA Fix: 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 #167Cambridge University First Year Engineering Structural LabPCB Design for Manufacturing (DFM) Q&A with Sierra Circuits - Phils Lab #158Tremolo Effect - Digital Audio Processing with STM32 #3 - Phils Lab #51FPGA/SoC Board Bring-Up - QSPI (Zynq Part 3) - Phils Lab #98STM32 Fast Fourier Transform (CMSIS DSP FFT) - Phils Lab #111(Sponsored) ESC Hardware Design - Phils Lab #66(Sponsored) STM32 Board Bring-Up (Firmware and Test) - Phils Lab #54HyperLynx DC Drop Simulation - Phils Lab #164Critiquing My Own PCB Designs - Phils Lab #43(Sponsored) Design Review (Buck + STM32 + Peripherals)  - Phils Lab #81IMU Sensor Fusion - Kalman vs Complementary Filter
Phil’s Lab |

STM32 USB 2.0 High-Speed Tutorial (ULPI + MSC + SDRAM) - Phil's Lab #167

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER