background image

www.ti.com

Software Examples

19

SWRU372C – June 2014 – Revised March 2020

Submit Documentation Feedback

Copyright © 2014–2020, Texas Instruments Incorporated

CC3200 SimpleLink™ Wi-Fi

®

and Internet of Things Solution With MCU

LaunchPad™ Hardware

3

Software Examples

3.1

Development Environment Requirements

The following software examples with the LaunchPad kit require an integrated development environment
(IDE) that supports the CC3200 device.

For more details on where to download the latest IDE, see

Section 4.3

.

The CC3200 programmer's guide (

SWRU369

) has detailed information on software environment setup,

with examples. Refer to this document for further details on the software sample examples.

3.1.1

CCS

CCS 6.0 or higher is required. When CCS has been launched, and a workspace directory chosen, use

Project

Import Existing CCS Eclipse Project

. Direct it to the desired demo’s project directory containing

main.c.

3.1.2

IAR

IAR 6.70 or higher is required. To open the demo in IAR, choose

File

Open

Workspace…

, and direct

it to the *.eww workspace file inside the \IAR subdirectory of the desired demo. All workspace information
is contained within this file.

The subdirectory also has an *.ewp project file; this file can be opened into an existing workspace, using

Project

Add-Existing-Project….

4

Additional Resources

4.1

LaunchPad Kit Wiki

Most updated information is available on the

CC3200 Wiki page

.

4.2

Information on the CC3200

For more information on CC3200, visit the product page (

http://www.ti.com/product/cc3200

), which

