• 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 » CC1120 - analog FM demodulation
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

CC1120 - analog FM demodulation

CC1120 - analog FM demodulation

This question is answered
Martin Vican
Posted by Martin Vican
on Feb 16 2012 18:17 PM
Prodigy40 points

Hi,

I have a trouble with analog FM demodulation, could somebody help me with these:

1) what are the exact requirements to read data from SOFT_RX_DATA_OUT and enable related trigger clock on GPIO (=CLKEN_SOFT).

Under which condition the CLKEN_SOFT and SOFT_RX_DATA_OUT are available? There will be great any map/diagram/etc. that can clear this.

I run some tests and it seems that clock and data are only available in transparent mode, and I can get minimum clock at about 31kHz (at minimal RX filter BW).

2) What are exact meaning of SOFT_RX_DATA_OUT as user's guide talks about instantaneous frequency offset (in par. 4.1.4) and register description states:

soft-decision symbol data in normal/transparent receiver (p. 100).

Thank you

Martin

cc1120 demodulation analog FM
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • TER
    Posted by TER
    on Feb 17 2012 00:33 AM
    Mastermind21620 points

    It is a software example in http://e2e.ti.com/support/low_power_rf/f/155/t/159307.aspx#579195 that hopefully helps some.

    --
    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.
  • Martin Vican
    Posted by Martin Vican
    on Feb 17 2012 04:09 AM
    Prodigy40 points

    Thank you for your response TER,

    Besides the TX in analog FM mode is rather clear to me. The RX analog FM is misty. I already tried the settings from the post above,

    but i RX mode I'm able read a baseband? signal on GPIO, but only in transparent mode at rather high rate (~31k).

    I wonder about analog FM in RX mode in the similar manner like in TX using SOFT_TX_DATA_CLK, to read instantaneous frequency offset

    using SOFT_RX_DATA_OUT as stated in 4.1.4.

    Is there any documentation about configuration and meaning of SOFT_RX_DATA_OUT and CLKEN_SOFT?

    Many thanks,

    Martin

    cc1120 demodulation analog FM
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TER
    Posted by TER
    on Feb 27 2012 01:52 AM
    Mastermind21620 points

    The documentation on this is stated in 4.1.4, page 26 in the userguide.

    The CLKEN_SOFT is a signal generated in the modem which is a clock operating on 16x the programmed datarate. For each clock tick the frequency offset given by equation 3 could be read from the register SOFT_RX_DATA_OUT for further processing in the MCU.

    --
    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.
  • Martin Vican
    Posted by Martin Vican
    on Apr 05 2012 11:43 AM
    Prodigy40 points

    Hi TER,

    I know in the chapter 4.1.4. but there is unsufficient information about this. In addition there is only "CLKEN_SOFT should be output...", nothing about 16x datarate and even more no information how to enable it.

    I tried some experimental settings and I noticed that output CLKEN_SOFT clock is available only with enabled in transparent mode (in MDMCFG0), but as I wrote earlier, the clock frequency si much higher than 16x datarate and depends on BW setting, of course. The minimum clock frequency of CLKEN_SOFT is 31.200kHz with CC1120.

    What is the register setting to enable CLKEN_SOFT to generate 16x datarate?

    Thank you

    Martin

    cc1120 demodulation analog FM
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Martin B
    Posted by Martin B
    on May 14 2012 06:39 AM
    Expert6255 points

    Hi Martin

    First of all I know this is a pretty late reply. You may already have sorted this out. But here is a few comments anyway.

    The CLKEN_SOFT does not go at 16x data rate. It asserts at the same rate as the programmed data rate. E.g each time it asserts, a new sample is available in the SOFT_RX_DATA_OUT register.

    IIf you ave not disabled SYNC search (SYNC_CFG0.SYNC_MODE = 0) the CLKEN_SOFT signal will not be output before a valid sync word is detected. 

    Best regards

    Martin

    ---------------------------------------------------------------------------------------------------------
    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.
  • TA12012
    Posted by TA12012
    on May 15 2012 12:01 PM
    Verified Answer
    Verified by Martin Vican
    Expert8415 points

    All,

    We have created a small demo running on the Experimenters board that samples the microphone and sends the "analog sound" using analog FM modulation to a receiver board (a second 5438 experimenters board)

     T

    This example uses a setting of 10kbits/s, but using FM audio we end up updating the 160k samples per second (16 x TX bitrate), then on the RX we use 40kHz RX bandwidth which also becomes 160k samples per second (4xRXBW).

    Included is a code example of how to make this work.

    1145.TRX_demo_FMAudio_v02.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.
  • Martin Vican
    Posted by Martin Vican
    on May 16 2012 05:00 AM
    Prodigy40 points

    Hello,

    thank you both Martin for explanation and Thomas for sample code, I'm just going through it.

    Martin

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Robert Lin2
    Posted by Robert Lin2
    on Jun 14 2012 01:11 AM
    Intellectual270 points

    Hi,

         After I  viewed the demo code, here are some questions:

    Question:  1. Does CC1120 handles the FM modulation and demodulation ?

                        2. SOFT_RX_DATA_OUT register is the discrimination data of the demodulated audio signal?

    Thanks,

    Robert  

    Software engineer of  Unication Co., Ltd  (BC, Canada)

    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 Jun 14 2012 02:00 AM
    Expert8415 points

    Robert, 

    The CC1120 is a very flexible device. It can be configured in 4 modes of operation

    • Full RF modem with use of FIFO (with CRC, framing, etc)
    • Synch Serial mode (data is decoded and provided bit by bit
    • Asynch Serial mode (data is not decode, it is provided at 16 times the setup bit rate and you have to discriminate externally)
    • "Analog FM" (an instantaneous frequency offset is provided at 4 times the RX bandwidth)

    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.
  • Robert Lin2
    Posted by Robert Lin2
    on Jun 14 2012 11:51 AM
    Intellectual270 points

    Hi TA,

           Thanks for quick reply. Here is another question.

          Q1:  Is there any document details how to use  CC1120 in Analog FM mode ?

            (Except section 4.1.4 in SWRU295C user's guide), there is no details about  how to use Analog FM mode)

    Robert

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Robert Lin2
    Posted by Robert Lin2
    on Jun 15 2012 20:35 PM
    Intellectual270 points

    As our test, we obtained the demodulated audio data from SOFT_RX_DATA_OUT register by reading with SPI port.

    Hare are questions:

    Q1: Is it the discriminator output? please confirm it.

    Q2: What is maximum data frame rate that could be used to retrieve data from SOFT_RX_DATA_OUT ?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Robert Lin2
    Posted by Robert Lin2
    on Jun 18 2012 01:27 AM
    Intellectual270 points

    Hi TA,

    Analog FM is one of requirement to our new product. The SOFT_RX_DATA_OUT register could provide the discriminator output (we done the test on CC1120DK development kit). Sine SOFT_RX_DATA_OUT only has 8-bits resolution; it is too low for our application.  

    Question: Does CC1120 could provide the discriminator output with 16 bit or more resolution?

    Thanks ,

    Robert Lin

      

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TER
    Posted by TER
    on Jun 18 2012 02:43 AM
    Mastermind21620 points

    The analog FM feature was included to enable FSK with more than 4 levels and hence 8 bits are used.

    --
    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.
  • LEE CHANG-YUN
    Posted by LEE CHANG-YUN
    on Aug 15 2012 22:25 PM
    Prodigy120 points

    Hi

    Does this sample code suitable for CC1125??

    Thank you

    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 15 2012 22:27 PM
    Expert8415 points

    Lee Chang-Yun, 

    Yes, the CC1120/1/5 are register compatible.

    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.
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