X-CUBE-AZRTOS-H7 (Azure RTOS Software Expansion for STM32Cube) provides a full integration of Microsoft Azure RTOS in the STM32Cube environment for the STM32H7 series of microcontrollers.
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
Hello, I'm using usbx
ux_device_class_hid_event_set(hid_inst, &hid_event);
to transmit data from my stm32h7 board to host. Myhid_inst
has two endpoints, one for receiving data and one for sending data:When I sends data using endpoint 0x82, this thread stucks at
https://github.com/STMicroelectronics/x-cube-azrtos-h7/blob/57faa03d093cb37ad341798d76886af15decdc74/Middlewares/ST/usbx/common/usbx_stm32_device_controllers/ux_dcd_stm32_transfer_request.c#L112
It seems no data is sent at all. I sniffed the usb, no data is received at host at endpoint 0x82.