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 AP

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 configure CC3100 in Access-Point mode. Any WLAN station in its range can connect/communicate to/with it as per the standard networking protocols. On a successful connection, the device pings the connected station.

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, configures it in AP mode and verifies the connection status

Usage[edit]

  • Connect the board to a Windows-PC and configure the terminal-program for seeing the logs - CC3100 & CC3200 Terminal Setting has detailed instructions for configuring the terminal-program
  • Open sl_common.h and modify values of SSID_AP_MODE, PASSWORD_AP_MODE and SEC_TYPE_AP_MODE. These values will define the device's credentials in AP mode
  • Build and run the application using IAR/CCS
    • The device will be configured in AP mode and shall wait for clients to connect w/ it.
    • It also pings the connected clients to check the connection status\
  • See the self explanatory logs on the terminal-program's console.
  • Connect a client to the device and wait for few seconds for the test to complete
  • On success, below message will be displayed on the terminal
Getting_started_with_ap_1.png

NoteNote: : User needs to reconfigure the device in 'Station-Mode' for executing other sample applications. Refer function configureSimpleLinkToDefaultState in this example's main.c for configuring the device in 'Station-Mode'.

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 AP 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 AP 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 AP 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 AP 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 AP 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 AP 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 AP 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 AP 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 AP 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