cancel
Showing results for 
Search instead for 
Did you mean: 

USB Composite Design (CDC+HID Keyboard)

FuadPurnomo
Visitor

Dear STM32 Advisor,

 

I'll design a system based on Nucleo 64 H533RE. The system will act as USB CDC and USB HID Keyboard at the same time. The idea is when the CDC receive a character, here for example "F" then the Nucleo H533RE will output a high going pulse. And, if the Nucleo H533RE receive falling pulse external interrupt, the the Nucleo H533RE will press the F8 key. As a beginner on STM32, is it possible?

FuadPurnomo_0-1760197412665.png

 

Thanks and regards,

 

Fuad Purnomo.

1 REPLY 1
TDK
Super User

The hardware is capable of doing that.

I recommend buying a nucleo board, getting the existing relevant examples working, then extending it to your use case.

STM32CubeH5/Projects/NUCLEO-H503RB/Applications/USBX/Ux_Device_CDC_ACM at main · STMicroelectronics/STM32CubeH5

STM32CubeH5/Projects/NUCLEO-H563ZI/Applications/USBX/Ux_Device_HID_CDC_ACM at main · STMicroelectronics/STM32CubeH5

If you feel a post has answered your question, please click "Accept as Solution".