SimpleLink CC2640R2 SDK BLE Example Pack User's Guide
Table of Contents
- Legal
- Introduction
- Examples
- Using the IDE
- Additional Online Support
- Using Bluetooth Developer Studio (BDS)
SimpleLink™ CC2640R2 SDK BLE Example Pack
General information for SimpleLink CC2640R2 SDK BLE Example Pack
Introduction
The SimpleLink CC2640R2 SDK BLE Example Pack is a companion software package that provides additional sample applications to be used with the components listed below. This example pack requires prior installation of simplelink_cc2640r2_sdk_1_50_00_58. Without this version of the SDK installed, the projects provided in this example pack will not build or run correctly. With the Simplelink CC2640R2 Example Pack installed, these projects can be used just like the ones provided with the Simplelink CC2640R2 SDK.
This example pack contains project files for IAR Embedded Workbench and Code Composer Studio, application level source code, and documentation for each sample application.
The Example Pack sample applications were built & tested with the following Integrated Development Environments (IDEs) and listed components on Windows 7 SP1 and Windows 10 host build platforms. Using component versions other what are listed below may result in compatibility issues with this SDK release.
- IAR Embedded Workbench: EWARM-8.11.2
- TI Code Composer Studio: CCS-7.02.00.00013
- SimpleLink CC2640R2 SDK: 1.50.00.58
- TI C Compiler for ARM: 16.09.03.LTS
- XDCTools: 3.50.03.33
Available Example Pack examples are listed here:
BLE-Stack Bluetooth® 4.2 Examples
Additional Experimental examples and scripts not included in this Example Pack can be found on GitHub:
Experimental BLE-Stack Examples and Scripts
Using the IDE
Both Code Composer Studio and IAR Embedded Workbench can be used to run the sample applications in this example pack. This section will show how these sample apps are pulling in the Simplelink CC2640R2 SDK.
Code Composer Studio
The SimpleLink CC2640R2 SDK BLE Example Pack is designed to integrate seamlessly with the Code Composer Studio Integrated Development Environment (CCS) from Texas Instruments. After installing the example pack (it is recommended to use the default installation directory), CCS should automatically detect and install the example pack software package without any special interaction from the user. To check to see if the example pack has installed correctly, go to the Windows->Preferences menu item. Under the Code Composer Studio->Products item you should see “SimpleLink CC2640R2 SDK BLE Example Pack” installed (with a version number). If you have CCS open when the example pack is installed, you will need to restart CCS to have the new product installed.
To see the variables that are being pulled in from the SimpleLink CC2640R2 SDK, go to Project->Properites->Build. Under the Variables tab, select “Show system variables”:
Many variables will show up. The one of interest is SIMPLELINK_CORE_SDK_INSTALL_DIR
and should contain a valid path to the SimpleLink CC2640R2 SDK.
Please see the respective Developing in CCS section for details on importing, building, and running BLE projects. This section also discusses how to install CCS.
IAR Embedded Workbench
Once the SimpleLink CC2640R2 SDK BLE Example Pack is installed, IAR Embedded Workbench (IAR) should immediately be ready to use. To see the variables that are being pulled in from the CC2640R2 SDK, go to Tools->Configure Custom Argument Variables:
If the CC2640R2 SDK is moved to somewhere other than the default install directory, these variables will have to be changed to work with the new path.
Please see the respective Developing in IAR section for details on opening, building, and running BLE projects. This section also discusses how to install IAR.
Using Bluetooth Developer Studio (BDS)
Create additional sample applications with support for automatic code generation of any adopted or custom Bluetooth GATT profile with TI’s plugin for Bluetooth Developer Studio (BDS). Developers can use this tool, developed by the Bluetooth Special Interest Group (SIG), with TI’s SimpleLink example pack to reduce development time by automatically generating compatible code for proprietary and adopted profiles running on the CC2640R2F. See SimpleLink Academy for instructions on integrating a BDS profile with a sample project.