• 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 » How to get started with SimpliciTI and IAR EW for a CC1110
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

How to get started with SimpliciTI and IAR EW for a CC1110

This question has suggested answer(s)
BeBaron
Posted by BeBaron
on Dec 21 2009 07:00 AM
Prodigy70 points

Hi everyone,

I am a new user of simpliciTI and I want to develop a program using simpliciTI with IAR embedded workbench. How I must start the developpment? did i must use smart rf studio before programming ? What file must be included into the main.c?

Actually thanks to your example I can make some little applications but I don't know how to retrieve the RSSI in the simpliciTI frame so how can I get it ? Thanks a lot for your help.

One more thing I actually use a CC1110 and CC1111.

Best regards.

Aurelien

 

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • BrandonAzbell
    Posted by BrandonAzbell
    on Dec 23 2009 00:07 AM
    Guru54850 points

    BeBaron

    I am a new user of simpliciTI and I want to develop a program using simpliciTI with IAR embedded workbench. How I must start the developpment? did i must use smart rf studio before programming ? What file must be included into the main.c?

    The examples provided with the SimpliciTI Software installation are a good source for understanding how to integrate SimpliciTI into your application.

     

    BeBaron

    Actually thanks to your example I can make some little applications but I don't know how to retrieve the RSSI in the simpliciTI frame so how can I get it ? Thanks a lot for your help.

    I would recommend looking at the SimpliciTI API.pdf document found in the .\Documents directory of the SimpliciTI software installation.  Search for the keyword "RSSI", you will find there is an IOCTL API call that can be used to retrieve the current RSSI.

    Brandon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sindbad
    Posted by Sindbad
    on Dec 23 2009 03:22 AM
    Suggested Answer
    Prodigy250 points

    I work with CC1110 but I did not use SimliciTI so far, so may be I do not understand the issue. I retrieve RSSI in my application and I simly get it from the RSSI register:

    signed char MyRssi;

    /* ... receiving a byte or a packet here ... */

    MyRssi = RSSI;         /*  definition of RSSI in "ioCC1110.h":   */
                                         /*  #define RSSI XREG( 0xDF3A )  // Received Signal Strength Indication  */

    See also pages 197 and 198 of the CC1110 datasheet (13.10.3 RSSI). Why don't do it so simple still using "SimpliciTI" ?

    cc1110 RSSI
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BrandonAzbell
    Posted by BrandonAzbell
    on Dec 23 2009 09:05 AM
    Guru54850 points

    sindbad

    I work with CC1110 but I did not use SimliciTI so far, so may be I do not understand the issue. I retrieve RSSI in my application and I simly get it from the RSSI register:

    signed char MyRssi;

    /* ... receiving a byte or a packet here ... */

    MyRssi = RSSI;         /*  definition of RSSI in "ioCC1110.h":   */
                                         /*  #define RSSI XREG( 0xDF3A )  // Received Signal Strength Indication  */

    See also pages 197 and 198 of the CC1110 datasheet (13.10.3 RSSI). Why don't do it so simple still using "SimpliciTI" ?

    Fair enough.  Since the SimpliciTI stack is running on the CC1110, access to the RSSI register is simply an access to the register itself.

    However, SimpliciTI is designed to work on a number of different platforms, including an external microcontroller + CCxxxx transceiver only device.  In that scenario, accessing the RSSI is not a simple register read, but requires access through a serial interface to the CCxxxx transceiver (like the CC2500).  The IOCTL API call would work across platforms.

     

    Brandon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BeBaron
    Posted by BeBaron
    on Dec 24 2009 02:42 AM
    Prodigy70 points

    Thank you very much for your answer i am going to use the simpliciTi ioctl API I think. Brandon can I get the source address of a signal with the smpl_octl() function ? And another little question with IAR am I obligated to configure all the workspace and option for the CC1110 everytime I make a new project or is there any file included in simpliciti for this? Because I've been able to make new application with SimpliciTI but everytime I look at the exemple and make a copy of your configuration and workspace to include it into my project.

    Aurélien

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BrandonAzbell
    Posted by BrandonAzbell
    on Dec 30 2009 11:24 AM
    Guru54850 points

    BeBaron

    Can I get the source address of a signal with the smpl_octl() function ?

    I believe this may be possible through the SMPL_Ioctl() for a Raw I/O access.  Performing a IOCTL_ACT_READ will return the detailed structure for the oldest frame on the specified port.  I have not tried this however.

    Otherwise, if you have a unique LinkID for each peer-to-peer path, the LinkID itself would be the handle to identify the source of the message.

     

    BeBaron

    And another little question with IAR am I obligated to configure all the workspace and option for the CC1110 everytime I make a new project or is there any file included in simpliciti for this? Because I've been able to make new application with SimpliciTI but everytime I look at the exemple and make a copy of your configuration and workspace to include it into my project.

    How you are accomplishing the new project goal by copying an existing example is the only method right now.  I'm not aware of any file that would provide this for you.

    Brandon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BeBaron
    Posted by BeBaron
    on Jan 06 2010 08:35 AM
    Prodigy70 points

    Thank you for your help Brandon. I was worried about the good way of devellopping a new project with SimpliciTI but now I am ok ! Thank you very much I've find a way to get the source address, I add it in my application payload and send it but it is already transmitted in the simpliciTI Frame so I am going to test with the Smpl_IOCTL().

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BeBaron
    Posted by BeBaron
    on Jan 07 2010 03:28 AM
    Prodigy70 points

    So I have tried two thing:

     

     rssi_t MyRssi;

    smplStatus_t Test;

    signed char Test2; // Only for testing

        Test = SMPL_Ioctl(IOCTL_OBJ_RADIO,IOCTL_ACT_RADIO_RSSI,&MyRssi);

        Test2= RSSI;

    But when i am using this two instruction MyRssi and Test2 have different result, I get 95 from MyRssi and -41 from Test2 in decimal who is the right answer ? because normally I must find the same result. Thank you for your answer.

    Aurélien

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BrandonAzbell
    Posted by BrandonAzbell
    on Jan 07 2010 19:37 PM
    Guru54850 points

    The RSSI value returned from the SMPL_Ioctl() call, I believe, has already been converted to the power level via the equations found in the CC1110 datasheet in Section 13.10.3.

    The raw register read is just going to provide the 2-compliment raw RSSI reading.

    Brandon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BeBaron
    Posted by BeBaron
    on Jan 08 2010 07:51 AM
    Prodigy70 points

    Thank you for your answer Brandon. Ok I find an other way to get the rssi and the peer address at the same time I have done a new function in nwk.c who able me to locate in the connection Table the RSSI and address of the peer too. Thank you Brandon.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BeBaron
    Posted by BeBaron
    on Jan 15 2010 07:23 AM
    Prodigy70 points

    Hi !

    I have a new problem with IAR Embedded Workbench. Yesterday I have made a new project with an old project but this project was working; and now when I want to compile on the Usb dongle with CC1111. The compilation is ok but when I want to exectue I have this error message:

    Fri Jan 15 13:50:10 2010: No verification errors found during download.
    Fri Jan 15 13:50:10 2010: Download complete.
    Fri Jan 15 13:50:10 2010: Target reset
    Fri Jan 15 13:50:19 2010: Unable to execute: driver error.
    Fri Jan 15 13:50:24 2010: The stack 'IdataStack' is filled to 100% (192 bytes used out of 192). The warning threshold is set to 90.%
    Fri Jan 15 13:50:24 2010: The stack 'XdataStack' is filled to 100% (1023 bytes used out of 1023). The warning threshold is set to 90.%
    Fri Jan 15 13:50:24 2010: The stack pointer for stack 'IdataStack' (currently IData:0x00) is outside the stack range (IData:0x40 to IData:0x100)
    Fri Jan 15 13:50:24 2010: The stack pointer for stack 'XdataStack' (currently XData:0x0000) is outside the stack range (XData:0xF000 to XData:0xF3FF)

    I don't understand why I have this error. I am sure my application is ok because it was working before. The only thing I have modified is the string in driver usb_cdc_driver_cc1111.inf. Please Help. Thank you for your answers.

    Aurelien

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BeBaron
    Posted by BeBaron
    on Jan 15 2010 08:55 AM
    Prodigy70 points

    Ok my application is ok because when I close IAR just after the load of the program in the CC1111 , And when I plug the dongle USB on my computer it works fine. But when I click on the go button IAR crash with this message error. Please help. Thank you.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Taimoor Bhatti
    Posted by Taimoor Bhatti
    on May 10 2010 05:52 AM
    Prodigy20 points

    Hello guys, I'm facing the same problem as Sindbad.

    I've had a look at the API and stuff, but I'm not sure HOW I can start a new Simpliciti project on my own. There ought to be some tutorial out there on the web that tells us how to write your first "hello world over the air" program.

    I've got hold of a CC2510 MINI Development Kit and I must say that its impressive (looking at the datasheet)!

    Regards!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BrandonAzbell
    Posted by BrandonAzbell
    on May 21 2010 22:15 PM
    Guru54850 points

    There are examples applications as a part of the SimpliciTI download which I believe are a good reference to determine how to get started.

    Have you considered looking at one of those for a starting point?

    Brandon

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • mitaka
    Posted by mitaka
    on Aug 31 2010 14:00 PM
    Prodigy185 points

    Did anyone find the a solution for the IAR debugger error:

    Tue Aug 31 11:35:06 2010: Unable to execute: driver error.
    Tue Aug 31 11:35:06 2010: The stack 'IdataStack' is filled to 100% (128 bytes used out of 128). The warning threshold is set to 90.%
    Tue Aug 31 11:35:06 2010: The stack 'XdataStack' is filled to 100% (511 bytes used out of 511). The warning threshold is set to 90.%
    Tue Aug 31 11:35:06 2010: The stack pointer for stack 'IdataStack' (currently IData:0x00) is outside the stack range (IData:0x80 to IData:0x100)
    Tue Aug 31 11:35:06 2010: The stack pointer for stack 'XdataStack' (currently XData:0x0000) is outside the stack range (XData:0xF000 to XData:0xF1FF)

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • hec
    Posted by hec
    on Sep 01 2010 01:55 AM
    Expert8070 points

    mitaka

    Did anyone find the a solution for the IAR debugger error:

    Tue Aug 31 11:35:06 2010: Unable to execute: driver error.
    Tue Aug 31 11:35:06 2010: The stack 'IdataStack' is filled to 100% (128 bytes used out of 128). The warning threshold is set to 90.%
    Tue Aug 31 11:35:06 2010: The stack 'XdataStack' is filled to 100% (511 bytes used out of 511). The warning threshold is set to 90.%
    Tue Aug 31 11:35:06 2010: The stack pointer for stack 'IdataStack' (currently IData:0x00) is outside the stack range (IData:0x80 to IData:0x100)
    Tue Aug 31 11:35:06 2010: The stack pointer for stack 'XdataStack' (currently XData:0x0000) is outside the stack range (XData:0xF000 to XData:0xF1FF)

     

    These kinds of errors are usually caused by a communication problem between the device and the debugger. Some possible reasons include:

     

    • Externally reset (reset button, power cycle or watchdog) the device without restarting the debug session
    • Insufficient power supply to the chip
    • Trying to debug in a mode which is not supported for debugging (on the CC1110, that is PM2 and PM3).
    • Problems with the connection of the debug signals

     

    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