cancel
Showing results for 
Search instead for 
Did you mean: 

USB HID Device response with a STALL

DSchu.6
Associate

Hello everyone,

I have trouble while implementing USB HID on a STM32F373.

I use the "custom Human Interface device class" and implemented all like in the video from ST Link. I also tested my device with the HID Terminal from the video (the Programm just sends a string and then prints the response string from the device) [also attached].

The first 2 times the transmission and receive works quite well, but at the 3rd time the program crashes. I captured the USB communication with wireshark (capture is also attached).

There I can see that the Device response with the status "USBD_STATUS_STALL_PID" (see the following picture)

0693W00000HneolQAB.png 

If any one of you have an idea what could be wrong, please give me a hint.

I m searching this problem for a long time now, but still have no idea.

Thank you very much.

0 REPLIES 0