TinyUSB + STM32 Tutorial (USB CDC) - Phils Lab #168 @PhilsLab
TinyUSB + STM32 Tutorial (USB CDC) - Phils Lab #168  @PhilsLab
Uploaded January 2026 | Updated November 2026, 3 hours ago
How to set-up and integrate TinyUSB with STM32 microcontrollers. Including dual-port CDC demo.

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 (Ad)

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

[LINKS]
TinyUSB: docs.tinyusb.org/en/latest/index.html
TinyUSB Git: github.com/hathach/tinyusb

[TIMESTAMPS]
00:00 TinyUSB Intro

02:50 JLCPCB (Ad)
03:52 Altium Develop (Ad)

04:45 Hardware Overview

05:28 CubeIDE Set-Up
08:42 Including TinyUSB Source
10:09 TUSB Config
15:25 USB Descriptor
17:28 Interrupt Handler
18:46 main.c
20:01 Callbacks and Class Functions
21:54 CDC Echo Test

24:17 Outro
TinyUSB + STM32 Tutorial (USB CDC) - Phils Lab #168DIY Flight Simulator (Unity/C#)Comb Filters & Delay Lines in Software (STM32) - Phils Lab #124System Identification with Matlab - Control System Design 3/6 - Phils Lab #9Capacitor Measurement and Modelling Basics (Bode 100) - Phils Lab #150DSP Overdrive Algorithm in Software (STM32) - Phils Lab #117LDO Regulator Hardware Design - Phils Lab #105(Sponsored) Practical RF Hardware and PCB Design Tips - Phils Lab #19STM32H7 ADC + DMA + Timer Firmware Tutorial - Phils Lab #138STM32 USB SD Card Mass Storage Device Tutorial - Phils Lab #148PCB Controlled Impedance - Phils Lab #171How To Learn PCB Design (My Thoughts, Journey, and Resources) - Phils Lab #87
Phil’s Lab |

TinyUSB + STM32 Tutorial (USB CDC) - Phil's Lab #168

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER