NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

CC3100 Getting Started with WLAN Station

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

Overview and application details[edit]

This sample application demonstrates how to start CC3100 in WLAN-Station mode and connect to a Wi-Fi access-point. The application connects to an access-point and pings the gateway. It also checks for an internet connectivity by pinging "www.ti.com"

By default, this application communicates w/ CC3100 over SPI. The SDK has UART-Drivers as well for MSP430F5529LP and Tiva-C platforms. For using the UART interface to communicate w/ CC3100, macro SL_IF_TYPE_UART has to be defined in the application-project's properties.

NoteNote: This wiki page is only applicable for CC3100-SDK v1.0.0 and upward releases. For documentation on older SDKs' examples, refer corresponding file in <cc3100-sdk-installation-location>\cc3100-sdk\docs\examples\

Source Files briefly explained[edit]

  • main - Initializes the device, connects to an AP and verifies the connection status

Usage[edit]

Prerequisite: This application requires an access-point with internet connectivity

  • Connect the board to a Windows-PC and configure the terminal-program for seeing the logs - CC31xx & CC32xx Terminal Setting Wiki has detailed instructions for configuring the terminal-program
  • Open sl_common.h and and change SSID_NAME, SEC_TYPE and PASSKEY as per your access-point's properties. SimpleLink device will connect to this AP when the application is executed
  • Build and run the project using IAR/CCS
  • See the self explanatory logs on the terminal-program's console. On success, below message will be displayed on the terminal
Getting_started_with_station_1.png

Building for Tiva-C LaunchPad[edit]

To build the application for Tiva-C LaunchPad, follow below steps:

  • IAR
    • Open the project's Options
    • Replace the tivaware path under C/C++ Compiler->Preprocessor section
      figure8.jpg
    • Replace the tivaware library path under Linker->Library section
figure9.png
    • Build the project
  • Code Composer Studio
    • Open the project property
    • Update TIVAWARE_ROOT variable available under Resource->Linked Resources with tivaware root directory
      figure7.png
    • Build the project

Note: The solution provided in SDK for tiva-c-connected-launchpad is using the Boosterpack 2 interface.


Limitations/Known Issues[edit]

None

Links[edit]

{{#invoke: Navbox | navbox }} {{#invoke: Navbox | navbox }}

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3100 Getting Started with WLAN Station here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3100 Getting Started with WLAN Station here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC3100 Getting Started with WLAN Station here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC3100 Getting Started with WLAN Station here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC3100 Getting Started with WLAN Station here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3100 Getting Started with WLAN Station here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3100 Getting Started with WLAN Station here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC3100 Getting Started with WLAN Station here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC3100 Getting Started with WLAN Station here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity