Skip to main content

M.2 and Mini PCIe

Edge 2 has two module sockets on the bottom side of the board, each with its own micro-SIM slot:

  • An M.2 Key B socket, for 4G and 5G modems, NVMe SSDs and other PCIe or USB modules
  • A Mini PCIe socket, for USB modules such as 4G modems, LoRa concentrators and the Mixtile Zigbee and Z-Wave module

Bottom side of the Edge 2 board with the M.2 socket, the Mini PCIe socket and their SIM slots labelled

Figure 1. The M.2 and Mini PCIe sockets and their SIM slots, on the bottom side

Specifications​

M.2Mini PCIe
Socket75-pin, Key B52-pin
Module sizes2242, 3042 and 3052Full size
InterfacesPCIe 3.0 x2, USB 2.0USB 2.0
SIM slotMicro-SIM, marked SIM: M.2Micro-SIM, marked SIM: mini-PCIe
Module supply3.8 V, up to 3 A shared by both sockets3.8 V, up to 3 A shared by both sockets

The Mini PCIe socket carries no PCIe signals, so it only accepts modules that use USB.

The second PCIe lane of the M.2 socket can also be routed to USB 3.0, for modems that need it. A switch on the board, controlled by a GPIO of the SoC, selects between the two. For the setting used by Mixtile OS, see Hardware Interfaces in Mixtile OS.

Pin Assignments​

The tables list only the pins that are connected. All other pins are not connected.

M.2​

Pin#PinNamePinTypeInput/OutputSignal Description
2, 4, 70, 72, 743.8VPowerOutputModule supply, 3 A maximum in total
3, 5, 11, 27, 33, 39, 45, 51, 57, 71, 73GNDPowerNAPower and signal reference ground
6M2_ONOFF_GPIO1_D2signalOutputModule on or off
7HUB_HOST3_DPUSBBIUSB 2.0 data, positive
9HUB_HOST3_DMUSBBIUSB 2.0 data, negative
10M2_LED1signalInputNetwork status LED, active low
23M2_WAKE_GPIO0_B7signalInputModule wakes the CPU
29PCIE30_TX1_N / HUB_USB3_SSTXNPCIeOutputPCIe 3.0 lane 1 or USB 3.0, transmit, negative
30M2_UIM_RESETsignalInputSIM reset
31PCIE30_TX1_P / HUB_USB3_SSTXPPCIeOutputPCIe 3.0 lane 1 or USB 3.0, transmit, positive
32M2_UIM_CLKsignalInputSIM clock
34M2_UIM_DATAsignalInputSIM data
35PCIE30_RX1N / HUB_USB3_SSRXNPCIeInputPCIe 3.0 lane 1 or USB 3.0, receive, negative
36M2_UIM_PWRsignalInputSIM power
37PCIE30_RX1P / HUB_USB3_SSRXPPCIeInputPCIe 3.0 lane 1 or USB 3.0, receive, positive
41PCIE30_TX0_NPCIeOutputPCIe 3.0 lane 0, transmit, negative
43PCIE30_TX0_PPCIeOutputPCIe 3.0 lane 0, transmit, positive
47PCIE30_RX0NPCIeInputPCIe 3.0 lane 0, receive, negative
49PCIE30_RX0PPCIeInputPCIe 3.0 lane 0, receive, positive
50PCIE30X2_PERSTN_M1signalOutputPCIe reset
52PCIE30X2_CLKREQN_M1signalInputPCIe clock request
53CLK0N_CONPCIeOutputPCIe 100 MHz reference clock, negative
54PCIE30X2_WAKEN_M1signalInputPCIe wake
55CLK0P_CONPCIeOutputPCIe 100 MHz reference clock, positive
66M2_SIM_DETECTsignalOutputSIM card detect
67M2_RESET_GPIO3_B5signalOutputModule reset
68CLK32K_OUT0signalOutput32.768 kHz clock

Mini PCIe​

Pin#PinNamePinTypeInput/OutputSignal Description
1WAKEUP_MINIPCIE_GPIO0_C1signalInputModule wakes the CPU
2, 24, 39, 41, 523.8VPowerOutputModule supply, 3 A maximum in total
4, 9, 15, 18, 21, 26, 27, 29, 34, 35, 40, 50GNDPowerNAPower and signal reference ground
8UIM_PWRPowerInputSIM power
10UIM_DATAsignalInputSIM data
12UIM_CLKsignalInputSIM clock
14UIM_RESETsignalInputSIM reset
22MiniPCIE_reset_GPIO3_D4signalOutputModule reset
36USB2_HOST2_DMUSBBIUSB 2.0 data, negative
38USB2_HOST2_DPUSBBIUSB 2.0 data, positive
42LEDsignalInputStatus LED
44SIM_DETECTsignalOutputSIM card detect

Install a Module​

  1. Shut down Edge 2 and disconnect the power supply.
  2. Turn the board over. The sockets are on the bottom side. If the board is in the Edge 2 Kit enclosure, remove the bottom cover, see Edge 2 Kit Enclosure.
  3. If the module uses a SIM card, insert the micro-SIM into the slot for that socket.
  4. Line up the notch in the module's edge with the key in the socket, and insert the module at an angle.
  5. Press the module down flat, and secure it with the screw.
  6. If the module has antenna connectors, connect the antennas before you use the module.
  7. Reconnect the power supply.

A LoRa concentrator module installed in the Mini PCIe socket of Edge 2 and secured with its screws

Figure 2. A module installed in the Mini PCIe socket

Verify the Module​

Log in to the board, see Connect to Edge 2, and check that the module is listed:

  • A module that uses PCIe, such as an NVMe SSD, appears in the output of lspci:

    Edge 2
    lspci

    An NVMe SSD also appears as /dev/nvme0n1 in the output of lsblk.

  • A module that uses USB, such as most modems and the Mini PCIe modules, appears in the output of lsusb:

    Edge 2
    lsusb

To work, the module also needs a Linux driver and, for many modules, firmware and user-space software in the running system.

Modules Tested with Earlier Systems​

Mixtile tested the following modules on Edge 2 with its earlier Android and Debian 11 images. They have not been tested with Mixtile OS.

SocketModule
M.2Quectel EM06-A (4G), Quectel RM500Q-AE (5G), Western Digital PC SN520 NVMe SSD
Mini PCIeQuectel EC25 (4G), RAK5146 LoRa concentrator