Title: Message
Hi Rahul,
 
I assume you did compile the same CC1000ControlM onto your base station application?  And you're only using mica2's (not mica2dots)?
 
I'll do some testing here and see if I can find any other reason why it wouldn't work for you.  Some of my motes are being flaky regardless of which CC1000ControlM I use.
 
If you're not going to be changing frequencies at runtime - which I don't think anybody is currently doing on the CC1000's because the software breaks it - then you can simply double your throughput by changing that MODEM0.XOSC_FREQ to a 0 in your CC1000ConrolM file.  That is, change the line that says (1<<CC1K_XOSC_FREQ)); to (0<<CC1K_XOSC_FREQ));
 
-David
-----Original Message-----
From: Rahul Sawant [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 04, 2006 3:51 PM
To: David Moss
Cc: Gregory A. Moore; [email protected]
Subject: Re: [Tinyos-help] Mica2 CC1000ControlM patch - double throughput and calibrate correctly

Hi
 
I read your following mail and downloaded the CC1000ControlM.nc file and just replaced it for my old file in tos/platform/mica2
 
but now i am unable to read any packets sent over the radio on the base station mote. but if i revert to my old CC1000ControlM.nc file i am able to read the radio packets at the base station.
 
do i need to make any other changes apart from just replacing the files.
 
I am using Tinyos 1.1.15.
 
Thanks in advance
 
Rahul Sawant

 
On 5/1/06, David Moss <[EMAIL PROTECTED]> wrote:
Hi Greg,
 
Here's the CC1000ControlM file that performs the correct calibration procedure, and doubles the throughput for mica2's (this is not compatible with mica2dot's for some reason, even though they use the same 14.7456 MHz crystal).  MODEM0.XOSC_FREQ needed to be changed from a 1 to a 0 to double the throughput.
 
You'll see 76.8 kBaud as opposed to 38.4 kBaud, faster startup, and the ability to change frequencies in software correctly (although frequency performance and characteristics will vary from mote to mote).
 
The CC1000 needs to be calibrated when 1) the radio starts up, or the frequency changes  2) there are large swings in temperature (think outdoors!) or 3) there are large swings in supply voltage.  A daily calibration would be great to implement for outdoor applications. 
 
 
 
There are 2 frequencies going on inside the CC1000 that need to be calibrated - Freq. A and B.  When the distance between these two frequencies is greater than around 1 MHz, then separate, single calibrations need to be performed on each frequency.  When the distance between the 2 frequencies is less than 1 MHz (as it is on our motes) then a dual calibration can be performed to calibrate both frequencies at once.  Originally, the CC1000ControlM file was created to perform separate, single calibrations, which takes longer.  Also, the local osciallator (LO) was not turned back on automatically without transmitting after the dual calibration completed, preventing frequency hopping schemes from working. 
 
The attached updated CC1000ControlM file performs a dual calibration procedure to do both frequencies at once, and the radio is ready to go on both Rx and Tx after it gets done calibrating. It should consume a little less energy when starting up the radio.
 
-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

Reply via email to