[Tinyos-devel] And another question about Msp430SpiNoDma
Philip Levis
pal at cs.stanford.edu
Thu May 15 10:30:08 PDT 2008
On May 15, 2008, at 10:10 AM, Eric Decker wrote:
> In the code there is a define in the Msp430SpiNoDmaP.nc called
> SPI_ATOMIC_SIZE.
> It is set to the value 2 and causes the no dma code to read two
> bytes at a time.
>
> Why does it need to do this as opposed to reading 1 byte at a time?
Jonathan Hui did an in-depth evaluation of the tradeoffs and found 2
to be the best value:
https://www.millennium.berkeley.edu/pipermail/tinyos-2.0wg/2005-October/001376.html
Phil
More information about the Tinyos-devel
mailing list