Hi Roman y Andrea,

more thanks for reply and help my.

I am problems for wire Msp430UartConfigure interface with my implementation
of my application.

Juan [EMAIL PROTECTED] /cygdrive/j/paso2
$ make telosb
mkdir -p build/telosb
   compiling SerialExpansionAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_
GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c
-board=   S
erialExpansionAppC.nc -lm
In component `SerialExpansionAppC':
SerialExpansionAppC.nc:55: cannot find `Msp430UartConfigure'
make: *** [exe0] Error 1

I test the comunication with Matlab and all ok, only when i read data from
mote sometimes recibe 65 and other 128, i think this is by allocate and free
the resource. Need use Msp430UartConfigure for change baude rate from 57600
to 115200 bps.

Thank in advance.

A greeting,
Juan Antonio.


2007/4/11, Roman Lim <[EMAIL PROTECTED]>:

Hi

Msp430Uart0C would be the right component. in order to configure the
uart, you need to wire a configuration via the Msp430UartConfigure
interface.

maybe the dsn components in /tinyos-2.x-contrib/ethz/snpk/lib/dsn are
helpful. they're ment to print out and read in text via one of the two
uart interfaces of the msp430.

Roman

Juan Antonio López Riquelme wrote:
> Hi,
>
> i wait that you can understand my poor english...
>
> i today try use Usart0 of telosb with the computer very fast. I
> connect pins 2, 4 y 9 of expansion connector with the DB-9 female
> without MAX232 :-(
>
> In the software i try with Msp430Usart0C componet and the interfaces:
> HplMsp430Usart and HplMsp430UsartInterrupts, but not good. I read the
> reply to your message and tomorrow later the use MAX232, i will try
> with Msp430Uart0C component. Can you give me more help?...interfaces
> to use, how configurate the speed.
>
> Any suggestion is very appreciated.
> Thank in advance.
>
> A greeting,
> Juan Antonio.
>
> Andrea Labo wrote:
>
>
>     Hi there,
>     I need to connect my TelosB(using TinyOS 2.x) with a pc through the
UART0
>     pins from the expansion connector.
>     I guess I must use the max232 chip for hardware connection and need
>     drivers to configure the connection parameter(i.e.: baud rate,
length,
>     stop bit...) and others to send and receive byte from/to Uart0.
>     Does anyone know if there are these modules in tinyOS 2.x?
>     Does anyone has tried it?
>     Any suggestion is very appreciated.
>     Thank in advance.
>     Andrea.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [EMAIL PROTECTED]
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



Attachment: SerialExpansionAppC.nc
Description: Cdf file

Attachment: SerialExpansionC.nc
Description: Cdf file

_______________________________________________
Tinyos-help mailing list
[EMAIL PROTECTED]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to