Wi-Fi Commissioning Micrium OS Example

This document describes how to connect the WF(M)200 Wi-Fi Expansion Board to Silicon Labs Starter Kit and run the Wi-Fi Commissioning example. The example is based on the combo capacity of the WF(M)200, meaning its ability to behave simultaneously as an Access Point and as a Station to demonstrate a typical use case of field deployment where an operator installs the device and configures it to connect to a specific Access Point using a Web page.

Getting Started

This demo runs the Wi-Fi Full MAC driver meant to communicate with the WF(M)200 Silicon Labs Wi-Fi transceivers.

Naming convention

Requirements

Hardware Prerequisites

The WF(M)200 Wi-Fi Expansion Board contains a Wi-Fi module. To use the board, a MCU Starter Kit is required, where the MCU will be the host that communicates and controls the Wi-Fi module.

WF200 Wi-Fi® Expansion Kit SLEXP8022A

WFM200 Wi-Fi® Expansion Kit SLEXP8023A

EFM32 Giant Gecko GG11 Starter Kit – SLSTK3701A

EFR32MG Zigbee and Thread Starter Kit – SLWSTK6000B

Software Prerequisites

The main software components used by this example are as follows:

Set up Your Kit

  1. Connect the WF(M)200 Wi-Fi Expansion Kit to the Silicon Labs Starter Kit.

  2. Ensure that the power selector switch on the Silicon Labs Starter Kit is in the [AEM] position.

  3. Set the power selector switch on the WF(M)200 Wi-Fi Expansion Board accordingly to your Silicon Labs Starter Kit. Please refer to the pictures below to know the switch position.

  4. Set the communication interface switch to the [SPI] position (or [SDIO] if your Silicon Labs Starter Kit supports it and the WFx Bus SDIO component is installed).

  5. Provide power by connecting the [DBG] USB connector on the Silicon Labs Starter Kit to the PC using the provided USB cable.

Install Simplicity Studio 5 and the SDKs

Simplicity Studio 5 is a free software suite needed to start developing your application. To install Simplicity Studio 5, follow this procedure by selecting the options [Install by connecting device(s)] and [Auto].

Get the Example

An SDK with a version 3.1 or higher is necessary. If this does not match your case, install it from the Simplicity Studio Installation Manager

  1. Connect the Silicon Labs Starter Kit and open Simplicity Studio 5.

  2. Select the [Launcher] perspective.

  3. From the [Debug Adapters] panel on the left top corner, select your Silicon Labs Starter Kit.

  4. Ensure that an SDK is selected in the [General Information] tile of the [Overview] tab.

  5. Select the [EXAMPLE PROJECTS] tab in [Launcher] perspective.

  6. Search for the example [Platform - Wi-Fi Commissioning Micrium OS Kernel] from the Software Examples list as illustrated in the image below. Notice the search field, which makes it easy to find the example by entering wi-fi.

  1. Click on the [Create] button of the example.

  2. Click on [Finish].

At the end of this procedure, Simplicity Studio has created the project in your workspace and your display will be similar to the picture below:

Studio 5 Created Project

Start the Example

  1. Start a console in Studio with a right click on the Silicon Labs Starter Kit in the [Debug Adapters] panel and select [Launch console].

  2. Select the [Serial 1] tab from the console window and make sure the console is connected. To do that, Check the icon in the bottom left corner of the console panel. If its status is console not connected. See the image below. Then, the serial console is not yet connected. Press [Enter] in the console, the icon should change its status to console connected. See the image below.

  3. Compile the example. For more information about how to build a project, see a dedicated section of the Simplicity Studio 5 documentation.

    See the Compilation Errors section if errors occur during the first compilation.

  4. Open the Simplicity Flash Programmer. For more information about the Flash Programmer, see a dedicated section of the Simplicity Studio 5 documentation.

  5. Browse to the wifi_commissioning_micriumos.hex file created in the build folder inside your workspace.

  1. Click on [Program] to flash the Silicon Labs Starter Kit with the example.

Logs appear in the console input field once the programming is done to look like the image below:

You are ready to move to the Wi-Fi commissioning demonstration page.