AnsweredAssumed Answered

STM32F072 USB HID related question

Question asked by goncharov.alexey on Jan 2, 2015
Latest reply on Jan 3, 2015 by goncharov.alexey
Dear all,

I'm working on a STM32F072-based device that needs to exchange data with PC in both directions. I chose the USB HID, because of data volumes are really not impressive and there is no need to install additional drivers. From the PC side the libusb has been used to interact with the device.
The device has 2 interrupt endpoints: IN and OUT. Data transfer to PC is implemented with USBD_HID_SendReport . But I can't figure out, how to receive the data from PC. HID-related examples that come with the STM32F0x2_USB-FS-Device_Lib demonstrate only IN transfer. So.. could you please share some demo code or link where this question/issue can become unveiled.

Thank you!