Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
SMART ARM-based Microcontrollers
SAME70-XPLD
USER GUIDE
Preface
The Atmel® SAM E70 Xplained evaluation kit is a hardware platform toevaluate the Atmel ATSAME70Q21 microcontroller.
Supported by the Atmel Studio integrated development platform, the kitprovides easy access to the features of the ATSAME70Q21 and explainshow to integrate the device in a custom design.
The Xplained Pro MCU series evaluation kits include an on-boardEmbedded Debugger, and no external tools are necessary to program ordebug the ATSAME70Q21.
The Xplained Pro extension series evaluation kits offers additionalperipherals to extend the features of the board and ease the development ofcustom designs.
Atmel-44050A-SAME70-XPLD_User Guide-12/2015
Table of Contents
Preface............................................................................................................................ 1
1. Introduction................................................................................................................31.1. Kit Contents..................................................................................................................................31.2. Related Items............................................................................................................................... 31.3. Kit Overview................................................................................................................................. 3
2. Getting Started...........................................................................................................62.1. Xplained Pro Quick Start.............................................................................................................. 62.2. Design documentation and relevant links.....................................................................................6
3. Xplained Pro.............................................................................................................. 73.1. Embedded Debugger................................................................................................................... 73.2. Hardware Identification System....................................................................................................73.3. Power Sources............................................................................................................................. 83.4. Xplained Pro Standard Extension Header....................................................................................83.5. Xplained Pro Power Header.........................................................................................................9
4. Hardware User Guide.............................................................................................. 114.1. Microcontroller............................................................................................................................ 114.2. Power Distribution.......................................................................................................................114.3. Connectors................................................................................................................................. 124.4. Peripherals................................................................................................................................. 304.5. Zero Ohm Resistors................................................................................................................... 384.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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
2
1. IntroductionThis user guide introduces the Atmel SAME70-XPLD evaluation kit and describes the development anddebugging 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 ArchitectureFigure 1-1 Evaluation Kit Architecture
SDRAM16Mb SDRAM
ETHERNETEthernet 10/100 InterfaceSDCARD
4-bit SDCARDReader Interface
USB DEBUGUSB Micro A/B Connector
ATMEL EDBGAtmel Embedded Debugguer
JTAG20-Pin JTAG Connector
ARDUINO CONNECTORS8-Expansion Headers Arduino R3 compatible PIO Signals(Not Populated)
XPRO CONNECTORS3-Expansions HeadersCompatible with Atmel XPRO Extensions
TARGET USBUSB Micro A/B Connector
CAMERA MODULECamera Interface Connector
for CAMx-EB Camera Module series(Not Populated)
TRACE20-pin debug connector
For Trace (Not Populated)
EEPROMI²C - 2k-bit serial EEprom
And Unique 128-bit serial numberAT24MAC402
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
3
http://www.atmel.com/products/microcontrollers/arm/sam-e.aspx?tab=documents
1.3.2. Evaluation Kit SpecificationsTable 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 FeaturesTable 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 oscillator32.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 deviceOne 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 connectorOne ETM Trace interface connector (not populated)
Expansion connectors Three Atmel XPRO Extension HeadersArduino R3 compatible set of headers (not populated)
GPIO,TWI, SPI, USART, UART and Audio interfaces are accessible via theseheaders
Board supply voltage 5V from USB target, from USB Debug or from Arduino shieldOn-board power regulation is performed by a 3.3V LDO
User interface Reset and free user pushbuttonOne green user LED
1.3.4. Board OverviewThe Atmel SAME70-XPLD is a hardware platform to evaluate the Atmel ATSAME70Q21.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
4
It offers a set of features that enables the ATSAME70Q21 user to get started with the SAM V71, SAMV70, SAM E70 and SAM S70 peripherals right away and to get an understanding of how to integrate thedevice 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 fortarget debug
Figure 1-2 SAME70-XPLD Board Overview
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
5
2. Getting Started
2.1. Xplained Pro Quick StartThree 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 willperform 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) areconnected. 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-boardEmbedded Debugger and therefore no external programmer or debugger tool is needed.
2.2. Design documentation and relevant linksThe 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 evaluationkits for Atmel microcontrollers and other Atmel products. It consists of a series of low-cost MCUboards 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 Atmelmicrocontrollers.
• 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 versionavailable from their website. The code size limit is 16KB for devices with M0, M0+, and M1 coresand 32KB for devices with other cores.
• Atmel Data Visualizer - Atmel Data Visualizer is a program used for processing and visualizingdata. Data Visualizer can receive data from various sources such as the Embedded Debugger DataGateway 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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
6
http://www.atmel.com/tools/atmelstudio.aspxhttp://www.atmel.com/XplainedProhttp://www.atmel.com/tools/atmelstudio.aspxhttp://www.atmel.com/system/samplesstorehttp://www.atmel.com/Images/Atmel-42096-Microcontrollers-Embedded-Debugger_User-Guide.pdfhttps://www.iar.com/iar-embedded-workbench/arm/https://gallery.atmel.com/Products/Details/5aa847a5-3d28-4486-91ad-c7a2945d31f2http://www.atmel.com/images/SAME70-XPLD__KitsFiles.ziphttp://www.atmel.com/Images/Atmel-44050-SAME70-Xplained_User-Guide.pdf
3. Xplained ProXplained Pro is an evaluation platform that provides the full Atmel microcontroller experience. Theplatform consists of a series of Microcontroller (MCU) boards and extension boards, which are integratedwith Atmel Studio, have Atmel Software Framework (ASF) drivers and demo code, support datastreaming, 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 hasan 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 examplecode through Atmel Studio.
3.1. Embedded DebuggerThe SAME70-XPLD contains the Atmel Embedded Debugger (EDBG) for on-board debugging. TheEDBG is a composite USB device of three interfaces: a debugger, Virtual COM Port, and a Data GatewayInterface (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 tocommunicate with the target application through terminal software. It offers variable baud rate, parity, andstop bit settings. Note that the settings on the ATSAME70Q21 must match the settings applied in theterminal 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 theATSAME70Q21 or as a generic printf-style data channel. Traffic over the interfaces can be timestampedon the EDBG for more accurate tracing of events. Note that timestamping imposes an overhead thatreduces 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 SystemAll Xplained Pro compatible extension boards have an Atmel ATSHA204 CryptoAuthentication™ chipmounted. 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 andsent 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 IDchip 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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
7
https://gallery.atmel.com/Products/Details/5aa847a5-3d28-4486-91ad-c7a2945d31f2http://www.atmel.com/Images/Atmel-42096-Microcontrollers-Embedded-Debugger_User-Guide.pdf
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 SourcesThe 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 fromexternal 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 thetwo 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 powerbudget of your system, there is a possiblity this could be not enough if your SAME70-XPLD alsoconnects to power demanding extension boards.
The optional 5Vcc power source from the Arduino connector J501 is connected in parallel to the USBpower switching system, hence the following warning:
Warning: do not power the board form the Arduino shield (J501) when either of the two USBsources are connected. Doing so could damage the board and potentially also damage the USBport of your PC.
3.4. Xplained Pro Standard Extension HeaderAll Xplained Pro kits have one or more dual row, 20-pin, 100mil extension header. Xplained Pro MCUboards have male headers, while Xplained Pro extensions have their female counterparts. Note that allpins are not always connected. All connected pins follow the defined pin-out description in the tablebelow.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
8
The extension headers can be used to connect a variety of Xplained Pro extensions to Xplained Pro MCUboards 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 differentialADC
4 ADC(-) Analog to digital converter, alternatively negative part of differentialADC
5 GPIO1 General purpose I/O
6 GPIO2 General purpose I/O
7 PWM(+) Pulse width modulation, alternatively positive part of differentialPWM
8 PWM(-) Pulse width modulation, alternatively negative part of differentialPWM
9 IRQ/GPIO Interrupt request line and/or general purpose I/O
10 SPI_SS_B/GPIO
Slave select for SPI and/or general purpose I/O
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. Alwaysimplemented, bus type.
17 SPI_MISO Master in slave out line of serial peripheral interface. Alwaysimplemented, 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 HeaderThe power header can only be used as supply for external peripherals or extension boards. Care must betaken not to exceed the total current limitation of the on-board regulator when using the 3.3V pin.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
9
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 inputsources)
4 VCC_3V3 Output: regulated 3.3V (output, used as main power supply for thekit)
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
10
4. Hardware User Guide
4.1. MicrocontrollerThe 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 andembedding a wide range of communication peripherals. It features a combination of user interfacefunctionalities and high data rate IOs, camera interface, 10/100 Ethernet ports, high-speed USB and SDCard.
The ARM Cortex-M7 processor supports SDRAM memory through an EBI interface. An internal 150 MHzmulti-layer AHB bus architecture associated with 24 XDMA channels, 384 Kbytes of SRAM and 2048Kbytes of Flash sustains the high bandwidth required by the microcontroller and the high-speedperipherals.
Figure 4-1 SAM E70 Block Diagram
12-layer Bus Matrix fMAX 150 MHz
XDMA
PCK0..2
XIN32XOUT32
ERASE
VDDCORE
VDDI
OVD
DOUT
VoltageRegulator
TST
WKUP0..13
VDDIO
XINXOUT
VDDPLL
RTCOUT0RTCOUT1
S M MMMSS S S
S
MM
M
M
M
S
System Controller
SM
In-Circuit Emulator
MPU
Cortex-M7 ProcessorfMAX 300 MHz
NVIC
FPU
TPIU
ETM
16 Kbytes ICache + ECC16 Kbytes DCache + ECC
TCMInterface
AXIMAHBP AHBS
AXI Bridge
TCK/S
WCLK
TDI
TDO/
TRAC
ESWO
JTAG
SEL
Serial Wire Debug/JTAG Boundary Scan
TRAC
ECLK
TRAC
ED0..
3
TMS/S
WDIO
NRST
PIOA/B/C/D/E
24-channelXDMA
ROM
Boot Program
Multi-portSRAM
Flash2048 Kbytes1024 Kbytes512 Kbytes
FlashUnique ID
ITCM
DTCM USBHS
Transceiver
External Bus Interface Static Memory Controller (SMC)SDRAM Controller (SDRAMC)
NAND Flash Logic
QSPI
XIP DMA
ISI GMACMII/RMII
5 xUART
3 xTWIHS
3 xUSART
2 xPWM
2 x12-bit AFE ACC
12-bitDAC
PIO SSC HSMCI 2 xSPI
4 x TC
XDMA
DMA
Peripheral Bridge
URXD
0..4
UTXD
0..4
VREF
N
CANR
X0..1
CANT
X0..1
RXD0
..2
SCK0
..2
RTS0
..2
TXD0
..2
CTS0
..2
DSR0
..2, D
TR0..
2
RI0..
2, DC
D0..2
ICM/SHA
PIODC
CLK
PIODC
EN1..
2
PIODC
0..7 TFTKTD RD RK RF
MCDA
0..3
MCCD
AMC
CK
SPIx_
NPCS
0..3
SPIx_
MISO
SPIx_
MOSI
SPIx_
SPCK
PWMC
x_PW
MH0..
3
PWMC
x_PW
ML0..
3
PWMC
x_PW
MFI0.
.2
PWMC
x_PW
MEXT
RG0..
1
AFEx
_ADT
RG
AFEx
_AD0
..11
DAC0
..1
DATR
G
TWD0
..2
TWCK
0..2
2 x MCAN
GTXC
K, GR
XCK,
GREF
CK
GCRS
, GCO
L, GC
RSDV
GMDC
, GMD
IO
GTSU
COMP
GRX0
..3, G
TX0..
3
GRXE
R, G
RXDV
GTXE
R, G
TXDV
ISI_D
[11:0]
ISI_P
CK, IS
I_MCK
ISI_H
SYNC
, ISI_V
SYNC
HSDP
HSDM
QMISO
/QIO
1
QMOS
I/QIO
0
QSCK
, QCS
QIO2
..3
A[23:0
], D[15
:0]
A21/N
ANDA
LE
A22/N
ANDC
LE
NAND
OE, N
ANDW
E
A0/N
LB, N
UB
NWAIT
, NCS
0..3,
NRD,
NWE
A16/S
DBA0
, A17
/SDBA
1
RAS,
CAS,
DQM0
..1, S
DCK,
SDCK
E, SD
A10
DMA DMA
Temp Sensor
TIOB0
..11
TCLK
0..11
TIOA0
..11
XDMAXDMAXDMAXDMAXDMAXDMAXDMAXDMAXDMA
XDMA
FIFO
XDMA
TRNGAES
DMA
VREF
P
Backup RAM1 Kbyte
TCM SRAM
System RAM
0–256 Kbytes
128–384 Kbytes0–256 Kbytes
PMC4/8/12 MHz
RC Oscillator
RSTC
SM
POR
SUPC
RTTRTC
WDT
UPLL
PLLA
3-20 MHzCrystal
Oscillator
32 kHzCrystal
Oscillator
32 kHzRC Oscillator
Immediate Clear256-bit SRAM
(GPBR)
Backup
RSWDT
4.2. Power DistributionThe 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 asource to draw power. Priority is given to TARGET USB power input.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
11
Figure 4-2 Power Supply Block Diagram
Coin Cell
TARGET USB
EDBG USB
VCC_5V0
4.3. ConnectorsThese sections describe the implementation of all connectors and headers on SAME70-XPLD and theirconnection to the ATSAME70Q21. The tables of connections in these sections also describe whichsignals are shared between the headers and on-board functionality. The figure below shows all availableconnectors and jumpers on the SAME70-XPLD.
Figure 4-3 SAME70-XPLD Connector Overview
J406
- SA
ME7
0 De
bug
(SW
D)
CAMERAINTERFACE
J600 - SDCARD Socket(Bottom Side)
J900DEBUG USB
Coresight 20 - SWD + ETM(Bottom Side)
J506 - SPI
J504
- An
alog
Hig
hJ5
02 -
Anal
og Lo
wJ5
01 -
Pow
er
J500
- Di
gita
l Hig
hJ5
03 -
Digi
tal L
owJ5
05 -
Com
mun
icat
ion
J402
- Ex
tens
ion
Head
er 2
J401
- Ex
tens
ion
Head
er 1
J101
- Po
wer
Hea
der
VDDCORE VCC_MCU_3V3
J200 - ERASE
J700 - Ethernet RJ45
J507 - Digital Extra
J302
Targ
et U
SB
OPT
ION
OPT
ION
OPT
ION O
PTIO
NO
PTIO
NO
PTIO
N
OPTION
OPTION
OPTION
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
12
4.3.1. Extension HeadersThe Xplained Pro headers EXT1 and EXT2 on SAME70-XPLD give access to the I/O of themicrocontroller in order to expand the system, e.g. by connecting extensions boards. The headers have apitch of 2.54mm.
Table 4-1 EXT1 Header
EXT1 Pin SAM E70Pin
Function Shared Functionality
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, J503Header & 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, EmbeddedDebugger
12 [I2C_SCL] PA4 TWCK0 Camera Connector, EXT2 Header, J500 Header (Arduino Shield), AT24MAC402, EmbeddedDebugger
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), EmbeddedDebugger
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), EmbeddedDebugger
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
13
EXT1 Pin SAM E70Pin
Function Shared Functionality
19 [GND] -- -- Ground Connection with Extension Board
20 [VCC] -- -- Power For Extension Board (3.3V only)
Table 4-2 EXT2 Header
EXT2 Pin SAM E70Pin
Function Shared Functionality
1 [ID ] -- ID_EXT2 Signal connected to EmbeddedDebugger
2 [GND] -- -- Ground Connection with ExtensionBoard
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/GPIO]
PA24 GPIO Camera Connector, J507 Header (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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
14
EXT2 Pin SAM E70Pin
Function Shared Functionality
15 [SPI_SS_A] PB3 USART_SPI_NSS_MASTER_0 EXT1 Header, Camera Connector, J504 Header & J507 Header (ArduinoShield)
PD31 USART_SPI_NSS_MASTER_0 Camera Connector
PB2 USART_SPI_NSS_SLAVE EXT1 Header, J504 Header & J507Header (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 (ArduinoShield), Embedded Debugger
PB1 USART_SPI_MOSI EXT1 Header, J505 Header & J507Header (Arduino Shield)
17 [SPI_MISO] PD20 SPI0_MISO EXT1 Header, J500 Header & J506Header (Arduino Shield), EmbeddedDebugger
PB0 USART_SPI_MOSI EXT1 Header, J505 Header & J507Header (Arduino Shield)
18 [SPI_SCK} PD22 SPI0_SPCK EXT1 Header, Camera Connector, J500 Header & J506 Header (ArduinoShield), Embedded Debugger
PB13 USART_SPI_SPCK J504 Header & J507 Header (ArduinoShield)
19 [GND] -- -- Ground Connection with ExtensionBoard
20 [VCC] -- -- Power For Extension Board (3.3V only)
4.3.2. Arduino ConnectorsFive 8-pin, one 10-pin, one 2×3-pin and one 2×18-pin headers footprints (J500 to J507) are implementedon the board to enable the addition of "Arduino shields" extension cards. These accessory boards arevarious and widely available on the market, often custom developed. Due to the PIO multiplexing of theATSAME70Q21, various peripheral signals may be connected to each pin. These connectors aremechanically (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 cannotproperly function with SAME70-XPLD.
In addition to its standard IO functionality, the SAM E70 microcontroller can provide alternate functions toexternal IO lines available on the J500 to J507 headers.
These alternate functions are:
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
15
• 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 functionselection.
Caution: Like the Arduino Due, SAME70-XPLD runs at 3.3V and the maximum voltage thatthe I/O pins can tolerate is 3.3V, connecting higher voltages e.g. 5V to those I/O pin coulddamage the board.
Important: not all pins of the shield connectors are necessarily connected to an I/O of theATSAME70Q21. Each shield should be checked for compatibility against the SAME70-XPLDschematics before it is purchased and connected.
4.3.2.1. J500 HeaderJ500 is a 10-pin header with 2.54mm pitch. It is not populated by default and can be used to connect toArduino Shields. It includes PWM, Timer Counter and I2C interface signals and analog reference.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
16
http://www.atmel.com/products/microcontrollers/arm/sam-e.aspx?tab=documents
Figure 4-4 J500 Header
J406
- SA
ME7
0 De
bug
(SW
D)
J600 - SDCARD Socket(Bottom Side)
J900DEBUG USB
Coresight 20 - SWD + ETM(Bottom Side)
VDDCORE VCC_MCU_3V3
J200 - ERASE
J700 - Ethernet RJ45
J302
Targ
et U
SB
CAMERAINTERFACE
J501
- Po
wer
OPT
ION
J502
- An
alog
Low
OPT
ION
J504
- An
alog
Hig
h
OPT
ION
J506 - SPI
OPTION
OPTION
J500
- Di
gita
l Hig
h
OPT
ION
J503
- Di
gita
l Low
OPT
ION
J505
- Co
mm
unic
atio
n
OPT
ION
J507 - Digital Extra
OPTION
J402
- Ex
tens
ion
Head
er 2
J401
- Ex
tens
ion
Head
er 1
J101
- Po
wer
Hea
der
Table 4-3 J500 Header IOs
Pin PCBMarking
PIO PrimaryFunction
Alternate Function
10 SCL PA4 TWCK0 TCLK0 UTXD1 WKUP3
9 SDA PA3 TWD0 PCK2 -- --
8 AREF ADVREF -- -- -- --
7 GND -- Systemground
-- -- --
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_PWMH3
AFE0_AD6 PCK1 --
Info: By default, pin 4 is connected to PD21 PIO through a 0R serial resistor. Alternately, it canbe connected to PD11. To do so R210 must be removed and R212 must be mounted.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
17
4.3.2.2. J501 HeaderJ501 is a 8-pin header with 2.54mm pitch. It is not populated by default and can be used to connect toArduino Shields. It allows power distribution (3.3V and 5V) to any Arduino Shield connected on theSAME70-XPLD board.
Figure 4-5 J501 Header
J406
- SA
ME7
0 De
bug
(SW
D)
J600 - SDCARD Socket(Bottom Side)
J900DEBUG USB
Coresight 20 - SWD + ETM(Bottom Side)
VDDCORE VCC_MCU_3V3
J200 - ERASE
J700 - Ethernet RJ45
J302
Targ
et U
SBCAMERA
INTERFACE
J501
- Po
wer
OPT
ION
J502
- An
alog
Low
OPT
ION
J504
- An
alog
Hig
h
OPT
ION
J506 - SPI
OPTION
OPTION
J500
- Di
gita
l Hig
h
OPT
ION
J503
- Di
gita
l Low
OPT
ION
J505
- Co
mm
unic
atio
n
OPT
ION
J507 - Digital Extra
OPTIONJ4
02 -
Exte
nsio
n He
ader
2J4
01 -
Exte
nsio
n He
ader
1J1
01 -
Pow
er H
eade
r
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 E70microcontroller. 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 supplysource, do check the recommendations given in Power Sources on page 8section.
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 isnecessary to mount 0R resistor R623 to enable the functionality.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
18
4.3.2.3. J502 HeaderJ502 is a 8-pin header with 2.54mm pitch. It is not populated by default and can be used to connect toArduino Shields. It includes ADC inputs and a part of the Digital Audio Interface (TD).
Figure 4-6 J502 Header
J406
- SA
ME7
0 De
bug
(SW
D)
J600 - SDCARD Socket(Bottom Side)
J900DEBUG USB
Coresight 20 - SWD + ETM(Bottom Side)
VDDCORE VCC_MCU_3V3
J200 - ERASE
J700 - Ethernet RJ45
J302
Targ
et U
SB
CAMERAINTERFACE
J501
- Po
wer
OPT
ION
J502
- An
alog
Low
OPT
ION
J504
- An
alog
Hig
h
OPT
ION
J506 - SPI
OPTION
OPTION
J500
- Di
gita
l Hig
h
OPT
ION
J503
- Di
gita
l Low
OPT
ION
J505
- Co
mm
unic
atio
n
OPT
ION
J507 - Digital Extra
OPTION
J402
- Ex
tens
ion
Head
er 2
J401
- Ex
tens
ion
Head
er 1
J101
- Po
wer
Hea
der
Table 4-5 J502 Header IOs
Pin PCBMarking
PIO PrimaryFunction
Alternate 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 necessaryto mount them to enable the PIO functionality, respectively R214, R216, R236.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
19
4.3.2.4. J503 HeaderJ503 is a 8-pin header with 2.54mm pitch. It is not populated by default and can be used to connect toArduino Shields. It includes PWM, Timer Counter, SPI Chip Select and UART3.
Figure 4-7 J503 Header
J406
- SA
ME7
0 De
bug
(SW
D)
J600 - SDCARD Socket(Bottom Side)
J900DEBUG USB
Coresight 20 - SWD + ETM(Bottom Side)
VDDCORE VCC_MCU_3V3
J200 - ERASE
J700 - Ethernet RJ45
J302
Targ
et U
SB
CAMERAINTERFACE
J501
- Po
wer
OPT
ION
J502
- An
alog
Low
OPT
ION
J504
- An
alog
Hig
h
OPT
ION
J506 - SPI
OPTION
OPTION
J500
- Di
gita
l Hig
h
OPT
ION
J503
- Di
gita
l Low
OPT
ION
J505
- Co
mm
unic
atio
n
OPT
ION
J507 - Digital Extra
OPTION
J402
- Ex
tens
ion
Head
er 2
J401
- Ex
tens
ion
Head
er 1
J101
- Po
wer
Hea
der
Table 4-6 J503 Header IOs
Pin PCBMarking
PIO Primary Function Alternate Function
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(TXD)
PD30 UTXD3 AFE0_AD0 --
4 D0(RXD)
PD28 URXD3 TWCK2 CANRX1
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
20
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 bemounted.
4.3.2.5. J504 HeaderJ504 is a 8-pin header with 2.54mm pitch. It is not populated by default and can be used to connect toArduino Shields. It includes ADC inputs, DAC outputs, CAN interface and Digital Audio Receive interface(RF, RD, RK).
Figure 4-8 J504 Header
J406
- SA
ME7
0 De
bug
(SW
D)
J600 - SDCARD Socket(Bottom Side)
J900DEBUG USB
Coresight 20 - SWD + ETM(Bottom Side)
VDDCORE VCC_MCU_3V3
J200 - ERASE
J700 - Ethernet RJ45
J302
Targ
et U
SB
CAMERAINTERFACE
J501
- Po
wer
OPT
ION
J502
- An
alog
Low
OPT
ION
J504
- An
alog
Hig
h
OPT
ION
J506 - SPI
OPTION
OPTION
J500
- Di
gita
l Hig
h
OPT
ION
J503
- Di
gita
l Low
OPT
ION
J505
- Co
mm
unic
atio
n
OPT
ION
J507 - Digital Extra
OPTION
J402
- Ex
tens
ion
Head
er 2
J401
- Ex
tens
ion
Head
er 1
J101
- Po
wer
Hea
der
Table 4-7 J504 Header IO
Pin PCBMarking
PIO PrimaryFunction
Alternate Function
1 AD8 PD24 RF TCLK11 PWMC0_PWML0 -- --
2 AD9 PA10 RD PWMC0_PWMEXTRG0
-- -- --
3 AD10 PA22 RK PWMC0_PWMEXTRG1
-- -- --
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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
21
4.3.2.6. J505 HeaderJ505 is a 8-pin header with 2.54mm pitch. It is not populated by default and can be used to connect toArduino Shields. It includes UART0, UART2, UART4 and TWI interfaces.
Figure 4-9 J505 Header
J406
- SA
ME7
0 De
bug
(SW
D)
J600 - SDCARD Socket(Bottom Side)
J900DEBUG USB
Coresight 20 - SWD + ETM(Bottom Side)
VDDCORE VCC_MCU_3V3
J200 - ERASE
J700 - Ethernet RJ45
J302
Targ
et U
SB
CAMERAINTERFACE
J501
- Po
wer
OPT
ION
J502
- An
alog
Low
OPT
ION
J504
- An
alog
Hig
h
OPT
ION
J506 - SPI
OPTION
OPTION
J500
- Di
gita
l Hig
h
OPT
ION
J503
- Di
gita
l Low
OPT
ION
J505
- Co
mm
unic
atio
n
OPT
ION
J507 - Digital Extra
OPTION
J402
- Ex
tens
ion
Head
er 2
J401
- Ex
tens
ion
Head
er 1
J101
- Po
wer
Hea
der
Table 4-8 J505 Header IOs
Pin PCBMarking
PIO PrimaryFunction
Alternate 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 HeaderJ506 is a 2x3-pin header with 2.54mm pitch. It is not populated by default and can be used to connect toArduino Shields. It includes the SPI interface.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
22
Figure 4-10 J506 Header
J406
- SA
ME7
0 De
bug
(SW
D)
J600 - SDCARD Socket(Bottom Side)
J900DEBUG USB
Coresight 20 - SWD + ETM(Bottom Side)
VDDCORE VCC_MCU_3V3
J200 - ERASE
J700 - Ethernet RJ45
J302
Targ
et U
SB
CAMERAINTERFACE
J501
- Po
wer
OPT
ION
J502
- An
alog
Low
OPT
ION
J504
- An
alog
Hig
h
OPT
ION
J506 - SPI
OPTION
OPTION
J500
- Di
gita
l Hig
h
OPT
ION
J503
- Di
gita
l Low
OPT
ION
J505
- Co
mm
unic
atio
n
OPT
ION
J507 - Digital Extra
OPTION
J402
- Ex
tens
ion
Head
er 2
J401
- Ex
tens
ion
Head
er 1
J101
- Po
wer
Hea
der
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 HeaderJ507 is a 2x18-pin header with 2.54mm pitch. It is not populated by default and can be used to connect toArduino Shields. It includes PWM, Timer Counters, Audio Transmit interface, CAN interface, USART1 andUSART2 interfaces and four UART interfaces.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
23
Figure 4-11 J507 Header
J406
- SA
ME7
0 De
bug
(SW
D)
J600 - SDCARD Socket(Bottom Side)
J900DEBUG USB
Coresight 20 - SWD + ETM(Bottom Side)
VDDCORE VCC_MCU_3V3
J200 - ERASE
J700 - Ethernet RJ45
J302
Targ
et U
SB
CAMERAINTERFACE
J501
- Po
wer
OPT
ION
J502
- An
alog
Low
OPT
ION
J504
- An
alog
Hig
h
OPT
ION
J506 - SPI
OPTION
OPTION
J500
- Di
gita
l Hig
h
OPT
ION
J503
- Di
gita
l Low
OPT
ION
J505
- Co
mm
unic
atio
n
OPT
ION
J507 - Digital Extra
OPTION
J402
- Ex
tens
ion
Head
er 2
J401
- Ex
tens
ion
Head
er 1
J101
- Po
wer
Hea
der
Table 4-10 J507 Header IOs
Pin PCBMarking
PIO Primary Function Alternate Function
1 5V0 -- Power supply -- -- --
2 5V0 -- Power supply -- -- --
3 D22 PA18 PCK2 PWMC1_PWMEXTRG1
-- --
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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
24
Pin PCBMarking
PIO Primary Function Alternate Function
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_PWMEXTRG0
PWMC0_PWML2 WKUP11 --
30 D49 PA28 PWMC1_PWMFI2 TCLK1 -- --
31 D50 PA18 PWMC1_PWMEXTRG1
PCK2 -- --
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 ConnectorA 2×15-pin, 100mil pin-header camera connector is implemented to give access to the SAM E70 parallelImage Sensor Interface (ISI).
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
25
Figure 4-12 Camera Connector
J406
- SA
ME7
0 De
bug
(SW
D)
J600 - SDCARD Socket(Bottom Side)
J900DEBUG USB
Coresight 20 - SWD + ETM(Bottom Side)
VDDCORE VCC_MCU_3V3
J200 - ERASE
J700 - Ethernet RJ45
J302
Targ
et U
SB
CAMERAINTERFACE
J501
- Po
wer
OPT
ION
J502
- An
alog
Low
OPT
ION
J504
- An
alog
Hig
h
OPT
ION
J506 - SPI
OPTION
OPTION
J500
- Di
gita
l Hig
h
OPT
ION
J503
- Di
gita
l Low
OPT
ION
J505
- Co
mm
unic
atio
n
OPT
ION
J507 - Digital Extra
OPTION
J402
- Ex
tens
ion
Head
er 2
J401
- Ex
tens
ion
Head
er 1
J101
- Po
wer
Hea
der
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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
26
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. USBThe SAME70-XPLD board features a Micro-USB connector that implements the SAM E70 USB highspeed interface. This connector is labeled as TARGET USB on the board.
Figure 4-13 USB Interface Schematic
ATMEL SAME70
VCC_USB
C21910pF
5VD-
D+ID
G
MICRO USB AB 5J302
1
2
3
4
5
R2335.62K
D302PRTR5V0U2XDNP1
2
3
4
HSDP137
HSDM136
VBG140
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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
27
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 powergoing to the ATSAME70Q21 is routed through this header. To measure the power consumption of thedevice, 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 otherwisepowered extension boards or systems may cause the ATSAME70Q21 to be powered through itsI/O pins. This could cause permanent damage to the device.
4.3.6. VDDCORE Current MeasurementA 100mil pin-header marked "J201" is located at the upper edge of the SAME70-XPLD board. It is notmounted by default and is replaced by a shunt trace between the two pads of the connector. All power toVDDCORE of the ATSAME70Q21 is routed through this header. To measure the power consumption ofVDDCORE, cut the shunt trace between the two points, mount a header or solder wires and connect anammeter.
Figure 4-15 VDDCORE Connector Placement J201
J201
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
28
Caution: Leaving J201 open while the main power source is present is to be avoided. Thiswould feed all power pins of the ATSAME70Q21 except VDDCORE, which may causepermanent damage to the device.
4.3.7. Chip Erase HeaderThe chip erase header J200 is connected to the SAM E70 erase pin (PB12) and the main 3.3V. To erasethe contents of the SAM E70 flash memory, set a jumper on J200 and turn the power supply on. Thejumper can be removed soon after the power is on (flash erasing takes only 200ms). Using the chip erasejumper is the only way to erase a chip with the security bit set.
Figure 4-16 ERASE Chip Connector Placement J200
J200
PB12
3V3
4.3.8. Trace ConnectorATSAME70Q21 supports 4-bit parallel trace. SAME70-XPLD implements a CoreSight 20 20-pin, 50-milconnector footprint on PCB bottom side (not mounted by default).
Figure 4-17 Trace connector location on PCB
CORESIGHT20
SWD+ETM
J403
To use the trace functionality, an external debugger with trace support and CoreSight 20 pinout has to beused. The table CoreSight 20-Pin Trace Connector shows the connections on the board.
Figure 4-18 CoreSight 20-Pin Trace Connector Schematic
SWDIOSWCLKTRACESWO
TRACECLKTRACED0TRACED1TRACED2TRACED3
VTREF
TRACEVCC_3V3
PB6PB7PB5
PD8TARGET_RESET
PD4PD5PD6PD7
J403
CONN_HDR_10X2_19
DNP
1 23 4
658
9 1011 1213 1415 1617 1819 20
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
29
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0499h/BEHGJECH.html
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 CircuitryThe 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 theoscillator 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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
30
http://www.atmel.com/images/doc8333.pdfhttp://www.atmel.com/images/atmel-42251-rtc-calibration-and-compensation_ap-note_at03155.pdf
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
SAME70
XIN
XOUT
C30212pF
C30312pF
XC30112MHz
321 4
PB8141
PB9142
J3011 2
PA8PA7
XOUT32
XIN32PA8
J300
12
C301 18pFDNP 36
35
XC300 32.768 kHzDNP
C30018pFDNP
PA7
4.4.2. Mechanical ButtonsTwo pushbutton switches are available. When a button is pressed, it drives the corresponding I/O line toGND.
• One board reset button (SW100). When pressed and released, this pushbutton causes a power-onreset of the whole board.
• One wakeup pushbutton that brings the processor out of Low-power mode (SW300)
Figure 4-20 Mechanical Button SchematicVCC_3V3
EDBG_TARGET_RESET
TARGET_RESET_SENSE
TARGET_RESETR11039R
C10410nF
R1220R
TP100
SW100
14
23
R107
330R
R106100K
SAME70 USER BUTTON
WKUP6 PA11R300
39RPA11
64
TP300
SW3001
423
Important: There is no pull-up resistor connected to SW300 button. Remember to enable theinternal pull-up in the SAM E70 to use the button.
4.4.3. LEDsThere is one green LED mounted on the SAME70-XPLD. It can be activated by driving the connected I/Oline to a low level.
Figure 4-21 LED Indicators SchematicUSER LED
LED0 PC8
VCC_3V3
R303330R
D301Green
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
31
Table 4-16 LED Connection
SAM E70 Pin Function Shared With
PC8 Green LED --
4.4.4. SDRAMThe SAME70-XPLD features one IS42S16100F-5BL, 512K×16×2, 10ns, SDRAM chip. The SDRAM isconnected to chip select NCS1. SDRAM access can be configured in the SDRAM Controller in the SAME70. Table 4-17 SDRAM Connections on page 32 lists all I/O lines connected to the SDRAM.
Figure 4-22 SDRAM Schematic
D0D1D2D3D4D5
D7D6
D8D9D10D11D12D13D14D15
A2A3
A5A4
A6A7A8A9A10A11SDA10
BA0
SDCKSDCKE
SDCSRASCASSDWE
A0/NBS0NWR1/NBS1
VCC_3V3
VCC_3V3
VCC_3V3
PC0PC1PC2PC3PC4PC5PC6PC7PE0PE1PE2PE3PE4PE5PA15PA16
PC20PC21PC22PC23PC24PC25PC26PC27PC28PC29PD13
PA20
PD23PD14
PC15PD16PD17PD29
PC18PD15
R137 22R
R115 22R
R617 100K
C9082.2uF
R128 22R
R119 22RR132 22R
R124 22R
C922100nF
R136 22R
R140 22R
R114 22RR127 22R
R118 22R
C918100nF
R125 22R
R131 22R
R123 22R
R111 22R
C921100nF
R135 22R
R139 22R
R113 22RR126 22R
R117 22R
C917100nF
R130 22R
R121 22R
C920100nF
R134 22R
R138 22R
R112 22R
R116 22R
C919100nF
C916100nF
U901
IS42S16100F-5BL
A0N6
A1P7
A2P6
A3R6
A4R2
A5P2
A6P1
A7N2
A8N1
A9M2
A10N7
A11M1
DQ0A6
DQ1B7
DQ2C7
DQ3D7
DQ4D6
DQ5E7
DQ6F7
DQ7G7
DQ8G1
DQ9F1
DQ10E1
DQ11D2
DQ12D1
DQ13C1
DQ14B1
DQ15A2CLK
K2
CKEL1
CSL7
RASK6
CASK7
WEJ7
LDQMJ6
UDQMJ2
VDD2R7
VDD3H6
VDD1A7
VSS1A1
VSS2R1
VSSQ4F6VSSQ3E2VSSQ2C6VSSQ1B2
VDDQ4F2VDDQ3E6VDDQ2C2VDDQ1B6
NC1G2
NC2G6
NC3H1
NC4H2
NC5H7
NC7K1
NC8L2
NC9L6
NC10M6
NC11M7
NC6J1
R129 22R
R120 22RR133 22R
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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
32
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 CardThe SAME70-XPLD has one standard SD card slot, connected to the High-speed Multimedia CardInterface (HSMCI) of the SAM E70. Table 4-18 SD/MMC Socket J600 Signal Descriptions on page 34lists all I/O lines connected to the SD card connector.
Figure 4-23 SD/MMC Socket J600 Schematic
SD_WP
SD_D0SD_D1SD_D2SD_D3
SD_CLK
SD_DETECTSD_CMD
VCC_3V3
VCC_3V3
PA30PA31PA26PA27
PA28PA25
PC16
R607100K
J901
J600
SD Card SOCKET
DAT07
DAT18
DAT29
DAT31
VDD4
VSS13
VSS26
SHELL12
CLK5
CMD2
C/D10
W/P11
SHELL13
SHELL14
SHELL15
R60610K
R610100K
R61210K
R609100K
R61110K
TP600
C613100nF
R608100K
C61210uF
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
33
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. EthernetThe ATSAME70Q21 has a built-in 10/100 Mbps Ethernet IEEE 802.3 compatible MAC with RMIIinterface. The SAME70-XPLD connects the MAC to a Micrel KSZ8081RNACA RMII physical-layertransceiver (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, theEUI-48 address can be used as a MAC address for the KSZ8081RNACA. The address is alsoprogrammed into the on-board EDBG.
Table 4-19 KSZ8081RNACA Connections on page 35 lists all pins connected from the SAM E70 to theEthernet PHY.
Info: Several of the Ethernet signals are shared with the trace connector and thus there is noEthernet support if trace is used in an application.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
34
Figure 4-24 RMII Ethernet Schematic
PHY_RESET
PHY_INTERRUPT
PHY_MDC
PHY_MDIO
PHY_CRS_DV
PHY_TXEN
PHY_TXD0PHY_TXD1
PHY_RXER
PHY_RXD0PHY_RXD1PHY_REFCLK
PHY_MDIO
PHY_RXD1PHY_RXD0
PHY_CRS_DV
PHY_MDC
RMII_XTALO
RMII_XTALI
VDDPLL_1.2V
VDDA_ENETVCC_3V3
VCC_3V3
VCC_3V3
VCC_3V3
VCC_3V3
PD0
PD1
PD2PD3
PD5PD6
PD4
PD7PC10
PA14
PD8
PD9PD8
PD5PD6
PD9
PD4
KSZ8081RNACA
U700
VDD
_1V2
1
VDD
A_3V
32
RXM3RXP4
TXM5TXP6
XO7
XI8
REXT9
MDIO10
MDC11
RXD112RXD013
VDD
IO14
CRS_RV/PHYAD1/PHYAD015
REF_CLK16
RXER17
INTRP18
TXEN19
TXD020
TXD121
GN
D1
22
LED0/ANEN_SPEED23RST
24
GN
D2
25
R561.5K
C70424PF
R238 39R
C7082.2uF
R70210K
C70924PF
C700
100nF
L700
C711
100nF
R6710K
DNP
C702
100nFC220
10uF
R7046.49K
R6910K
DNPR7010K
C92100PFDNP
C713
10uF
C710
100nF
R9061K
R7110K
DNP
XC700
25MHZ
1 4
32
R551.5KDNP
C701
4.7uF
PHY_TXPPHY_TXM
PHY_RXPPHY_RXM
LED0_SPEED
Figure 4-25 Ethernet RJ45 Schematic
LED1_LINKVCC_3V3
VCC_3V3
R703470
C706100nF
R701 470
L701
TD+_R1
TD-_R2
TCT_R3
RD+_R7
1000pF
Y
+
75 OHMS
1 : 1
NC_4
C7
C6_RX-
C3_RX+
C5
C4
C8
C2_TX-
C1_TX+
NC_5
L4
L3
L2
L1
1 : 1
75 OHMS
75 OHMS75 OHMS
G
S2 S1
RD-_R8
RCT_R6
+
J700
RJ45
1
2
7
3
6
8
14
1311
910
45
12
C705100nF
PHY_TXP
PHY_TXM
PHY_RXP
PHY_RXM
LED0_SPEEDVCC_3V3
R604 10K
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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
35
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 pinlevels. These configuration options have a default mode on the kit done by external pull-up and pull-downresistors. For detailed information about the configuration, refer to the KSZ8081RNACA datasheet.
Table 4-20 KSZ8081RNACA Configuration
Configuration Name Default Value onKit
Default Configuration
PHYAD 0x0h The PHYs address is 0x0h. It can be set to 0x3h if R70and R71 are permutted.
AUTONEG Pull-Up Auto negotiation enabled and set 100Mbps speed
4.4.7. AT24MAC402The SAME70-XPLD features one Atmel AT24MAC402 serial EEPROM with an EIA-48 MAC addressconnected to the SAM E70 through I2C. This AT24MAC402 is configured on the I2C interface with theaddress 0x37h. It contains a MAC address for use with the Ethernet interface. Table 4-21 AT24MAC402Connections on page 36 lists all I/O lines connected to the AT24MAC402 device.
Figure 4-26 AT24MAC402 Schematic
MAC24_A0MAC24_A1MAC24_A2
TWD0TWCK0
VCC_3V3
VCC_3V3
PA3PA4PC11
R60310K
U600
AT24MAC402-MAHM-T
A01
A12
A23
GND4
SDA5
SCL6
WP7
VCC8
R60010K
R60110K
R60210K
C600
100nF
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), EmbeddedDebugger
PA4 TWCK0 SCL (Serial Click Line) Camera Connector, EXT1 Header, EXT2 Header, J500 Header (Arduino Shield), EmbeddedDebugger
PC11 GPIO WP (Write Protect) --
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
36
4.4.8. Debug JTAG/ICEA 2×10-pin JTAG header is implemented on the SAME70-XPLD board to enable software developmentand debugging of the board by using various JTAG emulators. The interface signals have a voltage levelof 3.3V.
Figure 4-27 JTAG/ICE Interface SchematicARM JTAG
SWDIO
SWCLK
TRACESWO
VCC_3V3
PB6
PB7
PB5
TARGET_RESET
R4010R
R4020R
R4030R
J4061234
6 57891011121314151617181920
R4000R
Table 4-22 JTAG/ICE Connector J406 Signal Descriptions
Pin Signal Type Signal Description
1 VTref /VCC_3V3
Input This is the target reference voltage. It is used tocheck if the target has power, to create the logic-level reference for the input comparators and tocontrol the output logic levels to the target. It isnormally fed from Vdd of the target board and mustnot have a series resistor.
2 Vsupply /VCC_3V3
Not Used This pin is not connected in J-Link. It is reserved forcompatibility with other equipment. Connect to Vddor leave open in target system.
3 Not used NC This pin is not used by J-Link. If the device mayalso be accessed via JTAG, this pin may beconnected to nTRST, otherwise leave open.
5 Not used NC This pin is not used by J-Link. If the device mayalso be accessed via JTAG, this pin may beconnected 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 thatthis pin is pulled to a defined state of the targetboard. Typically connected to TCK of target CPU.
11 Not used NC This pin is not used by J-Link. This pin is not usedby J-Link when operating in SWD mode. If thedevice may also be accessed via JTAG, this pinmay be connected to RTCK, otherwise leave open.
13 SWO Output Serial Wire Output trace port. (Optional, notrequired for SWD communication.)
15 RESET I/O Target CPU reset signal. Typically connected to theRESET pin of the target CPU, which is typicallycalled "nRST", "nRESET" or "RESET".
17 Not used NC This pin is not connected in J-Link.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
37
Pin Signal Type Signal Description
19 Not Used(5V-Supply)
Output This pin is used to supply power to some evalboards. Not all JLinks supply power on this pin, onlythe KS (Kickstart) versions. Typically left open ontarget hardware.
4-6-8-10-12-14-16-18-20 GND -- System Ground
4.5. Zero Ohm ResistorsThe SAME70-XPLD has several zero ohm resistors that can be used to disconnect I/O pins of theATSAME70Q21 from connectors and on-board ICs and to disconnect power signals. All Arduino pinnumbers are listed in Arduino Connectors. The table Zero Ohm Resistors lists all zero ohm resistors onthe kit. The figures Zero Ohm Resistors - Top Side and Zero Ohm Resistors - Bottom Side show wherethey are located.
Info: Note that some zero ohm resistors listed in the table Zero Ohm Resistors are notmounted 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 - ArduinoDUE 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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
38
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 ResetCommand
R223 No PD22 J400 - Pin 18 ISI Interface: Data Line 0
R224 No PB3 J402 - Pin 15 Chip Select for USART in SPIMode with Master Mode
R225 No PD31 J402 - Pin 15 Chip Select for USART in SPIMode with Master Mode
R226 No PB2 J402 - Pin 15 Chip Select for USART in SPIMode 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 SPIMode
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 currentmeasurement
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
39
Figure 4-28 Zero Ohm Resistors Position – Top Side
R400
R401
R403
R402
R214
R215
R221
R220
R219
R236
R216
R223
R623
R222
R211
R213
R208
R234
R207
R229R205
R204R226R227R230
R224R225R235R228
R209
R212
R210
R202
R201
R203
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
40
Figure 4-29 Zero Ohm Resistors Position – Bottom Side
R624
R122
4.6. Embedded Debugger ImplementationSAME70-XPLD contains an Embedded Debugger (EDBG) that can be used to program and debug theATSAME70Q21 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 DebugThe Serial Wire Debug (SWD) uses two pins to communicate with the target. For further information onhow to use the programming and debugging capabilities of the EDBG, see Embedded Debugger on page7.
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
41
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 PortThe Embedded Debugger acts as a Virtual Com Port gateway by using one of the ATSAME70Q21UARTs. 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 InterfaceThe Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a SPI or I2Cport. The DGI can be used to send a variety of data from the ATSAME70Q21 to the host PC. For furtherinformation 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, SlaveOut)
EXT1 Header, EXT2 Header, J500 Header, J506Header, Embedded Debugger
PD21 SPI0_MOSI (Master Out -Slave In)
EXT1 Header, EXT2 Header, J500 Header, J506Header, Camera Connector, Embedded Debugger
PD22 SPI0_SPCK EXT1 Header, EXT2 Header, J500 Header, J506Header, 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, CameraConnector, Camera Connector, Embedded Debugger
Four GPIO lines are connected to the Embedded Debugger. The EDBG can monitor these lines andtimestamp pin value changes. This makes it possible to accurately timestamp events in the SAM E70application 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]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
42
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, EmbeddedDebugger
PA2 DGI_GPIO3 EXT2 Header, J503 Header, Embedded Debugger
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
43
5. Board SchematicsThis 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 Diagram5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
Target MCU SAME70
EDBG
ID_SYS ID_SYS
Connectors
Peripherals
ETHERNET
CAN
Power Supply
OPTIONAL
TARGET_RESET
DWSDWS
EDBG_DGI_SPIEDBG_DGI_I2C
EDBG_DGI_GPIOEDBG_CDC_UART
EDBG_DGI_SPIEDBG_DGI_I2CEDBG_DGI_GPIOEDBG_CDC_UART
TRACECAMERAEXT1EXT2
TRACECAMERA
EXT1EXT2
SWD
BTN0LED0LED1
BTN0LED0LED1
TARGET_USB_PTARGET_USB_N
TARGET_USB_PTARGET_USB_N
VBUS_DETECTVBUS_DETECTVBUS_HOST_ENVBUS_HOST_ENXIN32XOUT32
XINXOUT
XIN32XOUT32
XINXOUT
ETHERNET
CANCAN
ETHERNET
TARGET_RESET_SENSE
IOHIOLCOMADCLADCHDIGSPI
IOHIOLCOMADCLADCHDIGSPI
TESER_TEGRATTESER_TEGRAT_GBDE
VCC_3V3
VCC_3V3
VCC_5V0
Memory
EBI
EBI
I2C
I2C
SDRAM
SDCARD
SDRAM
SDCARD
REV DATEMODIF. DES. DATE VER.SCALE 1/1 REV. SHEET
INIT EDITAA RevA
17ATOP
SAME70-XPLD
Embest 14-Oct-15
REV DATEMODIF. DES. DATE VER.SCALE 1/1 REV. SHEET
INIT EDITAA RevA
17ATOP
SAME70-XPLD
Embest 14-Oct-15
REV DATEMODIF. DES. DATE VER.SCALE 1/1 REV. SHEET
INIT EDITAA RevA
17ATOP
SAME70-XPLD
Embest 14-Oct-15
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
44
Figure 5-2 SAM E70 Device, Crystals and USB Device interface5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
ATMEL Cortex-M7 Processor
SAME70 QFP144
These straps with SMD pads can be used to place a resistor in the XOUT signal in order to measure the oscillator allowance. By default these straps are closed and nothing is mounted on the pads.
These straps with SMD pads can be used to place a resistor in the XOUT signal in order to measure the oscillator allowance. By default these straps are closed and nothing is mounted on the pads. USER LEDs
USER BUTTONs
LED0
Re-power the kit to erase SAME70 chip
SDA
SCL
For current measurements of the target MCU,remove jumper and connect a measurement instrument
With jumper: EraseWithout jumper: Normal (default)
WKUP6
XOUT32
XIN32
XOUT
PC8
PC16
PA0PA1PA2PA3PA4PA5PA6
PA10
PA12PA13PA14PA15PA16PA17PA18PA19PA20PA21PA22
PA24PA25PA26PA27PA28PA29PA30PA31
PC0
PA23
PC1PC2PC3PC4PC5PC6PC7PC8PC9PC10PC11PC12PC13PC14PC15
PC17PC18PC19PC20PC21PC22PC23PC24PC25PC26PC27PC28PC29PC30PC31
PD9PD10
PD0PD1PD2PD3PD4PD5PD6PD7PD8
PD11PD12PD13PD14PD15PD16PD17PD18PD19PD20PD21
PD23PD24PD25PD26PD27PD28PD29PD30PD31
PE0PE1PE2PE3PE4PE5
PB0PB1PB2PB3PB4PB5PB6PB7
PB13
PD22
PA11
PB12
PA3
PA4
PA8PA9
PA11
PB12
XIN32PA8
XIN XIN
VCC_MCU_P3V3VDDCORE VDDOUT
VCC_MCU_P3V3
VCC_USB
VCC_3V3
VCC_3V3
VCC_3V3
VCC_3V3VCC_3V3
EDBG_TARGET_RESET{7}
TARGET_RESET_SENSE{7}
PD[0..31] {3,4,5,6,7}
TARGET_RESET {2,3,4}
TARGET_RESET {2,3,4}
ADVREF {4}
PA[0..31]{3,4,5,6,7}
PC[0..31]{3,4,5,6}PE[0..5] {4,5}
PB[0..13] {3,4,7}
REV DATEMODIF. DES. DATE VER.SCALE 1/1 REV. SHEET
INIT EDITAA RevA
27ASAME70
SAME70-XPLD
Embest 14-Oct-15
REV DATEMODIF. DES. DATE VER.SCALE 1/1 REV. SHEET
INIT EDITAA RevA
27ASAME70
SAME70-XPLD
Embest 14-Oct-15
REV DATEMODIF. DES. DATE VER.SCALE 1/1 REV. SHEET
INIT EDITAA RevA
27ASAME70
SAME70-XPLD
Embest 14-Oct-15
C30212pF
C207
100nF
C30312pF
C21910pF
J300
C301 18pFDNP
R231 4.7KC202
100nF
5VD-
D+ID
G
MICRO USB AB 5J302
1
2
3
4
S2
5
S1S3S4
XC30112MHz
321 4
C209
100nF
R2335.62K
R232 4.7K
L200
R20639R
R11039R
C210
100nF
C10410nF
R303330R
C201
100nF
C200
100nFR6240R
R1220R
D301Green
C211
100nF
R300
39R
XC300 32.768 kHzDNP
TP100
U200
PD6121
PD7119
PD1869
GN
D_1
44
PD1967
PD8113
PD2260
PD3034
PD2552PD2455
VDD
CO
RE_
129
PD29108
PD9110
PD10101
PD1198
PD1292
PD1484
PD15106
PA2662 PA2559 PA2456
PA2022 PA1923 PA1824
PA836
PC138
PC654
VDD
IO_1
30
HSDP137
JTAGSEL104TST85
GN
D_2
95
PD4126
VDD
CO
RE_
233
PD5125
PC748
PC011
NRST83
VDD
IO_2
43
GN
D_3
61
VDD
PLL
123
PC882
PC558 PC441 PC340 PC239
PA29129 PA28112 PA2770
PA6114
VDD
CO
RE_
350
PA391
PA2132
PA2237
PA2346
PA975
PA1066
PA1164
PA1342
PA1451
PA1549
PA1645
PA1725
VDD
IO_3
80
ADVREFN8
GN
D_4
115
PD312
PD2357
PD1388
PA573 PA477
PA1268
VDD
IN5
VDD
OU
T3
PD2163PD2065
VDD
CO
RE_
410
7
PA0102
PD2747PD2653
PD2871
PD1678
PA199
PD1774
PA735
VDD
IO_4
96
PA293
PA30116
PA31118
PC1090
PC1194
PC1217
PC1319
PC1497
PC1518
PC16100
PC17103
PC18111
PC19117
PC20120
PC21122
PC22124
PC23127
PC24130
PC25133
PC2613
PC2712
PC2876
PC2916
PC3015
PC3114
PC986
PB4105
PB5109
PB679
PB789
PB8141
PB9142
PB1287
PB13144
PB021
PB120
PB226
PB331
PE04
PE16
PE27
PE310
PE427
PE528
PD01
PD1132
PD2131
PD3128VD
DC
OR
E_5
81
VDD
UTM
IC13
9
VDD
UTM
II13
4
VDD
PLLU
SB14
3
GN
D_5
138
GN
D_6
135
HSDM136
ADVREFP9
VBG140
VDD
IO_5
72
C30018pFDNP
TP300
C2151uF
D302PRTR5V0U2XDNP1
2
3
4
C216
10uFC212
100nF
SW3001
423
L201
SW100
14
23
J200
C204
100nFC213
100nF
L202C203
100nF
J203
J301
C205
100nF
R107 330R
TP201
C214
100nF
C206
100nF
R106100K
TP200
J201 DNP
C208
100nF
C218100nF
C217
100nF
Atmel SAME70-XPLD [USER GUIDE]Atmel-44050A-SAME70-XPLD_User Guide-12/2015
45
Figure 5-3 Atmel XPRO Extended Connectors, Debug and Camera Interface Connectors5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
RSTTWCK0
ISI_D1ISI_D3ISI_D5ISI_D7ISI_D9ISI_D11
Camera Interface Connector
ISI_D0ISI_D2ISI_D4ISI_D6ISI_D8ISI_D10
ISI_PCKISI_HSYNCISI_VSYNCPCK0TWD0ISI_PWD
AFE1_AD6 AFE0_AD8ID_EXT1
0STC0STRPWMC0_H0 TIOB5
SPI0_MISOSPI0_NPCS1 SPI0_MOSI
SPI0_SPCK
0DXT0DXR0KCWT0DWT
OIPG5PUKW
ID_EXT2
MISONPCS
RXD1TWD0WKUP2PWMC0_H2GPIOAFE0_AD0
SPI0_SPCK
SPI0_MOSI
TXD1TWCK0GPIOPWMC0_L2GPIOAFE1_AD1
EXT1
EXT2
SWDIOSWCLKTRACESWO
TRACECLKTRACED0TRACED1TRACED2TRACED3
VTREF
ARM JTAGTRACE
SWDIO
SWCLK
TRACESWO
50???? single ended fortrace signals
USART_SPI_MOSI
USART_SPI_SCK
USART_SPI_MOSI
SPI0_MISO
SPI0_NPCS3
USART_SPI_NSS_MASTER_0
USART_SPI_NSS_MASTER_1
USART_SPI_NSS_SLAVE
MOSISPCK
VCC_3V3
VCC_3V3
VCC_3V3
VCC_3V3VCC_3V3
PA13{2,4}
ID_1{7}
PA4{2,3,4,5,7}
PA24 {2,3,4}PD24 {2,4}PD25 {2,3,4}PA6 {2,3,4}
PC19 {2,3,4}
ID_2{7}
PC31{2,4} PA19 {2,4,6}
PA0{2} PC30 {2,4}PB2 {2,3,4}PB3{2,3,4}
PD28{2,3,4,7}
PD25{2,3,4} PD21 {2,3,4,7}PD22 {2,3,4,7}PD20{2,3,4,7}
PC17 {2}PA4 {2,3,4,5,7}
PB0{2,4} PB1 {2,3,4}
PD30{2,3,4}
PC19{2,3,4}PA6{2,3,4}
PA2{2,4,7}
PD27{2,3,4}
PD20{2,3,4,7}
PA21{2,4,7}
PC13 {2,4}PD11 {2,3,4}PD26 {2,4}
PD21 {2,3,4,7}
PD22 {2,3,4,7}
PA24 {2,3,4}PA4 {2,3,4,5,7}PB4 {2,4,7}
PB6 {