Skip to main content
MPate.7
Associate
Dec 10, 2021 2:55 PM UTC
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.
Dec 11, 2021 4:37 AM UTC

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
Dec 11, 2021 10:57 AM UTC

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

Piranha
Principal III
Dec 26, 2021 12:08 AM UTC

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

https://github.com/hathach/tinyusb