CC3000 Wi-Fi MSP430 FRAM Getting Started Guide
From Texas Instruments Embedded Processors Wiki
Welcome to the CC3000 Wi-Fi MSP430 FRAM Getting Started Guide. Here you will find detailed information on how to take full advantage of the CC3000 Wi-Fi MSP430 FRAM's robust user experience.
Note: An updated service pack is available. This update is highly recommended. Please use the Patch Programmer to burn the new version to your module.
An updated CC3000+FRAM Sensor Application v1.0.11 has been released and is available here. This update is highly recommended. Please uninstall any previous Sensor Application before upgrading.
This demo shows how to associate the CC3000 + MSP430 FRAM kit to the Access Point provided in the kit and obtain sensor data. The GUI uses a TCP socket to connect to a TCP server running on the CC3000 Wi-Fi node. The node periodically samples sensor data (3-axis accelerometer, NTC thermistor sensor, and VCC supply power) and transmits the results back to the computer. The 8 LEDs on the MSP-EXP430FR5739 board are used to indicate wireless status and activity of the CC3000 device. On the computer side, the TCP Client's front end is a GUI program that visually displays the status of each node along with its sensor data. The demo setup is depicted below.
Additional Kit Terms.
Step-by-Step Demo Procedure
This section guides the user on how to run the out-of-box experience demo for the CC3000 + MSP430 FRAM kit, the Sensor Demo Application.
Note: If you wish to perform the Demo using FIrst Time Configuration, please see Getting Started using First Time Config
Note: It is highly recommended to burn the latest patches service pack. Please see CC3000 Patch Programmer.
Step 1. Software Installation
Download and install the following software:
- CC3000 FRAM Sensor Application: This package contains the required applications and tools to execute this demo: Sensor Application code, CC3000 FRAM Sensor GUI, utilities to flash the MSP430 FRAM device and the MSP430 FRAM USB drivers. Please note that if you have an older version of the Sensor Application, please uninstall the previous version before installing the new version.
- Putty Terminal (Optional): Save the executable file anywhere on your computer. It does not require installation. This is an optional terminal that is used during this demo to view the status information of the Sensor Application, but any other terminal can be used, e.g. Hyperterminal, TeraTerm.
Step 2. Setting up the Access Point
Connect the Power Adapter to the Access Point and turn it on using the Power Button. Verify that the Power LED is on and the Wireless LED is blinking. The AP may take approximately 30 seconds to reach an operational state in which you can find it in the Wireless Network list of your computer:
The blue colored port shown in the picture is the WAN port and is unused for this demo. Only the yellow colored ports should be used.
Note: The Japanese Kits include Buffalo AirStation Nfiniti Access Points. If using this kit, please use the following File:Buffalo AP settings Guide.pdf
Step 3. Preparing the CC3000 + MSP430 FRAM Boards
Connect the CC3000 EM board to the MSP430 FRAM board as shown below so that the antenna is facing inwards. Apply power to the FRAM board by connecting its USB to your computer. Windows may require installing various USB drivers which are provided in the installation package.
Please note that the LSR module shipped in the package includes two jumpers. The first jumper, J7 should be connected, while jumper J6 should connect pins 2 and 3 for normal use. If these jumpers are
not placed, the demo and board will not function.
Step 4. Programming the FRAM Board
The MSP430 FRAM board in the kit may already come preprogrammed with this demo application. However, It is recommended to use the "Download Sensor App to FRAM" shortcut that is installed by the sensor application installer to ensure that it is the latest version. In order for the MSP430 Flasher application to download the firmware, the FRAM board drivers msut be successfully installed. Run the shortcut and press on any key to continue, which automatically begins the process of downloading the software as shown in the figure below. The MSP430 Flasher will download the software and restart the MSP430. If all is successfull, LED1 will turn on indicating that WLAN is operational.
Step 5. Connecting Computer to APConnect your computer to the Access Point using either a wireless or wired connection. If using a wired connection, please ensure to use the yellow colored ports on the AP. The Blue port is the WAN port and not needed for this demo.
In Windows 7, when requested to setup the network, select "Connect to the network without setting it up:
Please note that the TP-LINK Access Point provided in the kit has a unique SSID, where the last 6 characters of the SSID are the last 6 Alphanumeric
characters of the AP's MAC Address.
| Firewall software used on the computer could prevent communication from the CC3000 to the GUI. Please disable it if possible.|
Step 6. Running CC3000 FRAM Sensor GUIStart the CC3000 FRAM Sensor GUI located in "Start->All Programs-> Texas Instruments-> CC3000 FRAM Sensor Application-> CC3000 FRAM Sensor GUI" :
Upon opening the GUI, a dialog box will inquire about whether you would like to perform Automatic Configuration or use the manual way to configure the WiFi interface:
If you choose to perform Automatic Configuration you will be presented with the following sceen:
The "Select Kit" window will ask you for World Wide kit (TP-LINK AP), Japanese Kit (Buffalo AP) or Chinese Kit (TP-LINK AP).
For the Japanese Kit please configure the AP as described in:
This requires that your computer be connected to the Access Point provided in the kit (Either WIrelessly or through a cable) and that the CC3000+FRAM board
is connected to the PC via a USB cable. The board should have the USB drivers correctly installed and enumerating, therefore creating a COM Port on the PC.
Chossing the kit will begin the Automatic Configuration Process
For the Chinese and the World Wide kits, the automatic CC3000 configuration searches for the TP-LINK AP and retrieves its SSID. In this case the SSID is TP-LINK_2D0F58.
The GUI then sends the configuration information to each COM ports. Some COM ports are not FRAM boards and will therefore time out in their response.
However, if an FRAM board with the CC3000 Sensor Application is connected and available, it will be configured and "Configuration Successful" will be shown for that port.
Multiple CC3000+FRAM boards can be configured at once in this way.
For the Japanese kit the Access Point's SSID will be named as "buffalo" and the GUI does not need to retreive the SSID from the Access Point.
Step 7. Establishing the Connection
Once the CC3000+FRAM board receives the association information, LEDs 2 through 6 become solid and a new planet appears on the CC3000 Sensor GUI orbiting the central planet representing the CC3000 device.This may take a few seconds as the CC3000 connects and the GUI searches for the CC3000.
Running the Node
Once the demo is running, the FRAM Experimenter board can be disconnected from the PC and connected either to a battery pack or to a USB Hub for power. Serial USB connection is not required since WiFi is used to carry the sensor data to the GUI.
Please look at the Details page for more information on the CC3000 Sensor Application terminal interface.
Leave a Comment
Comments on CC3000 Wi-Fi MSP430 FRAM Getting Started Guide