Skip to main content
LYS
Associate II
September 18, 2019
Question

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

  • September 18, 2019
  • 2 replies
  • 1110 views

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.

This topic has been closed for replies.

2 replies

Pavel A.
Super User
September 18, 2019

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

-- pa

LYS
LYSAuthor
Associate II
September 19, 2019

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.

LYS
LYSAuthor
Associate II
September 19, 2019

Thank you again.