Adafruit Metro M4 feat. Microchip ATSAMD51

Arduino-compatible Metro board with ATSAMD51 Cortex-M4 at 120 MHz, 512 KB flash, 192 KB RAM, 2 MB QSPI flash, and 6 hardware SERCOM ports (I2C, SPI, UART), plus stereo I2S and native USB. Runs CircuitPython or Arduino IDE. Logic and power at 3.3 V; not 5 V tolerant on I/O.

Pinout

Logical pinout · physical placement not verified
ADAFRUIT METRO M4 FEATMicro USB#11DC jack#123V#13L5VSDAA6GNDSCLA7VinA0#0RXA1#1TXA2#2A3#3A4#4A5#5SCK#6MOSI#7MISO#8I2S pins#9SWD header#10

3 grouped source records are expanded into separate logical pads where unambiguous; physical placement is not implied.

  • Micro USB

    Micro USB port powers the Metro M4 with 5V at about 500mA and provides the USB data/programming connection; Adafruit notes the USB input has a fuse that trips temporarily above about 1000mA.

    Type · USBVoltage · 5V USB input; draw up to about 500mA combined between Vin, 5V and 3.3V supplies when USB-powered.
  • DC jack

    5.5mm/2.1mm centre-positive DC jack for external board power; Adafruit states this is one of the two primary power inputs.

    Type · PowerVoltage · 6V-12V input recommended on the DC jack; up to about 800mA between 5V and 3.3V supplies, and 2A from Vin, per Adafruit.
  • 3V

    Output from the onboard 3.3V regulator for peripherals and logic reference.

    Type · PowerVoltage · 3.3V output, 500mA peak per Adafruit; board logic is 3.3V.
  • 5V

    Output from the 5V regulator when DC jack powered, or from USB when USB powered.

    Type · PowerVoltage · 5V output, about 500mA peak from USB or about 800mA peak from DC jack per Adafruit.
  • GND

    Common ground for all power and logic connections.

    Type · GroundVoltage · 0V reference.
  • Vin

    Higher of the DC jack or USB voltage; can be used as the raw input/output rail described by Adafruit.

    Type · PowerVoltage · Vin is the DC jack voltage when DC is connected, e.g. 9V, or 5V when only USB is connected.
  • #0RX

    GPIO #0 and Serial1 hardware UART receive input.

    Type · UARTVoltage · 3.3V logic.
  • #1TX

    GPIO #1 and Serial1 hardware UART transmit output; also used as I2S SDI on this board according to Adafruit's I2S mapping.

    Type · UARTVoltage · 3.3V logic.
  • #2-#12

    General-purpose digital GPIO pins; Adafruit notes all pins except SCL can do PWM output, with pins also usable as interrupt inputs.

    Type · GPIOVoltage · 3.3V logic.
  • #13L

    GPIO #13, PWM-capable, connected to the red LED marked L next to the USB jack.

    Type · GPIOVoltage · 3.3V logic.
  • SDAA6

    I2C Wire data pin; also available as analogue input A6. Adafruit notes no pull-up is fitted by default.

    Type · Analog, I2CVoltage · 3.3V logic; external I2C pull-up of about 2.2K-10K may be needed.
  • SCLA7

    I2C Wire clock pin; also available as analogue input A7. Adafruit notes no pull-up is fitted by default.

    Type · Analog, I2CVoltage · 3.3V logic; external I2C pull-up of about 2.2K-10K may be needed.
  • A0

    Analogue input A0 and true analogue output DAC channel; also digital I/O.

    Type · AnalogVoltage · 0V to 3.3V analogue output range per Adafruit.
  • A1

    Analogue input A1 and true analogue output DAC channel; also digital I/O.

    Type · AnalogVoltage · 0V to 3.3V analogue output range per Adafruit.
  • A2-A5

    Analogue input pins that are also usable as digital I/O pins.

    Type · AnalogVoltage · 3.3V logic / analogue input range scoped by board logic.
  • SCKMOSIMISO

    Hardware SPI pins connected to the 2x3 header; Adafruit says they can also be used as everyday GPIO but are best kept free for high-speed hardware SPI.

    Type · SPIVoltage · 3.3V logic.
  • I2S pins

    Fixed I2S peripheral mapping: pin 8 SDO/data out, pin 1 SDI/data in, pin 3 bit clock, pin 9 word select, and pin 2 master clock.

    Type · GPIOVoltage · 3.3V logic.
  • SWD header

    2x5 0.05 inch pitch SWD debug/programming interface exposed on the board.

    Type · UnknownVoltage · 3.3V debug interface implied by ATSAMD51 board logic.

Start wiring

USB · 3.3 V

Confirm the data interface matches your host board.

Module pins: 5V, Vin, GND. Schematik maps them to your board in the app.

Other MCUs

228 other options

Specialists: Teensy for high-clock audio and USB, Adafruit SAMD boards running CircuitPython or the Arduino IDE, proper STM32 eval kits, and the micro:bit classroom ecosystem. Schematik builds target ESP32, Arduino Uno, and Pico; come here when you have a specific reason to.

View all 228

Related groups

4 groups