SPWF04SA, SPWF04SC. Standalone and Serial-to-Wi-Fi b/g/n intelligent modules. Features. Applications

Similar documents
SPWF04SA, SPWF04SC. Standalone and Serial-to-Wi-Fi b/g/n intelligent modules. Features. Applications

SPWF01SA SPWF01SC. Serial-to-Wi-Fi b/g/n intelligent modules. Features. Applications

SPWF01SA SPWF01SC. Serial-to-Wi-Fi b/g/n intelligent modules. Applications. Features

Wi-Fi expansion board based on SPWF01SA module for STM32 Nucleo. Description

X-NUCLEO-IDW04A1. Wi-Fi expansion board based on SPWF04SA module for STM32 Nucleo. Features. Description

SG Miniature Wi-Fi Radio

Product Specification

SPBT3.0DP1. Bluetooth Classic module. Features

Wi-Fi Modules. Turnkey Solution for the Internet of Things. -

ALPW-BLEM103 Datasheet 1.0 Bluetooth Low Energy HCI

SPBT3.0DP2. Bluetooth Classic module. Features

BT 31 Data Sheet. Amp ed RF Technology Inc.

AN4696 Application note

SPBT2632C1A. Bluetooth technology class-1 module. Features

How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode. Main components Bluetooth Low Energy wireless system-on-chip

Product Specification

P-NUCLEO-53L0A1. VL53L0X Nucleo pack with ranging, gesture detection sensor expansion board and STM32F401RE. Description. Features

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 1/24/2011

Datasheet DFBM-NQ62X-DT0R. A Bluetooth Low Energy System On Chip Module. Proprietary Information and Specifications are Subject to Change

Getting started with the FP-IND-PLCWIFI1 function pack for PLC management via Wi-Fi

Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo. Description

802.11b/g/n IOT Module

BLE Bluetooth Low Energy Modules SBC2112-B. Preliminary Specification. Version 1.0

SPBT2632C1A. Bluetooth technology class-1 module. Features

EMIF06-HMC02F2. 6-line IPAD, EMI filter including ESD protection. Description. Features. Applications. Complies with the following standards

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

Ai-Thinker. ESP-12S Datasheet. Version V0. Copyright 2018 ESP-12S WIFI MODULE V0. Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved

RN-134. WiFly GSX Super Module SuRF Board. Features. Description. Applications. ~ page 1 ~ rn-134-ds v1.

RN-174 WiFly Super Module

RN-171-EK Evaluation Board

Ai-Thinker. ESP-01F Datasheet. Version V1 Copyright Copyright 2018 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved

RB02. Product Specification. Qualcomm Technologies, Inc. 80-YA Rev. A February 3, 2017

RN-171-XV b/g Wireless LAN Module

AN5123 Application note

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 4/20/2011

RN-174. WiSnap M2 Super Module. Features. Description. Applications. ~ page 1 ~ rn-174-ds v1.1 6/1/2011

ESDA8P80-1U1M. High power transient voltage suppressor. Description. Features. Applications

SPBT3.0DP1. Bluetooth Classic module. Features

P-NUCLEO-6180X2. Proximity, gesture, ambient light sensor expansion board based on VL6180X for STM32L053R8. Description. Features

SPBT2632C2A. Bluetooth technology class-2 module. Features

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 3/3/2011

P-NUCLEO-53L1A1. VL53L1X nucleo pack with X-NUCLEO-53L1A1 expansion board and STM32F401RE nucleo board. Description. Features

WU106 IoT WLAN Module Datasheet

SG Miniature Wi-Fi Radio

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

BT-22 Product Specification

EVALKIT-VL6180X. VL6180X plug-in and STM32 F401RE Nucleo board explorer kit. Description. Features

ESP-07S User Manual REV:

X-NUCLEO-53L0A1. Ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo. Description. Features

PremierWave 2050 Enterprise Wi-Fi IoT Module Evaluation Kit User Guide

ESP-WROOM-S2 Datasheet

specification: imp001

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

Preliminary Product Specification of WM-G-MR-09. Wireless LAN Module

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module

AN4515 Application note

ESDA7P60-1U1M. High power transient voltage suppressor. Description. Features. Applications. Complies with the following standards:

xpico 200 Series Evaluation Kit User Guide

Common mode filter with ESD protection for high speed serial interface

STBC ma standalone linear Li-Ion battery charger with thermal regulation. Description. Features. Applications

P-NUCLEO-IKA02A1. STM32 Nucleo pack: electrochemical toxic gas sensor expansion board with CO sensor. Description. Features

