---
title: "TinyUSB + STM32 Tutorial (USB CDC) - Phil's Lab #168"
url: https://daily.dev/posts/tinyusb-stm32-tutorial-usb-cdc---phil-s-lab-168-ozvwdptaj
source_url: https://www.youtube.com/watch?v=XgsnJdY8LsY
type: video:youtube
source: "Phil's Lab"
published: 2026-05-31T07:45:22.788Z
updated: 2026-06-04T02:12:52.963Z
tags: ["c", "embedded", "stm32"]
reading_time: 25
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

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

**[Phil's Lab](https://daily.dev/sources/phils-lab)** · 25 min read · 0 upvotes · 0 comments

## Summary

A step-by-step walkthrough of integrating TinyUSB on an STM32H743 microcontroller to implement a USB CDC (Communications Device Class) virtual COM port. Covers STM32CubeIDE project setup, enabling the USB full-speed peripheral and interrupt, cloning the TinyUSB repo, configuring tusb_config.h and USB descriptors, wiring the interrupt handler, initializing TinyUSB in main, and testing a dual-port CDC echo program via a terminal. Also discusses why TinyUSB is a good alternative to ST's USBX/ThreadX middleware.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=XgsnJdY8LsY>

---

Tags: [#c](https://daily.dev/tags/c), [#embedded](https://daily.dev/tags/embedded), [#stm32](https://daily.dev/tags/stm32)

[View this post on daily.dev](https://daily.dev/posts/tinyusb-stm32-tutorial-usb-cdc---phil-s-lab-168-ozvwdptaj)
