ux_device_class_hid_event_set stucks when transmitting using endpoint 2
HaoboGu opened this issue · comments
HaoboGu commented
Hello, I'm using usbx ux_device_class_hid_event_set(hid_inst, &hid_event);
to transmit data from my stm32h7 board to host. My hid_inst
has two endpoints, one for receiving data and one for sending data:
When I sends data using endpoint 0x82, this thread stucks at
It seems no data is sent at all. I sniffed the usb, no data is received at host at endpoint 0x82.
HaoboGu commented
Fixed. Setting more USBTX FIFO solves it.