[Tinyos-help] basestation & uart0 on a telosb mote
Peter de Cauwer
peterdecauwer at gmail.com
Tue Dec 11 10:23:25 PST 2007
Ariel, thanks for your response.
I have studied your application and understand the code. The problem is that
we need basestation because that mote receives sensor data from another mote
via the radio and needs to bridge it to the expansion headers.
So what modifications are required so that basestation works properly?
What i've done so far: changed the wiring in PlatformSerialC from
Msp430Uart1C to Msp430Uart0C
Does the MSP430 uart config need to be changed?
Any changes to the arbiter?
Regards,
Peter
2007/12/11, Ariel Mauricio Nunez Gomez <ingenieroariel at gmail.com>:
>
> Peter, I would suggest you try from something much simpler than
> BaseStation.
>
> I have attached a small app that uses a timer and the serial port on
> Uart0, please remember to make the change described by vlado here<http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg15274.html>
> :
>
> That only uses rx, if you need more help: feel free to post again.
>
> Regards,
> Ariel.
>
>
> On Dec 10, 2007 5:29 PM, Peter de Cauwer < peterdecauwer at gmail.com> wrote:
>
> > Hi,
> >
> > we are working on a project that requires interfacing a telosb with a
> > development board via RS232. First i used the basestation application to
> > interface the mote with the pc via uart1 ( the USB connector ), this worked
> > just fine. Then I connected the mote to PC again, this time using a MAX232
> > as a voltage regulator and connecting the mote via the expansion headers. I
> > modified PlatformSerialC so that is uses Msp430Uart0C instead of
> > Msp430Uart1C. Unfortunately this didn't work properly. I have searched the
> > mailing list, but there isnt a clear solution to this problem.
> >
> > I understand that the problem lies with the uart0 bus arbitration. Is
> > there anyone who has succesfully done this or who can give us some advice as
> > where to start / what needs to be changed in the existing code? ( We are
> > using TinyOS 2 )
> >
> > Any help will be appreciated.
> >
> > Thanks,
> > Peter
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help at Millennium.Berkeley.EDU
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
>
> --
> Ariel Núñez // Project Manager // Keydome Ltda
> Barranquilla // Colombia // South America
> ariel at keydome.com // +57(300)8438443 // +57(317)3205876
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071211/e24bdd80/attachment.htm
More information about the Tinyos-help
mailing list