Re: [Tinyos-help] SPI of MSP430 not working
On Mon, Jul 18, 2011 at 9:55 PM, shravan kulkarni < shravankulkar...@gmail.com> wrote: > > Hi, > > > I'm using a mote having similar design as that of Telosb but using > MSP430F1612 from TI with a CC2520 Radio and Flash AT45DB connected to SPI1 > and SPI0 respectively. Porting done so far could link files related to SPI1 > and SPI0, but SCLK is not responding i.e., the voltage on the pin is 0V and > no data is seen on SOMI and SIMO. > Well, roll up your sleeves you are going to have to dig in and figure out what is going on. 1st you will need a jtag debugger so you can take a look at current values in the various registers that control the USART. You really want to use a jtag to see what is going on. You can use mspdebug to talk to it and see what the USART register state is. 2nd have you tried writing simple test code that puts the USART port into SPI mode and then does a simple loop back test. Pretty much you need to start with the basics and verify the configuration of the SPI port. > > > Thanks, > > shravan > > > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] SPI of MSP430 not working
Hi, I'm using a mote having similar design as that of Telosb but using MSP430F1612 from TI with a CC2520 Radio and Flash AT45DB connected to SPI1 and SPI0 respectively. Porting done so far could link files related to SPI1 and SPI0, but SCLK is not responding i.e., the voltage on the pin is 0V and no data is seen on SOMI and SIMO. Thanks, shravan ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] DEEP SLEEP ON TELOSB MOTES
Hello. I am working with telosb motes and using TinyOs. 2.1. i would like to know how I can set the telosb motes to deep sleep when I decide to. How can we do this? Thank you. Ayo. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Install tinyos on mac os x 10.6 snowleopard
Hello, Does anyone know how to install tinyos namely allinone on macos x 10.6 snowleopard, it gives me some error. Regards Ashkan Sent from my iPhone >> ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] FInding tinyos directory in xubutos
Dear Andrew Sabelhaus, Thank you for your message. It really helped me. Regards, Sohail___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Send Packets with Basestation to Lpl Motes
Thanks for this advice. Now I have changed the Basestation nesc Code and it works. But is there a equivalent function in java like the call LowPowerListening.setRemoteWakeupInterval(msg, DEFAULT_LPL_REMOTE_WAKEUP_INT); function in nesc? So I could change the Lpl Remote Parameter directly from the java application. Gabriel Neumueller Am 16.07.2011 02:19, schrieb Omprakash Gnawali: > On Tue, Jul 12, 2011 at 5:33 AM, Gabriel Neumüller > wrote: >> Hi all, >> I have written a java application to send Packets through a Mote which >> is connected to a Pc and is programmed with the Basestation app. For >> this purpose I use the java MoteIF.send function. >> Everything works as expected, but when my node which should receive the >> packets is programmed with Low Power Listening enabled, I often have to >> repeat my packets until the node receives it. >> How can I tell the Basestation or the java interface that the receiver >> Node uses Lpl? > You need to program your basestation with appropriate lpl parameters. > > - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] About the length of the fields in message_t
I got the reason, the tossim message type is not the same with the cc2420 message type, but I still have a question: the doc http://www.tinyos.net/tinyos-2.x/doc/html/tep111.html says the CC2420 has 7 bytes in meta, but the definition of cc2420_metadata_t is like this, typedef nx_struct cc2420_metadata_t { nx_uint8_t rssi; nx_uint8_t lqi; nx_uint8_t tx_power; nx_bool crc; nx_bool ack; nx_bool timesync; nx_uint32_t timestamp; nx_uint16_t rxInterval; /** Packet Link Metadata */ #ifdef PACKET_LINK nx_uint16_t maxRetries; nx_uint16_t retryDelay; #endif } cc2420_metadata_t; It seems not 7 bytes. 2011/7/18 崔晓宗 > In http://www.tinyos.net/tinyos-2.x/doc/html/tep111.html , it says The > CC2420 header is 11 bytes long. > But I print the length of each field of message_t with dbg() in tossim, > "%d %d %d %d %d > \n",sizeof(message_t),sizeof(message_header_t),TOSH_DATA_LENGTH,sizeof(message_footer_t),sizeof(message_metadata_t) > I got the following result: > 41 7 28 2 4 > > Why the header length is 7, and why the footer length is 2 while the doc > says that cc2420 don't have a footer? > -- > Regards, > Xiaozong Cui > > -- Regards, Xiaozong Cui ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] About the length of the fields in message_t
In http://www.tinyos.net/tinyos-2.x/doc/html/tep111.html , it says The CC2420 header is 11 bytes long. But I print the length of each field of message_t with dbg() in tossim, "%d %d %d %d %d \n",sizeof(message_t),sizeof(message_header_t),TOSH_DATA_LENGTH,sizeof(message_footer_t),sizeof(message_metadata_t) I got the following result: 41 7 28 2 4 Why the header length is 7, and why the footer length is 2 while the doc says that cc2420 don't have a footer? -- Regards, Xiaozong Cui ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help