Skip to main content
Explorer
June 28, 2023
Question

My stm32f103c6t6a is sending wrong HID thrown USB

  • June 28, 2023
  • 1 reply
  • 1119 views

I soldered all the components to the PCB, then I was able to successfully upload the code to the microcontroller it is a simple program where I send every 2 seconds the key '4', simulating a keyboard. But when I connect my PCB to the computer, the computer sees it as a mouse and not as a keyboard, and instead of receiving the key '4' it moves the cursor every 2 seconds down.

If someone knows what could be my problem it will be really helpful

Thxs in advance.

    This topic has been closed for replies.

    1 reply

    Super User
    June 28, 2023

    Wrong HID device and report descriptors.

     

    wil92Author
    Explorer
    June 28, 2023

    But I'm using the same code in a blue pill, and it works fine