• 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 » 2.4 GHz Spectrum Analyzer w/Chipcon(TI) RSSI
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

2.4 GHz Spectrum Analyzer w/Chipcon(TI) RSSI

2.4 GHz Spectrum Analyzer w/Chipcon(TI) RSSI

This question is not answered
johnw
Posted by johnw
on Dec 03 2008 20:58 PM
Genius4990 points

Hello All,

Isn't is possible to take an existing Chipcon(TI) design with one of the parts that supports RSSI and make a 2.4 GHz Spectrum Analyzer application?  You don't have to be modulation locked to get an accurate RSSI measurement, do you?

Regards,
johnw

 

RSSI Spectrum Analyzer 2400
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • RFCE
    Posted by RFCE
    on Dec 04 2008 14:57 PM
    Intellectual740 points

    Yes, you can take a Chipcon/TI transceiver that has a register for RSSI measurements and create a low-cost spectrum analyzer.  I have done just such with the CC2420.  Basically all you have to do is cycle through the carrier frequencies you want to measure, stopping at each frequency for at least 8 symbol periods to enable the RSSI to be read, read the RSSI (send to PC or display), and move to the next carrier frequency.  If you are familiar with the transciever, this is a rather trivial task to do and creates a very valuable resource if your resources are limited.  My design can clearly display the spectrum from transmitting Chipcon transceivers as well as the background 2.4GHz traffic from wireless internet services.  It measures both modulated and unmodulated (single carrier) spectrums.

    The spectrum analyzer will be limited to the bandwidth and frequency spacing of the chip transceiver that you use.  In most cases, it should cover the entire unlicensed 2.4GHz range with 1MHz spacing.  I did notice that at least one of the newer chips does have smaller carrier frequency spacing, if necessary.  With the design I quickly developed, I can scan from 2048MHz to 2550 MHz at 1MHz spacing with an update rate of about 10Hz.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • johnw
    Posted by johnw
    on Dec 04 2008 15:03 PM
    Genius4990 points

    RFCE,

    Can you make your code available?  I don't know how users can upload files to this forum - I've looked and I think you have to be a TI-er to do so (I wonder if they will extend to ex-TI-ers...?) -
    so if you don't have a place to post - I can give you a ftp login on my site and I will alternatively post there and then post the URL here.

    I think more people than me will be interested in this - and since RSSI is so sensitive on these parts - if all you want to look at is the ISM band at 2.4GHz - this is adequate.

    Once upon a time I played with RSSI in a very enclosed space and plotted on a graph - I could tell if someone was just moving their mouse on a PC in a small space!  Yet another application of RSSI - motion detection.

    Thanks,
    john

    Spectrum Analyzer Chipcon
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • RFCE
    Posted by RFCE
    on Dec 04 2008 15:53 PM
    Intellectual740 points

    I wrote the code within the TinyOS (Open Source Wireless Sensing Operating System) as I set it up on a Tmote Sky node, so it may be difficult for anyone to use it directly if they are not using TinyOS.  The application basically reads the writes the frequency to the control register, then reads the RSSI register and sends to out on the UART (UART-USB chip is on the TmoteSky for VirtualCOM port) .  The main loop though is very simple and looks like:

          U1TXBUF=0xFF;                              //Set as a Start of Frame Byte to indicate beginning of string of RSSI values
          while((U1TCTL & 1)==0);            //Wait for UART to be ready
          for (freq=2048;freq<2560;freq++){
            call RadioControl.TuneManual(freq);
            RSSIm = (call HPLChipcon.read(CC2420_RSSI));  //on first call, the RSSI is almost always not valid yet, so we read the register again
            RSSIm = (call HPLChipcon.read(CC2420_RSSI));
            U1TXBUF=RSSIm;    //send out measurement to the Virtual COM Port
          }

    I developed a LabVIEW interface to parse the incoming data and plot it on a graph against the frequency.  The application also stores the max value received across all frequencies and plots it on the background of the graph, which is very helpful in defining the shape of modulated spectrums.

    I have essentially dropped TinyOS and have begun developing strictly with CCE, so I will likely have a code more people can use soon.  As a Civil Engineer by trade, I found TinyOS to be a good starting point a few years ago, but now I am at the point that I want to write all the code by myself so that I know exactly what/how everything is being done within the MCU.  I anticipate developing a new CC2420 or CC2520 platform, and when I do I will write the code for the spectrum analyzer in CCE and uplaod it.

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • johnw
    Posted by johnw
    on Dec 04 2008 16:09 PM
    Genius4990 points

    RFCE,

    I also used TinyOS to do the RSSI experiment that I mentioned above.

    Thanks for posting - that is simple enough.  I modified the Oscilloscope app that TinyOS has to plot the graph I spoke of previously.

    As you know - it isn't straight-forward to get new drivers done for TinyOS - this is one reason why I dropped it - plus it isn't really 'real-time' either if that is what you need.
    Adding a SPI Interface for a peripheral isn't straightforward in TinyOS - at least that is my latest understanding.  I haven't looked into it lately - you used to have to request something like that to be added and then 'hurry up and wait' - it was quicker for me to write it myself since I thought keeping control of the 'physical layer' by those in charge of TinyOS was a bit silly.  I don't want to give the impression that I think TinyOS is trivial - I think it is a great idea and I commend those that have worked on it and have spent so much time on it - but there needs to be an easy way of adding new drivers.

    I am an EE - what state are you in if in the US - in California - Civil's reign supreme.

    I will also take a look at what I have and I think it will be somewhat easy to develop something that plots out a 2.4MHz spectrum.

    Thanks,
    johnw

    Spectrum Analyzer
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • johnw
    Posted by johnw
    on Dec 04 2008 16:16 PM
    Genius4990 points

    RFCE,

    Also - looks like the CC2500 is an ideal choice for this application - I have several of these 'in stock' - I will work on this since I am interested to see how well it works - it also has a resolution that is sub-1MHz - 427kHz according to the datasheet.

    I'll post what I come up with as well.

    Regards,
    johnw

    CC2500 Spectrum Analyzer (Plotter)
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • RFCE
    Posted by RFCE
    on Dec 04 2008 16:42 PM
    Intellectual740 points

    I agree, the CC2500 would be optimal as it provides the best frequency resolution.   I had much of the same issues with TinyOS that you enumerated.  Arbitration of the communication interfaces was a hassle and seemed to me to only be a benefit if you didn't want to get your hands dirty and actually look into the microcontroller peripheral functions and registers.  I needed real-time in my applications, so it got to the point that I was writing register level code for just about everything I did, so eventually I figured why use TinyOS basically as just a compiler/environment, when I could use CCE to compile and debug, and I could also just use straight C programming rather than nesC.

    BTW, I'm in NY, where Civil is popular, but no where near like in CA.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • LPRF Rocks the World
    Posted by LPRF Rocks the World
    on Dec 05 2008 03:55 AM
    Genius10415 points

    RFCE & JohnW,

    Check out the Spectrum Analyzer we have added to the latest CC2520 SW Examples. This can give you some ideas for a port to the CC2500 and RF2500 etc. (Have seen this?)

    • CC2520 Software Examples (Rev. A)(swrc090a.zip, 692 KB )
                 19 Sep 2008 zip

    I subscribe Circuit Cellar, and they had an article on a spectrum analyzer with CC2500. We just need to replace the Atmel AVR micro and the Silicon Labs (UART to USB) with an MSP430 and TIUSB34xx. You can actually use CC2511 even maybe.

        Article from Circuit Cellar:

        http://www.circellar.com/library/print/0406/Armitage-189/Armitage-189.pdf

     

    LPRF Rocks the World

    "Customer Centricity, Enthusiasm, Mass collaboration and Great minds are the best path towards great products"

    “Victory awaits him who has everything in order – luck people call it. Defeat is certain for him who has neglected to take the necessary precautions in time; this is called bad luck.” 
    Roald Amundsen, The South Pole

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • johnw
    Posted by johnw
    on Dec 05 2008 18:16 PM
    Genius4990 points

    LPRF,

    No - I haven't seen it but I will take a look now that I know.

    Yes - I saw the design in Circuit Cellar too - had similar thoughts as yours regarding this design.

    Thanks!
    johnw

    CC2500 Spectrum Analyzer (Plotter)
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • LPRF Rocks the World
    Posted by LPRF Rocks the World
    on Dec 08 2008 05:13 AM
    Genius10415 points

    JohnW,

    Excellent, your ideas are always welcome here.

    LPRF Rocks the World

    "Customer Centricity, Enthusiasm, Mass collaboration and Great minds are the best path towards great products"

    “Victory awaits him who has everything in order – luck people call it. Defeat is certain for him who has neglected to take the necessary precautions in time; this is called bad luck.” 
    Roald Amundsen, The South Pole

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • cui qingwei
    Posted by cui qingwei
    on Mar 15 2009 22:26 PM
    Prodigy20 points

    [:D] spectrum_analyzer v1.0  use CC1111 or CC2511

    http://www.ouravr.com/bbs/bbs_content.jsp?bbs_sn=3240297&bbs_page_no=1&search_mode=3&search_text=qingwei_cui&bbs_id=9999

    example[base on CC1111 dongle]:

    RSSI Spectrum Analyzer CC2511 CC1111
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • esy
    Posted by esy
    on Mar 17 2009 16:29 PM
    Expert3130 points

    cui,

    Cool. That spectrum analyzer looks like a nice demo application. I am not able to read Chinese, but from the screenshots you seem to get quite good frequency resolution. I like the simple demo which allows you to toggle the LED too :-)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • cui qingwei
    Posted by cui qingwei
    on Mar 17 2009 21:36 PM
    Prodigy20 points

    Posts 67: thanks [:)]

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kjetil
    Posted by Kjetil
    on Apr 15 2009 07:08 AM
    Genius17695 points

    That Spectrum Analyzer looks really nice. Great work!

    --
    PS. Thank you for clicking  Verify Answer  if this answered your question!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Notsane
    Posted by Notsane
    on Apr 15 2009 10:14 AM
    Expert3105 points

    Also see http://metageek.net/ 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alex Yue
    Posted by Alex Yue
    on Jun 22 2009 08:57 AM
    Prodigy20 points

    Dear RFCE,

    I am very interested in your work of using LabVIEW to parse the incoming data. In fact I have tried it but the reading process is not stable (there is a data loss in every 5 times). When I tried to use "instrumentation assistant" function, data appeared to the PC after timeout. Then I have tried using seiers port funtions to read data, but it is not very stable. Could you please help with your LabVIEW codes?

    Best wishes,

    Alex      

    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