This guide is intended to assist users in the initial setup and demonstration of running their first sample
application for the CC3220, CC3220S, and CC3220SF SimpleLink™ Wi-Fi®and Internet of Things
Solution, a Single-Chip Wireless MCU from Texas Instruments™. The guide explains how to install the
software development kit (SDK) and various other tools required to get started with the first application.
Trademarks
SimpleLink, Texas Instruments, Code Composer Studio are trademarks of Texas Instruments.
Bluetooth is a registered trademark of Bluetooth SIG.
IAR Embedded Workbench is a registered trademark of IAR Systems AB.
Linux is a registered trademark of Linux Foundation.
Microsoft is a registered trademark of Microsoft Corporation.
Wi-Fi is a registered trademark of Wi-Fi alliance.
All other trademarks are the property of their respective owners.
Introduction
This preliminary release of the Getting Started guide is focused on the Code Composer Studio™ (CCS)
IDE.
GCC is currently not supported.
The CC3220 device is part of the SimpleLink microcontroller (MCU) platform, which consists of Wi-Fi,
Bluetooth®low energy, Sub-1 GHz, and host MCUs. All share a common, easy-to-use development
environment with a single core software development kit (SDK) and rich tool set. A one-time integration of
the SimpleLink platform lets you add any combination of devices from the portfolio into your design. The
ultimate goal of the SimpleLink platform is to achieve 100 percent code reuse when your design
requirements change. For more information, visit www.ti.com/simplelink.
Read This First
SWRU461B–February 2017–Revised June 2018
Preface
Prerequisites
The user is expected to have the following:
•CC3220S-LAUNCHXL or CC3220SF-LAUNCHXL
•An 802.11b/g/n (2.4-GHz) Wireless Access Point (AP)
•Download the following software at CC3220 SDK package.
•Run the installer by double-clicking on the CC3220 SDK installer.
•Read and accept the license agreement to proceed.
•Choose the desired path to place the package (else default is chosen).
•Proceed with the installation and click Finish once done.
1.2Service Pack
If the board is not already flashed with the service pack for SDK <version>, the latest service pack for
SDK <version> must be flashed on the CC3220 wireless MCU. The most updated service pack is
available under <sdk-installation>\tools\cc32xx_tools\servicepack-cc3x20. To program the service pack
with an UniFlash, the binary file (.bin) must be loaded to the Files/Service Pack.
1.3UniFlash Tool
UniFlash is a stand-alone tool used to program on-chip flash memory on TI MCUs and onboard flash
memory for Sitara processors. The tool lets the developer download application image, service pack, and
other files on the serial flash of the CC3220 device. It also enables the creation of OTA (Over-The-Air)
images.
1. Download the Image Creator tool from http://www.ti.com/tool/uniflash.
2. Run the installer by double-clicking on it. Click Next to continue, as shown in Figure 1-1.
Many sample applications come with UART support for printing the debug information or the status of any
operation. Some applications require user’s input through UART, so it is advised to install a serial terminal
application. Tera Term is used for demonstration here.
1. Download Tera Term and install as described in the instructions.
2. Run the Tera Term application.
3. Select the Serial Port, then COM11: XDS110 Class Application/User UART (COM11), as shown in
Figure 1-4. Click OK to continue.
NOTE: Install the XDS110 drivers for the PC to enumerate these ports for serial terminal. See
Section 1.6 for installation of the XDS110 drivers.
www.ti.com
Figure 1-4. Select Serial Port
4. Go to Setup → Serial port, as shown in Figure 1-5.
5. Configure the setting as shown in Figure 1-6. Click OK to continue.
Pin Mux Tool
Figure 1-6. Configure Settings
1.5Pin Mux Tool
TI recommends installing the Pin Mux Tool, although it is not required to get started with your sample
application. This tool helps to configure the pin mux setting for your application. All the provided sample
applications already contain the required pin mux file (output of this tool). The latest version of this tool
can be downloaded from http://www.ti.com/tool/PINMUXTOOL. For more information on this tool, see
For older versions of this tool, the CC3220 device may not be listed explicitly under the supported devices.
If that is the case, choose the CC3200 device from the drop-down menu to generate the same output files
required by the CC3220 device.
1.6XDS110 Driver Installation
XDS110 drivers must be installed before one can use the debugger or the Image Creator tool. It also
enumerates the serial terminal port, which can be used to print the debug messages over UART. The XDS
drivers can be obtained from the
The following debugger/IDE can be used to download and debug the application image.
1.7.1 CCS
The latest CCS installer can be downloaded from http://www.ti.com/tool/ccstudio. CCS is a free tool from
TI, lets developers work with various TI devices. The SDK supports CCS version 7.0 or later.
1. Double-click on the installer and follow the instruction to install this tool
2. Make sure to select the SimpleLink Wireless MCUs option for processor support, as shown in Figure 1-
11. Click Next to continue.
NOTE: If CCS is already installed for other processors (and not for SimpleLink wireless MCU), then
the installer must run again and select the SimpleLink Wireless MCUs option for processor
support this time. The rest of the installation steps will remain the same as for a new
installation:
The developer is responsible for buying the license for the IAR Embedded Workbench®tool. A trial version
can be downloaded from https://www.iar.com/iar-embedded-
workbench//#!?device=CC3220&architecture=ARM.
Double-click on the installer and follow the instruction to install this tool. For detailed IAR setup instruction,
see <sdk-installation-path>\docs\simplelink_mcu_sdk\Quick_Start_Guide.html.
1.7.3 GCC
For detailed GCC setup instruction, please refer to <sdk-installationpath>\
docs\simplelink_mcu_sdk\Quick_Start_Guide.html
1.8Operating Systems
The CC3220 SDK currently supports TI-RTOS and FreeRTOS. Each real-time kernel port consists of
three files that contain the core kernel components and are common to every port, and one or more files
that are specific to a particular microcontroller and/or compiler. Each directory contains files specific to a
particular compiler (CCS, GCC, and IAR).
1.8.1 TI-RTOS
TI-RTOS for SimpleLink solutions is already installed in the latest CCS releases (see Section 1.7.1). IAR
users can install the TI-RTOS Support Package as a separate installer (see below).
www.ti.com
1.8.1.1Install TI-RTOS as a Separate Installer
The latest TI-RTOS support package for SimpleLink devices can be downloaded and installed from
http://www.ti.com/tool/ti-rtos.
1.8.2 FreeRTOS
The following are the instructions to add the FreeRTOS support.
The SDK is packed with precompiled binaries for several networking and peripheral examples. By default,
the sample applications are built for the CC3220SF variant. The user can easily compile the same
applications for the other variants just by selecting them in the project properties. See Section 2.1 to
compile the sample application for the required device variant.
This document uses Network Terminal as the reference application. The Network Terminal application
provides a CLI (command line interface over UART connection) that lets users activate basic SimpleLink
operations such as triggering a WLAN scan, connecting to a local access point (or setting an access point
or Wi-Fi-Direct connection), and performing networking services such as PING, MDNS, or data transfer
over TCP/UDP sockets. The application also enables configuration of Wake-On-WLAN filters and scan
policy and lets the user put the device in a transceiver mode for testing TX and RX operations.
This example uses a real-time operating system (TI-RTOS or FreeRTOS). The following instructions will
use the CC3220SF device and TI-RTOS, but can be easily changed to other combination, by:
•Selecting the CC3220S device-specific directory (CC3220S_LAUNCHXL instead of
CC3220SF_LAUNCHXL)
or
•Selecting sample project for FreeRTOS (for example,
network_terminal_CC3220SF_LAUNCHXL_freertos_ccs instead of
network_terminal_CC3220SF_LAUNCHXL_tirtos_ccs)