CC3100 SimpleLink Wi-Fi and IoT Solution Getting Started Guide

CC3100 SimpleLink Wi-Fi and IoT Solution Getting Started Guide

User's Guide

SWRU375 – May 2014 – Revised May 2014

CC3100 SimpleLink™ Wi-Fi

®

and IoT Solution Getting

Started Guide

ABSTRACT

This document lists the instructions for configuring the CC3100 SimpleLink Wi-Fi BoosterPack™ device while connected to a host computer. It provides guidelines to set up the environment; both software and hardware, in order to execute the CC3100 SDK sample applications. It must be read in conjunction with application-specific user's guides.

1

2

3

4

5

6

3

4

5

1

2

8

9

6

7

Contents

Introduction

...................................................................................................................

2

Prerequisites

.................................................................................................................

2

Configuring the Target Device and Hardware Quick Start

............................................................

3

Software Quick Start

Platform Configuration

........................................................................................................

7

.....................................................................................................

10

References

..................................................................................................................

12

List of Figures

Attaching CC3100 BoosterPack

Mounting CC3100 BoosterPack

Mounting CC3100 BoosterPack

...........................................................................................

4

...........................................................................................

5

...........................................................................................

6

Demo Applications

...........................................................................................................

7

MSP Debug Interface Connection

.........................................................................................

8

EMUBOOST Board

..........................................................................................................

9

Editing Path Variable

Preprocessor Tab

......................................................................................................

10

..........................................................................................................

11

Library Tab

..................................................................................................................

12

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

1

Introduction

1 Introduction

www.ti.com

Connect any low-cost, low-power microcontroller (MCU) to the Internet of Things (IoT). The CC3100 wireless networking solution is a part of the new SimpleLink Wi-Fi family that dramatically simplifies the implementation of internet connectivity. This product integrates all protocols for Wi-Fi and internet, which greatly minimizes host MCU software requirements. With built-in security protocols, the CC3100 solution provides a robust and simple security experience. Additionally, the CC3100 is a complete platform solution including various tools and software, sample applications, user and programming guides, reference designs and the TI E2E™ support community. The device is available in an easy to lay-out QFN package.

2 Prerequisites

• Hardware

– CC3100 Booster-Pack 3.3: http://www.ti.com/product/cc3100

– MCU - MSP430F5529 Launchpad

– CC31xx EMUBOOST Board 3.0

– Wi-Fi Access Point

– Two Micro USB Cables

• Software

– CC3100 Embedded Wi-Fi Software Development Kit

– IAR Embedded workbench, and Code Composer Studio™

– Visual Studio express or Eclipse

• This document should be read in conjunction with the SDK release notes which are part of the installed package.

SimpleLink, E2E, BoosterPack, TivaWare are trademarks of Texas Instruments.

Wi-Fi is a registered trademark of Wi-Fi Alliance.

All other trademarks are the property of their respective owners.

2

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

www.ti.com

3

Configuring the Target Device and Hardware Quick Start

Configuring the Target Device and Hardware Quick Start

3.1

CC3100 BoosterPack™

This section contains instructions for connecting the CC3100 BoosterPack to a Windows-based PC running SimpleLink Studio for CC3100 available at SimpleLink Studio User Guide (if the PC is chosen as a host-platform) or an external MCU. For more detailed instructions, see the CC3100 SimpleLink Wi-Fi

and IoT Solution BoosterPack Hardware User's Guide ( SWRU371 ).

U.FL

Conn

40 MHZ

Crystal

OOB

20 Pin LP

Connector nRESET

