[Tinyos-help] Mote-PC serial speed increasing

Janos Sallai sallai at isis.vanderbilt.edu
Mon Jun 9 12:40:22 PDT 2008


Andrey,

This should work with a MIB520, but it is problematic with a MIB510. Should you have the former programming board, the bottleneck will probably be the interrupt load on the mote in the pc->mote direction. Note that the serial stack doesn't buffer outgoing packets (mote->pc), so the app must assume a lossy mote->pc link.

On the iris, the ubrr0 register is set, at initialization time, to a calibrated value for 57600bps. You can change the baud rate by writing this register.

Janos

-----Original Message-----
From: tinyos-help-bounces at millennium.berkeley.edu [mailto:tinyos-help-bounces at millennium.berkeley.edu] On Behalf Of Andrey Gursky
Sent: Tuesday, June 03, 2008 6:16 AM
To: tinyos-help at millennium.berkeley.edu
Subject: [Tinyos-help] Mote-PC serial speed increasing

Hi tinyOS-community!

It seems possible (according datasheet) to use USART of ATmega128x in >57600 speed mode. Thus ZigBee functions of 250 Kbit/s it would be nice to have this speed also between basestation and PC.
Does somebody know exactly, whether it would be as of some other reasons not possible? Or have I to alter configuration in .../chip/atm1281 to get this working?


Best regards,
Andrey

P.S. Particularly I'm interesting in iris-motes.
_______________________________________________
Tinyos-help mailing list
Tinyos-help at millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



More information about the Tinyos-help mailing list