Getting started with X-NUCLEO-53L1A1 long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo

8-line IPAD low capacitance EMI filter and ESD protection in QFN package

EMIF06-HSD04F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Features. Application.

SPBT3.0DP2. Bluetooth Classic module. Features

ECMF02-2HSMX6. ESD protected common mode filter for USB3.0 interface. Description. Applications. Features. Benefits

EMIF06-USD14F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Applications. Description. Features.

AppNote-US2400-EVB Low Power 2.4GHz Transceiver

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

X-NUCLEO-53L1A1. Long distance ranging Time-of-Flight sensor expansion board based on VL53L1X for STM32 Nucleo. Description.

X-NUCLEO-53L0A1 ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo

X-NUCLEO-NFC04A1. Dynamic NFC/RFID tag IC expansion board based on ST25DV04K for STM32 Nucleo. Description. Features

Wireless Modules Wi-Fi Module

HZX N03 Bluetooth 4.0 Low Energy Module Datasheet

SKB360I Bluetooth 4.0 Low Energy Module Datasheet

Serial Port Plug - F2M01SXA Brief Datasheet. Features. Applications. General Description. Provides transparent RS-232 serial cable replacement.

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module. Description

March 21, BT22 Datasheet. Amp ed RF Technology, Co., Ltd.

Typical Applications: GHz Bluetooth low energy systems - Proprietary 2.4 GHz systems - Sports and leisure equipment - Mobile phone accessories,

WizFi250 Datasheet. (Version 1.01)

UM2092 User manual. Basic metrology firmware for the STM32F103RD and the STPM32 devices. Introduction

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

SH1030 Rev Introduction. Ultra low power DASH7 Arduino Shield Modem. Applications. Description. 868 MHz. Features

ST25DV-DISCOVERY. Discovery kit for the ST25DV04K dynamic NFC/RFID tag. Features

Embedded WiFi Module for M2M and IOT

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

HSP051-4M10. 4-line ESD protection for high speed lines. Applications. Description. Features. Benefits. Complies with following standards

LM072 Bluetooth Module Standalone (With Embedded Bluetooth v2.0/v2.1 Stack)

[Type here] M907. Bluetooth 4.2 Low Energy/Zigbee/RF4CE/Thread SiP Module with MCU and integrated antenna

LM072 Bluetooth 2.0 / EDR Serial Data Module Class 1 BC04, 8MB Flash, Up to 100m

HSP051-4N10. 4-line ESD protection for high speed lines. Applications. Description. Features. Benefits. Complies with following standards

WM1030 Rev Introduction. Ultra low power DASH7 Modem. Applications. Description. 868 / 915 MHz. Features. WIZZILAB Technical datasheet 1/10

UM2255 User manual. SPC58NG-DISP user manual. Introduction

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

Automotive dual-line Transil, transient voltage suppressor (TVS) for CAN bus. Description

Session 4. Embedded Wireless LAN Module. (WizFi210/220) Ultra Low Power. WIZnet EU 2012 MARCH - 1 -

Very low power application processor module for Bluetooth Low Energy v4.2. Description

AN4820 Application note

Overview. Applications. Features. Pin assignment

HSP line ESD protection for high speed lines. Applications. Description. Features. µqfn 4 leads. Benefits. Complies with following standards

Transcription:

Standalone and Serial-to-Wi-Fi b/g/n intelligent modules Datasheet - production data Features 2.4 GHz IEEE 802.11 b/g/n transceiver High performance STM32F439 ARM Cortex -M4 256 KB SRAM 2 MB embedded high-speed Flash memory 1 MB Flash memory for user storage, extendable via SD/MMC interface or external SPI Flash Integrated TCP/IP protocol stack 8 simultaneous TCP or UDP clients and 2 socket servers (supporting up to 8 clients each) Secured socket and upper layers (i.e. HTTPS) supporting up to TLS 1.2, including AES (128, 256), hash (MD5, SHA-1, SHA-256) and RSA (1024, 2048) Web server supporting SSI Open, WEP, WPA2 PSK, WPA2 Enterprise WPS for station System modes: Station, IBSS, and miniap (supporting up to 5 Stations) miniap easily provisioned (SSID, PWD) Fast Wi-Fi re-association after reset Secure Firmware and FileSystem updates Over The Air (OTA) TX power 18.3 dbm @ 1 Mbps DSSS 13.7 dbm @ 54 Mbps OFDM RX sensitivity -96.0 dbm @ 1 Mbps DSSS -74.5 dbm @ 54 Mbps OFDM 19 configurable GPIOs available UART and SPI interface to host system Advanced low-power modes Standby with RTC: 43 µa Sleep = 3 ma Idle connected (DTIM=1) = 5 ma RX traffic 105 ma typical TX traffic 260 ma typical @ 10 dbm AT command set interface through UART SPI interface with simple protocol Application subsystem Embedded real-time MicroPython environment for customer applications and on-board development MicroPython API library for easy access to Wi-Fi subsystem capabilities and device peripherals (i.e. UART, SPI, I²C) Small form factor: 26.92 x 15.24 x 2.35 mm Single voltage supply (3.3 V typical) Antenna options: integrated antenna/u.fl connector Industrial temperature range: -40 C to 85 C FCC/CE/IC certified RoHS compliant Applications Smart appliances Industrial control and data acquisition Home automation and security systems Wireless sensors Cable replacement Medical equipment Machine-to-machine communication April 2017 DocID029757 Rev 4 1/28 This is information on a product in full production. www.st.com

Contents SPWF04SA, SPWF04SC Contents 1 Description... 5 2 Schematic diagram... 7 3 General electrical specifications... 8 4 Digital interface specifications... 9 5 RF characteristics... 10 6 Pinout description... 11 7 Host interfaces... 14 7.1 UART interface... 14 7.2 SPI interface... 14 8 Mechanical dimensions... 18 9 Module reflow... 20 10 Regulatory compliance... 21 10.1 RoHS compliance... 21 10.2 RF certifications... 21 10.2.1 FCC and IC... 22 10.2.2 CE... 23 11 Module marking and traceability... 24 12 Ordering information... 26 13 Revision history... 27 2/28 DocID029757 Rev 4

List of tables List of tables Table 1: Absolute maximum ratings... 8 Table 2: Operating conditions and input power specifications... 8 Table 3: Digital interface specifications, I/O pins... 9 Table 4: RF characteristics... 10 Table 5: Pinout description... 11 Table 6: GPIOs main and alternate functions... 12 Table 7: SPI signals... 15 Table 8: Soldering values... 20 Table 9: RF certification summary... 21 Table 10: Antennas used for certification of SPWF04SC... 21 Table 11: Titanis antenna characteristics... 22 Table 12: Module product ID... 24 Table 13: Ordering information... 26 Table 14: Document revision history... 27 DocID029757 Rev 4 3/28

List of figures List of figures SPWF04SA, SPWF04SC Figure 1: SPWF04S block diagram... 7 Figure 2: UART connection with host device... 14 Figure 3: SPI connection with host device... 15 Figure 4: Single 1 byte transaction... 16 Figure 5: TX master transaction... 16 Figure 6: RX master transaction... 16 Figure 7: Master RX multiple messages... 16 Figure 8: Module dimensions... 18 Figure 9: Module footprint... 19 Figure 10: Soldering profile... 20 Figure 11: CE Label... 23 Figure 12: SPWF04SA front side... 24 Figure 13: SPWF04SA bottom side... 24 4/28 DocID029757 Rev 4

Description 1 Description The SPWF04SA and the SPWF04SC are ready-to-use Wi-Fi modules conceived for Internet of Things (IoT) applications. The modules integrate a Cortex-M4-based STM32 microcontroller and a powerful Wi-Fi transceiver, compliant with IEEE 802.11 b/g/n standard for the 2.4 GHz band. The modules are cloud compatible thanks to the complete protocol package, which includes application and security layers. They can operate in serial-to-wi-fi and standalone mode, with customer applications developed in the subsystem based on the MicroPython environment. The modules are configured around a single-chip 802.11 transceiver with integrated PA and comprehensive power management subsystem, and an STM32F4 microcontroller with UART/SPI interface and an extensive GPIO suite; they also incorporate timing clocks and a voltage regulator. The SPWF04SA module is configured with a highly-efficient, embedded micro 2.4 GHz ISM band antenna, or with an external U.FL antenna connector (SPWF04SC); both are certified FCC/IC and CE. With low power consumption and an ultra-compact (2.7 x 1.5 cm) footprint, the modules are ideal for fixed and mobile wireless applications, as well as challenging battery-operated applications. The SPWF04Sx parts are released with an integrated full featured TCP/IP protocol stack with added web server and additional application service capabilities, including REST API for accessing files on servers in the cloud and support for dynamic web pages with SSI functions to easily interact with the module and the host processor over the air. Application note AN4965 on www.st.com provides details on HTTP server capabilities. Multiple higher level protocols over TCP are supported by the module including: HTTP, MQTT, SMTP, and WebSockets to easily connect application to the cloud. Multiple protocols supported over UDP include: TFTP, SNTP and mdns; the module also includes IPv6 networking capabilities. The SW package also has an AT command layer interface for user-friendly access to the stack functionalities via the UART serial port and an SPI interface supporting master and slave messages from and to the host processor respectively (see user manual UM2114 on www.st.com). The SPWF04Sx includes a MicroPython scripting engine to enable simple and fast custom application development on the module MCU: no external MCU is needed and the customer application runs directly on the module. The interpreter implementation is fully compatible with the standard MicroPython version 1.6. In standalone mode, MicroPython use Wi-Fi interfaces and MCU peripherals such as UART, SPI, I2C, GPIOs via standard MicroPython APIs (see application note AN4964 on www.st.com). 1 MB of the internal Flash is dedicated to store the user file system while a hardware interface allows the usage of an external memory via SPI/SDIO (Serial Flash/SD Card) to further extend the file system storage capabilities. The module supports WPA2-Personal and WPA2-Enterprise security and WPS (Wi-Fi protected setup). For secure end-to-end communication with the cloud, an SSL/TLS stack is embedded in every module, with no licensing charge. See application note AN4963 on www.st.com for details on security. DocID029757 Rev 4 5/28

Description SPWF04SA, SPWF04SC The module firmware may be updated at any time via UART and over-the-air (FOTA); the FOTA operation can be performed with different level of security, as described in AN4963. ST may update the module firmware at any time; check regularly for documentation and firmware updates on www.st.com/wifimodules. 6/28 DocID029757 Rev 4

Schematic diagram 2 Schematic diagram Figure 1: SPWF04S block diagram 3.3 V UART/SPI GPIOs/Peripherals Ext. Serial Memory Boot0 Reset STM32F4 120 MHZ Flash: 2 MB RAM: 256 kb CW1100 b/g/n Integrated PA 38 MHz Tx/Rx Switch Filter A C DocID029757 Rev 4 7/28

General electrical specifications SPWF04SA, SPWF04SC 3 General electrical specifications Table 1: Absolute maximum ratings Rating Min. Typ. Max. Unit Voltage supply -0.3-4.0 V Vin for 5 V tolerant pins -0.3-5.5 V Vin for all other pins -0.3-3.6 V Storage temperature range -55-105 C Table 2: Operating conditions and input power specifications Parameter Test condition Min. Typ. Max. Unit Operating temperature range Industrial -40 85 C 3.3 V supply Input supply voltage Standby Sleep Low power state TX (@ max power) RX 3.3 V supply input 3.1 3.3 3.6 V Both the STM32 and the radio are in standby power states The STM32 is in stop power state and the radio is in sleep power state The STM32 is active and the radio is in sleep power state 43 µa 3 ma 33 ma 802.11b 1 Mbps DSSS 360 ma 802.11g 802.11n 6 Mbps 350 ma 54 Mbps 290 ma MCS0 350 ma MCS7 280 ma 802.11b 105 ma 802.11g 105 ma 802.11n 105 ma Note: Measure preformed at Ta = 25 C, VDD = 3.3 V on channel 1. 8/28 DocID029757 Rev 4

Digital interface specifications 4 Digital interface specifications Table 3: Digital interface specifications, I/O pins Parameter Test condition Min. Typ. Max. Unit VIH 2.3 3.6 V Inputs VIL 0 0.9 V - VOH IOH=4 ma 2.4 3.6 V Outputs VOL IOL=4 ma 0 0.4 V DocID029757 Rev 4 9/28

