Banana Pi BPI-G1 Manual page 38

Table of Contents

Advertisement

Quick start of TI CC3200
Compile, download and debug routines WLAN Station
1. Open the wlan_station project by selecting File>Open>Workspace from the menu, navigating to
C:\TI\CC3200SDK_1.0.0\cc3200-sdk\example\getting_started_with_wlan_station\ewarm, and opening
wlan_station.eww。
2. Open the common.h file located at the path C:\TI\CC3200SDK_1.0.0\cc3200-sdk\example\common\。
3. Edit common.h to use the SSID, security type and security key of the Access Point being used. Edit the macros
SSID_NAME, SECURITY_TYPE and SECURITY_KEY to contain the Access Point's information as shown in Figure.
The security types supported for this demo are WPA/WPA2 and Open. For Open security, define SECURITY_TYPE as
SL_SEC_TYPE_OPEN. For WPA and WPA2 security, define it as SL_SEC_TYPE_WPA。
4. Save common.h.
5. Rebuild the wlan_station project by selecting Project>Rebuild All from the menu.
6. The debugger must be configured to download code to the device. Select Project>Options from the menu, and select
the Debugger category. In the Setup tab, choose TI Stellaris as the driver, as shown in Figure, and press Ok.
7. Launch Tera Term, and create a new serial connection to the CC3200 Launchpad COM port as shown in Figure.
8. In the menu, select Setup>Serial Port, and change the baud rate to 115200 as shown in Figure.
38

Advertisement

Table of Contents
loading

Table of Contents