AnsweredAssumed Answered

USB HID GamePad with STMF103 and CubeMX

Question asked by yazdani.saeid on May 26, 2015
Latest reply on May 26, 2015 by Zirconium
Hi All,

I have generated code for a USB HID device, but it does not do anything, I mean my PC does not recognize anything. I have not changed anything in the code because I was assuming that it should at least get detected by the PC when I insert the USB cable.

I think the problem is with the DISC at PC11 or CNTRL on PC10 port/pins. I did not find any code generated by CubeMX in this regard.

I also want to have HID Descriptor according to http://www.usb.org/developers/hidpage/ but I don't know where to put this in the code.

Can you suggest me any fix/solution please?

Please let me know if you need more details. Thanks.

Outcomes