• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF Hardware & Tools Forum » Synchronize clocks with CC1101
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Synchronize clocks with CC1101

  • Sam4447
    Posted by Sam4447
    on Aug 28 2008 15:50 PM
    Prodigy20 points

     Hello,

     

    I have the following idea, but I am not really sure, if it can work as I imagine:

     

     we have one transmitter and several receivers. The goal would be to have syncronized timers/counters running on all receivers.

    Reading the FREQEST register, I find out how much the carrier frequencys differ from the transmitter. 

     So I can calculate: difference [ppm] = (FREQEST*1,59kHz) / 868MHz

    If the above formula is correct, I can adjust my running timers by skipping each x th tick...but is it really correct or is it unpossible to get back to the crystal deviation looking at the FREQEST value?

     

    Thank you,

    Sam

    cc1101
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • engiNerd
    Posted by engiNerd
    on Aug 31 2008 18:22 PM
    Prodigy325 points

    Sam,

    I'm not sure what you want to do here. CC1101 will allow you to find the difference in frequency between a transmitter and a receiver, but if you're looking for syncronized timers/counters, I do not think this matters. As long as the RF frequency difference is not too big (depending on RX bandwidth and data rate) you will be able to recieve the signal and you could then start a timer (in the MCU) from a broadcast signal from the transmitter to the receivers

    If you're thinking on doing "time of flight" measurments for locationing, then forget it - the chip (nor any similar chips) is not designed for this and the timing gets lost in on-chip signal processing.

     EngiNerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sam4447
    Posted by Sam4447
    on Sep 03 2008 19:58 PM
    Prodigy20 points

    Hello,

     

    engiNerd
    CC1101 will allow you to find the difference in frequency between a transmitter and a receiver,

     Thats the point, can I assume, that this deviation is proportional to the deviation of the 26MHz crystal frequencies?

     

    If so, I will be able to run timer/counters on all receivers at the same _speed_ by using the CLK output of the CC1101. And thats the only thing I need.

    I do not need to be closer that 10ms, but after lets say 10 hours, the counter values of the timers in the receivers should be as close as possible. (after no more receiving rf packets for 10  hours)

     

    I hope its clear now what I want to do.

    At the moment I am already close using the CLK output of the CC1101, but but the counters still run apart by 250ms or more after 10 hours (because f the crystals 10ppm difference to each other).

     

    Thank you,

    Sam

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • engiNerd
    Posted by engiNerd
    on Sep 04 2008 04:38 AM
    Prodigy325 points

    Sam, it is correct that the RF frequency error (the relative one) that you can measure is only caused by frequency drift/error in the xtal. You will get the error in kHz in terms of RF frequency. Now, the RF frequency is easy to correct by modifying the frequency word, but you cannot modify the crystal frequency unless you have variable capacitors that you can adjust. Maybe you can make the corrections in you digital counters?

    10hours  = 10*60*60*1000= 36 million ms, so if you drift 1ppm in average for 10h, you will be off by 36ms.

    I do not think that you can assume that the xtals will drift similar over temperature, so you would have to send some packets now and then to correct for the temperature drift (assuming the temperature is drifting).

    I am not really sure if 10ms is possible to achieve, but it is an interesting challenge. If this is not a cost/power critical solution, I believe a GPS module would give you accurate timing

     

    EngiNerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use