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 Transceiver Mode Application

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

Overview and application details[edit]

This is a sample application demonstrating how to use CC31xx's transceiver mode of operation. This is the ability of a device to send data directly over the WLAN MAC layer without being connected to a WLAN AP.

Two use-cases that are shown in the example code are:

  • TX Continuous: In this mode, the SimpleLink device is able to communicate directly over the Wi-Fi PHY layer, .i.e. bypass the Network Stack, Wi-Fi driver and MAC layer. In this mode, the user is given with a full flexibility in building the transmitted packet.
NoteNote: : User is fully responsible for building the transmitted packet. If it is desired to build a proprietary protocol on top of Wi-Fi PHY layer, then the user should be familiar with Wi-Fi MAC layer specifications and build the packet appropriately.
  • RX Statistics: Main purpose is to provide major medium statistics.

Statistics provided by CC3100 are:

  • Received Packets: The number of packets sampled.
  • Received FCS: The number of packets received that had frame check sequence errors.
  • Received Address Mismatch Error: The number of packets received that had Address Mismatch errors.
  • Average RSSI for Management/Other Packets: The average signal strength of the management packets or data packets.
  • RSSI Histogram: A histogram showing the signal strength of the different packets during the collection period.
  • Rate Histogram: A histogram of the transmission rate of the different packets.
    The rates corresponding to the numbers can be found in the RateIndex_e enum in the wlan.h header file.
  • Sample Time: The amount of time spent gathering samples.

More details on Transceiver Mode are available at CC3x00 Transceiver Mode Page

NoteNote: This wiki page is only applicable for CC3100-SDK v1.0.0 and upward releases. For documentation on older SDKs' examples, refer corresponding file in <cc3100-sdk-installation-location>\cc3100-sdk\docs\examples\

Usage[edit]

  • Connect the board to a Windows-PC and configure the terminal-program for seeing the logs - [| CC31xx_&_CC32xx_Terminal_Setting_Wiki] has detailed instructions for configuring the terminal-program
  • Build and run the project using CCS
  • Connect a sniffer and filter the packets based on configured MAC/IP address.
Transciever mode packet.png
  • See the self explanatory logs on the terminal-program's console. On success, below message will be displayed on the terminal
Transciever_mode_logs_1.png

Limitations/Known Issues[edit]

  • TX continuous mode works in WiFi disconnected mode only
  • The user needs to make sure the connection policy is not set to auto/fast mode
  • Complete RX statistics can be obtained in disconnected mode only, however this feature can be used to get the get the RSSI of the AP the device is connected to.
  • When sl_recv() API is invoked in transceiver mode, the SimpleLink device remains in RX mode and doesn't go to low power mode

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 Transceiver Mode 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 CC3100 Transceiver Mode Application here.

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