BLE Stack Quick Start Guide

This section serves as a roadmap for users developing applications and products using the TI SimpleLink Bluetooth low energy CC1350 wireless MCU platform. Whether a seasoned developer or just getting started, TI has created a variety of resources to simplify development on the CC1350 platform. These resources will enhance your experience with the TI SimpleLink BLE-Stack™ 2.03.00 Software Development Kit (SDK) from the out-of-the-box demo to production.

Figure 1. shows the suggested workflow for getting started with TI’s SimpleLink Bluetooth low energy (BLE) development environment.

../_images/suggestedworkflow.png

Figure 1. Suggested Workflow

Demo

The CC1350 LaunchPad™ is the main development kit for developing applications with the BLE-Stack. To quickly get started with the CC1350 Launchpad, see the instructions on the TI SimpleLink CC1350 Project Zero page.

In order to run the project0 demo, you will need the SimpleLink CC13x0 SDK and CCS v7.0. If you have not done so already, follow the directions in Step 1. of the Develop section. Next, you will need to follow the instructions on the Project Zero page.

To summarize, then Project Zero demo allows you to quickly:

  • Flash a simple peripheral project onto the CC1350 Launchpad
  • Connect the CC1350 Launchpad to a smart phone or another central device
  • OTA Download a Sub 1Ghz Sensor image into the CC1350 Launchpad to change the role from a BLE Simple Peripheral to a Sub1Ghz Sensor

The following sections in this document focus on developing a custom application with BLE-Stack 2.03.00. When developing a new application for the CC1350 Launchpad, we recommend starting from simple_peripheral project.

After you have become familiar with he demo, if you want additional training continue on to the Learn track. If you are an advanced developer and are ready to get started with developing your own appplication, continue on to the Develop track.

Learn

Resources contained in the Learn track of Figure 1. are intended for users who are new to BLE or TI-RTOS. These modules demonstrate how to create custom applications with BLE-Stack 2.03.00 and TI’s Real Time Operation System (TI-RTOS).

Using introductory material and labs, learn the fundamentals of BLE and how to develop a custom BLE profile.

Contains TI-RTOS modules written to demonstrate the rich debug environment and peripheral driver capability provided by the RTOS.

Warning

Although the concepts taught in SimpleLink Academy carry over when developing on the CC1350 Launchpad, the projects may require older versions of the TI BLE-Stack and CC26xx hardware. Each lab will list which hardware and SDK version is supported.

This material teaches users who are new to TI-RTOS or any RTOS programming in general about TI’s RTOS kernel implementation.

Modules within the kernel training greatly expand the information presented in the TI-RTOS Overview chapter.

Learn how the TI-RTOS provides the most optimal power management and design flexibly.

Develop

The develop track of Figure 1. is intended for programmers who are ready to start developing an end product using the CC1350. To begin:

  1. Download the SimpleLink CC1350 SDK https://www.ti.com/tool/simplelink-cc13x0-sdk

BLE-Stack 2.03.00 contains the code neccessary to create a complete BLE end application. The stack code implements the BLE protocol stack on the CC1350, and the various example projects use the stack to implement end devices. These examples should be considered as starting points for end product designs.

To install the BLE-Stack, run the simplelink_cc13x0_sdk_1_01_00_xx.exe installer.

  • The default SDK install path is C:\ti\simplelink_cc13x0_sdk_1_01_00_xx. Throughout the rest of this document, this path will be referred to as <SDK_INSTALL_DIR>.

    See Installing BLE-Stack 2.03.00 for help installing the SimpleLink CC13x0 SDK.

  1. Get Familiar with the Software Developer’s Guide

This Software Developer’s Guide is meant to be used alongside BLE-Stack 2.03.00 when developing an end product. It contains documentation on the stack architecture, APIs, and suggestions for developing applications. To jump to the Table of Contents, click here: Bluetooth Low Energy Software Developer’s Guide

  1. Select an Example Project

The BLE-Stack for the CC1350 includes the simple_peripheral project to use as a starting point for development of your custom application. It also includes the host_test project which can be used as a network processor that communicates with the host via HCI interface.using vendor specific HCI commands.

  1. Begin Development with an IDE

An Integrated Development Environment can be set up to make it easier to browse through the relevant projects and view code. All embedded software for the CC1350 is developed using either TI’s Code Composer Studio or IAR’s Embedded Workbench for ARM (from IAR Systems) on a Windows 7® or later PC.

To begin development in CCS, jump to: Developing with CCS

To begin development in IAR, jump to: Developing with IAR

  1. Troubleshooting Help

While developing your custom application, you may run into issues that require the use of a debugger. The External Resources chapter provides help with configuring your debugger and understanding common problems. If you are still having problems after reading through the Debugging chapter, see the Support track for more options.

Enhance

The enhance track of Figure 1. is intended to take your product to the next level by leveraging TI’s web-based collateral. Additional resources found in these pages include application-specific source code examples, smart phone source code, and complete sub-system designs.

Additional sample applications created to implement specific use cases and examples. These are made to work in conjunction with the SDK.

TI offers a plugin for the Bluetooth Developer Studio tool. Developers can use this tool, developed by the Bluetooth Special Interest Group (SIG), with TI’s SimpleLink plugin to reduce development time by automatically generating compilable code for proprietary and adopted profiles running on the CC1350. See SimpleLink Academy for instructions on integrating a BDS profile with a sample project.

Examples of system designs containing complete hardware and software examples, using the CC1350.

Support

The support track of Figure 1. is intended to provide you additional help and resources that aren’t contained in the previous tracks.

A collection of webpages that contain step-by-step guides and code snippets that enable certain features and enhancements to the CC1350, such as production test mode and certification.

A support community providing answers to questions relating to the BLE-Stack 2.03.00 and the CC1350. You can browse questions from other developers or ask your own questions if you run into issues developing with BLE-Stack 2.03.00.