-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fast serialUSB read #76
Comments
Hi @sined23 , |
Sorry, I don't know how to do it. You can review these new libraries and compare with existing |
if you have questions for changes pls ask |
The main idea is that bytes are written and read into/from CDC buffer not one by one but block of bytes |
Serial_::accept write into CDC buffer as maximum as possible (only to not overflow the buffer) and one more important thing: in USBD_Recv "while (n--) *dst++ = UDD_Recv8(ep & 0xF);" should be replaced into UDD_Recv(ep & 0xF, dst, len); |
after that read speed is incredible increases !!! |
Fork the repo, do the changes, upload and open a pr. Its very simple, just learn some basic git commands (clone, add, commit, push). |
created PR |
Hi guys! Do you plan to merge this PR? |
merged? |
Hi guys! I increased serialUSB read speed from 1Mbit/s up to 12Mbit/s.
Details are here http://forum.arduino.cc/index.php?topic=391757.0
I suggest you to take it for new arduino version.
The text was updated successfully, but these errors were encountered: