• 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 » CC113l SPI Reception
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

CC113l SPI Reception

This question is answered
Ralph
Posted by Ralph
on Feb 16 2012 12:18 PM
Prodigy220 points

Hi there,

In the last days I've working with the mp430g2221 and the CC113L.

I make the configuration correctly by SPI of the CC113L but I can´t get a good way of receiving the data from the CC113L SO (spi output pin).

The API for the SPI connection between them is similar to the ModifiedCodeSLAA325A, the only difference is that I use only 3 pins for the comunication. All the code written for this kind of receivers/transceivers, use an extra pin (GDO02 or similar). But I can't use that. Is there any fancy way of receiving correctly the data? By SPI interrupt or other?

Regards

Ralph

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Martin B
    Posted by Martin B
    on Mar 15 2012 14:51 PM
    Verified Answer
    Verified by Ralph
    Expert6255 points

    Hi Ralph

    Are you sure that you receive error free packets with good CRC?

    The verification you are using for the CRC check will always succeed since (rxBuffer[rxBytes-1] | 0x80) will always be positive. So even packets with bad CRC will clear this check. This should be change from an OR operation to AND so it would look like this: 

    (rxBuffer[rxBytes-1] & 0x80) 

    Using the CRC_OK signal you have to have your interrupt on rising edge, opposed to the sync word detection that should give the interrupt on falling edge (end of packet).

    When using GDO1 for interrupt handling be sure that the assosiated pin on the MSP is set up as an I/O in the function select register PxSEL. I do not know what kind of MSP you are using but note that for some MSPs the pin interrupt function are automatically disabled if the PxSEL bit is set. In this case there will be no interrupts regardless of the state of the PxIE bit. I would advise you to check the MSP user guide to see if this applies to you.

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