Adafruit Metro M4 Express Pinout

Adafruit Metro M4 Express pinout. Shield sockets, the DC power-control pad and all six contacts of the SPI header on the component side.

Jump to pin index ↓

Main pinout

Shield sockets, the DC power-control pad and all six contacts of the SPI header on the component side. The bottom lane separates contacts that share the same row. Pin details give Arduino names, package pins and mux assignments.

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show alternate functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

39 visible
PinMCU pinTypesNotes
AnalogDACGPIOAD pin 1. A0 on ATSAMD51J19A PA02. ADC0, 12-bit analog input 0 on PA02.
AnalogDACSERCOMGPIOAD pin 2. A1 on ATSAMD51J19A PA05. ADC0, 12-bit analog input 5 on PA05.
AnalogSERCOMPWMGPIOAD pin 3. A2 on ATSAMD51J19A PA06. ADC0, 12-bit analog input 6 on PA06.
AnalogSERCOMPWMGPIOAD pin 4. A3 on ATSAMD51J19A PA04. ADC0, 12-bit analog input 4 on PA04.
AnalogSERCOMPWMGPIOAD pin 5. A4 on ATSAMD51J19A PB08. ADC0, 12-bit analog input 2 on PB08.
AnalogSERCOMPWMGPIOAD pin 6. A5 on ATSAMD51J19A PB09. ADC0, 12-bit analog input 3 on PB09.
ReservedPOWER pin 1. This physical position has no routed net in the Eagle board.
PowerPOWER pin 2. IOREF is a fixed 3.3 V connection for shield logic-level detection.
ControlPOWER pin 3. Active-low ATSAMD51 reset, shared by the reset button and the power, SPI and SWD headers.
PowerPOWER pin 4. Regulated 3.3 V rail. The board’s digital I/O uses this voltage.
PowerPOWER pin 5. 5 V supply rail shared with the other 5 V header contact. Digital signals remain at 3.3 V.
GNDPOWER pin 6. Ground return shared with the other GND contacts.
GNDPOWER pin 7. Ground return shared with the other GND contacts.
PowerPOWER pin 8. DC input rail downstream of the jack protection and power switch, before the 5 V regulator.
I2CAnalogSERCOMGPIOIOH pin 1. SCL on ATSAMD51J19A PB03. Arduino analog alias A7 on the same contact as Wire SCL.
I2CAnalogSERCOMPWMGPIOIOH pin 2. SDA on ATSAMD51J19A PB02. Arduino analog alias A6 on the same contact as Wire SDA.
AnalogIOH pin 3. Analog reference tied to 3.3 V through SJ1.
GNDIOH pin 4. Ground return shared with the other GND contacts.
GPIOSERCOMPCCPWMIOH pin 5. D13 on ATSAMD51J19A PA16. SERCOM1 PAD0 on PA16, mux C.
GPIOSERCOMPCCPWMIOH pin 6. D12 on ATSAMD51J19A PA17. SERCOM1 PAD1 on PA17, mux C.
GPIOSERCOMPCCPWMIOH pin 7. D11 on ATSAMD51J19A PA19. SERCOM1 PAD3 on PA19, mux C.
GPIOSERCOMPCCPWMIOH pin 8. D10 on ATSAMD51J19A PA18. SERCOM1 PAD2 on PA18, mux C.
GPIOSERCOMI2SPCCPWMIOH pin 9. D9 on ATSAMD51J19A PA20. SERCOM5 PAD2 on PA20, mux C.
GPIOSERCOMI2SPCCPWMIOH pin 10. D8 on ATSAMD51J19A PA21. SERCOM5 PAD3 on PA21, mux C.
GPIOSERCOMI2SPWMIOL pin 1. D7 on ATSAMD51J19A PB12. SERCOM4 PAD0 on PB12, mux C.
GPIOSERCOMPCCPWMIOL pin 2. D6 on ATSAMD51J19A PB15. SERCOM4 PAD3 on PB15, mux C.
GPIOSERCOMPCCPWMIOL pin 3. D5 on ATSAMD51J19A PB14. SERCOM4 PAD2 on PB14, mux C.
GPIOSERCOMI2SPWMIOL pin 4. D4 on ATSAMD51J19A PB13. SERCOM4 PAD1 on PB13, mux C.
GPIOSERCOMI2SPWMIOL pin 5. D3 on ATSAMD51J19A PB16. SERCOM5 PAD0 on PB16, mux C.
GPIOSERCOMI2SPWMIOL pin 6. D2 on ATSAMD51J19A PB17. SERCOM5 PAD1 on PB17, mux C.
UARTSERCOMI2SPCCPWMGPIOIOL pin 7. D1 on ATSAMD51J19A PA22. Hardware UART on SERCOM3, mux C.
UARTSERCOMI2SPCCPWMGPIOIOL pin 8. D0 on ATSAMD51J19A PA23. Hardware UART on SERCOM3, mux C.
ControlJP1 pin 1. JP1 reaches the DC input MOSFET gate. The slide switch pulls this net to GND in the ON position. USB power is independent.
SPISERCOMPCCPWMGPIOICSP pin 1. MISO on ATSAMD51J19A PA14. Controller data input on the default Arduino SPI bus (SERCOM2, mux C).
PowerICSP pin 2. 5 V supply rail shared with the other 5 V header contact. Digital signals remain at 3.3 V.
SPISERCOMPCCPWMGPIOICSP pin 3. SCK on ATSAMD51J19A PA13. Serial clock output on the default Arduino SPI bus (SERCOM2, mux C).
SPISERCOMPCCPWMGPIOICSP pin 4. MOSI on ATSAMD51J19A PA12. Controller data output on the default Arduino SPI bus (SERCOM2, mux C).
ControlICSP pin 5. Active-low ATSAMD51 reset, shared by the reset button and the power, SPI and SWD headers.
GNDICSP pin 6. Ground return shared with the other GND contacts.

