On 2/8/07, Szymon Fedor <[EMAIL PROTECTED]> wrote:
Hi all,
Anyone knows how to speed up the the SPI bus on the Tmote Sky in
Tinyos-2?
I want the MSP430 to communicate with CC2420 at the faster baud rate than
the defaul speed. I changed for that the clock division factor in the
msp430usart.h however the operation of the CC2420 is awkward,it doesn't
reaply on the SPI bus.
According to the MSP430 User Guide, page 14-17, using UBR values <2 results
in unpredictable behavior:
UxBRx The baud-rate generator uses the content of {UxBR1+UxBR0} to set the
baud rate. Unpredictable SPI operation occurs if UxBR < 2.
BTW, directly changing the default config in msp430usart.h is not the best
way to reconfigure the spi. You should use the
Msp430SpiConfigure interface to pull a new config from the client component.
Vlado
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help