cancel
Showing results for 
Search instead for 
Did you mean: 

My stm32f103c6t6a is sending wrong HID thrown USB

wil92
Associate II

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.

2 REPLIES 2
Pavel A.
Evangelist III

Wrong HID device and report descriptors.

 

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