• 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 » SMPL_Send() function needs to much time for sending
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

SMPL_Send() function needs to much time for sending

SMPL_Send() function needs to much time for sending

This question is not answered
Robert Sommer
Posted by Robert Sommer
on Aug 06 2012 07:52 AM
Prodigy30 points

Hi all,

I am using the Wireless Development Tool EZ430-RF2500 with CC2500.

Here is my problem, hopefully somone could help me:

I am just using the simple Peer-to-Peer sample project. In my project the talker gets a acceleration data and sends it immediately to the listener. For this I am getting every 0.5 ms a new acceleration value. I need it so fast because of the sample rate for the detecting signal to avoid aliasing effect. Before I implemented it I measured the time wich the function SMPL_Send needs for sending the message. If I am using 1 MHz and send a message size of 5 bytes it takes 5.78 ms, for 8 MHz  2.3 ms. But it is still too long, because in the meantime I will get already a few new acceleration datas. So there is a time running conflict.

How can I decrease the sending time? Maybe without using SimplicTI, just using the MRFI_Transmit and MRFI_Send functions (How could I implement such a thing?)? Or can I minimize the calibration time of the oscillator of CC2500 without problems, now it is about 600 µs. But it would be not enough.

Maybe somone is able to help me.
Many thanks.
Bests

Robert

SMPL_Send 2.4GHz EZ430-RF2500 CC2500 time problem sending
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Leo Hendrawan
    Posted by Leo Hendrawan
    on Aug 06 2012 10:43 AM
    Mastermind27240 points

    Hi robert,

    do you activated the "APP_AUTO_ACK" compile option? If yes, the SMPL_Send() function will basically wait for a reply. Please refer here:

    http://processors.wiki.ti.com/index.php/SimpliciTI_FAQ#Does_SimpliciTI_support_message_acknowledgement.3F

    check your smpl_nwk_config.dat to see whether the APP_AUTO_ACK is activated.

    Hope this helps.

    Regards,

    Leo Hendrawan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Robert Sommer
    Posted by Robert Sommer
    on Aug 06 2012 11:01 AM
    Prodigy30 points

    Hi Leo,

    it is disabled.
    Now I will try to collect at least 14 databytes and send them. Because I will get the datas due to interrupt, it will hopefully work.
    That means if I give SMPL_Send() the message the program will build "parallel" a new message variable. From SMPL_Send() the programm should be able to serve interrupts and exit the function because interrupts that use SPI (I use the acceleration sensor with spi) will only be disabled in some functions of mrfi_spi. Maybe one or two data points could be lost.

    Thanks for your fast help.

    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