cancel
Showing results for 
Search instead for 
Did you mean: 

Set up a USB device using USB device library, how to set up Vendor-Specific Class?

usbdes777
Associate

Hello,

I use EP1 (IN/OUT) for bulk transfer(64 byte) and EP2 (IN) for interrupt transfer(64 byte).

I need to use the Vendor-Specific Class for this configuration. 

Using STM32CubeIDE 1.18.0 to create a usb device, which class shall I use to create this 

 USB configuration. 

usbdes777_0-1747354783259.png

I tried using the Communication Device Class, because it includes EP1(IN/OUT) for bulk transfer and

an interrupt transfer endpoint.(primarily for sending notifications back to host)

Instead of using interrupt transfer endpoint for sending notifications,

I tried modifying this endpoint to send data back to the host when it polls for it.

However, the USB device does not seem to respond to the host polling.

Is this the correct way to do it?

I have also attached my source code

thank you very much!!

0 REPLIES 0