User manual for the Adafruit Metro M4 Express development board featuring the ATSAMD51 microcontroller, covering hardware overview, pinouts, Arduino IDE…
The Adafruit Metro M4 Express is a development board based on the Microchip ATSAMD51J19A microcontroller with a 120 MHz Cortex-M4 core, 512 KB flash, and 192 KB RAM. It features 25 GPIO pins, dual 1 MSPS DACs, dual 1 MSPS ADCs, six hardware SERCOM interfaces, 16 PWM outputs, and built-in crypto engines. The board accepts 7-9 V DC or USB power with automatic switching and includes an on/off switch on the DC jack.
This manual provides a complete guide to the board's hardware, bootloader updates, pinout references, Arduino IDE installation and configuration, and extensive CircuitPython tutorials covering digital I/O, analog I/O, PWM, servos, NeoPixels, DotStars, UART, I2C, HID keyboard/mouse emulation, and CPU temperature reading. Schematic and fabrication files are also included for reference.
| Microcontroller | Microchip ATSAMD51J19A |
|---|---|
| CPU Core | Cortex-M4 with hardware DSP and floating point |
| Clock Speed | 120 MHz |
| Flash Memory | 512 KB |
| RAM | 192 KB |
| Logic Voltage | 3.3 V |
| DAC | Dual 1 MSPS (A0, A1) |
| ADC | Dual 1 MSPS, 8 analog pins |
| SERCOM Interfaces | 6 x hardware (I2C, SPI, UART) |
| PWM Outputs | 16 |
| GPIO Pins | 25 (8 analog in, 2 true analog out) |
| Power Input | 7-9 V DC (polarity protected) or USB 5 V |
| DC Jack | 2.1 mm with on/off switch |
| Crypto Engines | AES-256, true RNG, Pubkey controller |
The manual provides a section 'Update the UF2 Bootloader' with steps for entering bootloader mode, using the mass storage bootloader, and running bossac on the command line.
The 'CircuitPython' section includes a quick start guide for setting up CircuitPython, installing the Mu editor, and copying libraries to the board.
Use the built-in microcontroller module: import microcontroller and print microcontroller.cpu.temperature.
The manual includes a section 'The Difference Between Express And Non-Express Boards' explaining that non-Express boards like Gemma, Trinket, and QT Py have less flash and no external SPI flash.