Skip to main content
Visitor II
December 10, 2021
Question

STM32 HID HOST-DEVICE Communication

  • December 10, 2021
  • 3 replies
  • 1163 views

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

    Super User
    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.7Author
    Visitor II
    December 11, 2021

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

    Graduate II
    December 26, 2021

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

    https://github.com/hathach/tinyusb