[Tinyos-help] Accessing UART0 on TelosB

Juan Antonio López Riquelme jantonio.lopez at upct.es
Wed Feb 20 09:02:48 PST 2008


Hi Andreas,

you can use Msp430Uart0C component (folder 
C:\cygwin\opt\tinyos-2.x\tos\chips\msp430\usart). This componet provides 
Resource, UartStream and UartByte.

I prefer other choice: You copy the files PlatformSerialC and TelosSerialP 
from C:\cygwin\opt\tinyos-2.x\tos\platforms\telosa in your Application 
folder. In the first file change the component Msp430Uart1C  by the other 
uart and in the file TelosSerialP you can change others parameters as 
parity, stop bits, etc. I prefer this option because only i have to init the 
componet once with the StdControl interface.

I hope that help you.

A greeting,
Juan Antonio.

----- Original Message ----- 
From: "Andreas Reinhardt" <andreas.reinhardt at kom.tu-darmstadt.de>
To: <tinyos-help at millennium.berkeley.edu>
Sent: Wednesday, February 20, 2008 4:28 PM
Subject: [Tinyos-help] Accessing UART0 on TelosB


> Hi there, I was wondering whether someone had a sample implementation 
> that offers serial connectivity over UART0 (the one on the extension 
> header) as well as using the radio transceiver (including resource 
> arbitration and all the other stuff that needs to be catered for). If  so, 
> please let me know.
>
> Regards, Andreas
> _______________________________________________
> 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