[En-Nut-Discussion] Enhancing UDP transmission speed

Mattias Moser matmoser at student.ethz.ch
Wed Feb 22 11:38:25 CET 2006


Hello,
I'm currently working on a project which looks as follows:

Getting 3 bytes of sensor data over SPI (at least 20000 measurements per
second = 60kB per second);
Add a timestamp;
Transmit the data to a PC over ethernet using the UDP-protocoll;

What I,ve tested so far is pretty straightforward, just a simple loop which
contains the aforementioned components.
The transmission speed I measured although is pretty low (about 2000
measurements per second)
I know that the overhead for 6bytes of data per packet is pretty high, but
since I have to get the data over SPI in realtime this is all I could get.

Are there any suggestions around on how to improve readout velocity?

And please be gentle, I'm new to the topic, I received my nut a week ago.

-mat




More information about the En-Nut-Discussion mailing list