Main Site Documentation

[FEZ Spider] Slow data transfer via USB/Serial connection


#1

Hi,
I’m using USB/Serial connection for data transfer from my PC to FEZ Spider board.
The transfer is extremely low, about 1kB/s is there any way to configure serial port/board to get faster communication?
That’s my serial port configuration:
_serialPort.Configure(115200, Gadgeteer.Interfaces.Serial.SerialParity.None, Gadgeteer.Interfaces.Serial.SerialStopBits.One, 8);


#2

@ mmalkows -


_serialPort.Configure(115200, Gadgeteer.Interfaces.Serial.SerialParity.None, Gadgeteer.Interfaces.Serial.SerialStopBits.One, 8);

That configuration just tell you max speed will be about 11KB. The real speed may be slower depends on how delay between 2 bytes transferred.

Show more detail about your code if you can!


#3

Or on your PC side, connect TX and RX, I think it is still slow
I don’t think problem is on Spider.


#4

We want to have a fast communicstion interface between FEZ and PC (much more than just a few KBs). Is there any alternative to using Serial to USB module that enusres only few KBs of transfer speed?


#5

@ pgierasi - how fast do you need it and for what purpose?


#6

Required for

  • speedup process of sending new fw to FEZ (for system.update)
  • implementing mouse emulation (send new mouse position to emulate - it may change hundred of times per second)
  • readinging some data from FEZ

I think that 500KB/s would be enough.


#7

I think you will be able to get around 200kbyte/sec


#8

How to achieve such speed?


#9

Sorry about the confusion. What I mean is that the internal system is typically capable of moving 200K bytes. But now I see that the serial port is only 11.5K.

What about using higher rates? Does your system supports higher rates? I haven’t tried Ethernet in the latest firmware but my guess it is over 50k.