background image

2.  Getting Started with STM32 MCU, with FreeRTOS, and LwIP

2.1  Requirements

2.1.1  Hardware

To use the WF200_driver_F429ZI_FreeRTOS project, a user will need the following list:

• A WF200 Wi-Fi expansion board BRD802XX
• A NUCLEO-F429ZI board with the associated micro-USB cable
• A hardware interposer to connect the Silicon Labs expansion board to the NUCLEO board
• A PC where to install the following software prerequisites
• A Wi-Fi access point

2.1.2  Software

In addition to the previous hardware, a user will need software listed below:

• Get the software example (WF200_driver_F429ZI_FreeRTOS-LwIP) in 

https://github.com/SiliconLabs/wfx-fullMAC-tools

 and open it

on IAR or TrueSTUDIO

• Licensed  IAR  Embedded  Workbench  IDE  for  ARM  installed  or  Atollic  TrueSTUDIO  for  STM32  IDE  available  from  the  this  link:

https://atollic.com/truestudio/

• ST-link  driver  either  installed  during  IDE  installation  or  through  the  following  link: 

https://www.st.com/content/st_com/en/products/

development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-link009.html

• A UART console. For example, Tera Term:

https://osdn.net/projects/ttssh2/releases/

• The FMAC driver source code is available in 

https://github.com/SiliconLabs/wfx-fullMAC-driver

QSG166: WF200 Wi-Fi Development Kit Quick Start Guide

Getting Started with STM32 MCU, with FreeRTOS, and LwIP

silabs.com

 | Building a more connected world.

Rev. 0.4  |  6

Summary of Contents for WF200

Page 1: ... Linux case It also contains a micro SD card allowing fast startup with a Raspber ry Pi SLEXP8022B is a superset of SLEXP8022A with a Raspberry Pi 2 model V1 2 inclu ded This document described the first steps to get a Wi Fi connection for the Linux case Raspberry Pi Silicon Labs MCUs as well as a case with a 3rd party MCU Note Refer to UG379 for more details about the board KEY CONTENTS Expansion...

Page 2: ...ard 5 1 6 Software Repositories 5 1 7 Documentation 5 2 Getting Started with STM32 MCU with FreeRTOS and LwIP 6 2 1 Requirements 6 2 1 1 Hardware 6 2 1 2 Software 6 2 2 Hardware Setup 7 2 3 Getting Started 8 2 3 1 Flashing the STM32 Using IAR 8 2 3 2 Flashing the STM32 using TrueSTUDIO 9 2 4 Using the Demo 12 3 Additional Information 13 3 1 Additional Resources 13 3 2 Customer Support 13 silabs co...

Page 3: ...erm mobatek net To enable multicast name resolution mDNS download and install Apple Bonjour from https support apple com kb DL999 During installation we recommend that you uncheck all options 1 2 Hardware Setup 1 Insert Silabs SD card in Raspberry Pi 2 Plug the WF200 devkit on top of the Raspberry Pi WARNING make sure the devkit does not touch HDMI connector on Raspberry Pi 3 Configure the switche...

Page 4: ... and WF200 to work as a Wi Fi station which can connect to an access point To start it run sudo wfx_demo_station Note Minimize MobaXterm window then wait a few seconds for the Wi Fi tool to appear This will launch a graphical tool named wpa_gui which support the following actions 1 Scan 2 Select the desired Wi Fi access point 3 Enter credentials if need be and then add Once connected it is possibl...

Page 5: ... go to https github com SiliconLabs wfx linux tools blob master RELEASES md 1 6 Software Repositories For development purposes software can be found in the locations listed below WF200 firmware is available in https github com SiliconLabs wfx firmware The Linux driver is available in https github com SiliconLabs wfx linux driver 1 7 Documentation Complete documentation for development with a Raspb...

Page 6: ...s github com SiliconLabs wfx fullMAC tools and open it on IAR or TrueSTUDIO Licensed IAR Embedded Workbench IDE for ARM installed or Atollic TrueSTUDIO for STM32 IDE available from the this link https atollic com truestudio ST link driver either installed during IDE installation or through the following link https www st com content st_com en products development tools software development tools s...

Page 7: ...ounted on a NUCLEO Board Connect the NUCLEO board to your PC with the micro USB cable Make sure to connect your PC to the correct end as shown below The NUCLEO 144 has two different USB micro ports If detected correctly it should appear as USB storage with the name NODE_F429ZI Figure 2 2 NUCLEO 144 Board QSG166 WF200 Wi Fi Development Kit Quick Start Guide Getting Started with STM32 MCU with FreeR...

Page 8: ...fines to the values of the access point you want to use 4 Open Tera Term and connect to the STLink Virtual COM port of the NUCLEO board In the Setup Serial Port panel select 115200 for the speed 5 Make the project by clicking on the appropriate icon 6 Download and Debug the project by clicking on the associated icon 7 Wait for the project to be flashed in the STM32 8 Once in debug mode click on th...

Page 9: ...ening the File menu and choosing Import You will see the dialog box below Figure 2 4 TrueSTUDIO Import Dialog QSG166 WF200 Wi Fi Development Kit Quick Start Guide Getting Started with STM32 MCU with FreeRTOS and LwIP silabs com Building a more connected world Rev 0 4 9 ...

Page 10: ...iver_F429ZI_FreeRTOS LwIP TrueSTUDIO You will see the following result Figure 2 5 TrueSTUDIO Import Projects Dialog QSG166 WF200 Wi Fi Development Kit Quick Start Guide Getting Started with STM32 MCU with FreeRTOS and LwIP silabs com Building a more connected world Rev 0 4 10 ...

Page 11: ... Open Tera Term and connect to the STLink Virtual COM port of the NUCLEO board In the Setup Serial Port panel select 115200 for the speed 6 Press F11 to build and then run the debugger 7 Once the STM32 has been flashed and the debugger reaches the beginning of main press F8 to run the demo QSG166 WF200 Wi Fi Development Kit Quick Start Guide Getting Started with STM32 MCU with FreeRTOS and LwIP si...

Page 12: ...2 Note The webpage can be used to drive the two LEDs onboard the NUCLEO board 4 The setup supports also Iperf TCP test Use a PC with Iperf installed as a client to start an Iperf test with the command iperf c xxx xxx xxx xxx xxx xxx xxx xxx being the address displayed by the terminal at boot You should see a result like the one dis played on the Figure below The test takes 10 seconds by default Fi...

Page 13: ...er s Guide WF200 Wi Fi transceiver IC Data Short 3 2 Customer Support For customer support 1 Register on https www silabs com 2 Go to Community Support Technical Support E mail Support Request QSG166 WF200 Wi Fi Development Kit Quick Start Guide Additional Information silabs com Building a more connected world Rev 0 4 13 ...

Page 14: ...Class III devices applications for which FDA premarket approval is required or Life Support Systems without the specific written consent of Silicon Labs A Life Support System is any product or system intended to support or sustain life and or health which if it fails can be reasonably expected to result in significant personal injury or death Silicon Labs products are not designed or authorized fo...

Reviews: