Skip to main content
bmak
Senior
Aug 30, 2021 9:50 AM UTC
Solved

STM32F4 + CubeMX, USB CDC + MSC = is it possible?

Hi,

I'm using STM32F407VG on STM32F4 DISC board and CubeMX. I want to have USB in CDC and MSC mode, but I can't find how to configure it in this mode. Is it possible to do using CubeMX?

If not, can I do it using HAL?

Thanks!

This topic has been closed for replies.
Walid ZRELLI
Walid ZRELLIBest answer
Visitor II
Aug 30, 2021 11:15 AM UTC

Hello @Maria Bąk​ ,

At the moment we don't have any USB composite examples. But we will soon release the library that supports the composite builder. Please stay tuned.

BeST Regards,

Walid

4 replies

Walid ZRELLI
Walid ZRELLIBest answer
Visitor II
Aug 30, 2021 11:15 AM UTC

Hello @Maria Bąk​ ,

At the moment we don't have any USB composite examples. But we will soon release the library that supports the composite builder. Please stay tuned.

BeST Regards,

Walid

bmak
bmakAuthor
Senior
Aug 30, 2021 11:24 AM UTC

Thanks :)

Bertrand1
Senior
Aug 30, 2021 12:52 PM UTC

Also interested for this kind of development! ;)

Piranha
Principal III
Sep 25, 2021 10:25 PM UTC

Here you go:

https://github.com/hathach/tinyusb/tree/master/examples/device/cdc_msc/src

It actually works, contrary to ST's broken bloatware. Setting up TinyUSB based on example is a breeze. And, compared to ST's turtle speed development, it evolves with a speed of rocket.