cancel
Showing results for 
Search instead for 
Did you mean: 

USB Composite Device

SVill.4
Associate

Good morning,

I need to create an USB Interface that supports two functions: Mass Storage + Virtual COM. Maybe someone has already implemented a similar solution or ST has created an example. I'm looking for an example, but i have not found anything up to now.

Thanks a lot.

3 REPLIES 3

Hello @SVill.4​ ,

You can refer to the following examples provided by our F7 software package which uses a multi-core feature:

  • Path: Projects\STM32746G-Discovery\Applications\USB_Device\DualCore_Standalone : Mass Storage (MSC) and Human Interface (HID)
  • Path: Projects\STM32756G_EVAL\Applications\USB_Device\DualCore_Standalone: Device Communication Class (CDC) and Human Interface (HID)

I hope this helps.

BeST Regards,

Walid

SVill.4
Associate

Hi @Walid ZRELLI​ 

Thank for your answer.

I need the low level driver for creating a composite USB device on same USB. This example uses USB FS and USB HS and pratically has two USB cable connected to MCU. I need two USB peripherals on same USB, like ST-LINK V3 on STM32H750-DK board, where there are USB CDC + USB MSC on same cable USB.

Best regards.

Piranha
Chief II

Don't waste your time with broken bloatware and take a look on sanely designed USB stack:

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