cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement HID + CDC?

HGaut.1
Associate II

Hello, I am actually trying to implement HID + CDC in my project, I found nothing interesting on Google.

Is someone know something about it or have a working example? It would help me a lot, thank you in advance.

2 REPLIES 2
Imen.D
ST Employee

Hello @HGaut.1​ ,

You can follow the instructions from the STM32 USB training:

I recommend you to refer to the "STM32Cube USB device library" User manual UM173 and UM1720.

You can refer to the CDC_Standalone and HID projects available in the STM32Cube firmware related to your device.

The ready-to-use application can help you as an implementation example. 

Hope this helpful for you.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Thank you for your reply Imen.

What I want to do is implement both HID + CDC in 1 project to be able to send keyboard key through HID and data through COM PORT. (having a HID and COM PORT keyboard is my goal)

I tried on my own and with help on Google, but I found nothing interesting.