SAM E54 Xplained Pro Evaluation Kit

Overview

The SAM E54 Xplained Pro evaluation kit is ideal for evaluation and prototyping with the SAM E54 Cortex®-M4F processor-based microcontrollers. The kit includes Atmel’s Embedded Debugger (EDBG), which provides a full debug interface without the need for additional hardware.

Hardware

  • SAME54P20A ARM Cortex-M4F processor at 120 MHz

  • 32.768 kHz crystal oscillator

  • 12 MHz crystal oscillator

  • 1024 KiB flash memory and 256 KiB of RAM

  • One yellow user LED

  • One mechanical user push button

  • One reset button

  • On-board USB based EDBG unit with serial console

  • One QTouch® PTC button

  • 32 MiB QSPI Flash

  • ATECC508 CryptoAuthentication™ device

  • AT24MAC402 serial EEPROM with EUI-48™ MAC address

  • Ethernet

    • RJ45 connector with built-in magnetics

    • KSZ8091RNA PHY

    • 10Base-T/100Base-TX IEE 802.3 compliant Ethernet transceiver

  • USB interface, host, and device

  • SD/SDIO card connector

Supported Features

The same54_xpro board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

same54_xpro/same54p20a target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M4F CPU1

arm,cortex-m4f

ADC

on-chip

Atmel SAM0 family ADC1 1

atmel,sam0-adc

ARM architecture

on-chip

For locating the Device ID (serial number) on Atmel SAM0 devices1

atmel,sam0-id

on-chip

Atmel SAM0 multi-protocol (UART, SPI, I2C) SERCOM unit5

atmel,sam0-sercom

CAN

on-chip

Specialization of Bosch m_can CAN FD controller for Atmel SAM02

atmel,sam0-can

Clock control

on-chip

Atmel SAM0 Main Clock Controller (MCLK)1

atmel,sam0-mclk

on-chip

Atmel SAM0 32kHz Oscillator Controller (OSC32KCTRL)1

atmel,sam0-osc32kctrl

on-chip

Atmel SAMD0 Generic Clock Controller (GCLK)1

atmel,sam0-gclk

Counter

on-chip

Atmel SAM0 basic timer counter (TC) operating in 32-bit wide mode4

atmel,sam0-tc32

DMA

on-chip

Atmel SAM0 DMA controller1

atmel,sam0-dmac

Ethernet

on-chip

Atmel SAM0-family GMAC Ethernet1

atmel,sam0-gmac

on-board

Generic MII PHY1

ethernet-phy

Flash controller

on-chip

Atmel SAM0 NVMC (Non-Volatile Memory Controller)1

atmel,sam0-nvmctrl

GPIO & Headers

on-chip

SAM0 GPIO PORT node4

atmel,sam0-gpio

I2C

on-chip

Atmel SAM0 series SERCOM I2C1

atmel,sam0-i2c

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

on-chip

Atmel SAM0 series External Interrupt Controller1

atmel,sam0-eic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

on-board

Group of PWM-controlled LEDs1

pwm-leds

MDIO

on-chip

Atmel SAM Family MDIO Driver node1

atmel,sam-mdio

MMU / MPU

on-chip

ARMv7-M Memory Protection Unit (MPU)1

arm,armv7m-mpu

MTD

on-chip

Flash node1

soc-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

Atmel SAM0 PINMUX4

atmel,sam0-pinmux

on-chip

Atmel SAM0 Pinctrl Container1

atmel,sam0-pinctrl

PWM

on-chip

Atmel SAM0 TCC in PWM mode1

atmel,sam0-tcc-pwm

RNG

on-chip

Atmel SAM RNG1

atmel,sam-trng

RTC

on-chip

Atmel SAM0 RTC1

atmel,sam0-rtc

Serial controller

on-chip

Atmel SAM0 SERCOM UART driver1

atmel,sam0-uart

SPI

on-chip

Atmel SAM0 SERCOM SPI controller1

atmel,sam0-spi

SRAM

on-chip

Generic on-chip SRAM description2

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

USB

on-chip

Atmel SAM0 USB in device mode1

atmel,sam0-usb

Watchdog

on-chip

Atmel SAM0 watchdog1

atmel,sam0-watchdog

Pin Mapping

The SAM E54 Xplained Pro evaluation kit has 4 GPIO controllers. These controllers are responsible for pin muxing, input/output, pull-up, etc.

For more details please refer to SAM D5x/E5x Family Datasheet [1] and the SAM E54 Xplained Pro Schematic [2].

SAME54-XPRO-pinout

Default Zephyr Peripheral Mapping:

  • SERCOM2 USART TX : PB24

  • SERCOM2 USART RX : PB25

  • GPIO/PWM LED0 : PC18

  • GPIO SW0 : PB31

  • GMAC RMII REFCK : PA14

  • GMAC RMII TXEN : PA17

  • GMAC RMII TXD0 : PA18

  • GMAC RMII TXD1 : PA19

  • GMAC RMII CRSDV : PC20

  • GMAC RMII RXD0 : PA13

  • GMAC RMII RXD1 : PA12

  • GMAC RMII RXER : PA15

  • GMAC MDIO MDC : PC11

  • GMAC MDIO MDIO : PC12

  • SERCOM4 SPI SCK : PB26

  • SERCOM4 SPI MOSI : PB27

  • SERCOM4 SPI MISO : PB29

  • SERCOM7 I2C SDA : PD08

  • SERCOM7 I2C SCL : PD09

  • USB DP : PA25

  • USB DM : PA24

System Clock

The SAME54 MCU is configured to use the 32.768 kHz external oscillator with the on-chip PLL generating the 48 MHz system clock.

Serial Port

The SAME54 MCU has 8 SERCOM based USARTs with one configured as USARTs in this BSP. SERCOM2 is the default Zephyr console.

  • SERCOM2 115200 8n1 connected to the onboard Atmel Embedded Debugger (EDBG)

PWM

The SAME54 MCU has 5 TCC based PWM units with up to 6 outputs each and a period of 24 bits or 16 bits. If CONFIG_PWM_SAM0_TCC is enabled then LED0 is driven by TCC0 instead of by GPIO.

SPI Port

The SAME54 MCU has 8 SERCOM based SPIs.

I2C Port

The SAME54 MCU has 8 SERCOM based I2Cs. On the SAM E54 Xplained Pro, SERCOM7 is connected to a AT24MAC402 EEPROM and a ATECC508A Crypto Authentication device.

Programming and Debugging

The SAM E54 Xplained Pro comes with a Atmel Embedded Debugger (EDBG). This provides a debug interface to the SAME54 chip and is supported by OpenOCD.

Flashing

  1. Build the Zephyr kernel and the hello_world sample application:

    west build -b same54_xpro samples/hello_world
    
  2. Connect the SAM E54 Xplained Pro to your host computer using the USB debug port.

  3. Run your favorite terminal program to listen for output. Under Linux the terminal should be /dev/ttyACM0. For example:

    $ minicom -D /dev/ttyACM0 -o
    

    The -o option tells minicom not to send the modem initialization string. Connection should be configured as follows:

    • Speed: 115200

    • Data: 8 bits

    • Parity: None

    • Stop bits: 1

  4. To flash an image:

    west build -b same54_xpro samples/hello_world
    west flash
    

    You should see “Hello World! same54_xpro” in your terminal.

References