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.
CC3200 Antenna Selection Application
Contents
Overview[edit]
CC3200 Antenna Selection is method by which user can configure the WLAN RF Antenna on the CC3200 device from a Browser. The CC3200 device scans the Access Points with 2 different Antennas, stores the SSID and RSSI information in the memory and create an HTML page. User can open the HTML page and select the Antenna which he/she wants to configure. Also user can check the connection to the Access Point using the selected Antenna.
Prerequisites[edit]
- CC3ANTENNABOOST (also known as CC31xx_antenna_diversity_board)
Usage[edit]
- Flash Example Content(html,image,js,Application binary)on serial flash by following below steps.
- If CC3200 SDK is installed at default location C:\ti\CC3200SDK
- Open C:\ti\CC3200SDK\cc3200-sdk\example\antenna_selection\html\antenna_selection.ucf session file in Uniflash.
- Flash the files to the device. Detailed instructions at Uniflash User Guide.
- If CC3200 SDK is not installed at default location C:\ti\CC3200SDK
- Open <cc3200-sdk>\examples\antenna_selection\html\antenna_selection.ucf session file in Uniflash.
- Modify Url for all the files in the list.
- Flash the files to the device. Detailed instructions at Uniflash User Guide.
- If CC3200 SDK is installed at default location C:\ti\CC3200SDK
- Run the reference application
- Run From IDE (IAR/CCS)
- Make the Board Modification as mentioned in the following section.
- Open the Project as mentioned in the <cc3200-sdk>\docs\CC3200-Getting Started Guide.pdf
- Build and download the application to the board
- Run Flashed Binary
- Remove SOP-2 Jumper on Board and Press Reset. Refer <cc3200-sdk>\docs\CC3200-Getting Started Guide.pdf for detailed Information
- Make the Board Modification as mentioned in the following section.
- Run From IDE (IAR/CCS)
- CC3200 Device first comes up in STA mode, scans for visible access-points. Next, it restarts and comes up in AP mode (Default SSID: mysimplelink-<MacAddr>)
- User connects his/her WIFI enabled device PC/MAC/Smartphone to above AP
- Type "mysimplelink.net\main.html" in browser. it will Open CC3200 Main HTML Page
- Click/Press on Antenna Selection which will open the Antenna Selection page as shown in picture below
- Antenna Selection page displays the list of the Access Points SSID and RSSI with 2 different Antenna
- User select the AP by clicking on the Radio Button
- User also need to provide Security Type, Security Key and Profile Priority in the corresponding fields
- User clicks Add Button
- Device then switches to Station Mode and connects to the selected AP
- After the Connection is Successful or Failed, Alert Message is Displayed
Board Modifications[edit]
Below modifications are required on CC3200-LP for working with CC3ANTENNABOOST
- Unmount R111 & Mount R110
- Connect the U.FL connectors, J18 on Launch Pad to J19 on Antenna Board with U.FL-U.FL connector cable.
- Stack the Launch Pad and Antenna Board as shown in the picture below
Source Files briefly explained[edit]
- main.c
- Select Antenna 1
- Scans and Stores AP information
- Select Antenna 2
- Scans and Stores AP information
- Handles HTTP GET request to provide AP List
- Handles HTTP POST request to receive command to connect to AP with Selected Antenna
- Connection to the selected AP
- startup_ewarm.c
- Implements interrupt vector table when using IAR ewarm tool chain
Note: This example can be used either on TI-RTOS or FreeRTOS.
For the application to work with TI-RTOS, ti_rtos_config project need to be imported into the application workspace. These projects can be found in CC3200-SDK under ti_rtos folder. Please follow this link for CC3200 TI-RTOS usage CC3200 TI-RTOS
Limitations/Known Issues[edit]
- Only 5 APs are displayed
- Duplicate SSIDs are displayed when the SSID has multiple BSSIDs
- During Connection Status Check, User Device PC/MAC/Smartphone might connect to different AP, User need to reconnect to the SimpleLink AP Again
Links[edit]
{{#invoke: Navbox | navbox }} {{#invoke: Navbox | navbox }}