STM32 USB 2.0 High-Speed Tutorial (ULPI + MSC + SDRAM) - Phil's 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... (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:   / phils94   [LINKS] USB FS + SD MSC Video:    • STM32 USB SD Card Mass Storage Device Tuto...   SDRAM Video:    • (Sponsored) SDRAM Hardware & Firmware Tuto...   ULPI Blog Post: https://resources.altium.com/p/usb-hi... USB HS DMA Fix: https://community.st.com/t5/stm32-mcu... [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