-
Notifications
You must be signed in to change notification settings - Fork 102
speed of CDC #58
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
Comments
not sure if visible if closed - you can just close it when read... |
@rapzak , I tested the release uf2 on my windows machine, enabling 3 ADC channels and 1 digital channel. That's 4Bytes of data per sample. I then set a number of samples (500ksamples * 4 bytes per sample) much greater than the memory of the device (256). Streaming worked at 160Ksps sample rate, but failed at 200Ksps. So I'm hitting 640KB/sec, but not reaching 800KB/sec I'm going to start work on some new feature adds which will require me to update to the new SDK. I'll leave this open as a reminder to make sure I continue to see that bandwidth rates. I'll also see if the raspberry pi forum link is appropriate, but I'm guessing that the change is only needed for cases where the user is sending large chunks of data all at once to the CDC. With the better buffer management already in this codebase having more buffer space probably doesn't help. |
Hi,
What speed do you have od CDC, as i do not see you have increased buffers for usb?
I managed to get 600kbyte/sec instead 195kbyte/sec after increased buffers...
Take a look:
https://forums.raspberrypi.com/viewtopic.php?p=2285416#p2285416
Great project.. i am doing something simulary with 4 external ADC... higher resolution but slower samplerate...
Cheers
Kasper
The text was updated successfully, but these errors were encountered: