Spark Logic

EMW3165 embedded Wi-Fi module pinout

The EMW3165 integrates an STM32F411xE microcontroller, an 802.11 b/g/n radio and external serial flash. A separate user UART carries the vendor AT firmware protocol.

EMW3165 family, 41 contacts

41 contacts Current package

MXCHIP· Two 1 mm-pitch rows of 20 and 21 contacts.

Device variants · EMW3165 family, 41 contacts

DeviceDetails
EMW3165 Default module with PCB antenna.
EMW3165-E Module with IPEX external antenna connector.

EMW3165 family, 41 contacts pinout

EMW3165 family, 41 contacts

1 · NC · Top side, contact 20 from the left

Figure 3 orientation with the PCB antenna area at left. Pad 1 is at the right end of the upper row and ANT (41) is at the left end of the lower row.
Selected pin details

1 · NC

No connection · NC / reserved

No application connection. Leave open.

MXCHIP EMW3165 DS0007C v2.2, Figure 3 and Table 1

Electrical limits · Link to this pin

Query the installed AT firmware

  • 3.3 V supply
    • Regulated 3.3 V
    • C1.1
    • C2.1
  • Ground
    • Supply return
    • Host ground
    • C1.2
    • C2.2
  • Host to module
    • →
    • Host UART TX
  • Module to host
    • →
    • Host UART RX
C1 100 nF at VBAT between 3.3 V supply and Ground3.3 V supplyC1 100 nF at VBATGround
C2 10 µF at VDD between 3.3 V supply and Ground3.3 V supplyC2 10 µF at VDDGround

Connection guide

All 41 pins

PinSignalDirectionFunction
1NC No connectionNo connection No application connection. Leave open.
2PB2 BidirectionalBidirectional BOOT1 function. Keep the module startup requirements in mind when assigning this GPIO.
3NC No connectionNo connection No application connection. Leave open.
4PA7 BidirectionalBidirectional Internal SPI flash MOSI. Reserved by the module.
5PA15 BidirectionalBidirectional Internal SPI flash select. Reserved by the module.
6PB3 BidirectionalBidirectional Internal SPI flash clock. Reserved by the module.
7PB4 BidirectionalBidirectional Internal SPI flash MISO. Reserved by the module.
8PA2 OutputOutput DEBUG_OUT. MXCHIP AT v2.x uses the debug UART for runtime logs and CLI at 115200 bit/s.
9PA1 BidirectionalBidirectional Reserved by the vendor for EasyLink.
10VBAT SupplySupply Connect to the same 3.3 V rail as pads 39 and 40.
11NC No connectionNo connection No application connection. Leave open.
12PA3 InputInput DEBUG_IN. RX for the separate MXCHIP AT v2.x debug UART.
13NRST InputInput Active-low MCU reset.
14PA0 InputInput Wi-Fi wake input to the MCU. Reserved by the module.
15NC No connectionNo connection No application connection. Leave open.
16PC13 BidirectionalBidirectional Available GPIO with RTC event and output alternatives.
17PB10 BidirectionalBidirectional Available GPIO with I2C2 SCL and SPI2 clock alternatives.
18PB9 BidirectionalBidirectional Available GPIO with I2C1/I2C2 SDA and timer alternatives.
19PB12 BidirectionalBidirectional Available GPIO with SPI2 select and timer break alternatives.
20GND ReturnReturn Common return. Connect every GND contact.
21GND ReturnReturn Common return. Connect every GND contact.
22NC No connectionNo connection No application connection. Leave open.
23NC No connectionNo connection No application connection. Leave open.
24NC No connectionNo connection No application connection. Leave open.
25PA14 InputInput SWD clock input.
26PA13 BidirectionalBidirectional SWD data line.
27PA12 BidirectionalBidirectional Available GPIO with USART1 RTS and SPI5 MISO alternatives.
28NC No connectionNo connection No application connection. Leave open.
29PA10 InputInput USER_UART_RX. Connect host TX using 3.3 V UART logic.
30PB6 OutputOutput USER_UART_TX. Connect host RX using 3.3 V UART logic.
31PB8 OutputOutput RF_LED, active-low Wi-Fi link indicator in MXCHIP AT v2.x.
32NC No connectionNo connection No application connection. Leave open.
33PB13 OutputOutput SYS_LED, active-low system status indicator in MXCHIP AT v2.x.
34PA5 BidirectionalBidirectional GPIO with ADC1_IN5, TIM2 and SPI1_SCK alternatives in Table 1. Pin use depends on the loaded firmware.
35PA11 BidirectionalBidirectional Available GPIO with USART1 CTS and SPI4 MISO alternatives.
36PB1 InputInput BOOT mode-select input sampled at power-up or reset by MXCHIP AT v2.x.
37PB0 InputInput STATUS mode-select input sampled at power-up or reset by MXCHIP AT v2.x.
38PA4 BidirectionalBidirectional Available GPIO with SPI1/SPI3 select alternatives.
39VDD SupplySupply Connect to the regulated 3.3 V supply.
40VDD SupplySupply Connect to the regulated 3.3 V supply.
41ANT RFRF External RF antenna pad as labeled in Table 1. Follow the selected antenna hardware drawing.

Signal assignments

MXCHIP AT v2.x user UART and startup

The same 3.3 V user UART runs AT commands and transparent mode at 115200 bit/s by default, or BOOT and MFG at 921600 bit/s. Set BOOT and STATUS before reset.

MXCHIP AT v2.x debug UART

Pads 8 (TX) and 12 (RX) carry runtime logs and CLI at 115200 bit/s.

MXCHIP AT v2.x RF indicator

RF_LED goes low while the AP is enabled or the station is connected.

MXCHIP AT v2.x system indicator

SYS_LED goes low after AP, Station or AP+Station mode initializes.

Electrical limits

ParameterLimitConditions and source
Supply voltage3.0–3.6 V3.0–3.6 V Connect pads 10, 39 and 40 to the nominal 3.3 V rail. MXCHIP EMW3165 DS0007C v2.2, §§ 1.3.2 and 3
Radio transmit current320 mA typical (CCK)320 mA typical (CCK) 11 Mb/s at 18.5 dBm. OFDM is 270 mA typical at 54 Mb/s and 15.5 dBm, or 260 mA at 65 Mb/s and 14.5 dBm. MXCHIP EMW3165 DS0007C v2.2, Table 5

Manufacturer documents

The 41-contact layout follows the MXCHIP DS0007C v2.2 module drawing. The EMW3165 uses a PCB antenna and EMW3165-E has an IPEX connector. The UART, boot modes and indicator assignments apply to MXCHIP AT v2.x. In custom firmware the MCU pin mux determines which alternate functions are available.