cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F0 usb library

svenkatesan
Associate II
Posted on October 22, 2016 at 01:56

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-2014

of the USB library.

Best Reards

Srivatsav
1 REPLY 1
slimen
Senior
Posted on October 24, 2016 at 17:20

Hello,

To have more insight into the USB HID using the STM32Cube library, you can review the USB HID example within the

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef0.html

V1.6.0:

 STM32Cube_FW_F0_V1.6.0\Projects\STM32072B_EVAL\Applications\USB_Device

I suggest to you using the latest version of firmware package F0  which contains enhancement and bug fixes.

 

Regards