RF characteristics SPWF04SA, SPWF04SC 5 RF characteristics RX sensitivity (1) Channel-to-channel de-sensitivity Table 4: RF characteristics Parameter Test condition Value Unit 11b, 1 Mbps -96 dbm 11b, 2 Mbps -93 dbm 11b, 5.5 Mbps -91 dbm 11b, 11 Mbps -87 dbm 11g, 9 Mbps -89.5 dbm 11g, 18 Mbps -86 dbm 11g, 36 Mbps -80 dbm 11g, 54 Mbps -74.5 dbm 11n, MCS1, 13 Mbps -86.5 dbm 11n, MCS3, 26 Mbps -81.5 dbm 11n, MCS5, 52 Mbps -74 dbm 11n, MCS7, 65 Mbps -71 dbm CH1 to 14 11g, 54 Mbps, 10%PER 1 db Maximum input signal CH7 11g, 54 Mbps -20 dbm Adjacent channel rejection Max TX output power (1) 11Mbps 38 dbc 9 Mbps 20 dbc 54 Mbps 4 dbc MCS1 24 dbc MCS7 3 dbc 11b, 1 Mbps 18.3 dbm @ 11b spectral mask 11b, 11 Mbps 18.3 dbm 11g, 9 Mbps @ 11g spectral mask 18.3 dbm 11g, 54 Mbps EVM = -27 db, 4.5% 13.7 dbm 11n, MCS0 @ 11n spectral mask 18.3 dbm 11n, MCS7 EVM = -27 db 13.5 dbm On-board antenna gain Average -1.2 dbi Notes: (1) Output power and sensitivities are measured with a 50 Ω connection at the antenna port. 10/28 DocID029757 Rev 4

Pinout description 6 Pinout description Signal name Type Table 5: Pinout description Pin number Function Notes GPIO[0] GPIO[18] GPIOs - general purpose I/O See Table 6: "GPIOs main and alternate functions" for corresponding pin numbers, main and alternate functions Host interface (1) RXD/MOSI I 8 5 V tolerant TXD/MISO O 6 5 V Tolerant CTS/nCS I 9 Active low, 5 V tolerant RTS/CLK O 10 5 V tolerant Reset (2) RESETn I 3 Reset input Bootloader BOOT0 I 2 Boot loader (3) SDIO CLK / SPI CLK 31 SDIO D0 / SPI MISO 32 SDIO CMD / SPI MOSI 33 Notes: External memory interface (4) Other pins VCC (3.3 V) 24 Voltage Supply Ground 23 Ground Ground Paddle 25 Ground LSE 34 HSE 35 SWD I/O 26 SWD CLK 29 Active low for 5 ms with pull up to 2.5 VDC. Not 5 V tolerant Decouple with 10 µf capacitor Add plenty of Ground vias for thermal dissipation and ground (1) See Section 7: "Pinout description" for a UART and SPI selection modes and interface details. (2) In order to recover from unexpected behavior, the HOST processor, when connected, could conveniently control the RESETn pin of the module. (3) To enable the firmware download, pin BOOT0 needs to be high during power up. RESETn needs to be pulled low at least 5 ms to initiate the firmware download sequence. (4) Automatic detection via the configuration variable ext_volume. DocID029757 Rev 4 11/28

Pinout description Signal name Pin n Main Function (1) Table 6: GPIOs main and alternate functions System function (2) Alternate function Peripheral driver (3) SPWF04SA, SPWF04SC MicroPytho n Interfaces (4) Electrical notes GPIO[0] 16 Restore to factory setting (5) ADC Input pull down and 5 V tolerant GPIO[1] 17 ADC Input pull down and 5 V tolerant GPIO[2] 19 PWM TX UART Floating and 5 V tolerant GPIO[3] 1 Ext memory: SPI_CS Input pull down and 5 V tolerant GPIO[4] 18 I2C SDA GPIO[5] 20 I2C SCL GPIO[6] 22 WakeUp sleep Inhibit (6) Input pull down and 5 V tolerant GPIO[7] 13 MiniAP: General purpose STA: WPS PushButton STA/MiniAP switch (startup) (7) RTS UART GPIO[8] 4 MicroPython selection mode (8) GPIO[9] 7 SPI HOST interface: SPI nhostinterrupt (9) GPIO[1 0] 5 LED Drive: module running (10) GPIO[1 1] 11 RX UART GPIO[1 2] 12 CTS UART GPIO[1 3] 15 LED Drive: Wi-Fi Link Up MISO SPI GPIO[1 4] 14 LED Drive: power Up MOSI SPI GPIO[1 5] 21 DAC SCK SPI GPIO[1 6] 27 ADC GPIO[1 7] 28 GPIO[1 8] 30 Notes: (1) Main Function is set at the module initialization when "factory" configuration is used. The GPIOs are all set as input pull down 12/28 DocID029757 Rev 4

with the exception of GPIO7 that is set as input pull up. Pinout description (2) Alternate System Functions are activated when the related pin is connected or when the command/specific configuration is used. (3) Alternate Peripheral Drivers are activated when the corresponding peripheral command is used. (4) Alternate MicroPython Functions are activated when the related class is initialized. (5) To perform the restore of the factory variable set, the pin GPIO0 must be high during powerup. (6) This alternate function is running when low power mode variable is enabled. Ext. RC is suggested in order to stabilize the signal. The value is high to wakeup the module. (7) To enable the STA or MiniAP switch, the GPIO[7] needs to be low together with the HW reset. (8) When this GPIO is high at the startup the module enters the MicroPython mode. (9) To select the SPI as host interface, this GPIO must be driven high at the reset time. (10) Selected by using the configuration variable Blink_led. Note: Use an external pull up/pull down connected to a given GPIO to prevent unwanted behavior. DocID029757 Rev 4 13/28

Host interfaces SPWF04SA, SPWF04SC 7 Host interfaces SPWF04S supports UART and SPI interfaces for connecting the module with a host processor. The pins to be used in the two possible configurations are indicated in the Table 5: "Pinout description". By default, SPWF04S works using the UART port with AT commands. To switch SPI on, the pin corresponding to GPIO[9] must be driven low during boot to force the device to handle incoming commands over SPI instead of UART. 7.1 UART interface The SPWF04S can be interfaced with an external host using the UART interface shown in Figure 2: "UART connection with host device". This configuration is used by default, with four signals including RTS and CTS for HW flow control. The UART baud rate is configurable in the 1200-921600 range. The default configuration is 115200/8/n/1 with flow control disabled. Figure 2: UART connection with host device 7.2 SPI interface The SPWF04S can be interfaced as a slave with an external host by using the SPI interface as shown in Figure 3: "SPI connection with host device". There are four SPI signals and an additional host interrupt signal. SPI signals are detailed in the Table 7: "SPI signals". This Interrupt signal allows the SPI slave to alert the SPI master that it has data to send. In turn, the SPI master needs to assert the GPIO connected to the SPWF04S chip select and to start the CLK signal to send data to the slave. 14/28 DocID029757 Rev 4

Figure 3: SPI connection with host device Host interfaces SPWF04S signal name RTS/Clk CTS/nCS GPIO[9] (nhostint) RXD/MOSI TXD/MISO Table 7: SPI signals Description Clock (up to 22 MHz) from MCU to SPWF04S Active Low indicates the selection of the slave before a data transmission from the Master nhostint. Interrupt sent from the SPWF04S to the host to indicate the transmission of data from the slave Data from Host to SPWF04S Data from SPWF04S to the Host The host SPI can work up to the speed of 22 MHz. The communication between host and SPWF04S is handled in half duplex. Data is transmitted and received with the most significant bit first (SPI mode 0). That means the clock polarity (CPOL) and the clk phase (CPHA) used to configure SPI are both set to zero. The mode0 is commonly used as default for microcontrollers. Figures from Figure 4: "Single 1 byte transaction" to Figure 7: "Master RX multiple messages" detail the signaling over the SPI. In particular, Figure 4: "Single 1 byte transaction" shows a single 1-byte transaction in mode 0. Tlead should be at least half a clock cycle long, and so its value depends on the host clock frequency. SPI data is latched by the master and slave using the CLK signal. So, when data needs to be transferred, the MISO and MOSI signals change between each clock. After each single request sent from master to the slave, the Master MUST wait for a confirmation message sent from the slave. The message is notified to the master using the nhost Irq. All the data transferred in both directions are packed using a well defined packet format described in the User Manual. DocID029757 Rev 4 15/28

Host interfaces Figure 4: Single 1 byte transaction SPWF04SA, SPWF04SC The Figure 5: "TX master transaction", Figure 6: "RX master transaction" and Figure 7: "Master RX multiple messages" show a Master TX transaction and a Master RX transaction, respectively. The communication starts with the host sending the write SYNC word (0x02), followed by header information, and then payload, when applicable. Once the command has been analyzed by the device, it asserts the IRQ interrupt line. Then the host detects the interrupts and then writes the read SYNC word (0x02) and starts to generate the clock. The device then clears the interrupt line and prepares the response. The host then reads continuously until the SYNC pattern is detected. All data until that point is discarded. The SYNC word is then followed by headers and then payload, when applicable. Figure 5: TX master transaction Figure 6: RX master transaction In case of multiple messages sent from slave to master, the nhost Irq line is asserted low until the slave has data to be sent, as shown in Figure 7: "Master RX multiple messages". Figure 7: Master RX multiple messages 16/28 DocID029757 Rev 4

Host interfaces Refer to the UM2114 for a complete description of the SPI packets used in SPWF04S. DocID029757 Rev 4 17/28

Mechanical dimensions SPWF04SA, SPWF04SC 8 Mechanical dimensions In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status are available at: www.st.com. ECOPACK is an ST trademark. Figure 8: Module dimensions Note: An antenna area of 217 x 520 mils must be free of any ground metalization or traces under the unit. The area extending away from the antenna should be free from metal on the PCB and housing to meet expected performance levels. Pin 25 is the required paddle ground and is not shown in this diagram. 18/28 DocID029757 Rev 4

Figure 9: Module footprint Mechanical dimensions Note: PCB design requires a detailed review of the center exposed pad. This pad requires good thermal conductivity. Soldering coverage should be maximized and checked via x-ray for proper design. There is a trade-off between providing enough soldering for conductivity and applying too much, which allows the module to "float" on the paddle creating reliability issues. ST recommends two approaches, a large center via that allows excess solder to flow down into the host PCB with smaller vias around it, or many smaller vias with just enough space for the viscosity of the chosen solder/flux to allow some solder to flow into the smaller vias. Either of these approaches must result in 60% or more full contact solder coverage on the paddle after reflow. ST strongly encourages PCB layout teams to work with their EMS providers to ensure vias and solder paste designs that will result in satisfactory performance. DocID029757 Rev 4 19/28

Module reflow SPWF04SA, SPWF04SC 9 Module reflow The SPWF04SA and SPWF04SC are surface mount modules with a 6-layer PCB. The recommended final assembly reflow profiles are indicated below. The soldering phase must be executed with care: in order to prevent an undesired melting phenomenon, particular attention must be paid to the setup of the peak temperature. The following are some suggestions for the temperature profile based on the IPC/JEDEC J- STD-020C, July 2004 recommendations. Profile feature Average ramp-up rate (TSMAX to TP) Preheat: Temperature min. (Ts min.) Temperature max. (Ts max.) Time (Ts min. to Ts max) (ts) Critical zone: Temperature TL Time TL Table 8: Soldering values 3 C/sec max 150 C 200 C 60-100 sec 217 C 60-70 sec Peak temperature (TP) 240 + 0 C Time within 5 C of actual peak temperature (TP) Ramp-down rate Time from 25 C to peak temperature 10-20 sec 6 C/sec 8 minutes max. PB-free assembly Figure 10: Soldering profile 20/28 DocID029757 Rev 4

Regulatory compliance 10 Regulatory compliance 10.1 RoHS compliance In order to meet environmental requirements, ST defines different grades of ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status are available at: www.st.com. ECOPACK is an ST trademark. SPWF04S modules comply with the ECOPACK2 level of RoHS compliance grade. The material declaration file is available at: www.st.com. 10.2 RF certifications Directive s The RF certifications obtained for the SPWF04S modules are summarized below. Table 9: RF certification summary ID Certified Rules and STD Notes FCC S9NSPWFS04 FCC part 15 IC ETSI 8976C- SPWFS04 Compliant IC RSS-247 ETSI EN 300 328 V1.9.1:2015 EN 301 489-1 V1.9.2: 2011 + EN 301 489-17 V2.2.1:2012 + EN 301 489-1 V1.8.1:2008 EN 60950-1:2006 + A11:2009 + A1:2010 + A12:2011 + A2:2013 EN 62479:2010 ID that applies to the version SPWF04SA and SPWF04SC when this is used with the antennas specified in the Table 8: "Soldering values". Both versions are modular approved in the meaning defined by FCC ID that applies to the version SPWF04SA and SPWF04SC when this is used with the antennas specified in the Table 8: "Soldering values". Both versions are modular approved in the meaning defined by IC ID that applies to the version SPWF04SA and SPWF04SC when this is used with the antennas specified in the Table 8: "Soldering values" The certifications of the version SPWF04SC that has an integrated U.FL connector applies when the module is connected with the antenna specified in the Table 8: "Soldering values". Product name Titanis 2.4 GHz Table 10: Antennas used for certification of SPWF04SC Article No. Frequency 2010B4844-01 (Standard) 2010B6090-01 (Reverse thread) 2.4-2.5 GHz DocID029757 Rev 4 21/28

