• 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 Proprietary Software & SimpliciTI Forum » CC1101 Frequency hopping
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

CC1101 Frequency hopping

This question is answered
Simon Attard
Posted by Simon Attard
on Apr 14 2010 07:47 AM
Intellectual730 points

Hi,

My organisation are building up a prototype to test if the CC1101 transciever module can be used in our final product. We need to build a fast frequency hopping system. We were quite disappointed that there is only little help about implementing frequency hopping on the CC1101.

We are using the fast calibration method for frequency hopping, i.e. saving all FSCAL1 - 3 values and then just writing them to the Transciever everytime a frequency is hopped. However there seems to be something which we are overlooking, because it cannot work.

Can somebody tell me the exact procedure to do this procedure?

 

Thanks in advance.

 

Simon

CC1101 frequency hopping calibration
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • John DAmours
    Posted by John DAmours
    on Jul 26 2012 17:40 PM
    Intellectual920 points

    Wow, no answer? Got the same question regarding the CC430 (same radio as the CC1101). CC430 Spec says it can do FHSS but with some heavy explanation on how.

    Any other help here? Thanks.

    CC1101 CC430 FHSS Hopping
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • mark sonnentag
    Posted by mark sonnentag
    on Jul 27 2012 05:30 AM
    Expert1890 points

    Hello John,

    SimpliciTI 1.2 has a Frequency Hopping implementation.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TA12012
    Posted by TA12012
    on Jul 27 2012 08:53 AM
    Expert8395 points

    Simon, 

    How fast do you want the FHSS to run, how many channels are you looking for?

    This will help me frame my answer.

    Regards,
    /TA 

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer
     button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John DAmours
    Posted by John DAmours
    on Aug 06 2012 15:26 PM
    Intellectual920 points

    Simon, thanks for the reply.

    I'm only doing about 50 samples (@ 16bit) per second using only 5 packets each (max). It's a control signal and not audio. I was thinking about how I would implement (ignorance disclaimer here). I would scan many channels for the top 10 RSSI values, share the pattern with these channels, and hop to the pattern. If someone got lost, maintain a fixed channel to pick it up... or something like that.

    My delayed response was because my eMail wasn't being monitored (Outlook just stopped using this one???).

    Thanks,

    John

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TA12012
    Posted by TA12012
    on Aug 06 2012 16:25 PM
    Expert8395 points

    John, 

    I recommend using a timer to setup a schedule for each burst of data and if you have a predefined hopping pattern (easily done by storing a table in Flash) you will get a very simple system that works very well.

    what i am saying is that SimpliciTI might be overkill for what you trying to do.

    Regards,
    /TA

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer
     button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John DAmours
    Posted by John DAmours
    on Aug 06 2012 16:32 PM
    Intellectual920 points

    Seems easy enough, but I'm sure there are some basic error and recovery process I should use (ie, how to recover communication, what if some channels become repeatedly weak (move to a new set?) and so on. I'll look through the SimpliciTi as an option, but a flowchart on basic hopping would be ideal. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TA12012
    Posted by TA12012
    on Aug 06 2012 21:09 PM
    Expert8395 points

    Which MCU are you using? I might have some sample code that you could start with.

    /TA

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer
     button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John DAmours
    Posted by John DAmours
    on Aug 07 2012 00:49 AM
    Intellectual920 points

    I'm using the CC430F5137. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TA12012
    Posted by TA12012
    on Aug 07 2012 09:04 AM
    Suggested Answer
    Expert8395 points

    John, 

    Here is a demo that I have written for doing frequency hopping on 50 channels using a CC430 (the standard development kit)

    All the exiting code is in "TRX_ui.c". This demo just sends "random" data back and forth and count the errors.

    It is compiled in IAR, but it also works in CCS.

    Regards
    /TA

    8510.TRX_demo_CC430.zip 

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer
     button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John DAmours
    Posted by John DAmours
    on Aug 07 2012 09:35 AM
    Intellectual920 points

    Oh cool! I assume the Radio core and the 430 interface (interrupts and stuff) are pretty much the same as with any CC430 (we actually migrated all our code from the 6137 to the 5137 - so we're getting used to the differences). 

    However, we're challenged by a problem where SmartRF Studio parameters (exported) don't work with our SW (simple protocol, fixed channel). But that's another question and we may need help from the community there as well. We have a very sharp programmer on this, but we're all new to TI (he's more of a driver developer at Intel and not so much an SoC developer).

    Thanks for the sample code!!!

    John

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Timothy Barr
    Posted by Timothy Barr
    on Aug 07 2012 13:29 PM
    Expert2445 points

    If you are having problems with the SmartRF Studio register exports, you may be missing some registers that were changed but not exported. I am not sure how the default export file is created, but when I compared it to the file supplied with SimpliciTI, there were differences. So I ended up adding registers to the export list to match what was in the SimpliciTI header file.

    Tim Barr

    Multitech Systems Inc

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John DAmours
    Posted by John DAmours
    on Aug 07 2012 13:49 PM
    Intellectual920 points

    Thanks Tim, bonus info! We have plenty to chew on now.

    John

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John DAmours
    Posted by John DAmours
    on Aug 07 2012 14:12 PM
    Intellectual920 points

    Tim,

    I wrote the original code based on the basic "LED Demo" (Less than FIFO, Fixed Length). I assume all the RF functions would be standard (like Strobe and stuff).

    Our prototype was a Chronos talking to the 6137 kit and it worked. When we migrated from the Chronos (6137) to our board (5137), my same code in the new 5137 couldn't talk to the 6137 Kit, and definitely transmitting. However this odd couple could send packets through SmartRF (stronger signal too). Doesn't make sense...

    So we were trying to get the settings from SmartRF to work with our code, but not much luck. So next we'll look to verify nothing was missed in Reg settings from SmartRF as you mention. We plan on getting to the frequency hopping part once we get through this anomaly.

    Just sharing our background in case this scenario rings a bell... 

    Thanks,

    John

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TA12012
    Posted by TA12012
    on Aug 10 2012 10:42 AM
    Expert8395 points

    John, 

    The RF section, the MSP core of the CC430F6x and CC430F5x is the same and the code from a F6 will run on F3 by a simple re-compile with new headers.

    I think the like issue you are having is that your new board has a new RF XTAL (maybe partnumber, loading caps, traces) and the actual frequency you end up operating is wrong.

    If you have a spectrum analyzer this is easy to check, but if you do not have a spectrum analyzer please increase the RX filter bandwidth of the receiving device until it works. The you can poll a register called FREQOFF_EST (See page 728 of the CC430 User Guide (http://www.ti.com/lit/ug/slau259d/slau259d.pdf))

    Regards,
    /TA 

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer
     button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John DAmours
    Posted by John DAmours
    on Aug 13 2012 00:10 AM
    Intellectual920 points

    You may have nailed it. I was using a pair of 27pF for my loading caps on the 26MHz crystal (instead of 15pF as with the kits).  The BOM for the 5137 Typical circuit showed 27pF in the table with a note on the calculation which threw me off. I don't know what the 27pF means - maybe total capacitance?

    Got some new ones order and will try your other suggestion to widen the Rx "safety net".

    Thanks again!

    John

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
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