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.

CC3100 Antenna Selection

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

Overview[edit]

This is only a sample application demonstrating how 'antenna-selection' feature can be implemented on the host MCU. Please note below points when implementing this feature on the host MCU.

Limitations/Known Issues[edit]

  • CC3100 does not support this feature internally.
  • In case the application intends to put the host MCU in Lower Power Mode (LPM) while keeping CC3100 connected to the access-point, the state of the IOs that control the RF-Switch shall be retained. Not retaining these IOs will break the RF path for CC3100
  • Some MCUs, such as STM32 in STANDBY, do not retain the IO states while in LPM. For implementing antenna-selection feature on such MCUs, external bus-hold circuitry shall be added between IOs and RF Switch to keep the RF path intact for CC3100

Routing of the GPIOs controlling the RF-Switch to host MCU should be as shown below:

AntennaSelection_3.png

Application details[edit]

This sample application:

  • Uses the host driver APIs to scan and retrieve the signal strength of the configured access-points w/ both the antennas
  • Connects to the access-point using the antenna which delivered better signal strength. Either of the antennas is selected by driving the MCU's GPIO controlling the RF switch on the antenna-selection board
  • On a 'disconnection' event, it checks for a better antenna again and uses it to establish connection w/ the access-point

Source Files briefly explained[edit]

i. main - Initializes the device, configures the antenna selection GPIOs, checks the signal strength of AP (SSID_NAME) w/ both antennas, switches to antenna with better signal strength and connects to the AP

Board Modifications[edit]

  • Below modifications are to be done on CC3100BOOST-Rev3.3A for working with antenna_selection sample application
    1. Unmount R6
    2. Mount R7

Connections Details[edit]

Prerequisite: Antenna-selection board is required to test this sample application.

  • The antenna-selection board can directly be connected with CC3100BOOST using the 2X20 pin connector
  • The stacked setup is as shown below. Ensure that the connectors are oriented correctly before powering up the board
AntennaSelection_12.png

Usage[edit]

  • Connect the board to PC and configure the terminal program for seeing the logs - Detailed instructions are available at CC3100 & CC3200 Terminal Setting
  • Open sl_common.h and change SSID_NAME, PASSKEY and SEC_TYPE per your access-point's properties.
  • Connect antenna-selection board with CC3100BOOST and host MCU as shown in section: Connections Details
  • Build and run the application
  • See the self explanatory logs on the terminal-program's console. On success, below message will be displayed on the terminal
Antenna selection 3.png
Antenna selection 4.png

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 CC3100 Antenna Selection 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 CC3100 Antenna Selection here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC3100 Antenna Selection here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC3100 Antenna Selection here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC3100 Antenna Selection here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3100 Antenna Selection here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3100 Antenna Selection here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC3100 Antenna Selection here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC3100 Antenna Selection 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