Skip to main content
MPate.7
Associate
December 10, 2021
Question

STM32 HID HOST-DEVICE Communication

I have two stm32F4 discovery boards and want to send data from one board to another through USB HID.

I uploaded HID Device(as Keyboard) code to one board and uploaded HID Host code in another board. The host code is detecting the device but not recognizing it as a keyboard..

The HID Device(as keyboard) is working fine when connecting it to computer.

Kindly suggest a solution.

This topic has been closed for replies.

3 replies

Pavel A.
December 11, 2021

If the device side works with computer, the problem should be on the host side. Does it work with real keyboards?

MPate.7
MPate.7Author
Associate
December 11, 2021

The host works well with USB mouse .. But I haven't checked with keyboard .. ​

Piranha
Principal III
December 26, 2021

Don't waste your time on broken bloatware...

https://github.com/hathach/tinyusb