Introduction to the WiFi SPWF01Sx

If you like it, share it

wifimodule


Introduction

ST’s latest series of Wi-Fi modules offers a fast, flexible and affordable Plug&Play solution for integration of 802.11 b/g/n and TCP/IP technologies in IoT devices.

The modules integrate a complete TCP/IP stack and a user-friendly application layer that ensures a simple and effective way to use the modules via AT commands.
The modules are configured around a single-chip 802.11 transceiver with integrated PA and an STM32 32-bit microcontroller with extensive GPIO support.
The modules also incorporate timing clocks and voltage regulators. Multiple antenna options are available.

The mini Access Point is available for application where is not present a WiFi network or for configure the WiFi module at the first power on, see below.

wifiminiap

I suggest this two modules below because have the flash on board that permit to use the WiFi fw update (OTA) via WiFi network.
*** STM WiFi module with antenna and FLASH is: SPWF01SA.11
*** STM WiFi module with UFL connector and FLASH is: SPWF01SC.11

 

Go on TOP

 


  • Evaluation boards

    • SILICA – BRANCA board
      brancabd
      For use this board connected to your PC install the driver for: SILICON LABS CP2102 – VCP Driver Kit, download it from this link.
    • STM – X-NUCLEO-IDW01M1
      modulowifi

    • STEVAL-IDW001V1 – Wifi daughter board for STM32F0DISCOVERY
      stmwidemoboardforf0discovery
      Also is available a Serial to USB (STEVAL-PCC018V1) bridge to connect EvaBoard to the PC.
      stmusbserial
    • STEVAL-3DP001V1 – Evaluation board for 3D printer based on WiFi module SPWF01SA.11
      wifi-3dprinter
    • STEVAL-IDI004V2 – Evaluation board IoT, Wireless Bridge, based on WiFi module SPWF01Sa.11
      wifi-iotbridge

Go on TOP


  • Tutorial & Links

    • Wi-Fi, NFC and Sensors board connected to IBM Bluemix is FP-CLD-BLUEMIX1 – For SPWF01Sx module
      See this link the Hands-On-n2

    • Wi-Fi, NFC and Sensors board connected to IBM WATSON is FP-CLD-WATSON1 – For SPWF01Sx module
      See this tutorial


    • Wi-Fi, NFC and Sensors board connected to Microsoft Azure is FP-CLD-AZURE1 – For SPWF01Sx module

    • Wi-Fi, NFC and Sensors board connected to Amazon AWS is FP-CLD-AWS1 – For SPWF01Sx module
      See this tutorial

    • Creating a BTLE star network connected via Wi-Fi to IBM Bluemix cloud is FP-NET-BLESTAR1 – For SPWF01Sx module

    • BRANCAboard – Dedicate page
    • BRANCAboard – General info
      • Basic jumpers positions
      • Pins allocations
      • Basic commands
      • Dedicated PYTHON section.
    • BRANCAboard – Quick start guide to STM WiFi is here
    • BRANCAboard – How to use the HTTPGET is here
    • BRANCAboard – How to use HTTPGET and SOCKET with RaspBerry Pi is here
    • How to use Socket – For SPWF01Sx module
      IMPORTANT NOTE
      At the moment, the How to use Socket shall be issued only to SILICA customers.
      If you are SILICA customer send me an email and ask me:
      How to use Socket
      please specify also your City, Country and your contact in SILICA.
      If you are STM customer please contact directly your local office of STM.

    • Web Server example for STM32F0 + SPWF01SA.11 is here
      _
    • AT command set reference guide for “AT full stack” – UM1695 for WiFi module SPWF01Sx
    • WiFi – 802.11 Association & Dissociation Reason Code
      _
    • Design Guidelines – AN4886 for WiFi module SPWF01Sx
    • Transport layer security protocol (TLS) – AN4683 for WiFi module SPWF01Sx
    • Dynamic Web Pages – AN4902 for WiFi module SPWF01Sx
    • Dynamic Web Pages – Old PDF version
      IMPORTANT NOTE
      At the moment, the Dynamic Web Pages shall be issued only to SILICA customers.
      If you are SILICA customer send me an email and ask me:
      Dynamic Web Pages
      please specify also your City, Country and your contact in SILICA.
      If you are STM customer please contact directly your local office of STM.

    • STM training v.3.5 is here
      The sw example for do a training is STSW-IDW002 and is here at the end of the web page.

Go on TOP


How to Update the FW on SPWF01Sx via USART

The FW for SPWF01Sx is… see below

  • STSW-WIFI001 – AT full stack library package for the SPWF01Sx.11 series of Wi-Fi modules (module with flash)
  • STSW-WIFI002 – AT full stack library package for the SPWF01Sx.21 series of Wi-Fi modules (module without flash)

The SW for PC is… see below

You must also use on PC the Flash Loader SW and an adapter USB to RS232 TTL 3V for connect to the UART of the SPWF01Sx to the PC.

The Flash Loader sw installation name now is: DEMOSTRATOR GUI, see below.
demgui

The procedure for program the SPWF01S

Put in the BOOT mode the SPWF01S:
Connect the pin n.2 to Vcc (high level) and power on the SPWF01S.

Run the Flash Loader and select the right COM port (for example see below).

In the other windows that appear select NEXT until you arrive in the window show below.

Now select the box: Download to device (see below)
and select the file to upload (BIN file)

In the yellow box (see below) specify the address: 0x8002800

Select also the: Verify after dowload
See below.

 

 

Go on TOP


How to Update the FW on WiFi module and BRANCA board

  • The FW is here:
    • STSW-WIFI001 – AT full stack library package for the SPWF01Sx.11 series of Wi-Fi modules (module with flash)
    • STSW-WIFI002 – AT full stack library package for the SPWF01Sx.21 series of Wi-Fi modules (module without flash)
  • Here there are the explanations on how to update the FW on the Branca Board
    For use this board connected to your PC install the driver for: SILICON LABS CP2102 – VCP Driver Kit, download it from this link.
    brancabd

    (based on the STM WiFi module model SPWF01SA.11)  via Flash Loader (the sw installation name now is DEMOSTRATOR GUI).
    demgui
  • The explanations on how to update the FW via OTA (On the Air – via WiFi network) are present in the Training ver.3.5
    Attention: the update of the SW via OTA is possible only on the modules that have Flash on board (SPWF01SA.11 and SPWF01SC.11).

Go on TOP


How to regenerate the FW inside the WiFi module

If you have loaded the new WiFI SW release on wrong address it is not possible reboot the WiFi module.
If you are in this condition, please use this FW:
WiFi_FW_Start_From_Scratch
and reload it on WiFi module via Flash Loader at the address 0x08000000
After this, reload the last SW version using the standard procedure, see here.

IMPORTANT NOTE
At the moment, the: WiFi_FW_Start_From_Scratch
shall be issued only to SILICA customers.
If you are a customers of SILICA send email to me and request me:
Password for: WiFi_FW_Start_From_Scratch
please specify also your City, Country and your contact in SILICA.
If you are STM customer please contact directly your local office of STM.

 

Go on TOP

 


External antenna suggested

The external antenna suggested for remain compliant with the certifications is the SAGRAD SG901-1066.
More info are here and here.

sagrad

 

Go on TOP

 


Certifications

The documentations regarding the SPWF01S WiFi modules certifications are here.
IMPORTANT NOTE
At the moment, the: SPWF01S Certifications
shall be issued only to SILICA customers.
If you are a customers of SILICA send email to me and request me:
Password for: SPWF01S Certifications
please specify also your City, Country and your contact in SILICA.
If you are STM customer please contact directly your local office of STM.

Go on TOP