(Optional

20 Pin LP

Connector

S-Flash

OOB

(GPIO12) nHIB

Osc

Current

Meas

PWR

SEL

Xtal

3.3 V LDO

Micro USB Conn

(Power only)

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

3

Configuring the Target Device and Hardware Quick Start

3.2

Guidelines for Using BoosterPack

The following instructions should be followed for seamless working of BoosterPack.

• Settings required on BoosterPack:

– J8: Mounted on pin 2-3

– J6: Mounted

– These jumper settings must be followed to work with all MCU or EMUBOOST board.

NOTE:

BoosterPack should always be powered from the on-board USB.

www.ti.com

3.3

Flashing the Firmware

Updating the firmware of the CC31xx BoosterPack is required to work with the SDK. To update the firmware of CC3100 BoosterPack, follow the steps at the CC3100 Flasher wiki.

3.4

Connecting to External MCU - MSP430F5529 Launchpad

• Jumper Configuration:

For more information, see

Section 3.2

.

Steps to attach the CC3100 BoosterPack to MSP430F5529 Launchpad are shown in

Figure 1

Figure 1. Attaching CC3100 BoosterPack

4

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

www.ti.com

Configuring the Target Device and Hardware Quick Start

1.

Mount the CC3100 BoosterPack on the Launchpad as shown in

Figure 2

. The BoosterPack must be correctly connected.

Figure 2. Mounting CC3100 BoosterPack

2. USB connections:

(a) Connect the Micro USB cable to the CC3100 BoosterPack and the PC.

(b) Connect the micro USB cable to the MSP430F5529 Launchpad and the PC.

3.5

Connecting to SimpleLink Studio for CC3100 (Windows PC-based platform )

SimpleLink Studio for CC3100 is a tool for developing applications designed to work with the SimpleLink

Wi-Fi CC31xx family of wireless chips. Using SimpleLink Studio for CC3100, code can be written and run in a desktop IDE, such as Visual Studio or Eclipse. This allows the code to be tested while it is under development, and later ported to an MCU without having to be modified. More details about SimpleLink

Studio for CC3100 are available in the SimpleLink Studio for CC3100 available at SimpleLink Studio User

Guide .

• Jumper Configuration on CC3100 BoosterPack

For more information, see

Section 3.2

.

• Jumper configuration on EMUBOOST board:

– J4 - Mounted

– J22 - Mounted

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

5

Configuring the Target Device and Hardware Quick Start

1.

Mount the CC3100 BoosterPack on EMUBOOST board as shown in

Figure 3

.

www.ti.com

Figure 3. Mounting CC3100 BoosterPack

2. USB connections

(a) Connect the Micro USB cable to the CC3100 BoosterPack and the PC.

(b) Connect the micro USB cable to the J6 USB port of EMUBOOST and the PC.

6

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

www.ti.com

4 Software Quick Start

Software Quick Start

4.1

Downloading CC3100 Embedded Wi-Fi Software Development Kit

1. Install the CC3100 Embedded Wi-Fi Software Development Kit.

2. Run 'CC3100SDK-0.x-windows-installer.exe' and follow the installation steps provided by the software development kit (SDK).

3. StartAll Programs Texas Instruments CC3100 SDK Demo Applications has a list of all supported platforms and each platform has a list of all the supported applications (see

Figure 4

).

Figure 4. Demo Applications

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

7

Software Quick Start

www.ti.com

4.2

Working With External MCU - MSP430F5529 Launchpad

1. Install an IDE to compile and execute the sample applications.

(a) CCS

(b) IAR

2. Mount and connect the CC3100 BoosterPack with MSP430F5529 Launchpad (see

Section 3.4

). The

Windows PC should recognize it as 'MSP Debug Interface' (see

Figure 5

).

Figure 5. MSP Debug Interface Connection

3. IAR or CCS projects are available in CC3100 SDK v0.x at 'cc3100-sdk → platform → msp430f5529lp

→ example_project_iar' or 'cc3100-sdk → platform → msp430f5529lp → example_project_ccs', respectively.

4. Evaluate the demo applications. Detailed testing instructions are available in application-specific user's guides.

5. For universal asynchronous receiver/transmitter (UART) prints, the Terminal should be connected with the MSP Application UART port configured with a 9600 baud rate setting.

8

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

www.ti.com

Software Quick Start

4.3

Working With SimpleLink Studio for CC3100' (Windows PC host)

This is required to work with SimpleLink Studio for CC3100 applications.

1. Mount and connect the CC3100 BoosterPack with EMUBOOST board (see

Section 3.5

). The Windows

PC should recognize the device as shown in

Figure 6 .

Figure 6. EMUBOOST Board

2. Install the FTDI Drivers on the Windows PC, if the device is not recognized.

(a) When installing the device drivers using the Windows Found New Hardware wizard, direct it to the

FTDI directory that contains the ‘*.inf’ files.

(b) FTDI Drivers for the CC3100 BoosterPack are available in CC3100 SDK v0.x at cc3100-sdk → tools → cc31xx_board_drivers.

3. Install an IDE to compile and execute SimpleLink Studio for CC3100 applications.

(a) Visual Studio

(b) Eclipse

4. Open the Visual Studio or Eclipse project available in CC3100 SDK v0.x at cc3100-sdk → platform → simplelinkstudio.

5. Evaluate the demo applications. Detailed testing instructions are available in application-specific user's guides.

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

9

Platform Configuration

5 Platform Configuration

www.ti.com

5.1

Tiva-c-launchpad

TivaWare™ needs to be installed on the system to work with the tiva-c launchpad. SDK applications are tested with TivaWare version 2.1.0.12573. The following configuration is required on IAR and CCS while working with the tiva-c launchpad (TM4C123GH6PM).

5.2

CCS

1. Import the Getting Started project into CCS.

2. Open the project properties.

3. Open ResourceLinked Resources section.

4. Under the Path Variable tab, edit the TIVAWARE_ROOT value.

5. Change the value to tivaware root directory.

Figure 7. Editing Path Variable

10

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

www.ti.com

5.3

IAR

1. Open the Getting Started project in IAR.

2. Open the project properties.

3. Open C/C++ CompilerPreprocessor tab (see

Figure 8

).

4. Check and modify the TivaWare root directory path.

Platform Configuration

Figure 8. Preprocessor Tab

5. Open LinkerLibrary tab (see

Figure 9 ).

6. Check and modify the Tiva driver lib path.

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

11

References

www.ti.com

Figure 9. Library Tab

6 References

CC3100 SimpleLink Wi-Fi and IoT Solution BoosterPack Hardware User's Guide ( SWRU371 )

• SimpleLink Studio for CC3100 User's Guide

• CC3100 SDK Release notes. This is part of the installed SDK package

12

CC3100 SimpleLink™ Wi-Fi

® and IoT Solution Getting Started Guide

Copyright © 2014, Texas Instruments Incorporated

SWRU375 – May 2014 – Revised May 2014

Submit Documentation Feedback

IMPORTANT NOTICE

Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.

TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed.

TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide adequate design and operating safeguards.

TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.

Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions.

Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.

TI is not responsible or liable for any such statements.

Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications.

In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms.

No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use.

Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use.

TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.

Products

Audio

Amplifiers

Data Converters

DLP® Products

DSP

Clocks and Timers

Interface

Logic

Power Mgmt

Microcontrollers

RFID

OMAP Applications Processors

Wireless Connectivity www.ti.com/audio amplifier.ti.com

dataconverter.ti.com

www.dlp.com

dsp.ti.com

www.ti.com/clocks interface.ti.com

logic.ti.com

power.ti.com

microcontroller.ti.com

Applications

Automotive and Transportation

Communications and Telecom

Computers and Peripherals

Consumer Electronics

Energy and Lighting

Industrial

Medical

Security

Space, Avionics and Defense

Video and Imaging www.ti-rfid.com

www.ti.com/omap

TI E2E Community

www.ti.com/wirelessconnectivity www.ti.com/automotive www.ti.com/communications www.ti.com/computers www.ti.com/consumer-apps www.ti.com/energy www.ti.com/industrial www.ti.com/medical www.ti.com/security www.ti.com/space-avionics-defense www.ti.com/video e2e.ti.com

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265

Copyright © 2014, Texas Instruments Incorporated

Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project