USB CDC stm32u575/85 double payload with 64 bytes and extra data with payloads over 320 bytes #3253
Unanswered
adam-embedded
asked this question in
Q&A
Replies: 1 comment
-
That's sounds terrible, maybe there is a new synchronization issue like #2515 (@Lurcy38 works for ST) You can enable the logging to see if the transfer complete event firing doubled. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use USB CDC. I have tried the CDC dual port example with both freeRTOS and bare metal. No matter what I try I get 128 bytes when sending exactly 64 bytes from the pc to the device. if I send 65 it works fine, I get 64 bytes plus 1 byte in two read operations. If I use another USB stack such as USBX, this does not suffer from the issue.
If I send more than 320 bytes I get random data mixed in with the real data that is transmitted. The thing that is interesting that any payload I receive the extra data is divisible by 64.
I have tested with MacOS and windows and get the same behaviour.
I hope someone can help me with this issue.
Beta Was this translation helpful? Give feedback.
All reactions