SMART ARM-based

SAME70-XPLD

USER GUIDE

Preface

The Atmel® SAM E70 Xplained evaluation kit is a hardware platform to evaluate the Atmel ATSAME70Q21 . Supported by the Atmel Studio integrated development platform, the kit provides easy access to the features of the ATSAME70Q21 and explains how to integrate the device in a custom design. The Xplained Pro MCU series evaluation kits include an on-board Embedded Debugger, and no external tools are necessary to program or debug the ATSAME70Q21. The Xplained Pro extension series evaluation kits offers additional peripherals to extend the features of the board and ease the development of custom designs.

Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Table of Contents

Preface...... 1

1. Introduction...... 3 1.1. Kit Contents...... 3 1.2. Related Items...... 3 1.3. Kit Overview...... 3

2. Getting Started...... 6 2.1. Xplained Pro Quick Start...... 6 2.2. Design documentation and relevant links...... 6

3. Xplained Pro...... 7 3.1. Embedded Debugger...... 7 3.2. Hardware Identification System...... 7 3.3. Power Sources...... 8 3.4. Xplained Pro Standard Extension Header...... 8 3.5. Xplained Pro Power Header...... 9

4. Hardware User Guide...... 11 4.1. Microcontroller...... 11 4.2. Power Distribution...... 11 4.3. Connectors...... 12 4.4. Peripherals...... 30 4.5. Zero Ohm Resistors...... 38 4.6. Embedded Debugger Implementation...... 41

5. Board Schematics...... 44

6. Board Layout...... 51

7. Evaluation Board/kit Important Notice...... 57

Atmel SAME70-XPLD [USER GUIDE] 2 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 1. Introduction This user guide introduces the Atmel SAME70-XPLD evaluation kit and describes the development and capabilities for applications running on a SAM E70 ARM-based embedded microcontroller.

1.1. Kit Contents • Boards – One SAME70-XPLD board • Cables – One Micro-AB type USB cable

1.2. Related Items • Atmel SAM E70 Series Datasheet

1.3. Kit Overview

1.3.1. Evaluation Kit Architecture Figure 1-1 Evaluation Kit Architecture

SDRAM 16Mb SDRAM

ETHERNET SDCARD Ethernet 10/100 Interface 4-bit SDCARD Reader Interface

EEPROM JTAG I²C - 2k-bit serial EEprom 20-Pin JTAG Connector And Unique 128-bit serial number AT24MAC402

USB DEBUG USB Micro A/B Connector

ATMEL EDBG Atmel Embedded Debugguer

TRACE 20-pin debug connector For Trace (Not Populated)

ARDUINO CONNECTORS 8-Expansion Headers Arduino R3 compatible PIO Signals (Not Populated)

CAMERA MODULE XPRO CONNECTORS Camera Interface Connector 3-Expansions Headers for CAMx-EB Camera Module series Compatible with Atmel XPRO Extensions (Not Populated)

TARGET USB USB Micro A/B Connector

Atmel SAME70-XPLD [USER GUIDE] 3 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 1.3.2. Evaluation Kit Specifications Table 1-1 Evaluation Kit Specifications

Characteristic Specifications Temperature Operating 0°C to +70°C Storage -40°C to +85°C Relative Humidity 0 to 90% (non-condensing) RoHS status Compliant Ordering code ATSAME70-XPLD

1.3.3. Board Features Table 1-2 Board Specifications

Characteristics Specifications PCB characteristics 83.5 × 105 × 16mm (4 layers) Processor ATSAME70Q21 (144-lead LQFP package) ARM Cortex-M7 Processor. Processor clock sources 12 MHz crystal oscillator 32.768 kHz crystal oscillator (not populated)

EEPROM One AT24MAC402 EEPROM SDRAM One IS42S16100E 16 Mb SDRAM SD/MMC One 4-bit SD card connector USB One Micro-AB USB device One Micro-AB USB for EDBG debug interface

Camera interface Camera Extension Header for connection with ISI Modules (not populated) Ethernet One Ethernet PHY (RMII 10/100) Debug port One JTAG interface connector One ETM Trace interface connector (not populated)

Expansion connectors Three Atmel XPRO Extension Headers Arduino R3 compatible set of headers (not populated) GPIO,TWI, SPI, USART, UART and Audio interfaces are accessible via these headers

Board supply voltage 5V from USB target, from USB Debug or from Arduino shield On-board power regulation is performed by a 3.3V LDO

User interface Reset and free user pushbutton One green user LED

1.3.4. Board Overview The Atmel SAME70-XPLD is a hardware platform to evaluate the Atmel ATSAME70Q21.

Atmel SAME70-XPLD [USER GUIDE] 4 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 It offers a set of features that enables the ATSAME70Q21 user to get started with the SAM V71, SAM V70, SAM E70 and SAM S70 peripherals right away and to get an understanding of how to integrate the device in their own design. The SAME70-XPLD board is equipped with the interface connectors described in Table 1-3.

Table 1-3 SAME70-XPLD Board Interface Connectors

Header Interfaces to J302 USB A device. Supports USB device using a Micro-AB connector J400 Camera Interface Connector (not populated) J401-J402 Atmel XPRO expansion connectors J403 Connector for Trace (not populated) (Footprint available on bottom side) J406 JTAG, 20-pin connector J500–J507 Expansion connectors with Arduino R3 compatible PIO signals (not populated) J600 SD/MMC connector (available on bottom side) J700 Ethernet ETH1 J900 Debug USB interface. Supports USB device using a Micro-AB connector. Interface used for target debug

Figure 1-2 SAME70-XPLD Board Overview

Atmel SAME70-XPLD [USER GUIDE] 5 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 2. Getting Started

2.1. Xplained Pro Quick Start Three steps to start exploring the Atmel Xplained Pro platform: 1. Download Atmel Studio. 2. Launch Atmel Studio. 3. Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the DEBUG USB port of the board. When the Atmel SAME70-XPLD is connected to your computer for the first time, the operating system will perform a driver software installation. The driver file supports both 32- and 64-bit versions of Microsoft® Windows® XP, Windows Vista®, Windows 7, and Windows 8. Once the board is powered, Atmel Studio will auto detect which kind of MCU and extension board(s) are connected. Atmel Studio will present links to relevant information like datasheets and kit documentation. The kit landing page in Atmel Studio also has the option to launch Atmel Software Framework (ASF) example applications for the kit. The SAM E70 device is programmed and debugged by the on-board Embedded Debugger and therefore no external or debugger tool is needed.

2.2. Design documentation and relevant links The following list contains links to the most relevant documents and software for SAME70-XPLD:

• Xplained Pro products - Atmel Xplained Pro is a series of small-sized and easy-to-use evaluation kits for Atmel microcontrollers and other Atmel products. It consists of a series of low-cost MCU boards for evaluation and demonstration of features and capabilities of different MCU families. • Atmel Studio - Free Atmel IDE for development of C/C++ and assembler code for Atmel microcontrollers. • Atmel sample store - Atmel sample store where you can order samples of devices. • EDBG User Guide - User guide containing more information about the on-board Embedded Debugger. • IAR Embedded Workbench® for ARM® - This is a commercial C/C++ compiler that is available for ARM®. There is a 30 day evaluation version as well as a code size limited kick-start version available from their website. The code size limit is 16KB for devices with M0, M0+, and M1 cores and 32KB for devices with other cores. • Atmel Data Visualizer - Atmel Data Visualizer is a program used for processing and visualizing data. Data Visualizer can receive data from various sources such as the Embedded Debugger Data Gateway Interface found on Xplained Pro boards and COM ports. • Design Documentation - Package containing schematics, BOM, assembly drawings, 3D plots, layer plots etc. • Hardware Users Guide in PDF format - PDF version of this User Guide.

Atmel SAME70-XPLD [USER GUIDE] 6 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 3. Xplained Pro Xplained Pro is an evaluation platform that provides the full Atmel microcontroller experience. The platform consists of a series of Microcontroller (MCU) boards and extension boards, which are integrated with Atmel Studio, have Atmel Software Framework (ASF) drivers and demo code, support data streaming, and more. Xplained Pro MCU boards support a wide range of Xplained Pro extension boards, which are connected through a set of standardized headers and connectors. Each extension board has an identification (ID) chip to uniquely identify which boards are connected to an Xplained Pro MCU board. This information is used to present relevant user guides, application notes, datasheets, and example code through Atmel Studio.

3.1. Embedded Debugger The SAME70-XPLD contains the Atmel Embedded Debugger (EDBG) for on-board debugging. The EDBG is a composite USB device of three interfaces: a debugger, Virtual COM Port, and a Data Gateway Interface (DGI). Together with Atmel Studio, the EDBG can program and debug the ATSAME70Q21. On the SAME70- XPLD, the SWD interface is connected between the EDBG and the ATSAME70Q21. The Virtual COM Port is connected to a UART on the ATSAME70Q21 and provides an easy way to communicate with the target application through terminal software. It offers variable baud rate, parity, and stop bit settings. Note that the settings on the ATSAME70Q21 must match the settings applied in the terminal software. Note: If not set automatically, data terminal ready (DTR) must be set in the terminal software. The DGI consists of several physical interfaces for communication with the host computer. Communication over the interfaces are bidirectional. It can be used to send events and values from the ATSAME70Q21 or as a generic printf-style data channel. Traffic over the interfaces can be timestamped on the EDBG for more accurate tracing of events. Note that timestamping imposes an overhead that reduces maximal throughput. Atmel Data Visualizer is used to send and receive data through DGI. For further documentation on the EDBG, see the EDBG User Guide.

3.2. Hardware Identification System All Xplained Pro compatible extension boards have an Atmel ATSHA204 CryptoAuthentication™ chip mounted. This chip contains information that identifies the extension with its name and some extra data. When an Xplained Pro extension is connected to an Xplained Pro MCU board the information is read and sent to Atmel Studio. The Atmel Kits extension, installed with Atmel Studio, will give relevant information, code examples, and links to relevant documents. The table below shows the data fields stored in the ID chip with example content.

Table 3-1 Xplained Pro ID Chip Content

Data field Data type Example content Manufacturer ASCII string Atmel'\0' Product Name ASCII string Segment LCD1 Xplained Pro'\0' Product Revision ASCII string 02'\0' Product Serial Number ASCII string 1774020200000010’\0’

Atmel SAME70-XPLD [USER GUIDE] 7 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Data field Data type Example content Minimum Voltage [mV] uint16_t 3000 Maximum Voltage [mV] uint16_t 3600 Maximum Current [mA] uint16_t 30

3.3. Power Sources The SAME70-XPLD kit can be powered by several power sources listed in the table below.

Warning: The 3.3V power domain is locally generated and must never be supplied from external sources or this would damage the on-board regulators.

Table 3-2 SAME70-XPLD Power Sources

Power input Voltage requirements Connector marking Embedded debugger USB 4.4V to 5.25V (USB spec.) DEBUG USB Target USB 4.4V to 5.25V (USB spec.) TARGET USB Arduino connector 5.0V typically J501 (pin 5)

In case of USB power sources, the board automatically detects and switches to the available one. If the two are present (which is no problem whatsoever) the following priority applies: 1. Target USB (J302 connector) 2. Embedded Debugger USB (J900 connector)

Info: USB sources supposedly provide a maximum current of 500mA. Calculate the power budget of your system, there is a possiblity this could be not enough if your SAME70-XPLD also connects to power demanding extension boards.

The optional 5Vcc power source from the Arduino connector J501 is connected in parallel to the USB power switching system, hence the following warning:

Warning: do not power the board form the Arduino shield (J501) when either of the two USB sources are connected. Doing so could damage the board and potentially also damage the USB port of your PC.

3.4. Xplained Pro Standard Extension Header All Xplained Pro kits have one or more dual row, 20-pin, 100mil extension header. Xplained Pro MCU boards have male headers, while Xplained Pro extensions have their female counterparts. Note that all pins are not always connected. All connected pins follow the defined pin-out description in the table below.

Atmel SAME70-XPLD [USER GUIDE] 8 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 The extension headers can be used to connect a variety of Xplained Pro extensions to Xplained Pro MCU boards or to access the pins of the target MCU on Xplained Pro MCU boards directly.

Table 3-3 Xplained Pro Standard Extension Header

Pin number Name Description 1 ID Communication line to the ID chip on an extension board 2 GND Ground 3 ADC(+) Analog to digital converter, alternatively positive part of differential ADC 4 ADC(-) Analog to digital converter, alternatively negative part of differential ADC 5 GPIO1 General purpose I/O 6 GPIO2 General purpose I/O 7 PWM(+) Pulse width modulation, alternatively positive part of differential PWM 8 PWM(-) Pulse width modulation, alternatively negative part of differential PWM 9 IRQ/GPIO Interrupt request line and/or general purpose I/O 10 SPI_SS_B/ Slave select for SPI and/or general purpose I/O GPIO 11 I2C_SDA Data line for I2C interface. Always implemented, bus type. 12 I2C_SCL Clock line for I2C interface. Always implemented, bus type. 13 UART_RX Receiver line of target device UART 14 UART_TX Transmitter line of target device UART 15 SPI_SS_A Slave select for SPI. Should preferably be unique. 16 SPI_MOSI Master out slave in line of serial peripheral interface. Always implemented, bus type. 17 SPI_MISO Master in slave out line of serial peripheral interface. Always implemented, bus type. 18 SPI_SCK Clock for serial peripheral interface. Always implemented, bus type. 19 GND Ground 20 VCC Power for extension board

3.5. Xplained Pro Power Header The power header can only be used as supply for external peripherals or extension boards. Care must be taken not to exceed the total current limitation of the on-board regulator when using the 3.3V pin.

Atmel SAME70-XPLD [USER GUIDE] 9 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Table 3-4 Xplained Pro Power Header

Pin number Pin name Description 1 n/a not connected 2 GND Ground 3 VCC_5V0 Output: unregulated 5V (output, derived from one of the input sources) 4 VCC_3V3 Output: regulated 3.3V (output, used as main power supply for the kit)

Atmel SAME70-XPLD [USER GUIDE] 10 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 4. Hardware User Guide

4.1. Microcontroller The SAME70-XPLD board is built around the ATSAME70Q21 in a 144-lead LQFP package. It is a low- power ARM Cortex-M7 application microcontroller achieving high-performance computing device and embedding a wide range of communication peripherals. It features a combination of user interface functionalities and high data rate IOs, camera interface, 10/100 Ethernet ports, high-speed USB and SD Card. The ARM Cortex-M7 processor supports SDRAM memory through an EBI interface. An internal 150 MHz multi-layer AHB bus architecture associated with 24 XDMA channels, 384 Kbytes of SRAM and 2048 Kbytes of Flash sustains the high bandwidth required by the microcontroller and the high-speed peripherals.

Figure 4-1 SAM E70 Block Diagram

VDDIO VDDOUT A[23:0],NWAIT, D[15:0]NANDOE, NCS0..3,RAS, NANDWE CAS,A21/NANDALE NRD, DQM0..1,A22/NANDCLE NWEA0/NLB, SDCK,A16/SDBA0, NUB SDCKE,QSCK, A17/SDBA1SDA10QMOSI/QIO0 QCSQMISO/QIO1QIO2..3 HSDMHSDP ISI_D[11:0]ISI_PCK,ISI_HSYNC, ISI_MCKGTXCK, ISI_VSYNCGTXER, GRXCK,GCRS, GTXDVGRXER, GCOL, GREFCKGRX0..3, GCRSDVGRXDVGMDC, GTX0..3GTSUCOMP GMDIOCANRX0..1CANTX0..1 TRACECLKTRACED0..3 TDI TDO/TRACESWOTMS/SWDIOTCK/SWCLKJTAGSEL System Controller TST Voltage XIN 3-20 MHz Regulator XOUT Crystal Oscillator PCK0..2 Serial Wire Debug/JTAG Boundary Scan 4/8/12 MHz RC Oscillator PMC Transceiver TPIU In-Circuit Emulator Multi-port Flash UPLL SRAM Unique ID Cortex-M7 Processor TCM ITCM External Bus Interface NVIC ETM Interface TCM SRAM GMAC PLLA Static Memory Controller (SMC) USBHS ISI 2 x f 300 MHz DTCM QSPI MAX 0–256 Kbytes Flash SDRAM Controller (SDRAMC) MII/RMII MCAN 2048 Kbytes NAND Flash Logic ERASE MPU FPU 1024 Kbytes FIFO 512 Kbytes Backup System RAM 16 Kbytes ICach e + EC C16 Kbytes DCache + ECC 16 Kbytes ICache + ECC16 XIP XDMA DMA DMA DMA DMA WKUP0..13 SUPC Backup RAM 128–384 Kbytes 0–256 Kbytes 1 Kbyte AHBP AXIM AHBS XIN32 32 kHz Crystal XOUT32 Oscillator Immediate Clear 32 kHz 256-bit SRAM RC Oscillator (GPBR) AXI Bridge

RTCOUT0 RTTRTC RTCOUT1 MM SSSSM S M MMMS VDDIO POR ROM 12-layer Bus Matrix M 24-channel RSTC XDMA NRST Boot S fMAX 150 MHz M Program

SM WDT S M

VDDPLL VDDCORE RSWDT Peripheral Bridge DMA

PIOA/B/C/D/E ICM/SHA

XDMA XDMA XDMA XDMA XDMA XDMA XDMA XDMA XDMA XDMA XDMA XDMA 2 x 3 x 5 x 3 x 2 x 4 x 2 x 12-bit 12-bit PIO SSC HSMCI ACC AES TRNG TWIHS UART USART SPI TC PWM AFE DAC

Temp Sensor

TD RD TK RK TF RF MCCK DATRG TWD0..2 SCK0..2TXD0..2RXD0..2RTS0..2CTS0..2 MCCDA VREFN VREFP DAC0..1 TWCK0..2 URXD0..4UTXD0..4 PIODC0..7 MCDA0..3 TCLK0..11TIOA0..11TIOB0..11 PIODCCLK SPIx_MISOSPIx_MOSISPIx_SPCK PIODCEN1..2 AFEx_ADTRG SPIx_NPCS0..3 AFEx_AD0..11 DSR0..2,RI0..2, DTR0..2 DCD0..2 PWMCx_PWMH0..3PWMCx_PWML0..3PWMCx_PWMFI0..2

PWMCx_PWMEXTRG0..1

4.2. Power Distribution The SAME70-XPLD has two power sources as described in the figure Power Supply Block Diagram. The kit can be powered from the EDBG USB or from the target USB. The kit automatically selects a source to draw power. Priority is given to TARGET USB power input.

Atmel SAME70-XPLD [USER GUIDE] 11 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 4-2 Power Supply Block Diagram

EDBG USB Coin Cell VCC_5V0

TARGET USB

4.3. Connectors These sections describe the implementation of all connectors and headers on SAME70-XPLD and their connection to the ATSAME70Q21. The tables of connections in these sections also describe which signals are shared between the headers and on-board functionality. The figure below shows all available connectors and jumpers on the SAME70-XPLD.

Figure 4-3 SAME70-XPLD Connector Overview

J700 - Ethernet RJ45

J900 DEBUG USB

J600 - SDCARD Socket (Bottom Side) J302

Target Target USB VDDCORE VCC_MCU_3V3

CAMERA INTERFACE J500 J500 - Digital HighJ503 - Digital LowJ505 - Communication

J200 - ERASE OPTIONOPTIONOPTION

OPTION

J506 - SPI

Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 J401 - Extension Header 1 J101 J101 - Header Power 1 J401 -Header Extension 2 J402 -Header Extension PINOTO OPTION OPTION OPTION

OPTION J504 - Analog High J502 - Analog Low J501 J501 - Power J502 - Low Analog J504 - High Analog

J406 J406 - SAME70 (SWD) Debug J507 - Digital Extra

OPTION

Atmel SAME70-XPLD [USER GUIDE] 12 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 4.3.1. Extension Headers The Xplained Pro headers EXT1 and EXT2 on SAME70-XPLD give access to the I/O of the microcontroller in order to expand the system, e.g. by connecting extensions boards. The headers have a pitch of 2.54mm.

Table 4-1 EXT1 Header

EXT1 Pin SAM E70 Function Shared Functionality Pin 1 [ID ] -- ID_EXT1 Signal connected to Embedded Debugger 2 [GND] -- -- Ground Connection with Extension Board 3 [ADC(+)] PC31 AFE1_AD6 J502 Header & J504 Header (Arduino Shield) 4 [ADC(-)] PA19 AFE0_AD8 J502 Header (Arduino Shield) 5 [GPIO1] PB3 GPIO/RTS0 Camera Connector, EXT2 Header, J504 Header & J507 Header (Arduino Shield) 6 [GPIO2] PB2 GPIO/CTS0 EXT2 Header, J504 Header & J507 Header (Arduino Shield) 7 [PWM(+)] PA0 PWMC0_H0 -- 8 [PWM(-)] PC30 TIOB5 J502 Header (Arduino Shield) 9 [IRQ/GPIO] PD28 WKUP5 Camera Connector, Embedded Debugger, J503 Header & J505 Header (Arduino Shield) 10 [SPI_SS_B/GPIO] PC17 GPIO -- 11 [I2C_SDA] PA3 TWD0 Camera Connector, EXT2 Header, J500 Header (Arduino Shield), AT24MAC402, Embedded Debugger 12 [I2C_SCL] PA4 TWCK0 Camera Connector, EXT2 Header, J500 Header (Arduino Shield), AT24MAC402, Embedded Debugger 13 [UART_RX] PB0 RXD0 EXT2 Header, J505 Header & J507 Header (Arduino Shield) 14 [UART_TX] PB1 TXD0 EXT2 Header, J505 Header & J507 Header (Arduino Shield) 15 [SPI_SS_A] PD25 SPI0_NPCS1 Camera Connector, J500 Header (Arduino Shield) 16 [SPI_MOSI] PD21 SPI0_MOSI EXT2 Header, Camera Connector, J500 Header & J506 Header (Arduino Shield), Embedded Debugger 17 [SPI_MISO] PD20 SPI0_MISO EXT2 Header, J500 Header & J506 Header (Arduino Shield), Embedded Debugger 18 [SPI_SCK} PD22 SPI0_SPCK EXT2 Header, Camera Connector, J500 Header & J506 Header (Arduino Shield), Embedded Debugger

Atmel SAME70-XPLD [USER GUIDE] 13 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 EXT1 Pin SAM E70 Function Shared Functionality Pin 19 [GND] -- -- Ground Connection with Extension Board 20 [VCC] -- -- Power For Extension Board (3.3V only)

Table 4-2 EXT2 Header

EXT2 Pin SAM E70 Function Shared Functionality Pin 1 [ID ] -- ID_EXT2 Signal connected to Embedded Debugger 2 [GND] -- -- Ground Connection with Extension Board 3 [ADC(+)] PD30 AFE0_AD0 Camera Connector, J502 Header & J503 Header (Arduino Shield) 4 [ADC(-)] PC13 AFE1_AD1 J502 Header (Arduino Shield) 5 [GPIO1] PA6 GPIO Camera Connector, J503 Header (Arduino Shield) 6 [GPIO2] PD11 GPIO Camera Connector, J500 Header & J503 Header (Arduino Shield) 7 [PWM(+)] PC19 PWMC0_H2 Camera Connector, J503 Header (Arduino Shield) 8 [PWM(-)] PD26 PWMC0_L2 J502 Header (Arduino Shield) 9 [IRQ/GPIO] PA2 WKUP2 J503 Header (Arduino Shield), Embedded Debugger 10 [SPI_SS_B/ PA24 GPIO Camera Connector, J507 Header GPIO] (Arduino Shield) 11 [I2C_SDA] PA3 TWD0 Camera Connector, EXT1 Header, J500 Header (Arduino Shield), AT24MAC402, Embedded Debugger 12 [I2C_SCL] PA4 TWCK0 Camera Connector, EXT1 Header, J500 Header (Arduino Shield), AT24MAC402, Embedded Debugger 13 [UART_RX] PA21 RXD1 J507 Header (Arduino Shield), Embedded Debugger 14 [UART_TX] PB4 TXD1 J507 Header (Arduino Shield), Embedded Debugger

Atmel SAME70-XPLD [USER GUIDE] 14 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 EXT2 Pin SAM E70 Function Shared Functionality Pin 15 [SPI_SS_A] PB3 USART_SPI_NSS_MASTER_0 EXT1 Header, Camera Connector, J504 Header & J507 Header (Arduino Shield) PD31 USART_SPI_NSS_MASTER_0 Camera Connector PB2 USART_SPI_NSS_SLAVE EXT1 Header, J504 Header & J507 Header (Arduino Shield) PD27 SPI0_NPCS3 Camera Connector, J503 Header & J505 Header (Arduino Shield) 16 [SPI_MOSI] PD21 SPI0_MOSI EXT1 Header, Camera Connector, J500 Header & J506 Header (Arduino Shield), Embedded Debugger PB1 USART_SPI_MOSI EXT1 Header, J505 Header & J507 Header (Arduino Shield) 17 [SPI_MISO] PD20 SPI0_MISO EXT1 Header, J500 Header & J506 Header (Arduino Shield), Embedded Debugger PB0 USART_SPI_MOSI EXT1 Header, J505 Header & J507 Header (Arduino Shield) 18 [SPI_SCK} PD22 SPI0_SPCK EXT1 Header, Camera Connector, J500 Header & J506 Header (Arduino Shield), Embedded Debugger PB13 USART_SPI_SPCK J504 Header & J507 Header (Arduino Shield) 19 [GND] -- -- Ground Connection with Extension Board 20 [VCC] -- -- Power For Extension Board (3.3V only)

4.3.2. Arduino Connectors Five 8-pin, one 10-pin, one 2×3-pin and one 2×18-pin headers footprints (J500 to J507) are implemented on the board to enable the addition of "Arduino shields" extension cards. These accessory boards are various and widely available on the market, often custom developed. Due to the PIO multiplexing of the ATSAME70Q21, various peripheral signals may be connected to each pin. These connectors are mechanically (location and footprint) compatible with the Arduino R3 shields.

Important: As the SAM E70 signals have a voltage level of 3.3V, 5V level shields cannot properly function with SAME70-XPLD.

In addition to its standard IO functionality, the SAM E70 microcontroller can provide alternate functions to external IO lines available on the J500 to J507 headers. These alternate functions are:

Atmel SAME70-XPLD [USER GUIDE] 15 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 • UARTs: UART1, UART2, UART3, UART4 • USARTs: USART0, USART1, USART2 • SPI: SPI0 • I²C: TWI0, TWI2 • Timer capture and compare: TIOA[0, 2,11], TIOB[5, 7, 8,11], TCLK[1, 2, 5, 8,11] • Clock out: PCK0, PCK1, PCK2 • PWMs: PWMC0_PWMEXTRG[0,1], PWMC0_PWMH[0:3], PWMC_PWML[0, 2, 3], PWMC1_PWMEXTRG[0,1], PWMC1_PWMFI[0:2], PWMC1_PWMH[0, 2], PWMC1_PWML[0:3] • DIGITAL AUDIO: TD, TK, TF, RD, RK, RF, GTSUCOMP • CAN: CANRX0, CANTX0, CANRX1, CANTX1 • Analog: ADVREF, AFE0_AD[0, 6, 8], AFE1_AD[1, 3, 5, 6], DAC[0,1] • GPIO: MISC • RESET Refer to the SAM E70 Series datasheet for further details on the PIO multiplexing and alternate function selection.

Caution: Like the Arduino Due, SAME70-XPLD runs at 3.3V and the maximum voltage that the I/O pins can tolerate is 3.3V, connecting higher voltages e.g. 5V to those I/O pin could damage the board.

Important: not all pins of the shield connectors are necessarily connected to an I/O of the ATSAME70Q21. Each shield should be checked for compatibility against the SAME70-XPLD schematics before it is purchased and connected.

4.3.2.1. J500 Header J500 is a 10-pin header with 2.54mm pitch. It is not populated by default and can be used to connect to Arduino Shields. It includes PWM, Timer Counter and I2C interface signals and analog reference.

Atmel SAME70-XPLD [USER GUIDE] 16 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 4-4 J500 Header

J700 - Ethernet RJ45

J900 DEBUG USB

J600 - SDCARD Socket (Bottom Side) J101 J101 - Header Power J302

Target Target USB VDDCORE VCC_MCU_3V3

CAMERA INTERFACE OPTION J500 J500 - Digital High

J200 - ERASE OPTION J501 J501 - Power J401 - Extension Header 1 J401 -Header Extension OPTION J503 J503 - Digital Low

OPTION OPTION J502 J502 - LowAnalog

J506 - SPI

Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 J402 -Header Extension OPTION J505 J505 - Communication OPTION OPTION J504 J504 - HighAnalog

J406 J406 - SAME70 (SWD) Debug J507 - Digital Extra

OPTION Table 4-3 J500 Header IOs

Pin PCB PIO Primary Alternate Function Marking Function 10 SCL PA4 TWCK0 TCLK0 UTXD1 WKUP3 9 SDA PA3 TWD0 PCK2 -- -- 8 AREF ADVREF ------7 GND -- System ------ground 6 D13 PD22 SPI0_SPCK TIOB11 PWMC0_PWMH2 -- 5 D12 PD20 SPI0_MISO GSTUCOMP PWMC0_PWMH0 -- 4 D11 PD21 SPI0_MOSI TIOA11 PWMC0_PWMH1 -- PD11 GTSUCOMP PWMC0_PWMH0 -- -- 3 D10 PD25 SPI0_NPCS1 URXD2 PWMC0PWML1 -- 2 D9 PC9 TIOB7 ------1 D8 PA17 PWMC0_PW AFE0_AD6 PCK1 -- MH3

Info: By default, pin 4 is connected to PD21 PIO through a 0R serial resistor. Alternately, it can be connected to PD11. To do so R210 must be removed and R212 must be mounted.

Atmel SAME70-XPLD [USER GUIDE] 17 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 4.3.2.2. J501 Header J501 is a 8-pin header with 2.54mm pitch. It is not populated by default and can be used to connect to Arduino Shields. It allows power distribution (3.3V and 5V) to any Arduino Shield connected on the SAME70-XPLD board.

Figure 4-5 J501 Header

J700 - Ethernet RJ45

J900 DEBUG USB

J600 - SDCARD Socket (Bottom Side) J101 J101 - Header Power J302

Target Target USB VDDCORE VCC_MCU_3V3

CAMERA INTERFACE OPTION J500 J500 - Digital High

J200 - ERASE OPTION J501 J501 - Power J401 - Extension Header 1 J401 -Header Extension OPTION J503 J503 - Digital Low

OPTION OPTION J502 J502 - LowAnalog

J506 - SPI

Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 J402 -Header Extension OPTION J505 J505 - Communication OPTION OPTION J504 J504 - HighAnalog

J406 J406 - SAME70 (SWD) Debug J507 - Digital Extra

OPTION Table 4-4 J501 Header IOs

Pin PCB Marking Function 1 VBAT Not used on SAME70-XPLD board. Connected to testpoint TP910 2 IOREF ADVREF. Reference voltage for the analog inputs of the SAM E70 microcontroller. Actually connected to 3.3V. 3 RESET System reset 4 3V3 Main 3.3V supply - generated by the on-board regulator. 5 5V0 Main 5.0V supply (ouput or input). In case that pin is used as power supply source, do check the recommendations given in Power Sources on page 8 section. 6 GND System ground 7 GND System ground 8 VIN Not connected by default. Optional 5Vcc supply for any Arduino Shield.

Info: Pin 8 is connected to the SAME70-XPLD board through an 0R serial resistor. It is necessary to mount 0R resistor R623 to enable the functionality.

Atmel SAME70-XPLD [USER GUIDE] 18 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 4.3.2.3. J502 Header J502 is a 8-pin header with 2.54mm pitch. It is not populated by default and can be used to connect to Arduino Shields. It includes ADC inputs and a part of the Digital Audio Interface (TD).

Figure 4-6 J502 Header

J700 - Ethernet RJ45

J900 DEBUG USB

J600 - SDCARD Socket (Bottom Side) J101 J101 - Header Power J302

Target Target USB VDDCORE VCC_MCU_3V3

CAMERA INTERFACE OPTION J500 J500 - Digital High

J200 - ERASE OPTION J501 J501 - Power J401 - Extension Header 1 J401 -Header Extension OPTION J503 J503 - Digital Low

OPTION OPTION J502 J502 - LowAnalog

J506 - SPI

Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 J402 -Header Extension OPTION J505 J505 - Communication OPTION OPTION J504 J504 - HighAnalog

J406 J406 - SAME70 (SWD) Debug J507 - Digital Extra

OPTION Table 4-5 J502 Header IOs

Pin PCB PIO Primary Alternate Function Marking Function 1 AD0 PD26 TD UTXD2 UTXD1 PWMC0_PWML2 2 AD1 PC31 AFE1_AD6 TCLK5 -- -- 3 AD2 PD30 AFE0_AD0 UTXD3 -- -- 4 AD3 PA19 AFE0_AD8 PWMC0_PWML0 WKUP9 -- 5 AD4 PC13 AFE1_AD1 PWMC0_PWMH3 -- -- 6 AD5 PC30 AFE1_AD5 TIOB5 SPI1_NPCS3 -- 7 AD6 PA17 AFE0_AD6 PWMC0_PWMH3 PCK1 -- 8 AD7 PC12 AFE1_AD3 TIOB8 CANRX1 --

Info: Pins 6, 7, 8 are connected to SAM E70 PIOs through 0R serial resistors. It is necessary to mount them to enable the PIO functionality, respectively R214, R216, R236.

Atmel SAME70-XPLD [USER GUIDE] 19 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 4.3.2.4. J503 Header J503 is a 8-pin header with 2.54mm pitch. It is not populated by default and can be used to connect to Arduino Shields. It includes PWM, Timer Counter, SPI Chip Select and UART3.

Figure 4-7 J503 Header

J700 - Ethernet RJ45

J900 DEBUG USB

J600 - SDCARD Socket (Bottom Side) J101 J101 - Header Power J302

Target Target USB VDDCORE VCC_MCU_3V3

CAMERA INTERFACE OPTION J500 J500 - Digital High

J200 - ERASE OPTION J501 J501 - Power J401 - Extension Header 1 J401 -Header Extension OPTION J503 J503 - Digital Low

OPTION OPTION J502 J502 - LowAnalog

J506 - SPI

Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 J402 -Header Extension OPTION J505 J505 - Communication OPTION OPTION J504 J504 - HighAnalog

J406 J406 - SAME70 (SWD) Debug J507 - Digital Extra

OPTION Table 4-6 J503 Header IOs

Pin PCB PIO Primary Function Alternate Function Marking 8 D7 PA2 PWMC0_PWMH1 WKUP2 -- 7 D6 PC19 PWMC0_PWMH2 -- -- 6 D5 PD11 PWMC0_PWMH0 -- -- 5 D4 PD27 SPI0_NPCS3 PWMC0_PWML3 TWD2 4 D3 PA6 PCK0 UTXD1 -- PD10 PWMC0_PWML0 TD -- 3 D2 PA5 PWMC1_PWML3 URXD1 WKUP4 2 D1 PD30 UTXD3 AFE0_AD0 -- (TXD) 4 D0 PD28 URXD3 TWCK2 CANRX1 (RXD)

Atmel SAME70-XPLD [USER GUIDE] 20 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Info: By default, pin 4 is connected to SAM E70 PA6 PIO through a 0R serial resistor. Alternately, it can be connected to PD10. To do so, R217 must be removed and R218 must be mounted.

4.3.2.5. J504 Header J504 is a 8-pin header with 2.54mm pitch. It is not populated by default and can be used to connect to Arduino Shields. It includes ADC inputs, DAC outputs, CAN interface and Digital Audio Receive interface (RF, RD, RK).

Figure 4-8 J504 Header

J700 - Ethernet RJ45

J900 DEBUG USB

J600 - SDCARD Socket (Bottom Side) J101 J101 - Header Power J302

Target Target USB VDDCORE VCC_MCU_3V3

CAMERA INTERFACE OPTION J500 J500 - Digital High

J200 - ERASE OPTION J501 J501 - Power J401 - Extension Header 1 J401 -Header Extension OPTION J503 J503 - Digital Low

OPTION OPTION J502 J502 - LowAnalog

J506 - SPI

Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 J402 -Header Extension OPTION J505 J505 - Communication OPTION OPTION J504 J504 - HighAnalog

J406 J406 - SAME70 (SWD) Debug J507 - Digital Extra

OPTION Table 4-7 J504 Header IO

Pin PCB PIO Primary Alternate Function Marking Function 1 AD8 PD24 RF TCLK11 PWMC0_PWML0 -- -- 2 AD9 PA10 RD PWMC0_PWMEXTRG ------0 3 AD10 PA22 RK PWMC0_PWMEXTRG ------1 4 AD11 PC31 AFE1_AD6 TCLK5 ------5 DAC0 PB13 DAC0 PWMC0_PWML2 PCK0 -- -- 6 DAC1 PD0 DAC1 PWMC1_PWML0 SPI1_NPCS1 -- -- 7 CANRX PB3 CANRX0 RTS0 PCK2 AFE0_AD2 WKUP12 8 CANTX PB2 CANTX0 AFE0_AD5 SPI0_NPCS0 CTS0 --

Atmel SAME70-XPLD [USER GUIDE] 21 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 4.3.2.6. J505 Header J505 is a 8-pin header with 2.54mm pitch. It is not populated by default and can be used to connect to Arduino Shields. It includes UART0, UART2, UART4 and TWI interfaces.

Figure 4-9 J505 Header

J700 - Ethernet RJ45

J900 DEBUG USB

J600 - SDCARD Socket (Bottom Side) J101 J101 - Header Power J302

Target Target USB VDDCORE VCC_MCU_3V3

CAMERA INTERFACE OPTION J500 J500 - Digital High

J200 - ERASE OPTION J501 J501 - Power J401 - Extension Header 1 J401 -Header Extension OPTION J503 J503 - Digital Low

OPTION OPTION J502 J502 - LowAnalog

J506 - SPI

Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 J402 -Header Extension OPTION J505 J505 - Communication OPTION OPTION J504 J504 - HighAnalog

J406 J406 - SAME70 (SWD) Debug J507 - Digital Extra

OPTION Table 4-8 J505 Header IOs

Pin PCB PIO Primary Alternate Function Marking Function 8 D14 PB1 TXD0 TK GTSUCOMP PWMC0_PWMH1 AFE1_AD0 7 D15 PB0 RXD0 TF PWMC0_PWMH0 AFE0_AD10 -- 6 D16 PD16 TXD2 ------5 D17 PD15 RXD2 ------4 D18 PD19 UTXD4 CTS2 ------3 D19 PD18 URXD4 RTS2 ------2 D20 PD27 TWD2 SPI0_NPCS3 PWMC0_PWML3 -- -- 1 D21 PD28 TWCK2 CANRX1 URXD3 WKUP5 --

4.3.2.7. J506 Header J506 is a 2x3-pin header with 2.54mm pitch. It is not populated by default and can be used to connect to Arduino Shields. It includes the SPI interface.

Atmel SAME70-XPLD [USER GUIDE] 22 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 4-10 J506 Header

J700 - Ethernet RJ45

J900 DEBUG USB

J600 - SDCARD Socket (Bottom Side) J101 J101 - Header Power J302

Target Target USB VDDCORE VCC_MCU_3V3

CAMERA INTERFACE OPTION J500 J500 - Digital High

J200 - ERASE OPTION J501 J501 - Power J401 - Extension Header 1 J401 -Header Extension OPTION J503 J503 - Digital Low

OPTION OPTION J502 J502 - LowAnalog

J506 - SPI

Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 J402 -Header Extension OPTION J505 J505 - Communication OPTION OPTION J504 J504 - HighAnalog

J406 J406 - SAME70 (SWD) Debug J507 - Digital Extra

OPTION Table 4-9 J506 Header IOs

Pin PCB Marking PIO Primary Function 1 MISO PD20 SPI0_MISO 2 5V0 -- Power supply 3 SPCK PD22 SPI0_SPCK 4 MOSI PD21 SPI0_MOSI 5 RST NRST System reset 6 GND -- System ground

4.3.2.8. J507 Header J507 is a 2x18-pin header with 2.54mm pitch. It is not populated by default and can be used to connect to Arduino Shields. It includes PWM, Timer Counters, Audio Transmit interface, CAN interface, USART1 and USART2 interfaces and four UART interfaces.

Atmel SAME70-XPLD [USER GUIDE] 23 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 4-11 J507 Header

J700 - Ethernet RJ45

J900 DEBUG USB

J600 - SDCARD Socket (Bottom Side) J101 J101 - Header Power J302

Target Target USB VDDCORE VCC_MCU_3V3

CAMERA INTERFACE OPTION J500 J500 - Digital High

J200 - ERASE OPTION J501 J501 - Power J401 - Extension Header 1 J401 -Header Extension OPTION J503 J503 - Digital Low

OPTION OPTION J502 J502 - LowAnalog

J506 - SPI

Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 J402 -Header Extension OPTION J505 J505 - Communication OPTION OPTION J504 J504 - HighAnalog

J406 J406 - SAME70 (SWD) Debug J507 - Digital Extra

OPTION Table 4-10 J507 Header IOs

Pin PCB PIO Primary Function Alternate Function Marking 1 5V0 -- Power supply ------2 5V0 -- Power supply ------3 D22 PA18 PCK2 PWMC1_PWMEXTR -- -- G1 4 D23 PB1 TK PWMC0_PWMH1 AFE1_AD0 GTSUCOMP 5 D24 PB0 TF PWMC0_PWMH0 AFE0_AD10 RXD0 6 D25 PD17 SCK2 ------7 D26 PD19 CTS2 UTXD4 -- -- 8 D27 PD18 RTS2 URXD4 -- -- 9 D28 PA5 PWMC1_PWML3 URXD1 WKUP4 -- 10 D29 Not Connected 11 D30 PA29 TCLK2 ------12 D31 PA1 WKUP1 PWMC0_PWML0 TIOB0 -- 13 D32 Not Connected 14 D33 PA26 PWMC1_PWMFI1 TIOA2 -- -- 15 D34 Not Connected

Atmel SAME70-XPLD [USER GUIDE] 24 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Pin PCB PIO Primary Function Alternate Function Marking 16 D35 PA12 PWMC1_PWMH0 PWMC0_PWMH1 -- -- 17 D36 PA13 PWMC1_PWML1 PWMC0_PWMH2 -- -- 18 D37 Not Connected 19 D38 PB13 SCK0 PWMC0_PWML2 DAC0 PCK0 20 D39 PB2 CTS0 SPI0_NPCS0 CANTX0 AFE0_AD5 21 D40 PB3 RTS0 PCK2 CANRX0 AFE0_AD2 22 D41 PA31 PWMC1_PWMH2 PCK2 SPI0_NPCS1 -- 23 D42 Not Connected 24 D43 PA23 PWMC0_PWMH0 PWMC1_PWML2 SCK1 -- 25 D44 PA25 CTS1 PWMC0_PWMH2 -- -- 26 D45 PA24 RTS1 PWMC0_PWMH1 -- -- 27 D46 PA21 RXD1 PWMC1_PWMFI0 AFE0_AD1 PCK1 28 D47 PB4 TXD1 PWMC0_PWMH2 TWD1 -- 29 D48 PA30 PWMC1_PWMEXTR PWMC0_PWML2 WKUP11 -- G0 30 D49 PA28 PWMC1_PWMFI2 TCLK1 -- -- 31 D50 PA18 PWMC1_PWMEXTR PCK2 -- -- G1 32 D51 Not Connected 33 D52 PC12 CANRX1 AFE1_AD3 TIOB8 -- 34 D53 PC14 CANTX1 TCLK8 -- -- 35 GND -- System ground ------36 GND -- System ground ------

4.3.3. Camera Connector A 2×15-pin, 100mil pin-header camera connector is implemented to give access to the SAM E70 parallel Image Sensor Interface (ISI).

Atmel SAME70-XPLD [USER GUIDE] 25 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 4-12 Camera Connector

J700 - Ethernet RJ45

J900 DEBUG USB

J600 - SDCARD Socket (Bottom Side) J101 J101 - Header Power J302

Target Target USB VDDCORE VCC_MCU_3V3

CAMERA INTERFACE OPTION J500 J500 - Digital High

J200 - ERASE OPTION J501 J501 - Power J401 - Extension Header 1 J401 -Header Extension OPTION J503 J503 - Digital Low

OPTION OPTION J502 J502 - LowAnalog

J506 - SPI

Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 J402 -Header Extension OPTION J505 J505 - Communication OPTION OPTION J504 J504 - HighAnalog

J406 J406 - SAME70 (SWD) Debug J507 - Digital Extra

OPTION Table 4-11 J400 - Camera Connector

Pin Number SAM E70 Pin Function Shared Functionality 1 - 3 -- VCC_3V3 -- 2 - 4 -- GND -- 5 PA13 ISI_RST J507 Header (Arduino Shield) 6 PC19 ISI_PWD EXT2 Header, J503 Header (Arduino Shield) 7 PA4 TWCK0 EXT1 Header, EXT2 Header, AT24MAC402, J500 Header (Arduino Shield), Embedded Debugger 8 PA3 TWD0 EXT1 Header, EXT2 Header, J503 Header, J500 Header (Arduino Shield), Embedded Debugger 9 -- GND -- 10 PA6 PCK0 EXT2 Header, J503 Header (Arduino Shield) 11 -- GND -- 12 PD25 ISI_VSYNC EXT1 Header, J500 Header (Arduino Shield) 13 -- GND -- 14 PD24 ISI_HSYNC J504 Header (Arduino Shield) 15 -- GND -- 16 PA24 ISI_PCK EXT2 Header, J507 Header (Arduino Shield) 17 -- GND --

Atmel SAME70-XPLD [USER GUIDE] 26 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Pin Number SAM E70 Pin Function Shared Functionality 18 PD22 ISI_D0 EXT1 Header, EXT2 Header, J500 Header & J506 Header (Arduino Shield), Embedded Debugger 19 PD21 ISI_D1 EXT1 Header, EXT2 Header, J500 Header & J506 Header (Arduino Shield), Embedded Debugger 20 PB3 ISI_D2 EXT1 Header, EXT2 Header, J504 Header & J507 Header (Arduino Shield) 21 PA9 ISI_D3 Embedded Debugger 22 PA5 ISI_D4 J503 Header & J507 Header (Arduino Shield) 23 PD11 ISI_D5 EXT2 Header, J500 Header & J503 Header (Arduino Shield) 24 PD12 ISI_D6 Embedded Debugger 25 PA27 ISI_D7 SD Card 26 PD27 ISI_D8 EXT2 Header, J503 Header & J505 Header (Arduino Shield) 27 PD28 ISI_D9 EXT1 Header, J503 Header & J505 Header (Arduino Shield), Embedded Debugger 28 PD30 ISI_D10 EXT2 Header, J502 Header & J503 Header (Arduino Shield) 29 PD31 ISI_D11 EXT2 Header 30 -- GND --

4.3.4. USB The SAME70-XPLD board features a Micro-USB connector that implements the SAM E70 USB high speed interface. This connector is labeled as TARGET USB on the board.

Figure 4-13 USB Interface Schematic

VCC_USB

ATMEL 1 5V D- D+ ID G 137 HSDP 136 2 MICRO USB AB 5 SAME70 HSDM J302 3 140 VBG 4

5 C219 5.62K 10pF R233 4

3

2

D302 PRTR5V0U2X DNP 1

Table 4-12 USB Interface Signal Descriptions

J302 Pin Mnemonic Pin on SAM E70 SAM E70 Signal Name Signal Description 1 VBUS -- -- 5V power 2 DM 136 HSDM Data minus 3 DP 137 HSDP Data plus

Atmel SAME70-XPLD [USER GUIDE] 27 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 J302 Pin Mnemonic Pin on SAM E70 SAM E70 Signal Name Signal Description 4 ID -- -- On-the-go identification 5 Ground GND GND System Ground

4.3.5. Current Measurement Header (VCC_MCU_P3V3 ) A 100mil pin-header marked "J203" is located at the upper edge of the SAME70-XPLD. All the power going to the ATSAME70Q21 is routed through this header. To measure the power consumption of the device, remove the jumper and replace it with an ammeter.

Figure 4-14 VCC_MCU_P3V3 Connector Placement J203

J203

Caution: Removing the jumper from the pin-header while the board is connected to otherwise powered extension boards or systems may cause the ATSAME70Q21 to be powered through its I/O pins. This could cause permanent damage to the device.

4.3.6. VDDCORE Current Measurement A 100mil pin-header marked "J201" is located at the upper edge of the SAME70-XPLD board. It is not mounted by default and is replaced by a shunt trace between the two pads of the connector. All power to VDDCORE of the ATSAME70Q21 is routed through this header. To measure the power consumption of VDDCORE, cut the shunt trace between the two points, mount a header or solder wires and connect an ammeter.

Figure 4-15 VDDCORE Connector Placement J201

J201

Atmel SAME70-XPLD [USER GUIDE] 28 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Caution: Leaving J201 open while the main power source is present is to be avoided. This would feed all power pins of the ATSAME70Q21 except VDDCORE, which may cause permanent damage to the device.

4.3.7. Chip Erase Header The chip erase header J200 is connected to the SAM E70 erase pin (PB12) and the main 3.3V. To erase the contents of the SAM E70 , set a jumper on J200 and turn the power supply on. The jumper can be removed soon after the power is on (flash erasing takes only 200ms). Using the chip erase jumper is the only way to erase a chip with the security bit set.

Figure 4-16 ERASE Chip Connector Placement J200

J200 3V3

PB12

4.3.8. Trace Connector ATSAME70Q21 supports 4-bit parallel trace. SAME70-XPLD implements a CoreSight 20 20-pin, 50-mil connector footprint on PCB bottom side (not mounted by default).

Figure 4-17 Trace connector location on PCB

CORESIGHT20

J403

SWD+ETM

To use the trace functionality, an external debugger with trace support and CoreSight 20 pinout has to be used. The table CoreSight 20-Pin Trace Connector shows the connections on the board.

Figure 4-18 CoreSight 20-Pin Trace Connector Schematic

TRACE VCC_3V3 J403 VTREF 1 2 SWDIO PB6 3 4 SWCLK 5 6 TRACESWO PB7 8 PB5 9 10 11 12 TRACECLK TARGET_RESET 13 14 TRACED0 PD8 PD4 15 16 TRACED1 PD5 17 18 TRACED2 PD6 19 20 TRACED3 PD7

CONN_HDR_10X2_19

DNP

Atmel SAME70-XPLD [USER GUIDE] 29 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Table 4-13 CoreSight 20-Pin Trace Connector

Pin Number SAM E70 Pin Function Shared With 1-[VTREF] - VCC_3V3 -- 2-[SWDIO] PB6 SWDIO Embedded Debugger 3-5-9-15-17-19[GND] - System Ground -- 4-[SWCLK] PB7 SWCLK Embedded Debugger 6-[TRACESWO] PB5 TRACESWO Embedded Debugger 7-[KEY] - - -- 8-11-13[NC] - - -- 10-[nSRST] NRST NRST Arduino Connectors and Embedded Debugger 12-[TRACECLK] PD8 TRACECLK Ethernet 14-[TRACED0] PD4 TRACED0 Ethernet 16-[TRACED1] PD5 TRACED1 Ethernet 18-[TRACED2] PD6 TRACED2 Ethernet 20-[TRACED3] PD7 TRACED3 Ethernet

4.4. Peripherals

4.4.1. Clock Circuitry The SAME70-XPLD board features three clock sources: • Two crystals for the ATSAME70Q21 processor • One crystal oscillator for the Ethernet MII/RMII chip The crystals of the ATSAME70Q21 have cut-straps next to them that can be used to measure the oscillator safety factor. This is done by cutting the strap and adding a resistor across the strap. Information about oscillator allowance and safety factor can be found in the application note AVR4100; information about clock calibration and compensation can be found in the application note AT03155.

Table 4-14 Main Components Associated with the Clock Systems

Quantity Description Component Assignment 1 Crystal for internal clock, 12 MHz XC301 1 Crystal for RTC clock, 32.768 kHz (Not Populated) XC300 1 Oscillator for Ethernet clock RMII, 25 MHz XC700

Table 4-15 External Crystals Connected on SAM E70

SAM E70 pin Function 32.768 kHz External Crystal Connection (Not Populated by default) PA7 XIN32: Slow Clock Oscillator Input

Atmel SAME70-XPLD [USER GUIDE] 30 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 SAM E70 pin Function PA8 XOUT32: Slow Clock Oscillator Output 12 MHz External Crystal Connection PB9 XIN: Main Oscillator Input PB8 XOUT: Main Oscillator Output

Figure 4-19 SAM E70 Crystals Schematic

J301

C301 18pF XIN32 PA7 35 1 2 XOUT DNP DNP PA8 36 PA7 PA8 SAME70 32.768 kHz 3 XC300 C302 2 XOUT32 2 1 12pF XC301 12MHz 4 J300 C300 141 1 PB8 142 XIN 18pF PB9 DNP C303 12pF

4.4.2. Mechanical Buttons Two pushbutton switches are available. When a button is pressed, it drives the corresponding I/O line to GND. • One board reset button (SW100). When pressed and released, this pushbutton causes a power-on reset of the whole board. • One wakeup pushbutton that brings the processor out of Low-power mode (SW300)

Figure 4-20 Mechanical Button Schematic

VCC_3V3

R106 100K R107 EDBG_TARGET_RESET TARGET_RESET 330R R110 SAME70 39R USER BUTTON SW300 R300 TP100 C104 4 1 3 WKUP6 PA11 64 3 10nF 2 4 PA11 SW100 39R R122 0R 2 TP300 1

TARGET_RESET_SENSE

Important: There is no pull-up resistor connected to SW300 button. Remember to enable the internal pull-up in the SAM E70 to use the button.

4.4.3. LEDs There is one green LED mounted on the SAME70-XPLD. It can be activated by driving the connected I/O line to a low level.

Figure 4-21 LED Indicators Schematic

USER LED

VCC_3V3

R303 330R

D301 Green

PC8 LED0

Atmel SAME70-XPLD [USER GUIDE] 31 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Table 4-16 LED Connection

SAM E70 Pin Function Shared With PC8 Green LED --

4.4.4. SDRAM The SAME70-XPLD features one IS42S16100F-5BL, 512K×16×2, 10ns, SDRAM chip. The SDRAM is connected to chip select NCS1. SDRAM access can be configured in the SDRAM Controller in the SAM E70. Table 4-17 SDRAM Connections on page 32 lists all I/O lines connected to the SDRAM.

Figure 4-22 SDRAM Schematic

U901 A2 R111 22R N6 A6 D0 R125 22R PC0 PC20 A3 R112 22R P7 A0 DQ0 B7 D1 R126 22R PC1 PC21 A4 R113 22R P6 A1 DQ1 C7 D2 R127 22R PC2 PC22 A5 R114 22R R6 A2 DQ2 D7 D3 R128 22R PC3 PC23 A6 R115 22R R2 A3 DQ3 D6 D4 R129 22R PC4 PC24 A7 R116 22R P2 A4 DQ4 E7 D5 R130 22R PC5 PC25 A8 R117 22R P1 A5 DQ5 F7 D6 R131 22R PC6 PC26 A9 R118 22R N2 A6 DQ6 G7 D7 R132 22R PC7 PC27 A10 R119 22R N1 A7 DQ7 G1 D8 R133 22R PE0 PC28 A11 R120 22R M2 A8 DQ8 F1 D9 R134 22R PE1 PC29 SDA10 R121 22R N7 A9 DQ9 E1 D10 R135 22R PE2 PD13 A10 DQ10 D2 D11 R136 22R PE3 BA0 R123 22R M1 DQ11 D1 D12 R137 22R PE4 PA20 A11 DQ12 C1 D13 R138 22R PE5 SDCK R124 22R K2 DQ13 B1 D14 R139 22R PA15 VCC_3V3 PD23 SDCKE L1 CLK DQ14 A2 D15 R140 22R PA16 R617 100K PD14 CKE DQ15 SDCS L7 VCC_3V3 PC15 RAS K6 CS PD16 CAS K7 RAS B6 PD17 SDWE J7 CAS VDDQ1 C2 PD29 WE VDDQ2 E6 C919 C920 C921 C922 A0/NBS0 J6 VDDQ3 F2 100nF 100nF 100nF 100nF PC18 NWR1/NBS1 J2 LDQM VDDQ4 PD15 UDQM A7 B2 VCC_3V3 R7 VDD1 VSSQ1 C6 H6 VDD2 VSSQ2 E2 VDD3 VSSQ3 F6 C908 C916 C917 C918 A1 VSSQ4 2.2uF R1 VSS1 100nF 100nF 100nF VSS2 J1 G2 NC6 K1 G6 NC1 NC7 L2 H1 NC2 NC8 L6 H2 NC3 NC9 M6 H7 NC4 NC10 M7 NC5 NC11

IS42S16100F-5BL Table 4-17 SDRAM Connections

SAM E70 Pin Function SDRAM Function Shared With PC0 D0 Data line 0 – PC1 D1 Data line 1 – PC2 D2 Data line 2 – PC3 D3 Data line 3 – PC4 D4 Data line 4 – PC5 D5 Data line 5 – PC6 D6 Data line 6 – PC7 D7 Data line 7 – PE0 D8 Data line 8 – PE1 D9 Data line 9 – PE2 D10 Data line 10 – PE3 D11 Data line 11 – PE4 D12 Data line 12 – PE5 D13 Data line 13 –

Atmel SAME70-XPLD [USER GUIDE] 32 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 SAM E70 Pin Function SDRAM Function Shared With PA15 D14 Data line 14 – PA16 D15 Data line 15 – PC20 A2 Address line 0 – PC21 A3 Address line 1 – PC22 A4 Address line 2 – PC23 A5 Address line 3 – PC24 A6 Address line 4 – PC25 A7 Address line 5 – PC26 A8 Address line 6 – PC27 A9 Address line 7 – PC28 A10 Address line 8 – PC29 A11 Address line 9 – PD13 SDA10 Address line 10 – PA20 BA0 Bank select line 0 – PD23 SDCK Clock – PD14 SDCKE Clock Enable – PC15 SDCS Chip Select – PD16 RAS RAS Shield J505 Header (Arduino Shield) PD17 CAS CAS J507 Header (Arduino Shield) PD29 SDWE Write Enable – PC18 A0/NBS0 LDQM – PD15 NWR1/NBS1 UDQM J505 Header (Arduino Shield)

4.4.5. SD Card The SAME70-XPLD has one standard SD card slot, connected to the High-speed Multimedia Card Interface (HSMCI) of the SAM E70. Table 4-18 SD/MMC Socket J600 Signal Descriptions on page 34 lists all I/O lines connected to the SD card connector.

Figure 4-23 SD/MMC Socket J600 Schematic

VCC_3V3

R606 R607 R608 R609 R610 R611 R612 10K 100K 100K 100K 100K 10K 10K VCC_3V3 J600 SD_D0 7 4 PA30 SD_D1 8 DAT0 VDD 3 C613 C612 PA31 SD_D2 9 DAT1 VSS1 6 100nF 10uF PA26 SD_D3 1 DAT2 VSS2 12 PA27 J901 SD_CLK 5 DAT3 SHELL 13 PA25 SD_CMD 2 CLK SHELL 14 PA28 SD_DETECT 10 CMD SHELL 15 PC16 SD_WP 11 C/D SHELL W/P

SD Card SOCKET

TP600

Atmel SAME70-XPLD [USER GUIDE] 33 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Table 4-18 SD/MMC Socket J600 Signal Descriptions

Pin Mnemonic SAM E70 Pin Signal Description Shared WIth 1 DAT3 PA27 Data bit (MCDA3) Camera Connector 2 CMD PA28 Command line (MCCDA) J507 Header (Arduino Shield) 3 VSS -- Common ground -- 4 VCC -- Supply voltage 3.3V -- 5 CLK PA25 Clock / command line (MCCK) J507 Header (Arduino Shield) 6 VSS -- Common ground -- 7 DAT0 PA30 Data bit (MCDA0) J507 Header (Arduino Shield) 8 DAT1 PA31 Data bit (MCDA1) J507 Header (Arduino Shield) 9 DAT2 PA26 Data bit (MCDA2) J507 Header (Arduino Shield) 10 C/D PC16 Card Detect -- 11 WP -- Protect -- 12 SHELL -- Connected to Ground -- 13 SHELL -- Connected to Ground -- 14 SHELL -- Connected to Ground -- 15 SHELL -- Connected to Ground --

4.4.6. Ethernet The ATSAME70Q21 has a built-in 10/100 Mbps Ethernet IEEE 802.3 compatible MAC with RMII interface. The SAME70-XPLD connects the MAC to a Micrel KSZ8081RNACA RMII physical-layer transceiver (PHY), which is connected to one RJ45 Ethernet connector. A unique EUI-48™ address is available on every SAME70-XPLD through the on-board AT24MAC402, the EUI-48 address can be used as a MAC address for the KSZ8081RNACA. The address is also programmed into the on-board EDBG. Table 4-19 KSZ8081RNACA Connections on page 35 lists all pins connected from the SAM E70 to the Ethernet PHY.

Info: Several of the Ethernet signals are shared with the trace connector and thus there is no Ethernet support if trace is used in an application.

Atmel SAME70-XPLD [USER GUIDE] 34 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 4-24 RMII Ethernet Schematic

VCC_3V3 VDDA_ENET L700

VDDPLL_1.2V VCC_3V3

C700 C702 C710 C701 C708 2.2uF 100nF 100nF 100nF 4.7uF C711 C220 VCC_3V3 100nF 10uF 1 2 U700 14 R56 R55 DNP 1.5K 1.5K R71 6 PHY_TXP DNP 10K TXP 5 PHY_TXM VDDIO TXM VDD_1V2

PD8 PHY_MDC 11 VDDA_3V3 4 PHY_RXP PHY_MDIO MDC RXP 3 PHY_RXM PD9 PHY_MDC PHY_MDIO 10 RXM PD8 PD9 MDIO 20 PHY_TXD0 RMII_XTALI 8 TXD0 21 PHY_TXD1 PD2 XI TXD1 PD3 RMII_XTALO 7 19 PHY_TXEN PHY_RXD0 XC700 XO TXEN PD1 PD5 PHY_RXD1 13 PHY_RXD0 PD6 PHY_CRS_DV 1 4 R238 39R PHY_REFCLK 16 RXD0 12 PHY_RXD1 PD5 PD4 PD0 REF_CLK RXD1 PD6 17 PHY_RXER DNP DNP C704 PHY_RESET 24 RXER PD7 R70 R67 R69 24PF 2 3 PC10 RST 23 LED0_SPEED 10K 10K 10K R70210K LED0/ANEN_SPEED VCC_3V3 C713 25MHZ 15 PHY_CRS_DV CRS_RV/PHYAD1/PHYAD0 PD4 C709 10uF 24PF 18 9 INTRP REXT GND2 VCC_3V3 GND1 R704 KSZ8081RNACA 6.49K C92 25 22 100PF R906 DNP 1K

PA14 PHY_INTERRUPT

Figure 4-25 Ethernet RJ45 Schematic

J700

1 : 1 PHY_TXP 1 C1_TX+ TD+_R1

C2_TX- PHY_TXM 2 TD-_R2 75 OHMS75 OHMS 75 OHMS75 3 TCT_R3 C4 C705 100nF C5 L701 1 : 1 PHY_RXP 7 C3_RX+ RD+_R7

C6_RX- PHY_RXM 8 RD-_R8

75 OHMS 75 OHMS 6 RCT_R6 C7 C706 VCC_3V3 100nF 4 NC_4 C8 5 R604 10K NC_5 1000pF VCC_3V3 Y L2 12 R703 LED0_SPEED 14 L4 G 470

+ L1 11 LED1_LINK VCC_3V3 13 L3 + S2 S1 R701 470 RJ45 9 10

Table 4-19 KSZ8081RNACA Connections

SAM E70 Pin Exthernet Function Shared With PD0 PHY_REFCLK J504 Header (Arduino Shield) PD1 PHY_TXEN – PD2 PHY_TXD0 – PD3 PHY_TXD1 – PD4 PHY_CRS_DV Trace Connector PD5 PHY_RXD0 Trace Connector PD6 PHY_RXD1 Trace Connector

Atmel SAME70-XPLD [USER GUIDE] 35 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 SAM E70 Pin Exthernet Function Shared With PD7 PHY_RXER Trace Connector PD8 PHY_MDC Trace Connector PD9 PHY_MDIO – PC10 PHY_RESET – PA14 PHY_INTERRUPT –

The KSZ8081RNACA also has a set of parameters that are latched in during reset based on I/O pin levels. These configuration options have a default mode on the kit done by external pull-up and pull-down resistors. For detailed information about the configuration, refer to the KSZ8081RNACA datasheet.

Table 4-20 KSZ8081RNACA Configuration

Configuration Name Default Value on Default Configuration Kit PHYAD 0x0h The PHYs address is 0x0h. It can be set to 0x3h if R70 and R71 are permutted. AUTONEG Pull-Up Auto negotiation enabled and set 100Mbps speed

4.4.7. AT24MAC402 The SAME70-XPLD features one Atmel AT24MAC402 serial EEPROM with an EIA-48 MAC address connected to the SAM E70 through I2C. This AT24MAC402 is configured on the I2C interface with the address 0x37h. It contains a MAC address for use with the Ethernet interface. Table 4-21 AT24MAC402 Connections on page 36 lists all I/O lines connected to the AT24MAC402 device.

Figure 4-26 AT24MAC402 Schematic

VCC_3V3

R600 R601 R602 10K 10K 10K VCC_3V3 U600 MAC24_A0 1 8 MAC24_A1 2 A0 VCC MAC24_A2 3 A1 A2 C600 TWD0 5 PA3 100nF TWCK0 6 SDA PA4 7 SCL 4 PC11 WP GND

AT24MAC402-MAHM-T R603 10K

Table 4-21 AT24MAC402 Connections

SAM E70 Pin Function AT24MAC402 Function Shared With PA3 TWD0 SDA (Serial Data Line) Camera Connector, EXT1 Header, EXT2 Header, J500 Header (Arduino Shield), Embedded Debugger PA4 TWCK0 SCL (Serial Click Line) Camera Connector, EXT1 Header, EXT2 Header, J500 Header (Arduino Shield), Embedded Debugger PC11 GPIO WP (Write Protect) --

Atmel SAME70-XPLD [USER GUIDE] 36 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 4.4.8. Debug JTAG/ICE A 2×10-pin JTAG header is implemented on the SAME70-XPLD board to enable software development and debugging of the board by using various JTAG emulators. The interface signals have a voltage level of 3.3V.

Figure 4-27 JTAG/ICE Interface Schematic

ARM JTAG VCC_3V3 J406 2 1 4 3 R400 6 5 0R SWDIO 8 7 PB6 10 9 R401 12 11 0R SWCLK 14 13 PB7 16 15 R403 18 17 0R TRACESWO 20 19 PB5 R402 0R TARGET_RESET Table 4-22 JTAG/ICE Connector J406 Signal Descriptions

Pin Signal Type Signal Description 1 VTref / Input This is the target reference voltage. It is used to VCC_3V3 check if the target has power, to create the logic- level reference for the input comparators and to control the output logic levels to the target. It is normally fed from Vdd of the target board and must not have a series resistor. 2 Vsupply / Not Used This pin is not connected in J-Link. It is reserved for VCC_3V3 compatibility with other equipment. Connect to Vdd or leave open in target system. 3 Not used NC This pin is not used by J-Link. If the device may also be accessed via JTAG, this pin may be connected to nTRST, otherwise leave open. 5 Not used NC This pin is not used by J-Link. If the device may also be accessed via JTAG, this pin may be connected to TDI, otherwise leave open. 7 SWDIO I/O Single bi-directional data pin. 9 SWCLK Output Clock signal to target CPU. It is recommended that this pin is pulled to a defined state of the target board. Typically connected to TCK of target CPU. 11 Not used NC This pin is not used by J-Link. This pin is not used by J-Link when operating in SWD mode. If the device may also be accessed via JTAG, this pin may be connected to RTCK, otherwise leave open. 13 SWO Output Serial Wire Output trace port. (Optional, not required for SWD communication.) 15 RESET I/O Target CPU reset signal. Typically connected to the RESET pin of the target CPU, which is typically called "nRST", "nRESET" or "RESET". 17 Not used NC This pin is not connected in J-Link.

Atmel SAME70-XPLD [USER GUIDE] 37 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Pin Signal Type Signal Description 19 Not Used Output This pin is used to supply power to some eval (5V-Supply) boards. Not all JLinks supply power on this pin, only the KS (Kickstart) versions. Typically left open on target hardware. 4-6-8-10-12-14-16-18-20 GND -- System Ground

4.5. Zero Ohm Resistors The SAME70-XPLD has several zero ohm resistors that can be used to disconnect I/O pins of the ATSAME70Q21 from connectors and on-board ICs and to disconnect power signals. All Arduino pin numbers are listed in Arduino Connectors. The table Zero Ohm Resistors lists all zero ohm resistors on the kit. The figures Zero Ohm Resistors - Top Side and Zero Ohm Resistors - Bottom Side show where they are located.

Info: Note that some zero ohm resistors listed in the table Zero Ohm Resistors are not mounted by default on the kit.

Table 4-23 Zero Ohm Resistors

Designator Mounted From To Comments R122 Yes TARGET_RESET TARGET_RESET_SENSE – R201 Yes PB0 J401 - Pin 13 RXD0 on EXT1 Connector R202 Yes PB1 J401 - Pin 14 TXD0 on EXT1 Connector R203 Yes PD28 J401 - Pin 9 R204 Yes PD27 J402 - Pin 15 SPI Interface: Chip Select R205 Yes J402 - Pin 17 PD20 SPI Interface: MISO Line R207 Yes PB1 J505 - Pin 8 Arduino DUE Pin 17 R208 Yes PB0 J505 - Pin 7 Arduino DUE Pin 18 R209 Yes PD26 EXT2 – R210 Yes PD21 J500 - Pin 4 SPI Interface: MOSI Line - Arduino DUE Pin 20 R211 Yes PB1 J507 - Pin 4 – R212 No PD11 J500 - Pin 4 Used for GTSUCOMP - Arduino DUE Pin 20 R213 Yes PB0 J507 - Pin 5 R214 No PC30 J502 - Pin 6 Arduino DUE Pin 83 R215 Yes PD26 J502 - Pin 1 Arduino DUE Pin 78 R216 No PA17 J502 - Pin 7 Arduino DUE Pin 84

Atmel SAME70-XPLD [USER GUIDE] 38 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Designator Mounted From To Comments R217 Yes PA6 J503 - Pin 4 Arduino DUE Pin 139 R218 No PD10 J503 - Pin 4 Arduino DUE Pin 139 R219 Yes PD24 J504 - Pin 1 Arduino DUE Pin 88 R220 Yes PA10 J504 - Pin 2 Arduino DUE Pin 89 R221 Yes PA22 J504 - Pin 3 Arduino DUE Pin 90 R222 No PA13 J400 - Pin 5 Camera Module Reset Command R223 No PD22 J400 - Pin 18 ISI Interface: Data Line 0 R224 No PB3 J402 - Pin 15 Chip Select for USART in SPI Mode with Master Mode R225 No PD31 J402 - Pin 15 Chip Select for USART in SPI Mode with Master Mode R226 No PB2 J402 - Pin 15 Chip Select for USART in SPI Mode with Slave Mode R227 No J402 - Pin 17 PB0 MISO for USART in SPI Mode R228 No PB1 J402 - Pin 16 MOSI for USART in SPI Mode R229 No PB13 J402 - Pin 18 SPI Clock for USART in SPI Mode R230 Yes PD22 J402 - Pin 18 SPI Interface: Clock Line R234 Yes PD16 J505 - Pin 6 Arduino DUE Pin 6 R235 Yes PD21 J402 - Pin 16 SPI Interface: MOSI Line R236 No PC12 J502 - Pin 8 Arduino DUE Pin 85 R400 Yes PB6 J406 - Pin 7 SWDIO for JTAG Interface R401 Yes PB7 J406 - Pin 9 SWCLK for JTAG Interface R402 Yes J406 - Pin 15 TARGET_RESET Reset From JTAG Interface R403 Yes PB5 J406 - Pin 13 TRACESWO for JTAG Interface R623 No VCC_5V0 VIN For 5V supply of any shield R624 Yes SAM E70 Pin 3 VDDOUT Node LDO Output for current measurement

Atmel SAME70-XPLD [USER GUIDE] 39 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 4-28 Zero Ohm Resistors Position – Top Side R210 R203 R212 R201 R222 R202 R623 R215 R223

R214

R216

R236 R207 R209 R208

R219 R234 R228 R220 R235 R224 R402 R225 R221 R204 R226 R227 R205 R403 R230 R229 R401 R211 R213

R400

Atmel SAME70-XPLD [USER GUIDE] 40 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 4-29 Zero Ohm Resistors Position – Bottom Side

R624

R122

4.6. Embedded Debugger Implementation SAME70-XPLD contains an Embedded Debugger (EDBG) that can be used to program and debug the ATSAME70Q21 using Serial Wire Debug (SWD). The EDBG also includes: • a Virtual Com port interface over UART • an Atmel Data Gateway Interface over SPI • an I2C channel • connections to four of the SAM E70 GPIOs Atmel Studio can be used as a front end for the Embedded Debugger.

4.6.1. Serial Wire Debug The Serial Wire Debug (SWD) uses two pins to communicate with the target. For further information on how to use the programming and debugging capabilities of the EDBG, see Embedded Debugger on page 7.

Atmel SAME70-XPLD [USER GUIDE] 41 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Table 4-24 SWD Connections

SAM E70 Pin Function Shared Functionality PB5 SWO Trace Data Trace Connector (J403), Embedded Debugger PB6 SWD Data Trace Connector (J403), Embedded Debugger PB7 SWD Clock Trace Connector (J403), Embedded Debugger PB12 Erase Embedded Debugger

4.6.2. Virtual COM Port The Embedded Debugger acts as a Virtual Com Port gateway by using one of the ATSAME70Q21 UARTs. For further information on how to use the Virtual COM port, see Embedded Debugger on page 7.

Table 4-25 Virtual COM Port Connections

SAM E70 Pin Function Shared Functionality PB4 TXD1 (SAM E70 UART TX Line) EXT2 Header, J507 Header, Embedded Debugger PA21 RXD1 (SAM E70 UART RX Line) EXT2 Header, J507 Header, Embedded Debugger

4.6.3. Atmel Data Gateway Interface The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a SPI or I2C port. The DGI can be used to send a variety of data from the ATSAME70Q21 to the host PC. For further information on how to use the DGI interface, see Embedded Debugger on page 7.

Table 4-26 DGI Interface Connections When Using SPI

SAM E70 Pin Function Shared Functionality PD12 SPI0_NPCS2 (Slave Select) Camera Connector, Embedded Debugger PD20 SPI0_MISO (Master In, Slave EXT1 Header, EXT2 Header, J500 Header, J506 Out) Header, Embedded Debugger PD21 SPI0_MOSI (Master Out - EXT1 Header, EXT2 Header, J500 Header, J506 Slave In) Header, Camera Connector, Embedded Debugger PD22 SPI0_SPCK EXT1 Header, EXT2 Header, J500 Header, J506 Header, Camera Connector, Embedded Debugger

Table 4-27 DGI Interface Connections When Using I²C

SAM E70 Pin Function Shared Functionality PA3 TWD0 (I²C Data Line) EXT1 Header, EXT2 Header, J500 Header, AT24MAC402, Camera Connector, Embedded Debugger PA4 TWCK0 (I²C Clock Line) EXT1 Header, EXT2 Header, J500 Header, Camera Connector, Camera Connector, Embedded Debugger

Four GPIO lines are connected to the Embedded Debugger. The EDBG can monitor these lines and timestamp pin value changes. This makes it possible to accurately timestamp events in the SAM E70 application code. For further information on how to configure and use the GPIO monitoring features, see Embedded Debugger on page 7.

Atmel SAME70-XPLD [USER GUIDE] 42 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Table 4-28 GPIO Lines Connected to the EDBG

SAM E70 Pin Function Shared Functionality PA9 DGI_GPIO0 Camera Connector, Embedded Debugger PA23 DGI_GPIO1 J507 Header, Embedded Debugger PD28 DGI_GPIO2 EXT1 Header, Camera Connector,J503 Header, J505 Header, Embedded Debugger PA2 DGI_GPIO3 EXT2 Header, J503 Header, Embedded Debugger

Atmel SAME70-XPLD [USER GUIDE] 43 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 5. Board Schematics This section contains the following schematics: • Block Diagram • SAM E70 Device, Crystals and USB Device interface • Atmel XPRO Extended Connectors, Debug and Camera Interface Connectors • Arduino R3 Extended Connectors • Memories and Power • Ethernet 10/100 • EDBG Interface

Figure 5-1 Block Diagram

5 4 3 2 1

TARGET_RESET

ID_SYS ID_SYS D D SWD Connectors EDBG DWSDWS TRACE TRACE CAMERA CAMERA EDBG_DGI_SPI EDBG_DGI_SPI EXT1 EXT1 EDBG_DGI_I2C EDBG_DGI_I2C EXT2 EXT2 EDBG_DGI_GPIO EDBG_DGI_GPIO EDBG_CDC_UART EDBG_CDC_UART TARGET_RESET_SENSE TESER_TEGRATTESER_TEGRAT_GBDE

C BTN0 BTN0 C LED0 LED0 VCC_3V3 Peripherals LED1 LED1 TARGET_USB_P TARGET_USB_P TARGET_USB_N TARGET_USB_N Power Supply Target MCU VBUS_DETECTVBUS_DETECT VCC_5V0 VCC_3V3 SAME70 VBUS_HOST_ENVBUS_HOST_EN XIN32 XIN32 XOUT32 XOUT32

XIN XIN B IOH IOH XOUT XOUT B IOL IOL COM COM ETHERNET ETHERNET ADCL ADCL ETHERNET OPTIONAL ADCH ADCH DIG DIG SPI SPI CANCAN CAN EBIEBISDRAM SDCARD I2CI2C

A A

Memory A RevA Embest 14-Oct-15 A INIT EDIT REV MODIF. DES. DATE VER. DATE SAME70-XPLD SCALE REV. SHEET

SDRAM 1/1

SDCARD A 1 TOP 7

5 4 3 2 1

Atmel SAME70-XPLD [USER GUIDE] 44 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 5-2 SAM E70 Device, Crystals and USB Device interface

5 4 3 2 1

VCC_3V3 VCC_3V3 For current measurements of the target MCU,remove VDDCORE J201 DNP VDDOUT VCC_3V3 jumper and connect a R106 VCC_MCU_P3V3 100K J203 measurement instrument L201 R231 4.7K PA3 SDA C208 C215 {7} R107 330R {2,3,4} 1uF EDBG_TARGET_RESET TARGET_RESET C216 C200 C201 C202 C203 C204 C205 C206 C207 C214 L202 C209 C210 C211 C212 C213 100nF R110 R232 4.7K PA4 SCL 10uF 100nF100nF100nF100nF 100nF 100nF 100nF 100nF 100nF 39R 100nF 100nF 100nF 100nF 100nF C217 R624 D 100nF 0R TP100 C104 D 3 4 10nF SW100 {3,4,5,6,7} PA[0..31] U200 R122 139 72 96 143 43 30 134 80 29 81 123 33 3 5 50 107 0R These straps with SMD pads can be PA0 102 PD[0..31] {3,4,5,6,7} 1 2 used to place a resistor in the XOUT PA1 99 PA0 signal in order to measure the oscillator PA2 93 PA1 1 PD0 allowance. By default these straps are PA3 91 PA2 VDDIN PD0 132 PD1 VDDPLL VDDOUT VDDIO_5 VDDIO_4 VDDIO_2 VDDIO_1 closed and nothing is mounted on the pads. PA3 VDDIO_3 PD1

PA4 77 VDDUTMII 131 PD2

PA4 VDDUTMIC PD2

PA5 73 VDDPLLUSB 128 PD3 VDDCORE_1 VDDCORE_5 VDDCORE_2 VDDCORE_3 PA6 114 PA5 VDDCORE_4 PD3 126 PD4 PA6 PD4 C301 18pF XIN32 XIN32 35 125 PD5 {7} DNP DNP PA8 PA8 36 PA7 PD5 121 PD6 TARGET_RESET_SENSE PA9 75 PA8 PD6 119 PD7 XC300 32.768 kHz PA10 66 PA9 PD7 113 PD8 XOUT32 PA11 PA11 64 PA10 PD8 110 PD9 PA12 68 PA11 PD9 101 PD10 J300 C300 PA13 42 PA12 PD10 98 PD11 18pF PA14 51 PA13 PD11 92 PD12 DNP PA15 49 PA14 PD12 88 PD13 USER BUTTONs PA16 45 PA15 PD13 84 PD14 SW300 R300 PA17 25 PA16 PD14 106 PD15 1 3 WKUP6 PA18 24 PA17 PD15 78 PD16 2 4 PA19 23 PA18 PD16 74 PD17 39R PA20 22 PA19 PD17 69 PD18 PA21 32 PA20 ATMEL PD18 67 PD19 TP300 PA22 37 PA21 PD19 65 PD20 PA23 46 PA22 Cortex-M7 Processor PD20 63 PD21 C PA24 56 PA23 PD21 60 R206 PD22 C PA25 59 PA24 PD22 57 39R PD23 PA26 62 PA25 SAME70 QFP144 PD23 55 PD24 PA27 70 PA26 PD24 52 PD25 PA28 112 PA27 PD25 53 PD26 PA29 129 PA28 PD26 47 PD27 PA30 116 PA29 PD27 71 PD28 PA31 118 PA30 PD28 108 PD29 PA31 PD29 34 PD30 VCC_3V3 PD30 2 PD31 J200 {3,4,5,6} PC[0..31] PC0 11 PD31 PB12 PE[0..5] {4,5} PC1 38 PC0 PC2 39 PC1 4 PE0 Re-power the kit to PC3 40 PC2 PE0 6 PE1 erase SAME70 chip PC4 41 PC3 PE1 7 PE2 With jumper: Erase PC5 58 PC4 PE2 10 PE3 Without jumper: Normal (default) PC6 54 PC5 PE3 27 PE4 PC7 48 PC6 PE4 28 PE5 PC8 82 PC7 PE5 PC9 86 PC8 PB[0..13] {3,4,7} PC10 90 PC9 These straps with SMD pads can be PC11 94 PC10 21 PB0 used to place a resistor in the XOUT J301 PC12 17 PC11 PB0 20 PB1 signal in order to measure the oscillator PC13 19 PC12 PB1 26 PB2 XOUT allowance. By default these straps are USER LEDs PC14 97 PC13 PB2 31 PB3 closed and nothing is mounted on the pads. PC15 18 PC14 PB3 105 PB4 PC16 100 PC15 PB4 109 PB5 C302 2 3 VCC_3V3 PC17 103 PC16 PB5 79 PB6 12pF XC301 PC18 111 PC17 PB6 89 PB7 12MHz B PC19 117 PC18 PB7 141 B 1 4 R303 PC20 120 PC19 PB8 142 XIN XIN 330R PC21 122 PC20 PB9 87 PB12 PC22 124 PC21 PB12 144 PB13 C303 S3 S1 VCC_USB D301 PC23 127 PC22 PB13 12pF

5V D- D+ ID G Green PC24 130 PC23 1 PC25 133 PC24 137 PC26 13 PC25 HSDP 136 2 MICRO USB AB 5 PC27 12 PC26 HSDM J302 PC8 PC27 LED0 PC28 76 83 {2,3,4} 3 PC29 16 PC28 NRST 85 TP200 TARGET_RESET PC29 TST PC30 15 104 VCC_MCU_P3V3 4 PC31 14 PC30 JTAGSEL TP201 L200 PC31 9 5 ADVREFP 8 C218 ADVREFN 100nF {4} 140 ADVREF GND_6 GND_5 GND_1 GND_3 GND_2 GND_4 VBG S2 S4 4 44 61 95 135 138 115 C219 5.62K 3 10pF R233 2

D302 PRTR5V0U2X DNP

A 1 A

A RevA Embest 14-Oct-15 A INIT EDIT REV MODIF. DES. DATE VER. DATE SAME70-XPLD SCALE 1/1 REV. SHEET A 2 SAME70 7

5 4 3 2 1

Atmel SAME70-XPLD [USER GUIDE] 45 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 5-3 Atmel XPRO Extended Connectors, Debug and Camera Interface Connectors

5 4 3 2 1

Camera Interface Connector EXT1

VCC_3V3 D J401 D J400 ID_EXT1 1 2 {7} ID_1 1 2 {2,4} AFE1_AD63 4 AFE0_AD8 {2,4,6} 3 4 PC31 5 6 0STC0STR PA19 {2,3,4} PB3 PB2 {2,3,4} {2,4} R222 0R RST 5 6 ISI_PWD {2,3,4} {2} PWMC0_H07 8 TIOB5 {2,4} PA13 TWCK0 7 8 TWD0 PC19 PA0 R203 0R 9 10 OIPG5PUKW PC30 {2,3,4,5,7} {2,3,4,5,7} {2,3,4,7} PD28 {2} PA4 9 10 PCK0 PA3 11 12 0KCWT0DWT PC17 PA6 {2,3,4} {2,3,4,5,7} PA3 PA4 {2,3,4,5,7} 11 12 ISI_VSYNC {2,3,4} {2,4} R201 0R 13 14 0DXT0DXR R202 0R {2,3,4} 13 14 ISI_HSYNC PD25 PB0 SPI0_NPCS115 16 SPI0_MOSI PB1 PD24 {2,4} {2,3,4} PD25 PD21 {2,3,4,7} 15 16 ISI_PCK {2,3,4} {2,3,4,7} SPI0_MISO 17 18 SPI0_SPCK {2,3,4,7} 17 18 ISI_D0 R223 0R PA24 PD20 19 20 PD22 PD22 {2,3,4,7} VCC_3V3 {2,3,4,7} ISI_D1 19 20 ISI_D2 {2,3,4} PD21 ISI_D3 21 22 ISI_D4 PB3 {2,7} PA9 PA5 {2,3,4} {2,3,4} ISI_D5 23 24 ISI_D6 {2,7} PD11 ISI_D7 25 26 ISI_D8 PD12 {2,5} PA27 PD27 {2,3,4} {2,3,4,7} ISI_D9 27 28 ISI_D10 {2,3,4} PD28 ISI_D11 29 30 PD30 {2,3} PD31

CONN_HDR_15X2

C EXT2 C

J402 ID_EXT2 1 2 {7} ID_2 {2,3,4} AFE0_AD0 3 4 AFE1_AD1 {2,4} PD30 GPIO 5 6 GPIO PC13 {2,3,4} PA6 PD11 {2,3,4} {2,3,4} PWMC0_H2 7 8 PWMC0_L2 R209 0R {2,4} PC19 WKUP2 9 10 GPIO PD26 {2,4,7} PA2 {2,3,4} TWD0 11 12 TWCK0 PA24 {2,3,4,5,7} PA3 PA4 {2,3,4,5,7} {2,4,7} RXD1 13 14 TXD1 {2,4,7} PA21 NPCS 15 16 MOSI PB4 {2,3,4} USART_SPI_NSS_MASTER_0 R224 0R MISO 17 18 SPCK R228 0R USART_SPI_MOSI {2,3,4} PB3 DNP 19 20 DNP PB1 VCC_3V3 {2,3} USART_SPI_NSS_MASTER_1 R225 0R R235 0R SPI0_MOSI {2,3,4,7} PD31 DNP PD21 {2,3,4} USART_SPI_NSS_SLAVE R226 0R R230 0R SPI0_SPCK {2,3,4,7} PB2 DNP PD22 {2,3,4} SPI0_NPCS3 R204 0R R229 0R USART_SPI_SCK {2,4} PD27 DNP PB13

SPI0_MISO R205 0R {2,3,4,7} PD20

{2,3,4,7} USART_SPI_MOSI R227 0R PB0 DNP

B B

TRACE ARM JTAG VCC_3V3 J403 VCC_3V3 VTREF 1 2 SWDIO J406 PB6 {2,3,7} 3 4 SWCLK 2 1 PB7 {2,3,7} 5 6 TRACESWO {2,3,7} 4 3 8 PB5 6 5 R400 0R SWDIO PB6 {2,3,7} 9 10 8 7 TARGET_RESET {2,3,4} 11 12 TRACECLK {2,6} 10 9 13 14 TRACED0 PD8 12 11 R401 0R SWCLK PD4 {2,6} {2,3,7} 15 16 TRACED1 14 13 PB7 PD5 {2,6} 17 18 TRACED2 16 15 PD6 {2,6} 19 20 TRACED3 18 17 R403 0R TRACESWO PD7 {2,6} {2,3,7} 20 19 PB5 CONN_HDR_10X2_19 50???? single ended for trace signals R402 0R TARGET_RESET {2,3,4} DNP

A A

A RevA Embest 14-Oct-15 A INIT EDIT REV MODIF. DES. DATE VER. DATE SAME70-XPLD SCALE 1/1 REV. SHEET Extension Connectors A 3 7

5 4 3 2 1

Atmel SAME70-XPLD [USER GUIDE] 46 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 5-4 Arduino R3 Extended Conncetors

5 4 3 2 1

TP910

J500 IOH VCC_3V3 J501 1 10 TWCK0 {2,3,5,7} 2 9 TWD0 PA4 PA3 {2,3,5,7} D 3 8 AREF {2} D VCC_5V0 4 7 ADVREF 5 6 SPI0_SPCK {2,3,4,7} 6 5 SPI0_MISO PD22 PD20 {2,3,4,7} 7 4 R210 0R SPI0_MOSI {2,3,4,7} 8 3 SPI0_NPCS1 PD21 PD25 {2,3} 2 LED TIOB7 {2} R212 0R GTSUCOMP {2,3,4} R623 0R 1 PWMC0_PWMH3 PC9 PD11 CONN_HDR_8X1 PA17 {2,4} DNP DNP DNP CONN_HDR_10X1 DNP

TARGET_RESET {2,3}

ADCL SPI0_SPCK {2,3,4,7} J502 PD22 J503 IOL R215 0R AD0 1 SPI0_MISO {2,3} PD26 PD20 {2,3,4,7} {2,3,4} AD1 2 8 PWMC0_H1 {2,3,7} PC31 AD2 3 SPI0_MOSI 7 PWMC0_H2 PA2 {2,3,4} PD30 PD21 {2,3,4,7} PC19 {2,3} {2,3,6} AD3 4 6 PWMC0_H0 {2,3,4} PA19 AD4 5 5 SPI0_NPCS3 PD11 {2,3} PC13 PD27 {2,3,4} {2,3} R214 0R AD5 6 4 R217 0R GPIO {2,3} PC30 DNP AD6 7 3 PWMC1_L3 PA6 PA5 {2,3,4} {2,4} R216 0R AD7 8 2 UTXD3 {2,3,4} R218 0R PWMC0_L2 {2} PA17 DNP 1 URXD3 PD30 PD10 5 3 1 PD28 {2,3,4,7} C {2,4} R236 0R CONN_HDR_8X1 DNP C PC12 DNP J506 DNP CONN_HDR_3X2 CONN_HDR_8X1 DNP DNP 6 4 2 VCC_5V0

ADCH J505 COM J504

{2,3} R219 0R AD8 1 8 TXD0 R207 0R {2,3,4} PD24 R220 0R AD9 2 7 RXD0 R208 0R PB1 {2} PA10 PB0 {2,3,4} {2} R221 0R AD10 3 6 TXD2 R234 0R {2,5} PA22 AD11 4 5 RXD2 PD16 {2,3,4} PC31 PD15 {2,5} {2,3,4} DAC0 5 4 UTXD4 {2,4} PB13 DAC1 6 3 URXD4 PD19 {2,6} PD0 PD18 {2,4,5} {2,3,4} CANRX0 7 2 TWD2 {2,3,4} PB3 CANTX0 8 1 TWCK2 PD27 {2,3,4} PB2 PD28 {2,3,4,7}

CONN_HDR_8X1 CONN_HDR_8X1 DNP DNP

B B

J507 36 35 {2} 34 33 CANRX1CANTX1 {2,4} PC14 32 31 PWMC1_PWMEXTRG0 PC12 PA18 {2,4} {2,5} PWMC1_PWMFI2 30 29 PWMC1_PWMEXTRG1 {2,5} PA28 28 27 1DXR1DXT PA30 {2,3,7} PB4 PA21 {2,3,4,7} {2,3} 26 25 1STC1STR {2,5} PA24 PWMC1_PWML2 24 23 PA25 {2,7} PA23 {2,5} PWMC1_PWMH2 22 21 RTS0 {2,3,4} PA31 CTS0 20 19 SCK0 PB3 {2,3,4} PB13 {2,3,4} PB2 18 17 PWMC1_PWML1 PA13 {2} {2} PWMC1_PWMH0 16 15 PA12 PWMC1_PWMFI1 14 13 {2,5} PA26 {2} WKUP1 12 11 TCLK2 {2} PA1 10 9 PWMC1_PWML3 PA29 PA5 {2,3,4} {2,4,5} 8 7 CTS2RTS2 {2,4} PD18 SCK2 6 5 TF PD19 R213 0R {2,5} PD17 PB0 {2,3,4} 4 3 2KCPKT {2,3,4} PB1 {2,4} 2 1 PA18 R211 0R

CONN_HDR_18X2 VCC_5V0 DNP

A A

A RevA Embest 14-Oct-15 A INIT EDIT REV MODIF. DES. DATE VER. DATE SAME70-XPLD SCALE 1/1 REV. SHEET A 4 Shield Connectors 7

5 4 3 2 1

Atmel SAME70-XPLD [USER GUIDE] 47 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 5-5 Memories and Power

5 4 3 2 1

VCC_3V3

R606 R607 R608 R609 R610 R611 R612 10K 100K 100K 100K 100K 10K 10K VCC_3V3 J600 SD_D0 7 4 {2,4} PA30 SD_D1 8 DAT0 VDD 3 C613 C612 D {2,4} PA31 D SD_D2 9 DAT1 VSS1 6 100nF 10uF {2,4} PA26 SD_D3 1 DAT2 VSS2 12 U901 {2,3} PA27 J901 SD_CLK 5 DAT3 SHELL 13 A2 R111 22R N6 A6 D0 R125 22R {2,4} {2} PC0 {2} PA25 SD_CMD 2 CLK SHELL 14 PC20 A3 R112 22R P7 A0 DQ0 B7 D1 R126 22R {2,4} PA28 {2} PC1 {2} SD_DETECT 10 CMD SHELL 15 PC21 A4 R113 22R P6 A1 DQ1 C7 D2 R127 22R {2} {2} PC2 {2} PC16 SD_WP 11 C/D SHELL PC22 A5 R114 22R R6 A2 DQ2 D7 D3 R128 22R {2} PC3 {2} W/P PC23 A6 R115 22R R2 A3 DQ3 D6 D4 R129 22R {2} PC4 {2} PC24 A7 R116 22R P2 A4 DQ4 E7 D5 R130 22R SD Card SOCKET {2} PC5 {2} PC25 A8 R117 22R P1 A5 DQ5 F7 D6 R131 22R {2} PC6 {2} PC26 A9 R118 22R N2 A6 DQ6 G7 D7 R132 22R {2} PC7 {2} TP600 PC27 A10 R119 22R N1 A7 DQ7 G1 D8 R133 22R {2} PE0 {2,4} PC28 A11 R120 22R M2 A8 DQ8 F1 D9 R134 22R {2} PE1 {2} PC29 SDA10 R121 22R N7 A9 DQ9 E1 D10 R135 22R {2} PE2 {2} PD13 A10 DQ10 D2 D11 R136 22R PE3 {2,4} BA0 R123 22R M1 DQ11 D1 D12 R137 22R {2} PE4 {2,4} PA20 A11 DQ12 C1 D13 R138 22R PE5 {2,4} SDCK R124 22R K2 DQ13 B1 D14 R139 22R {2} PA15 {2,4} VCC_3V3 VCC_3V3 PD23 SDCKE L1 CLK DQ14 A2 D15 R140 22R {2} PA16 {2,4} R617 100K PD14 CKE DQ15 SDCS L7 VCC_3V3 {2} PC15 CS {2,4} RAS K6 PD16 CAS K7 RAS B6 {2,4} PD17 CAS VDDQ1 {2} SDWE J7 C2 PD29 WE VDDQ2 E6 C919 C920 C921 C922 A0/NBS0 J6 VDDQ3 F2 {2} 100nF 100nF 100nF 100nF PC18 NWR1/NBS1 J2 LDQM VDDQ4 R600 R601 R602 {2,4} PD15 UDQM 10K 10K 10K VCC_3V3 VCC_3V3 A7 B2 C U600 VCC_3V3 R7 VDD1 VSSQ1 C6 C MAC24_A0 1 8 H6 VDD2 VSSQ2 E2 MAC24_A1 2 A0 VCC VCC_5V0 VDD3 VSSQ3 F6 J101 MAC24_A2 3 A1 C908 C916 C917 C918 A1 VSSQ4 C600 R615 A2 1 2 2.2uF R1 VSS1 47K 100nF 100nF 100nF TWD0 5 3 4 VSS2 J1 {2,3,4,7} PA3 100nF TWCK0 6 SDA G2 NC6 K1 {2,3,4,7} PA4 SCL NC1 NC7 {2} 7 4 {7} G6 L2 PC11 WP GND Hearder 2x2 EDBG_ADC0 H1 NC2 NC8 L6 H2 NC3 NC9 M6 AT24MAC402-MAHM-T H7 NC4 NC10 M7 R603 R616 NC5 NC11 10K 47K IS42S16100F-5BL

B B

VCC_USB Q109A Q109B FDC6312P FDC6312P 5 6 4 2 VCC_5V0 VCC_3V3 S1 D1 D2 S2

U601 8 1 G2 G1 5 VCC Vo 2 C601 C602 3 1 VCC_5V0 C603 EN Vo_s 4 100nF 4.7uF 2.2UF 3 NC1 6 9 GND NC2 7 R613 FIN NC3 C714 100K Q110A Q110B BD33IC0WEFJ-E2 VCC_USB_EDBG FDC6312P FDC6312P 10uF 5 6 4 2 S1 D1 D2 S2 G1 G2 1 3

A A R614 100K

A RevA Embest 14-Oct-15 A INIT EDIT REV MODIF. DES. DATE VER. DATE SAME70-XPLD SCALE 1/1 REV. SHEET A 5 Memory & Power 7

5 4 3 2 1

Atmel SAME70-XPLD [USER GUIDE] 48 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 5-6 Ethernet 10/100

5 4 3 2 1

D D

VCC_3V3 VDDA_ENET L700

VDDPLL_1.2V VCC_3V3 C700 C702 C710 C701 C708 2.2uF 100nF 100nF 100nF 4.7uF C711 C220 J700 100nF 10uF

1 : 1 1 C1_TX+ 1 14 U700 2 TD+_R1

6 TXP 5 VDDIO TXM C2_TX-

C PHY_MDC 11 VDD_1V2 4 2 TD-_R2 C {2,3,6} PD8 MDC VDDA_3V3 RXP 3 OHMS 75 OHMS75 PHY_MDIO 10 RXM 3 TCT_R3 C4 {2,6} PD9 MDIO 20 PHY_TXD0 C705 RMII_XTALI 8 TXD0 21 PHY_TXD1 PD2 {2} 100nF C5 XI TXD1 PD3 {2} 1 : 1 RMII_XTALO 7 19 PHY_TXEN 7 C3_RX+ RD+_R7 XC700 XO TXEN PD1 {2} 13 PHY_RXD0 1 4 R238 39R PHY_REFCLK 16 RXD0 12 PHY_RXD1 PD5 {2,3,6} PD0{2,4} REF_CLK RXD1 PD6 {2,3,6} VCC_3V3 17 PHY_RXER C6_RX- C704 PHY_RESET 24 RXER PD7 {2,3} 8 RD-_R8 24PF 2 3 PC10{2} RST 23 75 OHMS 75 OHMS R70210K LED0/ANEN_SPEED 6 RCT_R6 C7 C713 25MHZ 15 PHY_CRS_DV C706 VCC_3V3 C709 R604 CRS_RV/PHYAD1/PHYAD0 PD4 {2,3,6} 100nF 4 C8 24PF 10uF 10K NC_4 VCC_3V3 18 9 5 INTRP REXT NC_5 1000pF Y L2 12 R703 GND2 VCC_3V3 GND1 R704 LED0_SPEED 14 L4 G 470 KSZ8081RNACA 6.49K C92 25 22 100PF + L1 11 LED1_LINK R906 DNP VCC_3V3 13 L3 + 1K S2 S1 R701 470 PHY_INTERRUPT RJ45

PA14{2} 9 10

B B

VCC_3V3

L701 R56 R55 DNP 1.5K 1.5K R71 DNP 10K

PHY_MDIO PD9{2,6} PHY_MDC PD8{2,3,6}

PHY_RXD0 PD5{2,3,6} PHY_RXD1 PD6{2,3,6} PHY_CRS_DV PD4{2,3,6}

DNP DNP R70 R67 R69 10K 10K 10K

A A

A RevA Embest 14-Oct-15 A INIT EDIT REV MODIF. DES. DATE VER. DATE SAME70-XPLD SCALE 1/1 REV. SHEET A 6 Ethernet 7

5 4 3 2 1

Atmel SAME70-XPLD [USER GUIDE] 49 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 5-7 EDBG Interface

5 4 3 2 1

XC900 1 2 TARGET_CHIP_ERASE R900 330R PB12 {2} D C900 D VCC_3V3 22pF 4 3 TRACESWO R921 330R {2,3} C901 PB5 22pF SWCLK R904 330R {2,3} 12MHz R903 PB7 1K SWDIO R905 330R PB6 {2,3}

{3} ID_2 XIN0 XOUT0

U900 K6 D5 C1 B1 B2 B3 C4 A3 D7 D6 C6 C5 A5 A6 B7 A7 K5 G8 G10 PA0/PA18 PB0 PB1 PB2 PB3 PB4 PB6 PB7 PB8 PB9 PC1 PC2 PC3 PC4 PA1/PA17 PC5 E1 PB10 PB11 G4 EDBG_CDC_UART_RX F9 PA2/PX47 PX0 G2 {2,3,4} PB4 PA3 PX1 {2,3,4} R910 330R EDBG_CDC_UART_TX E9 PC0/PX14 G3 PA21 G9 PA4 PX2 J1 E8 PA5 PX3 H1 R911 330R H10 PA6/PA13 PX4 G1 {2,3} PA9 DGI_GPIO0 F8 PA7/PA19 PX5 F3 R912 330R DGI_GPIO1 D8 PA8 PX6 F4 {2,4} PA23 DGI_GPIO2 C10 PA9 PX7 E3 R913 330R DGI_GPIO3 C9 PA10 PX8 E4 {2,3,4} PD28 G7 PA11 PX9 D2 R914 330R K7 PA12/PA25 PX10 D1 {2,3,4} PA2 C J7 PA14/PX11 PX12 D3 C E7 PA15/PX45 PX13 K4 POWER_LED_CTRL TP908 EDBG_FORCE_BOOT H9 PA16 PX15/PX32 D4 K10 PA20/PX18 PX16/PX53 F1 STATUS_LED_CTRL TP909 {5} EDBG_ADC0 PA21/PX22 PX19/PX59 H6 H2 {2} G6 PA22/PX20 AT32UC3A4256J-C1UR PX21 K1 TARGET_RESET_SENSE EDBG_DGI_I2C_SDA J10 PA23/PX46 PX23 J2 {2,3,4,5} PA3 PA24/PX17 PX24 {2,3,4,5} EDBG_DGI_I2C_SCL F7 H4 PA4 A2 PA26/PB5 PX25 J3 R915 330R A1 PA27 PX26 K2 EDBG_SPI_DGI_MISO {3} ID_1 PA28 PX27 PD20 {2,3,4} {2} B4 K3 EDBG_SPI_DGI_MOSI {2,3,4} EDBG_TARGET_RESET A4 PA29 PX28 J4 EDBG_SPI_DGI_SCK PD21 PA30 PX29 PD22 {2,3,4} MICRO USB AB 5 C2 G5 EDBG_SPI_DGI_SS {2,3} VCC_3V3 PA31 PX30 H5 PD12 J900 R902 1K PX31 TP900 Connect TP900 to TP901 during S1 S3 VCC_USB_EDBG startup of the EDBG to force it EDBG_FORCE_BOOT TP901 into bootloader mode 1 A10 K9 USB_VBUS TCK 5VD-D+IDG K8 EDBG_JTAG_TCK TP902 2 A9 TDI J8 A8 DMHS TDO H7 EDBG_JTAG_TDI TP903 3 DPHS TMS J9 B9 RESET_N EDBG_JTAG_TDO TP904 4 R91639R B8 DMFS DPFS EDBG_JTAG_TMS TP905 5 4 R91739R C7 EDBG_RESET_N TP906 3 USB_VBIAS

B VCC_3V3 B S2 S4 2 GNDPLL VDDIN_2 VDDIN_1 VDDIO_4 VDDIO_6 GNDIO_6 GNDANA GNDCORE VDDANA VDDIO_1 VDDIO_3 VDDIO_5 GNDIO_2 GNDIO_4 GNDIO_5 VDDCORE GNDIO_1 6.81K VDDIO_2 GNDIO_3 C902 TP907 R918 10pF J5 J6 F5 F6 F2 E5 B6 B5 E2 E6 D9 H8 H3 C8 D902 C3 F10 E10 B10 PRTR5V0U2X D10 DNP 1 VCC_3V3 VCC_3V3

VCC_3V3 C909 C906 C905 C914 C915 C910 2.2uF 1nF 2.2uF 2.2uF 2.2uF L901 100nF 100nF 100nF 100nF C911 C912 C913

C904 100nF

A A

A RevA Embest 14-Oct-15 A INIT EDIT REV MODIF. DES. DATE VER. DATE SAME70-XPLD SCALE 1/1 REV. SHEET A 7 Embedded Debugger 7

5 4 3 2 1

Atmel SAME70-XPLD [USER GUIDE] 50 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 6. Board Layout This section contains the following layouts: • Top Component Placement with Silkscreen • Bottom Component Placement with Silkscreen • Top Signals Layer • Layer 2: Ground • Layer 3: Power Planes • Bottom Signals Layer

Figure 6-1 Top Component Placement with Silkscreen

R604 J900 5 R701 1 DEBUG USB

C705 C713 D902 C710 C708

R702 C911 Q109 Q110 C900 J101 R906 XC900 R238 C914 C912 17R 07R C901

U700 C904 C711

R614 L901 C913 C915 C700 C702 C220 L700 C701 C709C704 R616 C602 C706 C601 R615 R703 C910 C714 C909 POWER R917 R916 XC700 R613 U601 R55 R67 R69 L701 R56 C92

J700 R704

C603 SCL J302 EXT1 J203 SDA TARGET USB 1 D302 J201 AREF

5 XC301 GND VBAT J301 TP910 C303 C302 U200 SAME70Q21 C216 J500 D13 CAMERA

IOREF J401 INTERFACE R233 D12 C219 RESET R133 TP201 R118 D11 R210 R134 R117

3V3 R135 R203 R120 J200 D10

R136 R212

J400 R123 5V0 J501 3V3 D9 GND R201 R222 D8

GND XC300 PB12 R202

VIN R623 D7 J300 D301

C300 TP200 C301 D6 R138 R215

R137 R303 R125 D5 R232 R127 J503

AD1 R126 D4

R128 R119 R129 R218 R206 R124 AD2 R300

R121 EXT2

R223 D3 R130 R140 R139 R217 R131 TP300 AD3 R132 D2 J502 RST AD4 MISO D1 (TXD) R214 AD5 D0 (RXD) J506 AD6 R216

AD7 R236 R207 D14 R209 U901 GND 5V0 OISCK MOSI R208 D15 J402 AD8 R219 R234 D16 R228 R235 J406 AD9 R220 D17 R224

R402 J505 R225 AD10 R221 D18 R204 R226 AD11 D19 R227 R205

J504 R230 R403 DAC0 U600 D20 R602 C600 R229 R401 R601 R603 RESET SW0 DAC1 R600 D21 AT24MAC402 R211 R213 2 4 CANRX 2 4 R400 D52 D50 D44 D42 D46 D48 GND D40 D32 D34 D38 D22 5V0 D36 D28 D26 CANTX D30 D24 SW300 SW100 3 J507 3 JTAG D53 D45 D37 D29 D23

Atmel SAME70-XPLD [USER GUIDE] 51 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 6-2 Bottom Component Placement with Silkscreen

R902 R903 R921 R905 R904 TP909 U900 C902 EDBG R915

GND NC TP908

3V3 5V0 18 R9 R900 GND TDI TCK TMS J600 TP600 R607 R606 R608 R911 R910 R912 R913 R914 C905 C906 PA4 R612 R610 R609 R611

TP900 TP902 TP903 TP905 J901 C612 C613

VCC PA3 RST TDO BOOT TP901 TP907 TP904 GND ID TP906 ADVREF PA19 PC31 GND C208 NC L202 PB2 PB3 PD22 C215 C200 C217 3V3

PC30 PA0 PD20 R113 R114 C201 R624 RESET PD11/ PD21 PC17 PD28 L201 C211 C214 C202 R112 3V3 PA4 PA3 PD25

C204 R111 R115 R116 5V0 PB1 PB0 PC9 L200 C218 GND PD21 PD25 PA17 R231 GND PD22 PD20 R107 R106 PA2 R122 C104 VIN VCC GND C212 C209 C203 C205 PC19 TP100R110 C210 PD11 PD26 C207 C213 PD27 C206 PC31

PA6/ PD10 PD30

PA5 C917 PA19 GND ID R617 C918 PD30 PC13 PC13 PD30 C916 PD22 PD20 RESET C921C908 PD28 PC30 PD11 PA6

C919 PA17 PD26 PC19 C920C922

PB1 5V0 PC12 GND PA24 PA2 PD21 PB0 PA4 PA3 PD16 CORESIGHT2U PD24 PB4 PA21 PD15 PA10 / / / / PB1 PD21 PB2 PB3 PD31 PD27 PD19 J403 PA22 / PB0/ PD20 PB13 PD22 PD18 PC31 VCC GND PD27 SWD+ETM PB13

PD28 PD0

PB3

PB2 5V0 NC PC12 PA18 NC PA21 NC GND PB13 PB3 PA13 PA5 PA30 PA18 PD19 PB0 PA29 WWW.ATMEL.COM NC NC NC PA1 PB1 PB4 5V0 GND PB2 PA31 PD17 A4PA25 PA23 PA24 PA26 PC14 PA28 PA12 PD18

Atmel SAME70-XPLD [USER GUIDE] 52 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 6-3 Top Signals Layer

Atmel SAME70-XPLD [USER GUIDE] 53 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 6-4 Layer 2: Ground

Atmel SAME70-XPLD [USER GUIDE] 54 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 6-5 Layer 3: Power Planes

Atmel SAME70-XPLD [USER GUIDE] 55 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Figure 6-6 Bottom Signals Layer

Atmel SAME70-XPLD [USER GUIDE] 56 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 7. Evaluation Board/kit Important Notice This evaluation board/kit is intended for use for FURTHER ENGINEERING, DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY. It is not a finished product and may not (yet) comply with some or any technical or legal requirements that are applicable to finished products, including, without limitation, directives regarding electromagnetic compatibility, recycling (WEEE), FCC, CE or UL (except as may be otherwise noted on the board/kit). Atmel supplied this board/kit "AS IS," without any warranties, with all faults, at the buyer's and further users' sole risk. The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies Atmel from all claims arising from the handling or use of the goods. Due to the open construction of the product, it is the user's responsibility to take any and all appropriate precautions with regard to electrostatic discharge and any other technical or legal concerns. EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER USER NOR ATMEL SHALL BE LIABLE TO EACH OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES. No license is granted under any patent right or other intellectual property right of Atmel covering or relating to any machine, process, or combination in which such Atmel products or services might be or are used.

Mailing Address: Atmel Corporation 1600 Technology Drive San Jose, CA 95110 USA

Atmel SAME70-XPLD [USER GUIDE] 57 Atmel-44050A-SAME70-XPLD_User Guide-12/2015 Atmel Corporation 1600 Technology Drive, San Jose, CA 95110 USA T: (+1)(408) 441.0311 F: (+1)(408) 436.4200 | www.atmel.com

© 2015 Atmel Corporation. / Rev.: Atmel-44050A-SAME70-XPLD_User Guide-12/2015

Atmel®, Atmel logo and combinations thereof, Enabling Unlimited Possibilities®, and others are registered trademarks or trademarks of Atmel Corporation in U.S. and other countries. ARM®, ARM Connected® logo, and others are the registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others.

DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.

SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in connection with any applications where the failure of such products would reasonably be expected to result in significant personal injury or death (“Safety-Critical Applications”) without an Atmel officer's specific written consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems. Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military-grade. Atmel products are not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive-grade.