CC32xx SDK Sample Applications

From Texas Instruments Wiki
Jump to: navigation, search
Cc31xx cc32xx return home.png

Introduction

The CC3200 LaunchPad is a low-cost evaluation platform for ARM® Cortex™-M4-based CC3200 Wi-Fi MCU. The LaunchPad design highlights the CC3200 Internet on a chip and WiFi capabilities, and contains all you need to easily create Internet of Things (IoT) solutions. The software development kit (SDK) is the set of documents, board's driver, tools, and sample codes needed to evaluate and start development on the CC3200 devices. This page provides insights into the content of the CC3100 SDK, with a focus on the sample applications code, which can be used as reference for development.

The CC3200 SDK contains

  • The simpleLink host driver, and its APIs documentation
  • The simpleLink M4 peripheral drivers and the CC3200 peripheral driver APIs documentation
  • A getting started guide, with instructions on setting up the platform and executing sample application(s)
  • The CC3200 launchpad board driver
  • Sample applications example code,summarized below, with their respective user guide with detailed instructions.
    • The applications are provided for various host platforms. Refer to the CC32xx release notes for the platforms which were verified for this release.
  • Additional documentation, including the launchXL hardware user-guide

UniFlash

Main article: UniFlash Quick Start Guide
Download Page: Uniflash

UniFlash is a standalone flash tool for TI microcontrollers and Sitara processors. This is a powerful application, which is used to

  • Load sample applications binary to the host microcontroller

Reference Examples for the CC3200 LaunchPad

This section lists all the sample applications provided in the SDK, a short description, and user guides for each application.

Latest CC32xx SDK Version: 1.2.0
 NoteNote:  These application examples target for the 1.2.0 release. 
 For documentation on older SDK examples, please refer to corresponding files in <cc3200-sdk-installation-location>\cc3200-sdk\docs\examples\'

Network Reference Examples for the CC3200 LaunchPad

Application / Demo Description OS Support Guide/Documentation
Antenna Selection Application Antenna Selection is method by which user can configure the WLAN RF Antenna on the CC32xx device from a Browser. FreeRTOS Antenna Selection Application
Camera Application This application demonstrates image capture feature on CC3200 device. FreeRTOS Camera Application
Connection Policies The application demonstrates the connection policies in CC3200.
The connection policies determine how the CC3200 is connected to AP.
Non-OS Connection Policies Application
Email Application The email application on the CC3200 sends emails via SMTP when there is a hardware interrupt. TI-RTOS/FreeRTOS Email Demo Application
Enterprise Security The example demonstrates the connection to an enterprise network using the flashed certificate.
Certificate is flashed in SFLASH.
Non-OS Enterprise Security Example
File Download Application This application demonstrate how to connect to a server to download a file and save it on the serial flash. Non-OS File Download Application
File Operations Application This application is to showcase the file operation on serial flash of the device. Non-OS File Operations Application
Getting Started with WLAN AP This application is to showcase device capability to behave as an AP in a typical networking system. TI-RTOS/FreeRTOS Getting Started with WLAN AP
Getting Started with WLAN Station This application is to showcase device capability to behave as a station in a typical networking system. TI-RTOS/FreeRTOS Getting Started with WLAN Station
Hibernate Application This application is to showcase the hibernate as a power saving tool in a networking
context(in this case a UDP client).
FreeRTOS Hibernate Application
HTTP Server The application demonstrates the Http server capability of CC3200. FreeRTOS HTTP Server Application
Idle Profile Application This Application exercises low power modes(lpds) using Power Management Framework(middleware). FreeRTOS Idle Profile Application
Info Center-Get Time Application The application connects to an SNTP server and requests for time information. TI-RTOS/FreeRTOS Info Center-Get Time Application
Info Center-Get Weather Application The application connects to ‘Open Weather Map’ and requests for weather data. FreeRTOS Info Center-Get Weather Application
mDNS The application demonstrates the usage of mDNS functionality in CC3200.
The application showcases both “mDNS advertise” and “mDNS listen” functionality.
Non-OS mDNS Application
Mode-Configuration Application This application is to configure the device either to a station or an AP mode. Non-OS Mode-Configuration Application
NWP Filter This application is to showcase Rx-Filter feature on CC3200 device. Non-OS NWP Filter Application
Out of Box This Application demonstrates Out of Box Experience with CC3200 Launch Pad. FreeRTOS Out of Box Application
P2P Application (Wi-Fi Direct) The application demonstrates Wi-Fi direct (peer to peer) feature on CC3200 Device. Non-OS P2P Application
OTA Over The Air (OTA) sample application focuses on showcasing CC3200’s ability to receive firmware update and/or any related files over the internet enabled Wi-Fi interface. FreeRTOS/Non-OS (see package documentation)
Power Measurement Provides users the ability to configure the device in various low power modes and profiles for power measurements. Non-OS CC3200 Power Management Optimizations and Measurements
Provisioning - AP This application demonstrates the AP provisioning feature. CC3200 AP Provisioning is method by which user can configure the AP information on the CC3200 device from a Browser.
Warning Warning: This example was updated on June 21st, 2016 to support the new AP Provisioning mechanism. The old AP Provisioning example can still be found in SDK 1.1 and prior versions, and documentation for this can be found in the deprecated section of the wiki link on the right.
TI-RTOS AP Provisioning Application
Provisioning - Smart Config Application The application demonstrates how to associate/connect CC31xx/CC32xx to any access point. Non-OS Provisioning-Smart Config
Provisioning - WPS This application is to demonstrates how to use WPS Wi-Fi provisioning with CC31xx/CC32xx. Non-OS Provisioning-WPS Application
Sensor Profile This Application exercises hibernation using Power Management Framework(middleware). FreeRTOS Sensor Profile Application
Serial Wi-Fi Serial WiFi is a capability designed to provide easy, self-contained terminal access behavior, over UART interface. FreeRTOS Serial WiFi Application
SSL Demo Application This application is to showcase SSL implementation on CC3200 device. Non-OS SSL Demo Application
TCP Socket Application This application is to showcase device communication over network using TCP protocols. Non-OS TCP Socket Application
TFTP Client Application This application illustrates how a client application can read/write a file from/to the TFTP server running on the other end of network. FreeRTOS TFTP Client Application
Transceiver Mode Application The RX Statistics feature is used to inspect the medium in terms of congestion, distance,
validate the RF hardware, and help, using the RSSI information,
positioning the CC3200 in an ideal spot.
Non-OS Transceiver Mode Application
UDP Socket Application This application is to showcase device communication over network using UDP protocols. Non-OS UDP Socket Application
Wi-Fi Audio Application The application demonstrates the audio feature on device.
Device can act as speaker or mic by just a button click.
FreeRTOS Wi-Fi Audio Application
Watchdog System Demo Application This application is to showcases the usage of Watch dog timer (WDT) in a complete system with MCU and networking subsystem. Non-OS Watchdog System Demo Application
WebSock Camera Application This application demonstrates the real time streaming capability of websocket protocol. FreeRTOS WebSocket Camera Application
WLAN Scan Policies Application This application is to showcase to set scan policy and enables the scan in the device. Non-OS WLAN Scan Policies Application
XMPP Reference Application The application demonstrates the connection scenario with an XMPP server. TI-RTOS/FreeRTOS XMPP Reference Application
HTTP Client Demo This application illustrates the usage of HTTP Client library to enable the device as an HTTP Client. Non-OS HTTP Client Demo
Idle Profile (Non OS) This application exercises the low power modes (LPDS) using Power Management Framework in a Non OS environment. Non-OS Idle Profile NonOS Application
MQTT Client This application showcases the device acting as a MQTT client in a fully functional MQTT network. TI-RTOS/FreeRTOS MQTT Client
MQTT Server This application showcases the device acting as an MQTT Server capable of managing multiple local clients as well as allowing the local clients to communicate with remote MQTT clients. FreeRTOS MQTT Server
OTA Update This application illustrates Over-The-Air (OTA) update of Service Pack, User application and User files. FreeRTOS/Non-OS Over The Air Update Application

