2021-04-25 01:18 AM
Hello there,
I've setup a composite device (HID + CDC) on STM32F401RCT MCU. However, when sending data via CDC, the PC can only receive some HID packets (kind of lag issue) or no packet at all. I need to send data via HID and CDC concurrently. Is it possible? If not, do we have another solution?
Thank you.
2021-04-25 02:07 AM
Do you use the ST "Cube middleware"? If so, it is not perfect; you'll have to tune it up, or find an industrial quality USB library.
2021-04-25 06:33 PM
Yes, I'm using CubeMx Middleware. In my case how to tune it up? I'm quite new to this.
2021-04-25 11:55 PM
I don't have a simple answer unfortunately. Debug the code, a real (hardware) USB analyser would be very helpful.
Look for examples on github, such of this:
https://github.com/IntergatedCircuits/USBDevice
-- pa