2016-10-21 04:56 PM
Hi there,
I'm using STM32 USB library and I'm working on a project for a HID device. I'm facing some issues with the USBD_HID_SendReport function. I have one endpoint and two input reports. The input reports get sent depending on the events triggered in the system. I populate the buffer to be sent to the host and call the function USBD_HID_SendReport. For some reason, sometimes the report never makes it to the host. I put the USB sniffer and looks like the report never got sent out. Any ideas why this might be happening.I'm using * @version V1.0.1 * @date 31-January-2014of the USB library.Best ReardsSrivatsav2016-10-24 08:20 AM
Hello,
To have more insight into the USB HID using the STM32Cube library, you can review the USB HID example within the V1.6.0: STM32Cube_FW_F0_V1.6.0\Projects\STM32072B_EVAL\Applications\USB_DeviceI suggest to you using the latest version of firmware package F0 which contains enhancement and bug fixes. Regards