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.
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.
No application connection. Leave open.
| 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_OUT. MXCHIP AT v2.x uses the debug UART for runtime logs and CLI at 115200 bit/s. |
| 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_IN. RX for the separate MXCHIP AT v2.x debug UART. |
| 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_RX. Connect host TX using 3.3 V UART logic. |
| 30 | PB6 Output | Output | USER_UART_TX. Connect host RX using 3.3 V UART logic. |
| 31 | PB8 Output | Output | RF_LED, active-low Wi-Fi link indicator in MXCHIP AT v2.x. |
| 32 | NC No connection | No connection | No application connection. Leave open. |
| 33 | PB13 Output | Output | SYS_LED, active-low system status indicator in MXCHIP AT v2.x. |
| 34 | PA5 Bidirectional | Bidirectional | GPIO with ADC1_IN5, TIM2 and SPI1_SCK alternatives in Table 1. Pin use depends on the loaded firmware. |
| 35 | PA11 Bidirectional | Bidirectional | Available GPIO with USART1 CTS and SPI4 MISO alternatives. |
| 36 | PB1 Input | Input | BOOT mode-select input sampled at power-up or reset by MXCHIP AT v2.x. |
| 37 | PB0 Input | Input | STATUS mode-select input sampled at power-up or reset by MXCHIP AT v2.x. |
| 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. |
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.
Pads 8 (TX) and 12 (RX) carry runtime logs and CLI at 115200 bit/s.
RF_LED goes low while the AP is enabled or the station is connected.
SYS_LED goes low after AP, Station or AP+Station mode initializes.
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 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 |
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.