Regulatory compliance Product name Polarization Operating temperature Impedance Weight Antenna Type SPWF04SA, SPWF04SC Linear -40 to +85 degc 50 Ω 7.4 g Swivel 10.2.1 FCC and IC The device SPWF04S has been tested and complies with the FCC part 15 and IC RSS-247 regulations. These limits are designed to provide reasonable protection against harmful interference in approved installations. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. This device complies with part 15 of the FCC rules. Operation is subject to the following two conditions: The device must not cause harmful interference. The device must accept any interference received, including interference that may cause undesired operation. Modifications or changes to this equipment not expressly approved by the party responsible for compliance may render void the user's authority to operate this equipment. The module has been approved by Industry Canada to operate with the antenna type listed in Table 10: "Antennas used for certification of SPWF04SC" with the maximum possible gain there indicated. Antenna types not included in Table 10: "Antennas used for certification of SPWF04SC" and that have a gain greater than the maximum gain indicated for that type in the Table 11: "Titanis antenna characteristics", are strictly prohibited for use with this module. Peak Gain Efficienc y Table 11: Titanis antenna characteristics Characteristics Min. Typ. Max. 4.0 dbi 4.1 dbi 4.4 dbi 80% 85% 90% VSWR 1.1:1 1.2:1 1.3:1 Notes: Conditions (1) Frequency 2.4 2.5 GHz, measured in 3D chamber (near field) Frequency 2.4 2.5 GHz, measured in Network Analyzer (1) Note all data provided in this table are based on the Antenova reference board. The safe user distance, for RF exposure, is 50 mm (in compliance with 447498 D01 General RF Exposure Guidance v06 and RSS-102 Issue 5). Modular approval, FCC and IC FCC ID: S9NSPWFS04 22/28 DocID029757 Rev 4

IC: 8976C-SPWFS04 Regulatory compliance In accordance with FCC part 15, the modules SPWF04SA and SPWF04SC are listed above as a modular transmitter device. Labeling instructions When integrating the SPWF04SA and SPWF04SC into the final product, it must be ensured that the FCC labeling requirements specified below are satisfied. Based on the Public Notice from FCC, the product into which the ST transmitter module is installed must display a label referring to the enclosed module. The label should use wording like the following: Contains Transmitter Module 10.2.2 CE FCC ID: S9NSPWFS04 IC: 8976C-SPWFS04 Any similar wording that expresses the same meaning may also be used. This module complies with the following European EMI/EMC and safety directives and standards: Radio Spectrum ETSI EN 300 328 V1.9.1:2015 EMC EN 301 489-1 V1.9.2:2011 + EN 301 489-1 V1.8.1:2008 + EN 301 489-17 V2.2.1:2012 Safety EN 60950-1:2006 + A11:2009 + A1:2010 + A12:2011 + A2:2013 Health EN 62479:2010 Figure 11: CE Label DocID029757 Rev 4 23/28

Module marking and traceability SPWF04SA, SPWF04SC 11 Module marking and traceability The SPWF04Sx top-side contains the following information: CE label printed on the shield Figure 12: SPWF04SA front side The SPWF04x bottom-side contains the following information: Model number indicating the RF module family: SPWF04Sx FCC USA certification number: FCC ID: S9NSPWFS04 IC Canada certification number: IC: 8976C-SPWFS04 2D laser data matrix Figure 13: SPWF04SA bottom side The 2D data matrix laser marked stores a serial number codified in the following format: WW YY K PP NNN, where: K WW - Week YY - Year K - Product ID (refer to follows table) PP - Internal ST use only NNN - Internal ST use only < SPWF04SA Product family identification > SPWF04SC Table 12: Module product ID Every module is completely traceable thanks to the following applied rules: 24/28 DocID029757 Rev 4

Module marking and traceability Each module bulk package is identified by a bulk ID The bulk ID and module 2D data matrix are linked by a reciprocal traceability link The module 2D data matrix traces the lot number of any raw material used DocID029757 Rev 4 25/28

Ordering information SPWF04SA, SPWF04SC 12 Ordering information Table 13: Ordering information Order codes Description SPWF04SA Wi-Fi module with integrated antenna and protocol stack SPWF04SC Wi-Fi module with integrated U.FL connector and protocol stack Note: Refer to the UM2114 for a complete list of stack features and commands. 26/28 DocID029757 Rev 4

Revision history 13 Revision history Table 14: Document revision history Date Revision Changes 04-Oct-2016 1 Initial release. 10-Feb-2017 2 Updated features and description on the cover page. Added Section 12: "Module marking and traceability". 03-Mar-2017 3 Updated Figure 9: "Module footprint". 27-Apr-2017 4 Datasheet status promoted from preliminary data to production data. DocID029757 Rev 4 27/28

IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. 2017 STMicroelectronics All rights reserved 28/28 DocID029757 Rev 4

Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: STMicroelectronics: SPWF04SC