User UART
AT firmware factory settings are 115200 bit/s, 8N1, without flow control. BOOT and STATUS high or open at reset allow normal firmware startup.
The EMW3165 integrates an STM32F411-class controller, an 802.11 b/g/n radio and external serial flash. A separate user UART carries the vendor AT firmware protocol.
Default module with PCB antenna.
Available GPIO with SPI2/SPI4 clock and timer alternatives.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | NC No connection | No connection | No application connection. Leave open. |
| 2 | PB2 Bidirectional | Bidirectional | BOOT1 function. Keep the module startup requirements in mind when assigning this GPIO. |
| 3 | NC No connection | No connection | No application connection. Leave open. |
| 4 | PA7 Bidirectional | Bidirectional | Internal SPI flash MOSI. Reserved by the module. |
| 5 | PA15 Bidirectional | Bidirectional | Internal SPI flash select. Reserved by the module. |
| 6 | PB3 Bidirectional | Bidirectional | Internal SPI flash clock. Reserved by the module. |
| 7 | PB4 Bidirectional | Bidirectional | Internal SPI flash MISO. Reserved by the module. |
| 8 | PA2 Output | Output | Debug UART output reserved for programming and production diagnostics. |
| 9 | PA1 Bidirectional | Bidirectional | Reserved by the vendor for EasyLink. |
| 10 | VBAT Supply | Supply | Connect to the same 3.3 V rail as pads 39 and 40. |
| 11 | NC No connection | No connection | No application connection. Leave open. |
| 12 | PA3 Input | Input | Debug UART input reserved for programming and production diagnostics. |
| 13 | NRST Input | Input | Active-low MCU reset. |
| 14 | PA0 Input | Input | Wi-Fi wake input to the MCU. Reserved by the module. |
| 15 | NC No connection | No connection | No application connection. Leave open. |
| 16 | PC13 Bidirectional | Bidirectional | Available GPIO with RTC event and output alternatives. |
| 17 | PB10 Bidirectional | Bidirectional | Available GPIO with I2C2 SCL and SPI2 clock alternatives. |
| 18 | PB9 Bidirectional | Bidirectional | Available GPIO with I2C1/I2C2 SDA and timer alternatives. |
| 19 | PB12 Bidirectional | Bidirectional | Available GPIO with SPI2 select and timer break alternatives. |
| 20 | GND Return | Return | Common return. Connect every GND contact. |
| 21 | GND Return | Return | Common return. Connect every GND contact. |
| 22 | NC No connection | No connection | No application connection. Leave open. |
| 23 | NC No connection | No connection | No application connection. Leave open. |
| 24 | NC No connection | No connection | No application connection. Leave open. |
| 25 | PA14 Input | Input | SWD clock input. |
| 26 | PA13 Bidirectional | Bidirectional | SWD data line. |
| 27 | PA12 Bidirectional | Bidirectional | Available GPIO with USART1 RTS and SPI5 MISO alternatives. |
| 28 | NC No connection | No connection | No application connection. Leave open. |
| 29 | PA10 Input | Input | User UART receive input in the MXCHIP AT firmware. |
| 30 | PB6 Output | Output | User UART transmit output in the MXCHIP AT firmware. |
| 31 | PB8 Bidirectional | Bidirectional | Available GPIO with I2C1 clock and timer alternatives. |
| 32 | NC No connection | No connection | No application connection. Leave open. |
| 33 | PB13 Bidirectional | Bidirectional | Available GPIO with SPI2/SPI4 clock and timer alternatives. |
| 34 | PA5 Bidirectional | Bidirectional | Available GPIO with ADC1 channel 5 and timer alternatives. |
| 35 | PA11 Bidirectional | Bidirectional | Available GPIO with USART1 CTS and SPI4 MISO alternatives. |
| 36 | PB1 Input | Input | BOOT strap sampled by the MXCHIP AT firmware. |
| 37 | PB0 Input | Input | STATUS strap sampled by the MXCHIP AT firmware. |
| 38 | PA4 Bidirectional | Bidirectional | Available GPIO with SPI1/SPI3 select alternatives. |
| 39 | VDD Supply | Supply | Connect to the regulated 3.3 V supply. |
| 40 | VDD Supply | Supply | Connect to the regulated 3.3 V supply. |
| 41 | ANT RF | RF | External RF antenna pad as labeled in Table 1. Follow the selected antenna hardware drawing. |
AT firmware factory settings are 115200 bit/s, 8N1, without flow control. BOOT and STATUS high or open at reset allow normal firmware startup.
Use 3.3 V-referenced SWD, common ground and the firmware image for the exact board.
| Parameter | Limit | Conditions and source |
|---|---|---|
| Supply voltage3.0–3.6 V | 3.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 currentUp to 320 mA typical in listed modes | Up to 320 mA typical in listed modes | 11 Mb/s CCK test in the vendor table. Use a regulator with transient headroom. MXCHIP EMW3165 DS0007C v2.2, Table 5 |
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 test assumes the vendor AT firmware.