Hi all,

When we started to use an external crystal oscillator, the problem is
resolved. We had to change UART enum values under:

tinyos-2.x/tos/chips/msp430/usart/msp430usart.h
(i.e. UBR_1MHZ_* & UMCTL_1MHZ_*)

and mapping in Msp430ClockInit.defaultInitClocks():

tinyos-2.x/tos/chips/msp430/timer/Msp430ClockP.nc

Cheers,
Bulut


On Tue, Mar 18, 2008 at 6:52 PM, Bulut ERSAVAS <[EMAIL PROTECTED]> wrote:

> Afonso,
>
> In our case, it seems like the problem happens at extreme
> temperatures. Clock frequency for the UART is affected by the
> deviation on Msp430's internal DCO. In your case, similar problem may
> be the cause. Any other theories?
>
> Thanks,
> Bulut
>
> On Mon, Mar 17, 2008 at 11:06 PM, Afonso Ribas <[EMAIL PROTECTED]>
> wrote:
> > Hey,
> >
> > I am facing a similar problem. I am using micaz and some packets
> received
> > from serial are corrupted.
> > In my payload I have the NODEID, a seq. n° and others things like sensor
> > readings. Sometimes in my java app, I have some messages where NodeID,
> seq.
> > number, and the readings are ZERO.
> >  I either don't know what is the problem.
> >
> >
> >
> >
> > >
> > > Date: Fri, 14 Mar 2008 16:55:45 +0200
> > > From: "Kaan Tuna" <[EMAIL PROTECTED]>
> > > Subject: [Tinyos-help] corrupted data from serial port
> > > To: [email protected]
> > > Message-ID:
> > >         <[EMAIL PROTECTED]>
> > > Content-Type: text/plain; charset="iso-8859-1"
> > >
> > >
> > >
> > >
> > > Hi,
> > > When using Tinyos 2.0.2, my root node connected to PC sends sometimes
> > > corrupt packets through serial port, starting with BE or FE, instead
> of
> > > the (7E....7E) formation.
> > > Has anyone encountered a problem like this before ?
> > > Any idea or help would be granted.
> > >
> > > Kaan
> > > -------------- next part --------------
> > > An HTML attachment was scrubbed...
> > > URL:
> >
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080314/e8d61de9/attachment.htm
> > >
> > >
> >
> >
> > _______________________________________________
> >  Tinyos-help mailing list
> >  [email protected]
> >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to