Hello, I am using a network composed of 3 IRIS motes + a base station with a MIB520 getaway connected to a PC. Each mote is sending 8 messages of 100 bytes each 30 seconds. I am using Matlab to read the data from the USB. I was using a baudrate of 57600 but after some hours I stop receiving data. It seems that the port is blocked. I can see that the base station is receiving but I can not read anything from the port. I have tried to change the baudrate to 460800 but I have the same problem. After 6 hours the base stops receiving and the only way to solve it, is to remove the base from the port. In MAtlab I am using the following parameters: s=serial(Puerto); set(s,'BaudRate',460800); set(s, 'InputBufferSize', 512); set(s,'ByteOrder', 'bigEndian'); set(s,'FlowControl','hardware');
Could you please help me? Thank you very much. Yours, Sofia > From: [email protected] > Subject: Tinyos-help Digest, Vol 120, Issue 41 > To: [email protected] > Date: Mon, 22 Apr 2013 12:00:02 -0700 > > Send Tinyos-help mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Tinyos-help digest..." > > > Today's Topics: > > 1. interrupt (Maryam Jalalitabar) > 2. Re: minimize MSP430 ADC current draw? (Jan Hauer) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 21 Apr 2013 16:06:31 -0400 > From: Maryam Jalalitabar <[email protected]> > Subject: [Tinyos-help] interrupt > To: [email protected] > Message-ID: > <cafnfrjnvqq0_vrls_xtgtu1dg8hju6ldln1yjxfzxvg5jbj...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi everyone, > > I want to use a high signal on the telosb to trigger the pin 34 on the > CC2420 chip which is Radio_SO. > > Radio_SO is also attached to the MSP430 on pin 30 which is P3.2/SOMI0. > > My idea is using the high signal as an external hardware interrupt for the > telosb. > > I found HplMsp430GeneralIOP component. It provides two interfaces that I > think I can use: > > interface > HplMsp430GeneralIO<http://www.tinyos.net/tinyos-2.x/doc/nesdoc/telosb/ihtml/tos.chips.msp430.pins.HplMsp430GeneralIO.html> > as *Port32;* > interface > HplMsp430GeneralIO<http://www.tinyos.net/tinyos-2.x/doc/nesdoc/telosb/ihtml/tos.chips.msp430.pins.HplMsp430GeneralIO.html> > as *SOMI0* > * > * > There is another component HplMsp430InterruptC. It provides a number of > interfaces to enable or disable interrupt on some ports[10-27]. > > Port 32 is general I/O but it can not be used for interrupt(it is not > between the range of 10 and 27). Is this correct? > > Thanks. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130421/48448f59/attachment-0001.htm > > > ------------------------------ > > Message: 2 > Date: Mon, 22 Apr 2013 19:51:14 +0200 > From: Jan Hauer <[email protected]> > Subject: Re: [Tinyos-help] minimize MSP430 ADC current draw? > To: Andres Mabini <[email protected]> > Cc: Tinyos-Help <[email protected]> > Message-ID: > <cal4ydexnvir7jn4u2zmpjnddpez8+awl8ywbso51sfns_cu...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Andres, > > 0.5 mA sounds like maybe the reference voltage generator is > responsible for the current draw (see datasheet). This would be > strange, because if you are using (only) an Msp430Adc12ClientAutoDMAC > then the reference voltage generator should never be active, in fact > the component Msp430RefVoltArbiterP shouldn't even be part of you > application. Can you check this via "make telosb verbose"? Otherwise > there might be a problem with resetting the pins - for a quick test: > can you disable the "ADC12_P6PIN_AUTO_CONFIGURE" macro in > Msp430Adc12.h and retry (the ADC readings will be wrong, but maybe > this gives some hint about the extra current consumption). > > Jan > > On Tue, Apr 16, 2013 at 9:04 AM, Andres Mabini <[email protected]> > wrote: > > Hi all, > > > > I hope that you could help or advice me on this. > > > > I have an app which uses the Msp430Adc12ClientAutoDMAC as the ADC client(I > > am using TelosB). I take ADC samples for a second, release the resource, > > wait for 30 seconds, and then repeat the process all over again. All works > > fine except that my measurements indicate that the mote consistently draws > > .5 mA, even during the 30 second interval. Is there a way to further > > minimize this? > > > > In another experiment that I ran(there is no DMA component in the app used), > > when the radio is turned off between sends, the current draw drops all the > > way down to 0.1mA(or lower, the datalogger already says 0). Can the same > > level of current draw be achieved when using the ADC? > > > > Much thanks. > > > > > > _______________________________________________ > > 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 > > End of Tinyos-help Digest, Vol 120, Issue 41 > ********************************************
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
