cancel
Showing results for 
Search instead for 
Did you mean: 

Problem sending data concurrently via Composite USB

NChin.2
Associate II

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.

3 REPLIES 3
Pavel A.
Evangelist III

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.

Yes, I'm using CubeMx Middleware. In my case how to tune it up? I'm quite new to this.

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