Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 3 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?