Skip to content

Microchip SAM E54 Xplained Pro

Support for the Microchip SAM E54 Xplained Pro board.

Overview

The SAME54 Xplained Pro is an evaluation board by Microchip featuring an ATSAME54P20A SoC. The SoC includes a SAME54 ARM Cortex-M4F microcontroller. For programming the MCU comes with 256Kb of RAM and 1024Kb of flash memory.

The same54-xpro is available from various hardware vendors for ~70USD (as of 2019 March).

Hardware

same54-xpro image

MCU

MCUATSAME54P20A
FamilyARM Cortex-M4F
VendorMicrochip
RAM256Kb
Flash1024Kb
Frequencyup to 120MHz
FPUyes
Timers8 (16-bit)
ADCs2x 12-bit (20 channels)
UARTsmax 8 (shared with SPI and I2C)
SPIsmax 8 (see UART)
I2Csmax 8 (see UART)
Vcc1.62V - 3.63V
DatasheetDatasheet
Board ManualBoard Manual

User Interface

1 User button and 1 LED:

DevicePIN
LED0PC18
SW0 (button)PB31

Implementation Status

DeviceIDSupportedComments
MCUsame54yes
Low-level driverGPIOyes
ADCyes
CANyes
DACyes
QSPInosee #15300
SD/MMCyesSDCard only
PWMyes
UARTyes
I2Cyes
SPIyes
USByes
RTTyes
RTCyes
RNGyes
Timeryes
Ethernetyes

Flashing the device

Connect the device to your Micro-USB cable using the port labeled as DEBUG USB.

The standard method for flashing RIOT to the same54-xpro is using edbg. by calling: make BOARD=same54-xpro -C tests/leds flash

Note that on Linux, you will need libudev-dev package to be installed.

Users can also use openOCD to flash and/or debug the board using: PROGRAMMER=openocd make BOARD=same54-xpro -C tests/leds flash

On Linux you will have to add a udev rule for hidraw, like

bash
echo 'KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="plugdev"' \
| sudo tee -a /etc/udev/rules.d/99-usb.rules
sudo service udev restart

Known Issues / Problems