cancel
Showing results for 
Search instead for 
Did you mean: 

USB OTG host multi-application.

benyBoy
Associate II

Hi , I have an application that streams multiple audio sources over USB device Audio class to PC. The PC detects audio device and the streams work.

I'm building hardware based on X-CUBE-MEMSMIC1 and don't want to use a second micro ( st-link ((stm32f0xx ) just to have serial data VCOM get across to the PC.

I would like to send at the same time as the audio some basic serial data stream. I am aware of Virtual COM library but not sure I can have multiple USB class functions on 1 x USB device?

Is it possible to use 2 USB device class applications like this?

I'm new to working with USB and have no idea if this would be normal?

what is the usual way to send simple low bit rate data over USB to PC? serial ?

Any ideas would be appreciated. I'd like to keep the pcb small and simple! 1 x usb connector + 1 x micro for audio and serial data.

Ben

1 REPLY 1
benyBoy
Associate II

I think I need to implement usb audio device class and Communication device class (CDC) on the same USB cable. I think it will be possible.

UM1734 User manual STM32Cube USB device library

If anyone has done this before are there any pitfalls ?