i'm trying to setup an application that will send a constant flow of data from the PC to the teensy and i need as much speed as i can get.
in theory that's 12mbps as stated here
and that would be plenty for me.
i have a teensy2 connected to a linux pc (tested on windows as well) and with your usb_serial example found here:
http://www.pjrc.com/teensy/usb_serial.html
i manage to get to the ~1Mbyte/s transfer rate you mention at the bottom of the page.
but i need that speed the other way around (PC to T2). i was wondering if there was a rx test program as you do for tx? or if anybody ran any benchmarks?
i can't reproduce that speed with rx (data from PC to T2). i have a barebones serial read loop on the teensy and the computer is sending packets of 64 to 256bytes. i reach a max transfer rate of 315kbytes/s.
if i add a serialavailable() on top of that (to make it more proper), i fall even more (to ~215kbytes/s)
anybody experimented with this?
thanks!
in theory that's 12mbps as stated here
and that would be plenty for me.
i have a teensy2 connected to a linux pc (tested on windows as well) and with your usb_serial example found here:
http://www.pjrc.com/teensy/usb_serial.html
i manage to get to the ~1Mbyte/s transfer rate you mention at the bottom of the page.
but i need that speed the other way around (PC to T2). i was wondering if there was a rx test program as you do for tx? or if anybody ran any benchmarks?
i can't reproduce that speed with rx (data from PC to T2). i have a barebones serial read loop on the teensy and the computer is sending packets of 64 to 256bytes. i reach a max transfer rate of 315kbytes/s.
if i add a serialavailable() on top of that (to make it more proper), i fall even more (to ~215kbytes/s)
anybody experimented with this?
thanks!