• 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 » Problem with basicRFPacketIsReady() function
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Problem with basicRFPacketIsReady() function

Problem with basicRFPacketIsReady() function

This question is not answered
niels lambrecht
Posted by niels lambrecht
on Mar 02 2012 11:05 AM
Intellectual455 points

Hello,

I have a problem with the basicRFPacketIsReady() function. It seems that when I send a packet to my node the basicRFPacketIsReady() function works fine. But when I receive a second packet, then the basicRFPacketIsReady() function doesn't response. And then the basicRFPacketIsReady() function seems to be stuck.

I am using the CC2430/31.

Does anyone knows what is wrong with the basicRFPacketIsReady() function or does anyone knows how I can check If a received packet is ready with just using some flags from the RX registers from the cc2430/31

Thank you!!!

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • niels lambrecht
    Posted by niels lambrecht
    on Mar 02 2012 11:18 AM
    Intellectual455 points

    I think the problem must be in the following code of the basic_rf.c file

    if( authStatus==SUCCESS ) {
    if ( (pHdr->fcf0 & BASIC_RF_FCF_BM_L) ==
    (BASIC_RF_FCF_NOACK_L | BASIC_RF_SEC_ENABLED_FCF_BM_L)) {
    rxi.isReady = TRUE;
    }
    }

    But I don't understand all those parameters like BASIC_RF_FCF_NOACK_L,...
    Can anyone help me with this?

    Thank you very much!!!
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • llifeng justin
    Posted by llifeng justin
    on Jul 30 2012 05:35 AM
    Prodigy45 points

    hey man~I have the same problem with you!Did you solved it?

    2.4GHz
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • niels lambrecht
    Posted by niels lambrecht
    on Jul 30 2012 13:37 PM
    Intellectual455 points

    Hello Justin,

    I'm afraid that you can't solve the problem with using the BasicRF protocol.

    I solved the problem by using the protocol SimpliciTI. 

    I have disussed this on the following URL.

    http://e2e.ti.com/support/low_power_rf/f/156/t/127007.aspx?pi239031352=1

    If you want to use the same sort of protocol as you use wiht BasicRF. I suggest you would use broadcast message. 

    You can find this on the following URL.

    http://e2e.ti.com/support/low_power_rf/f/156/t/33354.aspx#116047

    Normally if you can program in the BasicRF protocol, than you will easily switch over to SimpliciTI.

    You can find here some documantation about SimplicTI.

    http://www.ti.com/corp/docs/landing/simpliciTI/index.htm?DCMP=hpa_rf_general&HQS=NotApplicable+OT+simpliciti

    Here you  need to download a .zip file, where you need to execute the .exe file. And than you will be able to look at some example programs where you find also a lot of documantation about how SimpliciTI works and about the syntax of the functions of SimpliciTI.

    Good Luck!!! 

    Best regards, Niels

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • llifeng justin
    Posted by llifeng justin
    on Jul 30 2012 22:22 PM
    Prodigy45 points

    Hello Niels:

    Thank you for you help very  very much!!!!!

    I have solved this problem ~^_^

    but I only set basicRfConfig.ackRequest as FALSE,then it works.however ,

    I would like to ask,what`s the function of the  basicRfConfig.ackRequest?

    Fragrant await news

    Best regards, ling

    2.4GHz
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • niels lambrecht
    Posted by niels lambrecht
    on Aug 14 2012 13:09 PM
    Intellectual455 points

    Hello ling,

    I'am sorry for my late reply.

    In basicRF it is the protocol to send a packet and than wait a while until you received the acknowledgement packet in the function basicRfSend().  If the ACK is successfully received within a predefined waiting time, basicRfSend() returns with status SUCCESS to the application. (You can see this on pages 19,20 of this file http://www.ti.com/lit/ug/swru214a/swru214a.pdf )

    However as you set the basicRfConfig.ackRequest as FALSE then you don't wait to an ACK packet.

    So if you set the basicRfConfig.ackRequest as FALSE then I would recommend that you have a good PER in your wireless connection. So you need a PER of less then 1 percent

    Kind regards, Niels

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • llifeng justin
    Posted by llifeng justin
    on Aug 14 2012 19:09 PM
    Prodigy45 points

    hello Niels,

     In my applicaion,the data size is very small ,just only 2~3bytes in one communication .so I think the PER should be very low,right ?.

    2.4 GHz
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • niels lambrecht
    Posted by niels lambrecht
    on Aug 16 2012 07:17 AM
    Intellectual455 points

    The PER has nothing to do with your number of bytes in the data size.

    The packet error rate (PER) is the number of incorrectly received data packets divided by the total number of received packets. A packet is declared incorrect if at least one bit is erroneous.

    If you want to verify the PER in your communication setup, then you can use the program of the Software examples from the BasicRF protocol. For a good communication setup, you need a PER< 1%.

    You can read more about PER in the following link.

    http://www.ti.com.cn/cn/lit/ug/swru178b/swru178b.pdf

    I hope that this can give you an idee of what PER is.

    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