Affordable and flexible platform to ease prototyping using a STM32F401RET6 microcontroller.

HID reading doesn't work - nucleo STM32F401RE

22 Sep 2016

Using nucleo STM32F401RE with the example: USBHID_TestCase I'm not able to read any data althought sending data works perfectly.

I've tried with 'hid.read(&recv_report)' and 'hid.readNB(&recv_report)' but the result is the same.

One thing I've noticed is that the event is triggering but the report length is always 0.

I think that the issue could be related with the variable 'rxFifoCount' inside of HSBHAL_STM32F4.cpp, because is always 0, but I'm not sure.

Has anyone had this problem before? Is it solved by now?

Please log in to post a reply.