There are so many great features on the Adafruit MatrixPortal M4. Let's take a look at what's available!

Microcontroller and Flash

The main processor chip is the ATSAMD51J19 Cortex M4 running at 120MHz with 3.3v logic/power. It has 512KB of Flash and 192KB of RAM.

We also include 2 MB of QSPI Flash for storing images, sounds, animations, whatever!

WiFi

The WiFi capability uses an Espressif ESP32 Wi-Fi coprocessor with TLS/SSL support built-in.

The ESP32 uses the SPI port for data, and also uses a CS pin (board.ESP_CS or Arduino 33), Ready/Busy pin (board.ESP_BUSY or Arduino 31), and reset pin (board.ESP_RESET or Arduino 30)

HUB75 Connector

There is a 2x8 pin HUB75 connector on the reverse side that plugs directly into the HUB75 port on your RGB Matrix.

 

The socket itself is 2x10 so that it fits snug and lined up in a 2x8 IDC socket. Otherwise its easy to get it 'off by one'

RGB Matrix Power

There are +5V and Ground screw terminals on either side of the HUB75 connector. These provide power to the RGB Matrix.

Sensors

The MatrixPortal M4 includes a LIS3DH Triple-Axis Accelerometer. The accelerometer is connected via the I2C bus.

Please note the address of the accelerometer is 0x19 not 0x18 which is the default in our libraries.

Stemma QT Connector

There is a 4-pin Stemma QT connector on the left. The I2C has pullups to 3.3V power and is connected to the LIS3DH already.

Reset Pin

RST is the Reset pin. Tie to ground to manually reset the ATSAMD51, as well as launch the bootloader manually.

Debugging Interface

If you'd like to do more advanced development, trace-debugging, or not use the bootloader, we have the SWD interface exposed.

Serial UART Pins

The TX pin and RX pin are for serial communication with the SAMD51 microcontroller and can be used to connect various peripherals such as a GPS.

The RX pin is attached to board.RX and Arduino 0 and the TX pin is attached to board.TX and Arduino 1.

Analog Connector/Pins

On the bottom side towards the right, there is a connector labeled A0. This is a 3-pin JST analog connector for sensors or NeoPixels, analog output or input

Along the bottom there are also pins labeled A1 through A4.

All of these pins can be used for analog inputs or digital I/O.

Power Pins

3V is the output from the 3.3V regulator, it can supply 500mA peak.

GND is the common ground for all power and logic.

Status LED and NeoPixel

There are two LEDs on the board.

There is the RGB status NeoPixel labeled "STATUS". It is connected to board.NEOPIXEL or Arduino 4

As well, there is the D13 LED. This is attached to board.L and Arduino 13

USB-C Connector

There is one USB port on the board.

On the left side, towards the bottom, is a USB Type C port, which is used for powering and programming both the board and RGB Matrix.

Buttons

There are three buttons along the left side of the MatrixPortal M4.

The reset button is located in the top position. Click it once to re-start your firmware. Click twice to enter bootloader mode.

The up button is located in the middle and is attached to board.BUTTON_UP and Arduino 2.

The down button is located on the bottom and is attached to board.BUTTON_DOWN and Arduino 3.

The up and down buttons do not have any pull-up resistors connected to them and pressing either of them pulls the input low.

Address E Line Jumper

This jumper is used for use with 64x64 matrices and is either connected to pin 8 or pin 16 of the HUB75 connector. Check your matrix to see which pin is used for address E.

You can close the jumper by using your soldering iron to melt a blob of solder on the bottom solder jumper so the middle pad is 'shorted' to 8. (This is compatible with 64x64 matrices in the Adafruit store. For 64x64 matrices from other sources, you might need to use 16 instead, check the datasheet of your display.)

 

This guide was first published on Sep 28, 2020. It was last updated on Sep 28, 2020.

This page (Pinouts) was last updated on Nov 06, 2020.