SimpliciTI
From Texas Instruments Embedded Processors Wiki
SimpliciTI™ is a low-power RF protocol aimed at simple, small RF networks. This open-source software is an excellent start for building a network with battery-operated devices using one of TI’s low-power RF System-on-Chips (SoC) or the MSP430 ultra-low-power MCU and a TI RF transceiver. SimpliciTI was designed for easy implementation and deployment out-of-the-box on several TI RF platforms such as the MSP430 MCUs and the CC1XXX/CC25XX transceivers and SoCs.
Contents |
Support for MSP430 Experimenter's boards
The following link includes ports of SimpliciTI-IAR-1.2.0 and SimpliciTI-CCS-1.1.1 supporting some MSP430 Experimenter's boards: SimpliciTI_RF_Stack 1_x_x_5
Supported boards
The following MSP430 Experimenter's boards are supported in this release:
Examples included
The Software package includes the following examples:
- EXP430F5438:
- AP_as_Data_Hub
- Simple_Peer_to_Peer
- UART_Bridge (SimpliciTI_IAR_2.0.0.5xx only)
- EXP430F5529:
- AP_as_Data_Hub
- Simple_Peer_to_Peer
- EXP430FR5739:
- AP_as_Data_Hub
- Simple_Peer_to_Peer
Revision Tracking
Users are encouraged to make updates and report bugs. Please document changes in revision tracking:
| Version | Date | Comment |
|---|---|---|
| 1.0 | Feb 2012 | First Rev |
| Version | Date | Comment |
|---|---|---|
| 1.0 | Feb 2012 | First Rev |
Creating new CCS v5 Project using SimpliciTI
SimpliciTI projects for CCS are located in:
<SimpliciTI_root_folder>\Projects\Examples\<target board>
These examples can be used as a base and they can be modified to create your application; or optionally, copies of the projects can be created to start your own.
However, in some cases it might be useful to add SimpliciTI to an existing project or start a project from scratch.
Below is the step by step tutorial to create a new CCS v5 Project which includes the SimpliciTI stack. The tutorial is written just to make a "standalone" version of LinkTo configuration of the Simple Peer-To-Peer example application for MSP-EXP430F5438 (MSP430F5438A) using a CC2500EM module.
- Create a new CCS project for MSP430F5438A
This tutorial shows how to add SimpliciTI to a blank new project but this step can be skipped if a project already exists
- Click on File->New->CCS Project
- Select a project name
- Select mcu variant (in this case MSP430F5438A)
- Use the Empty Project template
- Click Finish
- Set the DEV_ROOT Variable
The CCS project will use DEV_ROOT variable as a reference pointing to the SimpliciTI root folder. This variable can be added following the next steps:
- Open the project properties (right-click project, select properties)
- In Project properties, select Resource->Linked Resources
- Click on New
- Set name "DEV_ROOT"
- Click on Folder
- Select the path for the SimpliciTI source folder (in this case "C:\ti\msp430\SimpliciTI_CCS_1_1_1_5xx")
- Click OK
- Add the SimpliciTI source files'
The SimpliciTI files can be added manually to the project, but this simple step adds all files in one step. Note how the files will be "linked" to the project which means that they will still reside in the SimpliciTI installation folder
- Click on File->New Folder->
- Click "Advanced"
- Select "Link to alternate location (linked folder")
- Click "Variables"
- Select the variable "DEV_ROOT"
- Click "Extend"
- Select "Components"
- Click OK
- Exclude files from build
The previous step adds all SimpliciTI files including support for all MCUs, target boards and radios. This will cause conflicts in the project which can be fixed by excluding the board/mcu/radio specific files following the next steps
- In the CCS Project Explorer select the following folders
* Components/bsp/boards
* Components/bsp/drivers
* Components/bsp/mcus
* Components/mrfi/radios
* Components/mrfi/smartrf - Right-click the folders and select "Resource Configuration"->"Exclude from Build"
- In the CCS Project Explorer select the following folders
- Add include paths
The following include paths must be added to the project
* Components/bsp
* Components/bsp/boards/EXP430f5438 (or your specific board)
* Components/bsp/drivers/
* Components/mrfi
* Components/simpliciti/nwk
* Components/simpliciti/nwk_applications
Follow the next steps to add each one:
- In project options, select Build->Include Options
- Click the button to add a new path
- Click "Workspace"
- Select the appropiate folder
- Click OK
- Add predefined symbol for CC2500EM
This example uses the CC2500EM, so the symbol "MRFI_CC2500" must be pre-defined as follows:
- In project options, select Build->Advanced Options->Predefined Symbols
- Click the button to add a new symbol
- Type "MRFI_CC2500"
- Click OK
- Add command and source files to application
Now you can add your own configuration(.dat) and source files (.c/.h) to your application. You can simply copy-paste them to your project folder, drag-and-drop them to the project explorer or create new ones.
For this example, we'll simply copy the following files from the SimpliciTI folder to our project:
* SimpliciTI_CCS_1_1_1_5xx\Projects\Examples\Applications\main_LinkTo.c
* SimpliciTI_CCS_1_1_1_5xx\Projects\Examples\Applications\app_remap_led.h
* SimpliciTI_CCS_1_1_1_5xx\Projects\Examples\EXP430F5438\Simple_Peer_to_Peer\CCS\Configuration\smpl_nwk_config.dat
* SimpliciTI_CCS_1_1_1_5xx\Projects\Examples\EXP430F5438\Simple_Peer_to_Peer\CCS\Configuration\End_Device\smpl_config.dat
- Add the configuration file to project settings
The .dat files contain configuration symbols used by the SimpliciTI stack. Follow the next steps in order to add them to your project:- In project options, select Build->Advanced Options->Command Files
- Click the button to add a new file
- Click "Workspace"
- Select the .dat files (from previous step)
- Click OK
- Build the project
The project should build without errors now.
Have fun!!
Creating new CCS v4 Project using SimpliciTI
Below is the step by step tutorial to create a new CCS v4 Project which includes the SimpliciTI stack. The tutorial is written just to make a "standalone" version of LinkTo configuration of the Simple Peer-To-Peer example application for eZ430-RF2500 (MSP430F2274)
- Create a new project for MSP430F2274
For a tutorial on how to create new MSP430 project on CCS v4, please refer here
- Set the DEV_ROOT
As described in SWRA243 - SimpliciTI Sample Application User's Guide document, set the DEV_ROOT in the CCS Workspace to the default SimpliciTI source folder (usually C:\Texas Instruments\SimpliciTI-CCS-1.1.1) as follows:.
- Create the CCS project folder
Create the CCS project folder for SimpliciTI source files in the following hierarchy.
- Link the SimpliciTI files
Include the simpliciTI source files by linking them one-by-one (unfortunatelly this is currently the only possibility for CCS v4). The linking should be done by using relative path to the DEV_ROOT path. Linking files in CCS v4 can be done by selecting "File" -> "New" -> "File" -> clicking the "Advanced >>" button -> check the "Link the file in the file system" -> click "Variables..." -> select the "DEV_ROOT" and click the "Extend..." button.
The following files are to be added:
* DEV_ROOT/Components/bsp/* to SMPL/bsp
* DEV_ROOT/Components/mrfi/* to SMPL/mrfi
* DEV_ROOT/Components/simpliciti/nwk/* to SMPL/nwk
* DEV_ROOT/Components/simpliciti/nwk_applications/* to SMPL/nwk_applications
- Setup SMPL_ROOT macro
Setup a new project macro SMPL_ROOT also to the default SimpliciTI source folder.
- Set the include paths
Set the include path in the project configuration using the SMPL_ROOT macro.
Below is the list of the paths to be included in the project:
* ${SMPL_ROOT}/Components/bsp
* ${SMPL_ROOT}/Components/bsp/boards/eZ430RF (modify if necessary for other platform)
* ${SMPL_ROOT}/Components/bsp/drivers
* ${SMPL_ROOT}/Components/bsp/mrfi
* ${SMPL_ROOT}/Components/bsp/nwk
* ${SMPL_ROOT}/Components/bsp/nwk_applications
- Set the pre-define symbol
Set the predefine symbol of the SimpliciTI platform (in this case MRFI_CC2500 for eZ430-RF2500 with MSP430F2274) - Add command configuration files and the source files into the project
Add the necessary command configuration files (.dat) and source files (in this case main_LinkTo.c and app_remap_led.h" from the SimpliciTI source tree). You can just use a windows explorer and do "drag and drop" to copy the files into the CCS project. - Add the command configuration files into the project setting
Add the command configuration files into the CCS project settings
After the last step, you should be able to compile the project without errors.
The CCS v4 project can be downloaded here Media:LinkTo_StandAlone.zip
Leave a Comment