2025-05-15 6:04 PM
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.
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!!