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 & STM32F4 Bringup Guide

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

Introduction[edit]

This guide provides a walk-through for using the add-on package for TI's Simplelink Wi-Fi CC3100 with STMicroelectronics' STM32F4-Discovery Board. The package contains example codes and IAR project enviroments for:

  • Getting Started with WLAN Station
  • Getting Started with WLAN AP

Prerequisites[edit]

Hardware[edit]

Software[edit]

Source Files[edit]

  • board.c/board.h - STM32F4 platform configuration file containing the functions to initialize the platform and perform necessary configuration to run the example.
  • spi.c/spi.h - Contains the function to initialize and read/write over CC3100-STM32F4 interface.
  • cli_uart.c/cli_uart.h - Contains the functions to initialize the UART interface for console prints.
  • stm32f4xx*.c/.g - STM32F4 system and peripheral initialization files.

Demo Bring up[edit]

Hardware Setup[edit]

  1. Mount the adapter board on the back of the STM32F4-Discovery. Match J1 connectors with P1 connectors, and J2 connectors with P2 connectors.
  2. Mount the CC3100 Boosterpack on top of the adapter board. Be careful of orientation. Use the triangles on P1.1 of both boards to help you.
    CC3100 STM32F4-Discovery Adapter Board.JPG
  3. Connect pins on STM32F4-Discovery and CC31XXEMUBOOST with 3 jumper wires as per the following table and diagram. This enables console printouts.
CC31XXEMUBOOST STM32F4-Discovery
P1.3 PA2
P1.4 PA3
P2.1 GND

En.stm32f4 discovery emu connection.jpg

4. Connect the USB cables from the PC to both boards. Mini-USB for STM32F4-Discovery and micro-USB for CC31XXEMUBOOST.

Application Bring up[edit]

  1. Install the CC3100 SDK.
  2. Download STM32F4 Cube and copy "<stm32 cube>/Drivers" folder at "<cc3100-sdk>/platform/stm32discovery"
  3. Connect Mini-USB cable from STM32F4-Discovery board to the computer.
  4. Connect Micro-USB cable from J6 on CC31XXEMUBOOST to computer and configure the terminal-program for seeing the logs - CC3100 & CC3200 Terminal Setting has detailed instructions for configuring the terminal-program.
  5. Open getting_started_with_wlan_station or getting_started_with_wlan_ap project provided at "<cc3100-sdk>/platform/stm32discovery/example_project_iar" using IAR.
  6. Open sl_common.h and change SSID_NAME, SEC_TYPE and PASSKEY as per your access-point properties - SimpleLink device will connect to this AP when the application is executed.
  7. Build and run the application.
  8. Follow the links to see application details:

Limitations/Known Issues[edit]

  • None

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 & STM32F4 Bringup Guide 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 & STM32F4 Bringup Guide here.

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