Question
STM32F072 USB HID related question
Posted on January 02, 2015 at 10:44
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! #hid #usb #stm32f0