STM32 Tutorial #81 – AMAZING TinyUSB Library (Composite CDC+MSD)
2.5K views on YouTube
In this video we will use the TinyUSB library with STM32CubeMX, STM32CubeIDE and HAL to create a composite USB CDC (communication device class) and MSC (mass storage class) device on a STM32H562
STM32World wiki: https://stm32world.com/wiki
Example on Github: https://github.com/STM32World/stm32fun/tree/master/examples/sl_mcu_stm32h562_tusb1
BUY Streamline: https://currentmakers.com/products/streamline/
#STM32 #GettingStarted #Tutorial #STM32CubeMX #STM32CubeIDE #TinyUSB #STM32World #USB #Composite
00:00 Intro
00:55 Background – STMicroelectronics dropping HAL support for USB and moving to Bare Metal
03:55 Adding TinyUSB source to your project – either copy or symlink the src
07:37 STM32CubeMX configuration – enabling USB Device
09:23 Looking at the code
10:59 Project properties
12:02 Changes to the tusb_config.h
13:32 Changes to the usb_descriptors.c
15:10 Changes to the msc_disk.c
15:45 Adding the proper interrupt callback
17:13 Changes to main.c
17:54 Creating tusb handler and initializing the library
18:24 Calling tud_task from the superloop
19:50 Running the code – dmesg output
20:20 Mounting the storage device
21:44 The cdc serial loopback device
23:53 The other Streamline blades
24:45 Recap