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

From Texas Instruments Wiki
Jump to: navigation, search
Cc31xx cc32xx return home.png
Cc32xx return sample apps.png

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.
    1. 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.
    2. 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.
  • Run the reference application
    1. 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
    2. 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.
  • 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
ant_sel1.jpg
  • Device then switches to Station Mode and connects to the selected AP
  • After the Connection is Successful or Failed, Alert Message is Displayed
ant_sel2.jpg

Board Modifications[edit]

Below modifications are required on CC3200-LP for working with CC3ANTENNABOOST

  1. Unmount R111 & Mount R110
  2. Connect the U.FL connectors, J18 on Launch Pad to J19 on Antenna Board with U.FL-U.FL connector cable.
  3. Stack the Launch Pad and Antenna Board as shown in the picture below


Cc3200 ant board conn.jpg


Source Files briefly explained[edit]

  • main.c
    1. Select Antenna 1
    2. Scans and Stores AP information
    3. Select Antenna 2
    4. Scans and Stores AP information
    5. Handles HTTP GET request to provide AP List
    6. Handles HTTP POST request to receive command to connect to AP with Selected Antenna
    7. Connection to the selected AP
  • startup_ewarm.c
    1. 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 }}

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3200 Antenna Selection Application here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3200 Antenna Selection Application here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC3200 Antenna Selection Application here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC3200 Antenna Selection Application here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC3200 Antenna Selection Application here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 Antenna Selection Application here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 Antenna Selection Application here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC3200 Antenna Selection Application here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC3200 Antenna Selection Application here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity