Part 1
요약·해설
SAM E54 Xplained Pro는 1 MiB flash, 256 KiB RAM, 32 MiB QSPI, Ethernet과 ATECC508 crypto device를 갖춥니다. Zephyr system clock은 48 MHz로 구성됩니다.

SAME54P20A Cortex-M4F · rated 120 MHz
KSZ8091RNA · 10/100 Ethernet
SERCOM2 · 115200 8N1 · EDBG
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
23F444EB6533D8292DCB5591EEE500D81809844B55C8DB3A37E41EA3094360D9
.. _same54_xpro:
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.
.. image:: ../../../../../../../../boards/atmel/sam0/same54_xpro/doc/img/atsame54_xpro.jpg
:align: center
:alt: SAME54-XPRO
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 configuration supports the following hardware
features:
+---------------+------------+----------------------------+
| Interface | Controller | Driver/Component |
+===============+============+============================+
| ADC | on-chip | adc |
+---------------+------------+----------------------------+
| DAC | on-chip | dac |
+---------------+------------+----------------------------+
| DMAC | on-chip | dma |
+---------------+------------+----------------------------+
| EEPROM | i2c | eeprom, EUI-48 MAC Address |
+---------------+------------+----------------------------+
| EIC | on-chip | interrupt_controller |
+---------------+------------+----------------------------+
| GMAC | on-chip | ethernet, mdio |
+---------------+------------+----------------------------+
| GPIO | on-chip | gpio |
+---------------+------------+----------------------------+
| MPU | on-chip | arch/arm |
+---------------+------------+----------------------------+
| NVIC | on-chip | arch/arm |
+---------------+------------+----------------------------+
| NVMCTRL | on-chip | flash |
+---------------+------------+----------------------------+
| PORT | on-chip | pinctrl |
+---------------+------------+----------------------------+
| RTC | on-chip | timer |
+---------------+------------+----------------------------+
| SERCOM I2C | on-chip | i2c |
+---------------+------------+----------------------------+
| SERCOM SPI | on-chip | spi |
+---------------+------------+----------------------------+
| SERCOM USART | on-chip | serial, console |
+---------------+------------+----------------------------+
| Serial Number | on-chip | hwinfo |
+---------------+------------+----------------------------+
| SYSTICK | on-chip | timer |
+---------------+------------+----------------------------+
| TC | on-chip | counter |
+---------------+------------+----------------------------+
| TCC | on-chip | counter, pwm |
+---------------+------------+----------------------------+
| TRNG | on-chip | entropy |
+---------------+------------+----------------------------+
| USB | on-chip | usb |
+---------------+------------+----------------------------+
| WDT | on-chip | watchdog |
+---------------+------------+----------------------------+
Other hardware features are not currently supported by Zephyr.
The default configuration can be found in the Kconfig
:zephyr_file:`boards/atmel/sam0/same54_xpro/same54_xpro_defconfig`.
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`_ and the `SAM E54
Xplained Pro Schematic`_.
.. image:: ../../../../../../../../boards/atmel/sam0/same54_xpro/doc/img/ATSAME54-XPRO-pinout.jpg
:align: center
:alt: 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 :code:`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
========
#. Build the Zephyr kernel and the ``hello_world`` sample application:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: same54_xpro
:goals: build
:compact:
#. Connect the SAM E54 Xplained Pro to your host computer using the USB debug
port.
#. Run your favorite terminal program to listen for output. Under Linux the
terminal should be :code:`/dev/ttyACM0`. For example:
.. code-block:: console
$ 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
#. To flash an image:
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: same54_xpro
:goals: flash
:compact:
You should see "Hello World! same54_xpro" in your terminal.
References
**********
.. target-notes::
.. _Microchip website:
http://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=ATSAME54-XPRO
.. _SAM D5x/E5x Family Datasheet:
http://ww1.microchip.com/downloads/en/DeviceDoc/60001507C.pdf
.. _SAM E54 Xplained Pro Schematic:
http://ww1.microchip.com/downloads/en/DeviceDoc/SAME54-Xplained-Pro_Design-Documentation.zip
Part 3
한국어 전문 번역
개요
SAM E54 Xplained Pro evaluation kit는 SAM E54 Cortex-M4F microcontroller 평가와 prototyping용이며 EDBG full debug interface를 포함합니다.

하드웨어
- 120 MHz SAME54P20A Arm Cortex-M4F
- 32.768 kHz와 12 MHz crystal
- flash 1024 KiB, RAM 256 KiB, QSPI flash 32 MiB
- yellow user LED, mechanical user button, reset button, QTouch PTC button
- USB EDBG serial console
- ATECC508 CryptoAuthentication device, EUI-48 MAC address가 있는 AT24MAC402 EEPROM
- RJ45 magnetics, KSZ8091RNA PHY, IEEE 802.3 10Base-T/100Base-TX Ethernet
- USB host/device와 SD/SDIO card connector
지원 기능
| Interface | Controller | Driver/Component |
|---|---|---|
| ADC | on-chip | adc |
| DAC | on-chip | dac |
| DMAC | on-chip | dma |
| EEPROM | i2c | eeprom, EUI-48 MAC Address |
| EIC | on-chip | interrupt_controller |
| GMAC | on-chip | ethernet, mdio |
| GPIO | on-chip | gpio |
| MPU | on-chip | arch/arm |
| NVIC | on-chip | arch/arm |
| NVMCTRL | on-chip | flash |
| PORT | on-chip | pinctrl |
| RTC | on-chip | timer |
| SERCOM I2C | on-chip | i2c |
| SERCOM SPI | on-chip | spi |
| SERCOM USART | on-chip | serial, console |
| Serial Number | on-chip | hwinfo |
| SYSTICK | on-chip | timer |
| TC | on-chip | counter |
| TCC | on-chip | counter, pwm |
| TRNG | on-chip | entropy |
| USB | on-chip | usb |
| WDT | on-chip | watchdog |
다른 hardware는 현재 지원하지 않습니다. 기본 구성은 boards/atmel/sam0/same54_xpro/same54_xpro_defconfig입니다.
Pin mapping
GPIO controller 4개가 pin muxing, input/output, pull-up 등을 담당합니다.

| Peripheral | Pin |
|---|---|
| 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
external 32.768 kHz oscillator와 on-chip PLL로 48 MHz system clock을 생성합니다.
Serial port
SERCOM 기반 USART는 8개이며 BSP에서는 SERCOM2 하나를 USART로 구성해 기본 console로 사용합니다. 설정은 115200 8N1이며 EDBG에 연결됩니다.
PWM
TCC PWM unit 5개가 각각 최대 output 6개와 24-bit 또는 16-bit period를 제공합니다. CONFIG_PWM_SAM0_TCC를 활성화하면 LED0은 GPIO 대신 TCC0이 구동합니다.
SPI와 I2C
SERCOM 기반 SPI와 I2C는 각각 8개입니다. SERCOM7 I2C에는 AT24MAC402 EEPROM과 ATECC508A CryptoAuthentication device가 연결됩니다.
프로그래밍과 디버깅
SAM E54 Xplained Pro에는 Atmel Embedded Debugger(EDBG)가 내장되어 있습니다. 추가 hardware 없이 SAME54 debug interface를 제공하며 OpenOCD가 지원합니다.
Flashing
- Zephyr kernel과
hello_worldsample을 build합니다. - USB debug port로 보드를 host에 연결합니다.
- Linux에서는
/dev/ttyACM0terminal을 엽니다. - image를 flash합니다.
west build -b same54_xpro samples/hello_world
minicom -D /dev/ttyACM0 -o
west flashterminal은 115200 baud, 8 data bit, parity none, 1 stop bit로 설정합니다. -o는 modem initialization string을 보내지 않게 합니다. 출력으로 Hello World! same54_xpro가 나타납니다.
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.