User Manual
Table Of Contents
- 1 MG21USB Dongle Guide
- 1.1 Board Description
- 1.2 USB Dongle EFR32MG21 I/O Mapping
- 1.3 USB Dongle and Host Interface
- 1.4 USB Dongle Application FW Upgrade over USB through X-Modem Bootloader
- 1.5 MG21 Bootloader mode and Reset control
- 1.6 LED Indicators
- 1.7 PTA Debug Interface
- 1.8 Using the Mini-Simplicity interface on USB Dongle
- 1.9 MG21 USB Dongle v2 Components Placement
- 1.10 MG21 USB Dongle Test Points
- 2 MG21 USB Dongle firmware flashing, debugging and PTI Network Traffic Capture
- 3 MG21USB Dongle Certifications
- 4 Document Revision History
MG21USB Dongle Guide
www.wirebridge.co.uk | Smart. Connected. Energy-friendly 3
1.2 USB Dongle EFR32MG21 I/O Mapping
UART interface to host:
Name
GPIO
Properties
Remark
EFR_TX
PA05
Out, active-low
US0_TX
EFR_RX
PA06
In, active-low
US0_RX
EFR_CTS
PA04
In, active-low
US0_CTS
EFR_RTS
PC01
Out, active-low
US0_RTS
Bootloader mode pin:
Name
GPIO
Properties
Remark
NCP_BTL
PC02
In, active-low
EFR_RST
-
In, active-low
PTA interface pins:
Name
GPIO
Properties
Remark
PTA_REQUEST
PC00
Out, active-high, non-shared mode
PTA_RIORITY
PB00
Out, active-high, non-shared mode
PTA_GRANTn
PB01
In, active-low
SWD Debug Interface pins:
Name
GPIO
Properties
Remark
SWCLK
PA01
In
SWDIO
PA02
In/Out
SWO
PA03
Out
PTI Capture and RF Debug pins:
Name
GPIO
Properties
Remark
FEM_TXA
PD02
Out, active-high
LD2 (RED)
FEM_RXA
PD03
Out, active-high
LD1 (GREEN)
PTI_DATA
PC04
Out, active-low
PTI_FRAME
PC05
Out, active-low
LFXO interface pins:
Name
GPIO
Properties
Remark
LFXTAL_O
PD00
Analog out
32.768KHz
LFXTAL_I
PD01
Analog In
32.768KHz
Table 1.1. USB Dongle MG21 I/O Mapping
1.3 USB Dongle and Host Interface
The on-board CP2102N UART-to-USB bridge IC provides the serial communication to the Linux host. Full UART (TX, RX,
RTS, CTS) with hardware flow control and data transfer rate up to 3Mbps are supported.
1.4 USB Dongle Application FW Upgrade over USB through X-Modem Bootloader
The USB Dongle is factory pre-flashed with a X-Modem bootloader firmware which supports the BootLoad pin control. Host
application may take advantage of the on-board CP2102N modem DTR and RTS pins to control MG21’s RESETn and
NCP_BTL pins respectively. Host software may force reset MG21 into Bootloader mode for application image upgrade via X-
Modem file-transfer protocol. This provides a fail-safe application upgrade scenario.
Alternatively, the Z3GatewayHost sample application available in EmberZNet SDK provides the EZSP command to cause the
Zigbee NCP application to software reboot into Bootloader mode without using the BootLoad and RESET pins. However, this
command could be failed if current NCP application is corrupted somehow.
A firmware loading tool can be available to USB dongle users by contacting with support@wirebridge.co.uk.