Skip to main content
Visitor II
January 24, 2023
Question

I wish to add a new interface to the existing custom HID STM32 library

  • January 24, 2023
  • 1 reply
  • 721 views

Hi,

I am developing an application with one configuration descriptor & 2 interfaces with 2 endpoints each. The endpoint (CUSTOM_HID) that comes as default while setting up the project via cubeIDE seems to be working alright. I can send and receive data correctly in this interface.

But when I add another interface with two of its new endpoints, the transmission (from device to host) using the in endpoint does not work & generates a pipe error on linux (libusb). Any idea why this could be occuring? Do I need to enable the macro indicating that I want to make the USB device a composite one?

Thanks

    This topic has been closed for replies.

    1 reply

    ST Employee
    January 27, 2023

    Hello @amankumbhani​,

    Please take a look at this libusb training video, it might be helpful