Specifications

Hardware
Adafruit PID 3382 · Metro M4 Express · Micro-B USB, barrel jack and boxed SWD header
Processor
Microchip ATSAMD51J19A · Arm Cortex-M4F at 120 MHz · 512 KB flash · 192 KB SRAM
I/O voltage
3.3 V logic. The 5 V rail on the power and SPI headers is a supply.
Analog
Eight Arduino inputs A0–A7, two 12-bit ADCs and two independent 12-bit DAC outputs on A0 and A1.
Arduino buses
Serial1 = SERCOM3 on D0/D1 · Wire = SERCOM5 on SDA/SCL · SPI = SERCOM2 on the 2×3 header.
Onboard storage
2 MB QSPI flash with a dedicated six-wire bus, separate from the SPI header.
Power
5 V via Micro-USB or 6–12 V via the 2.1 mm center-positive DC jack. The slide switch controls the jack supply.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
ATSAMD51J19ASAM D5x/E5x family data sheetMicrochipSAM D5x/E5x family data sheet.Datasheet
Metro M4 ExpressBoard guide and bus assignmentsAdafruitBoard guide and bus assignments.Datasheet
Pinout diagramConnector map and peripheral channelsAdafruitConnector map and peripheral channels.Datasheet
Eagle designBoard layout and schematic netsAdafruitBoard layout and schematic nets.Datasheet
Arduino SAMD variantDefault buses, analog aliases and timer selectionAdafruitDefault buses, analog aliases and timer selection.Datasheet
SAMD51J19A device headerPer-pin mux letters, peripheral instances and signalsMicrochip / AtmelPer-pin mux letters, peripheral instances and signals.Datasheet

Board notes

Reading the pinout
Numbers on the digital headers follow the silk. Unmarked connector contacts use their connector and position. Sx.y denotes SERCOM instance x, pad y, as in Adafruit's diagram. Pin details identify mux C or D. Configure the mux and a compatible pad combination before using an alternate bus.
SPI header
With the board viewed from the component side and the USB connector to the left, the three horizontal pairs from top to bottom are 1 MISO / 2 +5V, 3 SCK / 4 MOSI and 5 RESET / 6 GND. The Arduino SS alias is A2. Chip select is a separate GPIO.
Analog references
A4 and A5 each reach both ADCs. SDA and SCL also serve as Arduino A6 and A7. The factory-closed rear jumper SJ1 connects AREF to 3.3 V. Isolate SJ1 before applying an external reference and configure the reference in firmware.
Onboard devices
D13 also drives the red L LED. The NeoPixel uses PB22 (Arduino 40). The QSPI clock and select use PB10 and PB11, with IO0–IO3 on PA08–PA11.
Other connections
The SWD detail maps all ten positions of X2. The service views cover the Micro-B terminals, barrel-jack solder contacts and both rear jumpers. The SPI detail gives the six post tips in connector order.
Revision evidence
The pictured purple Metro M4 Express carries the 2018 two-sided artwork used in Adafruit’s Eagle file. That file has REV=B metadata and names the two silk layers REVF. The photographs carry no separate readable revision letter.