Here's another datapoint - When I change the frequency of the CC1000 radio during runtime on a mote that is only set to receive, the receive carrier frequency is actually altered on the spectrum analyzer. So there's some software problem going on here with the CC1000 settings.
-david -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Moss Sent: Tuesday, February 21, 2006 3:42 PM To: [email protected] Subject: RE: [Tinyos-help] CC1000 Runtime Tuning After Joe put me on the path of righteousness with CC1000Control.TuneManual(..), I built a test app that will simply change the frequency of the CC1000 radio from the command line on a computer. On the transmitter mote, a timer is firing 16 times a second continuously sending out packets. There's also a receiver mote that blinks everytime it sees a valid message. With a trusty spectrum analyizer in hand, I verified the mote changes to a frequency nearby the one I select from the command line. There are some quirks to this, of course, like sometimes I'll send the command to change frequencies and the mote will completely stop transmitting, and then I send the command again and it starts transmitting again... but that can probably be fixed in software somewhere. But basically, when it's transmitting, it seems to transmit fine at whatever frequency I select. But, the receiver mote looks bad. As soon as I send a command to retune the radio on the receiving mote, it stops receiving any packets at all. Yes, I retune it to the frequency the transmitter is transmitting at. I can even see its carrier frequency shift when the mote is near an antenna connected to the spectrum analyzer. Here's a typical scenario I'm seeing: Say I program up the tx and rx motes compiled to 914.077 MHz, then I send a command to the tx mote to change retune its radio to 914.077 MHz.. The tx mote still transmits fine and the rx mote still receives fine. But if I send the same command to retune to 914.077 MHz to the rx mote, it stops receiving packets. In fact, it won't receive any more packets, ever. Has anybody ever tried retuning a 2 or more mica2/mica2dots during runtime with the CC1000Control.TuneManual(..) command? Did it work? I can get it to retune to any frequency I want at compile time, but not runtime. What am I missing? -David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Polastre Sent: Monday, February 20, 2006 11:03 AM To: David Moss Cc: [email protected] Subject: Re: [Tinyos-help] CC1000 Change Frequency Interface CC1000Control: /** * Tune the radio to a given frequency. Since the CC1000 uses a digital * frequency synthesizer, it cannot tune to just an arbitrary frequency. * This routine will determine the closest achievable channel, compute * the necessary parameters and tune the radio. * * @param The desired channel frequency, in Hz. * * @return The actual computed channel frequency, in Hz. A return value * of '0' indicates that no frequency was computed and the radio was not * tuned. */ command uint32_t TuneManual(uint32_t DesiredFreq); On 2/20/06, David Moss <[EMAIL PROTECTED]> wrote: > > Anybody have any component/module that will change the frequency of the > CC1000 radio on-the-fly? > > -david > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
