cancel
Showing results for 
Search instead for 
Did you mean: 

How to program CDC and HID(joystick) as USB composite for STM32F103?

LYS
Associate II

I am new in STM32.

I can easily make CDC or HID device with STM32CubeIDE.

but I can not find any information for USB Composite device in STM32CubeIDE.

I want to make a USB composite device that has 3 interface as below

Interface 0 = Communication(0x02)

Interface 1 = CDC Data (0x0a)

Interface 2 = HID(joystick)

if you have any advice, please let me know.

3 REPLIES 3
Pavel A.
Evangelist III

There are some examples outside of the Cube. Please google.

-- pa

LYS
Associate II

Thank you again.

Thank you for the reply.

I already google but i can not find the answer,

only found a composite example that has CDC(1 interface) and HID(1 interface).

and I do not know, how to convert to 3 interface CDC(2 interface) and HID(1 interface).

If you have a example source or a web site, please share for me.