7 years, 6 months ago.

HID reading doesn't work - nucleo STM32F401RE

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?

Be the first to answer this question.