MCU Only Reference Examples for the CC3200 LaunchPad

Application / Demo Description OS Support Guide/Documentation
ADC Reference This application showcases the functionality of CC3200 ADC module by using the Driverlib APIs. Non-OS ADC Reference Application
AES Demo Application This Application is to showcase AES Encryption feature on CC3200 device Non-OS AES Demo Application
CRC Demo Application This application is to showcase CRC feature on CC3200 device Non-OS CRC Demo Application
DES Demo Application This Application is to showcase DES Encryption feature on CC3200 device Non-OS DES Demo Application
FreeRTOS Demo Application This application is to showcase the FreeRTOS features like Multiple task creation,
Inter task communication using queues.
FreeRTOS FreeRTOS Demo Application
I2C Demo A sample application too show i2c read/write/readfrom features on CC3200 device. Non-OS I2C Application
Interrupt Demo Application A sample application is to showcase interrupt preemption and tail-chaining capabilities. Non-OS Interrupt Demo Application
LED Blink Application An application to showcase blinking feature of available LEDs connected over GPIO on LP Non-OS Blinky Application
MCU Sleep This application exercises the Sleep functionality of the MCU. Non-OS Sleep Application
Pulse Width Modulation (PWM) This application showcases the PWM mode of CC3200 GPTs. Non-OS PWM Application
SDHost This application showcases the functionality of SDHost module in CC3200. Non-OS SDHost Application
SDHost FatFS This application uses the FatFS to provide the block level read/write access to SD card,
using the SD Host controller on CC3200.
Non-OS SDHost FatFS Application
SHA-MD5 Demo Application This application is to showcase SHA-MD5 Hash Algorithm on CC3200 device Non-OS SHA-MD5 Demo Application
SPI Reference This application showcases the functionality of CC3200 SPI module by using the Driverlib APIs. Non-OS SPI Reference Application
Timer Count Capture Application This application showcases Timer's count capture feature to measure frequency of an external signal. Non-OS Timer Count Capture Application
Timer Demo Application This application is to showcase the usage of 16 bit timers to generate interrupts which
in turn toggles the state of the GPIO.
Non-OS Timer Demo Application
UART Demo Application This application is to showcase the use of UART. Non-OS UART Demo Application
UART dma Application The objective of this application is to showcase the use of UART along with uDMA and interrupts Non-OS UART DMA Application
uDMA Application This application is to showcase different DMA modes of transfer. Non-OS uDMA Application
Watchdog Demo Application This application is to showcase the watchdog timer functionality to reset the system
whenever the system fails.
Non-OS Watchdog Demo Application
Application Bootloader This application showcases the secondary bootloader operations to manage updates to application image. Non-OS Application Bootloader
Dynamic Library Loader This application exercises an approach to enable dynamic loading of an application-binary from non-volatile memory while the program is being executed. FreeRTOS Dynamic Library Loader

SDK Add On Notes

These Add-on packages are released on top of cc3200 sdk and should be downloaded separately. Add-on packages contain documents, sample codes and respective libraries. This section lists all the add-ons, a short description, and download link for each add on.

 NoteNote:   For links and detailed documentation please refer to readme.txt at <cc3200-sdk-installation-location>\cc3200-sdk\example\<Add-on example>\

Add-on examples for the CC3200 LaunchPad

Application / Demo Description OS Support Guide/Documentation Download Link

Archives

CC32xx SDK Sample Applications v0.5.2

Links