[net2-wg] 600 pps, high throughput
henri dubois-ferriere
henridf at gmail.com
Mon Mar 13 14:54:38 PST 2006
On 13/03/06, Philip Levis <pal at cs.stanford.edu> wrote:
> If the idle time per packet is I, then
>
> 616 * (I + 160/256k) = 1
> 380 * (I + 368/256k) = 1
>
> so the idle time is ~1ms per packet, but it looks like it's not
> independent of the packet size (you do have to read it out, after all).
>
On that topic, I believe the SpiByte and SpiPacket msp430
implementations in 2.x do slow things down a bit in comparison with
1.x.
Something like 40us per byte (*), so you can quickly run up to 1ms
transfer time with large packets. For SpiPacket, this could be
improved by growing SPI_ATOMIC_SIZE in Msp430SpiP.nc
Henri
(*) this is from memory, not a firm number -- but i don't have an
oscilloscope at home to verify.
More information about the net2-wg
mailing list