Problem sending data concurrently via Composite USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-25 1: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.
- Labels:
-
STM32F4 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-25 2: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-25 6:33 PM
Yes, I'm using CubeMx Middleware. In my case how to tune it up? I'm quite new to this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