includes the data sheet (

SWAS032

and key documents such as the technical reference manual

(

SWRU367

and Wiki (

http://www.ti.com/simplelinkwifi-wiki

). These resources contain information on

getting started, hardware details, software details including porting information, testing and certification,
support, and the CC3200 community.

4.3

Download a Development Environment

Although the files can be viewed with any text editor, more can be done with the projects if they are
opened with a

development environment

such as

Code Composer Studio (CCS)

,

IAR

or Energia.

CCS and IAR are each available in a full version, or a free, code-size-limited version. The full out-of-box
demo cannot be built with the free version of CCS or IAR (IAR Kickstart), due to the code-size limit. To
bypass this limitation, a code-size-limited CCS version is provided that has most functionality integrated
into a library. The code built into the library is able to be viewed by the user, but it cannot be edited. For
full functionality, download the full version of either CCS or IAR.

4.4

The CC3200 Code Examples

The user's guide for each example can be found within the

Software Development Kit (SDK)

or on the

SimpleLink Wiki

.

4.5

CC3200 Application Notes

There are many application notes with practical design examples and topics located at the

SimpleLink(TM)

Wi-Fi(R) Wiki page

and the

main landing page

.

Содержание SimpleLink CC3200 Wi-Fi

Страница 1: ...CC3200 SimpleLink Wi Fi and Internet of Things Solution With MCU LaunchPad Hardware User s Guide Literature Number SWRU372C June 2014 Revised March 2020 ...

Страница 2: ... 2 Hardware Features 7 2 3 Connecting a BoosterPack Plug in Module 7 2 4 Jumpers Switches and LEDs 8 2 5 Power 14 2 6 Measure CC3200 Current Draw 16 2 7 RF Connections 17 2 8 Design Files 18 3 Software Examples 19 3 1 Development Environment Requirements 19 4 Additional Resources 19 4 1 LaunchPad Kit Wiki 19 4 2 Information on the CC3200 19 4 3 Download a Development Environment 19 4 4 The CC3200 ...

Страница 3: ...le 7 4 JTAG Headers 8 5 I2 C Connections 8 6 UART Signals 10 7 SOP Jumpers 10 8 2x20 Pin Connector 14 9 Powering From USB 15 10 Battery Power 15 11 Measuring Low Power 16 12 Measuring Active Power 16 13 Radiated Testing Using Chip Antenna 17 14 Board Set for Conducted Testing 17 List of Tables 1 JTAG Headers 8 2 Jumper Settings 9 3 Default I2 C Addresses 9 4 Jumper Settings 9 5 UART Signals 10 6 S...

Страница 4: ...Pad kit when interfacing with other peripherals on many existing BoosterPack plug in modules such as graphical displays audio codecs antenna selection environmental sensing and more Figure 1 shows a photo of the CC3200 LaunchPad kit Free software development tools are also available including TI s Eclipse based Code Composer Studio and IAR Embedded Workbench More information about the LaunchPad ki...

Страница 5: ...k start guide 1 4 FCC IC Regulatory Compliance The CC3200 SimpleLink Wi Fi and IoT solution with MCU LaunchPad kit hardware is FCC Part 15 and IC ICES 003 Class A compliant 1 5 Trademarks LaunchPad Internet on a chip BoosterPack Code Composer Studio E2E are trademarks of Texas Instruments Arm Cortex are registered trademarks of Arm Limited IAR Embedded Workbench is a registered trademark of IAR Sy...

Страница 6: ... Documentation Feedback Copyright 2014 2020 Texas Instruments Incorporated CC3200 SimpleLink Wi Fi and Internet of Things Solution With MCU LaunchPad Hardware 2 Hardware Description Figure 1 CC3200 LaunchPad Development Kit Overview 2 1 Block Diagram Figure 2 CC3200 Block Diagram ...

Страница 7: ...SB connector for power and debug connections Headers for current measurement and external JTAG connection Bus powered device with no external power required for Wi Fi Long range transmission with highly optimized antenna 200 m typical in open air with a 6 dBi antenna AP Can be powered externally with 2xAA or 2xAAA alkaline batteries working down to 2 3 V typical 2 3 Connecting a BoosterPack Plug i...

Страница 8: ...er to the CC3200 device When a battery is used disconnect all the JTAG headers to prevent any reverse leakage current Figure 4 JTAG Headers 1 For the SWD mode only TCK and TMS must be shorted to the CC3200 Table 1 JTAG Headers Reference Usage Comments J8 TCK 1 JTAG Short Routes the on board emulator to the CC3200 J9 TMS 1 J10 TDI Open Isolate the on board emulator from the CC3200 J11 TDO 2 4 2 I2 ...

Страница 9: ...s Table 3 Default I2 C Addresses Sensor Type Ref Part Number Slave Address Temp sensor U6 1 TMP008 0x41 Accelerometer U10 BMA222 0x18 2 4 3 Power Connections The board can be powered by using the on board micro USB connector An on board LDO provides 3 3 V for the CC3200 and the rest of the board to operate This supply can be isolated from the LDO using the jumpers on the board Table 4 Jumper Setti...

Страница 10: ...routed to the 20 pin connector and the selection is performed using jumpers on the board Figure 6 UART Signals Table 5 UART Signals Reference Usage Comments J6 J7 UART for flash programming Short 1 2 Route the signals to the 20 pin connector Short 2 3 Route the signals to the FTDI for flash programming 2 4 5 Sense on Power The CC3200 can be set to operate in three different modes based on the stat...

Страница 11: ...t of Things Solution With MCU LaunchPad Hardware 2 4 6 Other Miscellaneous Table 7 Miscellaneous Settings Reference Usage Comments J4 Accelerometer interrupt Short Route the accelerometer sensor interrupt to the GPIO_13 Open Isolates the interrupt to the GPIO_13 J5 Debug header To observe the network processor NWP MAC logs J14 SOP2 isolation Isolate SOP2 GPIO_25 from the 20 pin connector ...

Страница 12: ...t of Things Solution With MCU LaunchPad Hardware 2 4 7 Push Buttons and LEDs Table 8 Push Buttons Reference Usage Comments SW1 RESET This is used to RESET the CC3200 device This signal is also output on the 20 pin connector to RESET any external BoosterPack module which may be stacked SW2 GPIO_22 When pushed the GPIO_22 is pulled to VCC SW3 GPIO_13 When pushed the GPIO_13 is pulled to VCC ...

Страница 13: ...s when the pullups are enabled the LEDs glow Table 9 LEDs Refere nce Colo4 Usage Comments D1 Yellow nRESET This LED indicates the state of nRESET pin If this LED is glowing the device is functional D2 Green Debug This LED glows whenever debugging is enabled over the JTAG D4 RED Power Indicates when the 3 3 V power is supplied to the board D5 GREEN GPIO_11 1 Glows when the GPIO is logic 1 D6 YELLOW...

Страница 14: ... Internet of Things Solution With MCU LaunchPad Hardware 2 4 8 2x20 Pin Connector Assignment The signal assignment on the 2x20 pin connector is shown in Figure 8 The P1 Pn naming convention is used for 2x20 pin connectors only Figure 8 2x20 Pin Connector The signal mappings are as indicated in Figure 8 All the signals are referred to by the pin number in the SDK Figure 8 shows the default mappings...

Страница 15: ...J12 shorted J13 shorted Figure 9 Powering From USB 2 5 2 Battery Power 2 1 5 V The LaunchPad kit can also be powered from an external battery pack by feeding the voltage on the J20 header This input features reverse voltage protection to ensure that the board is not damaged due to an accidental reverse voltage The following care should be taken while using the board with a battery 1 Remove the USB...

Страница 16: ...per J12 attach an ammeter across this jumper 2 The CC3200 should not drive any high current loads directly such as an LED as this can draw a large current 3 Begin target execution and set the device to low power modes LPDS or hibernate 4 Measure the current If the current levels are fluctuating it may be difficult to get a stable measurement It is easier to measure quiescent states 2 6 2 Measuring...

Страница 17: ...ments Incorporated CC3200 SimpleLink Wi Fi and Internet of Things Solution With MCU LaunchPad Hardware 2 7 RF Connections 2 7 1 Radiated Testing AP connection By default the board ships with the RF signals routed to the on board chip antenna An on board u fl Murata connector provides a means to perform the testing in the lab using a compatible cable Figure 13 Radiated Testing Using Chip Antenna Fi...

Страница 18: ...bernate current Miscellaneous silk screen changes to clearly annotate components on the board Rev 3 2 Layout changes for the DC DC section to improve the mask margin Updated the silk screen to reflect the final markings Rev 4 1 Added pullup and pulldowns for the serial flash Reduces hibernate current to around 17 uA Moved the nRESET pull from VCC_BRD to VBAT_CC ensures always pulled high Added pul...

Страница 19: ...ted information is available on the CC3200 Wiki page 4 2 Information on the CC3200 For more information on CC3200 visit the product page http www ti com product cc3200 which includes the data sheet SWAS032 and key documents such as the technical reference manual SWRU367 and Wiki http www ti com simplelinkwifi wiki These resources contain information on getting started hardware details software det...

Страница 20: ...ications and do not necessarily reflect TI s views see TI s Terms of Use 5 Known Limitations 5 1 Hardware Limitations 5 1 1 Floating IO All Revisions All GPIO outputs from the CC3200 device float while the device enters hibernate state This can cause glitches on the lines if they are not pulled externally 5 1 2 Board Modification for LPDS Mode There must be a 100K pulldown resistor on pin19 JTAG_T...

Страница 21: ...e 2014 Revised March 2020 Submit Documentation Feedback Copyright 2014 2020 Texas Instruments Incorporated Revision History Revision History Changes from B Revision January 2015 to C Revision Page Added note 1 to Table 3 Default I2 C Addresses 9 ...

Страница 22: ...o change without notice TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource Other reproduction and display of these resources is prohibited No license is granted to any other TI intellectual property right or to any third party intellectual property right TI disclaims responsibility for and you will fully indemn...

Отзывы: