SMART ARM-based Microcontrollers SAME70-XPLD USER GUIDE Preface ® The Atmel SAM E70 Xplained evaluation kit is a hardware platform to evaluate the Atmel ATSAME70Q21 microcontroller. 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. 1.2. 1.3. Kit Contents..................................................................................................................................3 Related Items............................................................................................................................... 3 Kit Overview................................................................................................................................. 3 2. Getting Started...........................................................................................................6 2.1. 2.2. Xplained Pro Quick Start.............................................................................................................. 6 Design documentation and relevant links.....................................................................................6 3. Xplained Pro.............................................................................................................. 7 3.1. 3.2. 3.3. 3.4. 3.5. Embedded Debugger................................................................................................................... 7 Hardware Identification System....................................................................................................7 Power Sources............................................................................................................................. 8 Xplained Pro Standard Extension Header....................................................................................8 Xplained Pro Power Header.........................................................................................................9 4. Hardware User Guide.............................................................................................. 11 4.1. 4.2. 4.3. 4.4. 4.5. 4.6. Microcontroller............................................................................................................................ 11 Power Distribution.......................................................................................................................11 Connectors................................................................................................................................. 12 Peripherals................................................................................................................................. 30 Zero Ohm Resistors................................................................................................................... 38 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. Introduction This user guide introduces the Atmel SAME70-XPLD evaluation kit and describes the development and debugging capabilities for applications running on a SAM E70 ARM-based embedded microcontroller. 1.1. Kit Contents • • 1.2. Boards – One SAME70-XPLD board Cables – One Micro-AB type USB cable 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 And Unique 128-bit serial number AT24MAC402 20-Pin JTAG Connector 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 for CAMx-EB Camera Module series (Not Populated) 3-Expansions Headers Compatible with Atmel XPRO Extensions TARGET USB USB Micro A/B Connector Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 3 1.3.2. Evaluation Kit Specifications Table 1-1 Evaluation Kit Specifications Characteristic Temperature 1.3.3. Specifications 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 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 1.3.4. 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 Board Overview The 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, 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 5 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 programmer 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 6 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 SAME70XPLD, 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 7 3.3. Data field Data type Example content Minimum Voltage [mV] uint16_t 3000 Maximum Voltage [mV] uint16_t 3600 Maximum Current [mA] uint16_t 30 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. 2. Target USB (J302 connector) 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] 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 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 3.5. 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/ 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. 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 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] 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 input sources) 4 VCC_3V3 Output: regulated 3.3V (output, used as main power supply for the kit) Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 10 4. 4.1. Hardware User Guide Microcontroller The SAME70-XPLD board is built around the ATSAME70Q21 in a 144-lead LQFP package. It is a lowpower 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. IS I_ IS D[1 I_ 1 IS P C :0 ] I_ K H ,I SY S I_ G TX NC MC G C K , IS K T , I_ V G XE G R C R X SY R ,G C G S , T K NC R G X , X G G E R C O DV R E R , L FC G X0 G R , G K M ..3 X C D R G C, , G DV S D TS G TX V U M 0. C D .3 O IO C M A P C NR AN X0 TX ..1 0. .1 IO O VD D VD D TC U T D IO K/ SW JT C LK AG SE L SW S/ TM I TD TD TR O /T AC TR EC AC LK ED 0. .3 R AC ES W O A[ 23 : N 0 ], W D N AIT [1 5 AN , : N 0] R DO C S AS E 0 . A2 , C , NA .3 , 1 AS N NR A2 /NA , D DW D, 2 N Q E NW A0 /NA DAL M0 E /N ND E ..1 ,S A1 LB C L D 6/ , N E C SD U K, SD BA B Q C 0, SC KE A1 Q K, ,S 7/ M Q SD O DA Q S CS BA 10 M I/Q 1 Q IS O IO IO /Q 0 2 . IO .3 1 H SD H M SD P Figure 4-1 SAM E70 Block Diagram System Controller TST XIN XOUT Voltage Regulator 3-20 MHz Crystal Oscillator PCK0..2 Serial Wire Debug/JTAG Boundary Scan 4/8/12 MHz RC Oscillator PMC Transceiver MPU Backup SUPC 32 kHz Crystal Oscillator 32 kHz RC Oscillator RTCOUT0 RTCOUT1 RTC VDDIO POR Backup RAM 1 Kbyte Flash Unique ID External Bus Interface TCM SRAM Flash 0–256 Kbytes System RAM AXIM 2048 Kbytes 1024 Kbytes 512 Kbytes Static Memory Controller (SMC) SDRAM Controller (SDRAMC) NAND Flash Logic GMAC MII/RMII ISI 2x MCAN FIFO XIP XDMA 128–384 Kbytes 0–256 Kbytes AHBS USBHS QSPI DMA DMA M M DMA DMA AXI Bridge RTT M M M S S ROM S S S S M M M 12-layer Bus Matrix fMAX 150 MHz S Boot Program NRST SM ITCM DTCM 16 Kbytes ICache + ECC AHBP Immediate Clear 256-bit SRAM (GPBR) RSTC VDDPLL VDDCORE TCM Interface FPU 16 Kbytes DCache + ECC WKUP0..13 XIN32 XOUT32 Cortex-M7 Processor fMAX 300 MHz ETM NVIC PLLA ERASE Multi-port SRAM In-Circuit Emulator TPIU UPLL WDT S RSWDT Peripheral Bridge M 24-channel XDMA M DMA PIOA/B/C/D/E ICM/SHA XDMA 3x TWIHS XDMA 5x UART XDMA 3x USART XDMA PIO XDMA SSC XDMA HSMCI XDMA XDMA 2x SPI 4x TC XDMA 2x PWM XDMA XDMA 2x 12-bit AFE ACC 12-bit DAC XDMA AES TRNG 4.2. P N EF DA C 0 DA ..1 TR G EF VR VR TD R D TK R K TF R F M C M CK C M CD C A DA 0. .3 SP I S P x_ M Ix IS S P _M O S P Ix O S Ix _ S I _N P P C CK S0 ..3 TC L TI K0 . O .1 A TI 0 . 1 O .1 PW B0 1 M ..1 1 P W C x_ M PW C PW PW x M M M _ P W H0 . C C x_ x_ M .3 P W P W L0 . M M .3 EX FI 0 AF TR ..2 G E 0 AF x_ A ..1 Ex D _ A TR D G 0. .1 1 R X U D0 TX .. D 4 0. .4 SC K TX 0 .. D 2 R 0. XD .2 RT 0 .. D SR S 2 R 0 . C T 0 ..2 I0 .2 S ..2 , D 0 , D T ..2 C R0 D ..2 0 P ..2 P I IO D O D C0 C .. E 7 P I N1 O D ..2 C C LK U TW TW D 0 C ..2 K0 ..2 Temp Sensor 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 11 Figure 4-2 Power Supply Block Diagram EDBG USB Coin Cell VCC_5V0 TARGET USB 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 VCC_MCU_3V3 OPTION VDDCORE OPTION J503 - Digital Low OPTION J200 - ERASE J505 - Communication OPTION J506 - SPI OPTION J504 - Analog High Coresight 20 - SWD + ETM (Bottom Side) OPTION J402 - Extension Header 2 OPTION J501 - Power OPTION J502 - Analog Low CAMERA INTERFACE J500 - Digital High J302 Target USB J600 - SDCARD Socket (Bottom Side) J401 - Extension Header 1 J101 - Power Header J900 DEBUG USB J406 - SAME70 Debug (SWD) 4.3. J507 - Digital Extra OPTION Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 12 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 Pin 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, 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 13 EXT1 Pin SAM E70 Pin 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 E70 Function Pin Shared Functionality 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/ 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 E70 Function 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) 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) 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) 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) 16 [SPI_MOSI] 17 [SPI_MISO] 18 [SPI_SCK} 4.3.2. Shared Functionality 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] 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 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 16 Figure 4-4 J500 Header J700 - Ethernet RJ45 VCC_MCU_3V3 OPTION VDDCORE OPTION J503 - Digital Low OPTION J200 - ERASE J505 - Communication OPTION J506 - SPI OPTION J504 - Analog High J406 - SAME70 Debug (SWD) Coresight 20 - SWD + ETM (Bottom Side) OPTION J402 - Extension Header 2 OPTION J501 - Power OPTION J502 - Analog Low CAMERA INTERFACE J500 - Digital High J302 Target USB J600 - SDCARD Socket (Bottom Side) J401 - Extension Header 1 J101 - Power Header J900 DEBUG USB J507 - Digital Extra OPTION Table 4-3 J500 Header IOs Pin PCB PIO Marking Primary Function Alternate 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 MH3 AFE0_AD6 PCK1 -- 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 17 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 VCC_MCU_3V3 OPTION VDDCORE OPTION J503 - Digital Low OPTION J200 - ERASE J505 - Communication OPTION J506 - SPI OPTION J504 - Analog High Coresight 20 - SWD + ETM (Bottom Side) OPTION J402 - Extension Header 2 OPTION J501 - Power OPTION J502 - Analog Low CAMERA INTERFACE J500 - Digital High J302 Target USB J600 - SDCARD Socket (Bottom Side) J401 - Extension Header 1 J101 - Power Header J900 DEBUG USB J406 - SAME70 Debug (SWD) 4.3.2.2. 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 18 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 VCC_MCU_3V3 OPTION VDDCORE OPTION J200 - ERASE J503 - Digital Low OPTION OPTION OPTION J504 - Analog High OPTION J505 - Communication J506 - SPI Coresight 20 - SWD + ETM (Bottom Side) J402 - Extension Header 2 OPTION J501 - Power OPTION J502 - Analog Low CAMERA INTERFACE J500 - Digital High J302 Target USB J600 - SDCARD Socket (Bottom Side) J401 - Extension Header 1 J101 - Power Header J900 DEBUG USB J406 - SAME70 Debug (SWD) 4.3.2.3. J507 - Digital Extra OPTION Table 4-5 J502 Header IOs Pin PCB PIO Marking Primary Function 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 necessary to 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 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 VCC_MCU_3V3 OPTION VDDCORE OPTION J503 - Digital Low OPTION J200 - ERASE J505 - Communication OPTION J506 - SPI OPTION J504 - Analog High Coresight 20 - SWD + ETM (Bottom Side) OPTION J402 - Extension Header 2 OPTION J501 - Power OPTION J502 - Analog Low CAMERA INTERFACE J500 - Digital High J302 Target USB J600 - SDCARD Socket (Bottom Side) J401 - Extension Header 1 J101 - Power Header J900 DEBUG USB J406 - SAME70 Debug (SWD) 4.3.2.4. J507 - Digital Extra OPTION Table 4-6 J503 Header IOs Pin PCB PIO Marking 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 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 VCC_MCU_3V3 OPTION VDDCORE OPTION J503 - Digital Low OPTION J200 - ERASE J505 - Communication OPTION J506 - SPI OPTION J504 - Analog High J406 - SAME70 Debug (SWD) Coresight 20 - SWD + ETM (Bottom Side) OPTION J402 - Extension Header 2 OPTION J501 - Power OPTION J502 - Analog Low CAMERA INTERFACE J500 - Digital High J302 Target USB J600 - SDCARD Socket (Bottom Side) J401 - Extension Header 1 J101 - Power Header J900 DEBUG USB J507 - Digital Extra OPTION Table 4-7 J504 Header IO Pin PCB Marking PIO Primary Function Alternate Function 1 AD8 PD24 RF TCLK11 2 AD9 PA10 RD 3 AD10 PA22 4 AD11 5 PWMC0_PWML0 -- -- PWMC0_PWMEXTRG -0 -- -- RK PWMC0_PWMEXTRG -1 -- -- PC31 AFE1_AD6 TCLK5 -- -- -- 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 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 J101 - Power Header J900 DEBUG USB OPTION J503 - Digital Low OPTION J200 - ERASE J505 - Communication OPTION J402 - Extension Header 2 OPTION J501 - Power OPTION J502 - Analog Low J401 - Extension Header 1 VCC_MCU_3V3 OPTION VDDCORE CAMERA INTERFACE J500 - Digital High J302 Target USB J600 - SDCARD Socket (Bottom Side) J506 - SPI OPTION J504 - Analog High J406 - SAME70 Debug (SWD) Coresight 20 - SWD + ETM (Bottom Side) OPTION J507 - Digital Extra OPTION Table 4-8 J505 Header IOs Pin PCB PIO Marking Primary Function 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 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 22 Figure 4-10 J506 Header J700 - Ethernet RJ45 VCC_MCU_3V3 OPTION VDDCORE OPTION J503 - Digital Low OPTION J200 - ERASE J505 - Communication OPTION J506 - SPI OPTION J504 - Analog High J406 - SAME70 Debug (SWD) Coresight 20 - SWD + ETM (Bottom Side) OPTION J402 - Extension Header 2 OPTION J501 - Power OPTION J502 - Analog Low CAMERA INTERFACE J500 - Digital High J302 Target USB J600 - SDCARD Socket (Bottom Side) J401 - Extension Header 1 J101 - Power Header J900 DEBUG USB J507 - Digital Extra OPTION Table 4-9 J506 Header IOs 4.3.2.8. 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 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 23 Figure 4-11 J507 Header J700 - Ethernet RJ45 VCC_MCU_3V3 OPTION VDDCORE OPTION J503 - Digital Low OPTION J200 - ERASE J505 - Communication OPTION J506 - SPI OPTION J504 - Analog High J406 - SAME70 Debug (SWD) Coresight 20 - SWD + ETM (Bottom Side) OPTION J402 - Extension Header 2 OPTION J501 - Power OPTION J502 - Analog Low CAMERA INTERFACE J500 - Digital High J302 Target USB J600 - SDCARD Socket (Bottom Side) J401 - Extension Header 1 J101 - Power Header J900 DEBUG USB J507 - Digital Extra OPTION Table 4-10 J507 Header IOs Pin PCB Marking PIO Primary Function Alternate Function 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 TIOA2 -- -- 15 D34 Not Connected PWMC1_PWMFI1 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 24 Pin PCB Marking 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_PWMEXTR G0 PWMC0_PWML2 WKUP11 -- 30 D49 PA28 PWMC1_PWMFI2 TCLK1 -- -- 31 D50 PA18 PWMC1_PWMEXTR G1 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 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 25 Figure 4-12 Camera Connector J700 - Ethernet RJ45 VCC_MCU_3V3 OPTION VDDCORE OPTION J503 - Digital Low OPTION J200 - ERASE J505 - Communication OPTION J506 - SPI OPTION J504 - Analog High J406 - SAME70 Debug (SWD) Coresight 20 - SWD + ETM (Bottom Side) OPTION J402 - Extension Header 2 OPTION J501 - Power OPTION J502 - Analog Low CAMERA INTERFACE J500 - Digital High J302 Target USB J600 - SDCARD Socket (Bottom Side) J401 - Extension Header 1 J101 - Power Header J900 DEBUG USB 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 26 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 -- 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 1 2 140 4 G 5 5.62K R233 4 C219 10pF ID VBG MICRO USB AB 5 J302 D+ 3 D- HSDP HSDM SAME70 137 136 5V ATMEL 3 2 1 4.3.4. Pin Number SAM E70 Pin Function D302 PRTR5V0U2X DNP 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 4.3.5. 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 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 28 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 flash memory, 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 VTREF J403 1 3 5 2 4 6 8 10 12 14 16 18 20 9 11 13 15 17 19 SWDIO SWCLK TRACESWO TRACECLK TRACED0 TRACED1 TRACED2 TRACED3 PB6 PB7 PB5 TARGET_RESET PD8 PD4 PD5 PD6 PD7 CONN_HDR_10X2_19 DNP Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 29 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 30 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 32.768 kHz XOUT32 2 PA7 PA8 1 SAME70 2 XOUT C302 12pF 1 J300 C300 18pF DNP PB8 PB9 2 XC300 4.4.2. 35 36 3 PA7 PA8 XIN32 DNP XC301 12MHz 141 142 4 18pF 1 C301 DNP XIN C303 12pF 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 SAME70 USER BUTTON TP100 R300 3 4 R110 39R WKUP6 PA11 64 3 4 1 2 SW300 TARGET_RESET 330R PA11 C104 10nF SW100 R122 0R 1 2 39R TP300 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 LED0 PC8 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 31 Table 4-16 LED Connection 4.4.4. SAM E70 Pin Function Shared With PC8 Green LED -- 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 A3 A4 A5 A6 A7 A8 A9 A10 A11 SDA10 PC20 PC21 PC22 PC23 PC24 PC25 PC26 PC27 PC28 PC29 PD13 PA20 PD23 VCC_3V3 R617 R111 R112 R113 R114 R115 R116 R117 R118 R119 R120 R121 N6 P7 P6 R6 R2 P2 P1 N2 N1 M2 N7 M1 BA0 R123 22R SDCK R124 K2 22R SDCKE L1 100K PD14 SDCS RAS CAS SDWE PC15 PD16 PD17 PD29 PC18 PD15 A0/NBS0 NWR1/NBS1 L7 K6 K7 J7 J6 J2 A7 R7 H6 VCC_3V3 C908 2.2uF 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R C916 C917 C918 100nF 100nF 100nF A1 R1 G2 G6 H1 H2 H7 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 CLK CKE CS RAS CAS WE LDQM UDQM VDD1 VDD2 VDD3 VSS1 VSS2 NC1 NC2 NC3 NC4 NC5 DQ0 DQ1 DQ2 DQ3 DQ4 DQ5 DQ6 DQ7 DQ8 DQ9 DQ10 DQ11 DQ12 DQ13 DQ14 DQ15 VDDQ1 VDDQ2 VDDQ3 VDDQ4 VSSQ1 VSSQ2 VSSQ3 VSSQ4 NC6 NC7 NC8 NC9 NC10 NC11 A6 B7 C7 D7 D6 E7 F7 G7 G1 F1 E1 D2 D1 C1 B1 A2 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 B6 C2 E6 F2 R125 R126 R127 R128 R129 R130 R131 R132 R133 R134 R135 R136 R137 R138 R139 R140 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PE0 PE1 PE2 PE3 PE4 PE5 PA15 PA16 VCC_3V3 C919 C920 C921 C922 100nF 100nF 100nF 100nF B2 C6 E2 F6 J1 K1 L2 L6 M6 M7 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 32 4.4.5. 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) 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 10K R607 100K R608 100K R609 100K R610 100K R611 R612 10K 10K VCC_3V3 J600 PA30 PA31 PA26 PA27 PA25 PA28 PC16 J901 SD_D0 SD_D1 SD_D2 SD_D3 SD_CLK SD_CMD SD_DETECT SD_WP 7 8 9 1 5 2 10 11 DAT0 DAT1 DAT2 DAT3 CLK CMD C/D W/P VDD VSS1 VSS2 SHELL SHELL SHELL SHELL 4 3 6 12 13 14 15 C613 100nF C612 10uF SD Card SOCKET TP600 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 33 Table 4-18 SD/MMC Socket J600 Signal Descriptions 4.4.6. 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 -- 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 34 Figure 4-24 RMII Ethernet Schematic VCC_3V3 VDDA_ENET L700 VDDPLL_1.2V C710 PD8 PD9 PHY_MDC 11 PHY_MDIO 10 RMII_XTALI 8 RMII_XTALO 7 XC700 1 4 R238 PD0 C704 24PF 2 39R PHY_RESET PC10 3 VCC_3V3 25MHZ PHY_REFCLK 16 10K R702 C709 24PF 24 MDC MDIO C711 C220 100nF 10uF TXP TXM RXP RXM XI TXD0 TXD1 XO TXEN RXD0 RXD1 REF_CLK RST C713 RXER LED0/ANEN_SPEED CRS_RV/PHYAD1/PHYAD0 10uF 18 INTRP 22 25 VCC_3V3 VCC_3V3 14 VDDIO VDD_1V2 U700 VDDA_3V3 100nF 1 100nF 100nF 4.7uF VCC_3V3 C708 2.2uF 2 C701 C702 GND1 GND2 C700 REXT R56 1.5K 6 5 PHY_TXP PHY_TXM 4 3 PHY_RXP PHY_RXM 20 21 PHY_TXD0 PHY_TXD1 19 PHY_TXEN 13 12 PHY_RXD0 PHY_RXD1 17 PHY_RXER 23 LED0_SPEED 15 PHY_CRS_DV DNP R71 10K PHY_MDIO PHY_MDC PD2 PD3 PD1 PD5 PD6 PD5 PD6 PD4 PHY_RXD0 PHY_RXD1 PHY_CRS_DV PD7 R70 10K DNP R67 10K DNP R69 10K PD4 9 KSZ8081RNACA R704 6.49K C92 100PF DNP R906 1K PA14 PD9 PD8 R55 1.5K DNP PHY_INTERRUPT Figure 4-25 Ethernet RJ45 Schematic J700 PHY_TXP 1 PHY_TXM 2 1:1 C1_TX+ TD+_R1 C2_TX- TD-_R2 75 OHMS TCT_R3 3 75 OHMS C4 C705 100nF L701 C5 PHY_RXP 7 PHY_RXM 8 1:1 C3_RX+ RD+_R7 C6_RXRD-_R8 RCT_R6 6 LED0_SPEED 14 VCC_3V3 VCC_3V3 C8 NC_5 L4 13 L3 1000pF Y G + + L2 12 L1 11 R703 470 LED1_LINK 470 10 R701 C7 NC_4 9 VCC_3V3 75 OHMS S1 R604 10K 4 5 S2 C706 100nF 75 OHMS RJ45 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 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 4.4.7. Configuration Name Default Value on Kit Default Configuration 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 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 10K R601 10K R602 10K VCC_3V3 U600 PA3 PA4 PC11 MAC24_A0 MAC24_A1 MAC24_A2 1 2 3 TWD0 TWCK0 5 6 7 R603 10K A0 VCC A1 A2 SDA SCL WP GND 8 C600 100nF 4 AT24MAC402-MAHM-T 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 36 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 2 4 6 8 10 12 14 16 18 20 J406 1 3 5 7 9 11 13 15 17 19 R400 0R SWDIO R401 0R SWCLK R403 0R TRACESWO PB6 PB7 PB5 R402 0R TARGET_RESET 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 to check if the target has power, to create the logiclevel 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 / VCC_3V3 Not Used This pin is not connected in J-Link. It is reserved for 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] 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 eval boards. Not all JLinks supply power on this pin, only the KS (Kickstart) versions. Typically left open on target hardware. -- System Ground 4-6-8-10-12-14-16-18-20 GND 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] 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 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 39 R203 R223 R215 R623 R222 R202 R201 R212R210 Figure 4-28 Zero Ohm Resistors Position – Top Side R214 R216 R236 R207 R209 R208 R219 R234 R220 R402 R221 R401 R211 R213 R403 R228 R235 R224 R225 R204 R226 R227 R205 R230 R229 R400 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 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 41 Table 4-24 SWD Connections 4.6.2. 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 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 4.6.3. 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 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 Out) EXT1 Header, EXT2 Header, J500 Header, J506 Header, Embedded Debugger PD21 SPI0_MOSI (Master Out Slave In) EXT1 Header, EXT2 Header, J500 Header, J506 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] 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, Embedded Debugger PA2 DGI_GPIO3 EXT2 Header, J503 Header, Embedded Debugger Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 43 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 4 5 3 2 1 TARGET_RESET ID_SYS ID_SYS D D SWD EDBG SWD Connectors SWD EDBG_DGI_SPI EDBG_DGI_I2C EDBG_DGI_GPIO EDBG_DGI_SPI EDBG_DGI_I2C EDBG_DGI_GPIO EDBG_CDC_UART EDBG_CDC_UART TARGET_RESET_SENSE EDBG_TARGET_RESET C TRACE CAMERA EXT1 EXT2 TRACE CAMERA EXT1 EXT2 TARGET_RESET VCC_3V3 BTN0 BTN0 LED0 LED0 LED1 LED1 TARGET_USB_P TARGET_USB_N Power Supply VCC_5V0 VCC_3V3 Target MCU SAME70 VBUS_DETECT VBUS_DETECT VBUS_HOST_EN VBUS_HOST_EN XIN32 XOUT32 IOL COM COM ADCL ADCL ADCH ADCH DIG DIG SPI SPI XIN XOUT ETHERNET I2C IOL XIN XOUT SDCARD IOH SDRAM OPTIONAL IOH EBI B C Peripherals TARGET_USB_P TARGET_USB_N XIN32 XOUT32 ETHERNET CAN CAN B ETHERNET CAN A 5 4 3 I2C SDCARD Memory EBI A SDRAM 5. A A REV SAME70-XPLD Embest 14-Oct-15 RevA INIT EDIT MODIF. SCALE DES. DATE 1/1 2 VER. DATE REV. SHEET A TOP 1 7 1 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 44 Figure 5-2 SAM E70 Device, Crystals and USB Device interface 4 5 3 2 1 VCC_3V3 VCC_3V3 100nF100nF100nF100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF C301 18pF DNP XIN32 PA8 DNP 32.768 kHz XC300 PA11 XOUT32 J300 USER BUTTONs 1 2 SW300 C300 18pF DNP R300 3 4 WKUP6 39R TP300 C {3,4,5,6} C104 10nF TP100 D 3 139 {2,3,4} R122 0R VDDOUT 123 VDDPLL VDDUTMIC 81 107 50 33 29 VDDCORE_5 VDDCORE_4 VDDCORE_3 VDDCORE_2 VDDCORE_1 143 134 72 96 80 43 30 VDDIO_5 VDDIO_4 VDDIO_3 VDDIO_2 VDDIO_1 VDDPLLUSB TARGET_RESET R110 39R R624 0R {3,4,5,6,7} PD[0..31] PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 PD18 PD19 PD20 PD21 PD22 PD23 PD24 PD25 PD26 PD27 PD28 PD29 PD30 PD31 ATMEL Cortex-M7 Processor SAME70 QFP144 PE0 PE1 PE2 PE3 PE4 PE5 R206 39R PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 PD18 PD19 PD20 PD21 PD22 PD23 PD24 PD25 PD26 PD27 PD28 PD29 PD30 PD31 {7} C PE0 PE1 PE2 PE3 PE4 PE5 VCC_3V3 J200 21 20 26 31 105 109 79 89 141 142 87 144 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 Re-power the kit to erase SAME70 chip With jumper: Erase Without jumper: Normal (default) {3,4,7} PB[0..13] PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB12 PB13 HSDP HSDM C302 12pF XIN C303 12pF 1 2 9 8 140 TP200 TP201 TARGET_RESET {2,3,4} 3 VCC_MCU_P3V3 4 L200 5 C218 100nF ADVREF R303 330R VCC_USB 137 136 83 85 104 USER LEDs VCC_3V3 XC301 12MHz XIN PB12 PB13 B D301 Green MICRO USB AB 5 J302 LED0 PC8 {4} 4 44 61 95 115 138 135 VBG XOUT G ADVREFP ADVREFN 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. J301 ID NRST TST JTAGSEL PB12 {4,5} PE[0..5] 4 6 7 10 27 28 TARGET_RESET_SENSE D+ PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13 PC14 PC15 PC16 PC17 PC18 PC19 PC20 PC21 PC22 PC23 PC24 PC25 PC26 PC27 PC28 PC29 PC30 PC31 1 132 131 128 126 125 121 119 113 110 101 98 92 88 84 106 78 74 69 67 65 63 60 57 55 52 53 47 71 108 34 2 D- 11 38 39 40 41 58 54 48 82 86 90 94 17 19 97 18 100 103 111 117 120 122 124 127 130 133 13 12 76 16 15 14 330R 5V PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13 PC14 PC15 PC16 PC17 PC18 PC19 PC20 PC21 PC22 PC23 PC24 PC25 PC26 PC27 PC28 PC29 PC30 PC31 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 PA16 PA17 PA18 PA19 PA20 PA21 PA22 PA23 PA24 PA25 PA26 PA27 PA28 PA29 PA30 PA31 R107 EDBG_TARGET_RESET SW100 GND_1 GND_3 GND_2 GND_4 GND_5 GND_6 B PC[0..31] 102 99 93 91 77 73 114 35 36 75 66 64 68 42 51 49 45 25 24 23 22 32 37 46 56 59 62 70 112 129 116 118 5 U200 PA0 PA1 PA2 PA3 PA4 PA5 PA6 XIN32 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 PA16 PA17 PA18 PA19 PA20 PA21 PA22 PA23 PA24 PA25 PA26 PA27 PA28 PA29 PA30 PA31 VDDIN PA[0..31] VDDUTMII {3,4,5,6,7} {7} C217 D 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. R106 100K C215 1uF 100nF 3 4 10uF L202 C214 1 2 SCL C209 C210 C211 C212 C213 C208 S4 S2 4.7K PA4 VDDOUT DNP L201 C216 C200 C201 C202 C203 C204 C205 C206 C207 R232 J201 S3 S1 VDDCORE 3 For current measurements of the target MCU,remove jumper and connect a measurement instrument VCC_MCU_P3V3 2 J203 SDA 4 4.7K PA3 R231 1 VCC_3V3 C219 10pF 5.62K R233 3 2 D302 PRTR5V0U2X DNP 1 A A A A REV SAME70-XPLD Embest 14-Oct-15 RevA INIT EDIT MODIF. SCALE DES. DATE 1/1 5 4 3 2 VER. DATE REV. SHEET A SAME70 2 7 1 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 Connectors 5 4 2 3 1 Camera Interface Connector EXT1 VCC_3V3 D {2,4} {2,3,4,5,7} PA13 PA4 {2,3,4,7} {2,7} {2,3,4} {2,5} {2,3,4,7} {2,3} 1 3 5 7 9 11 13 15 17 ISI_D1 19 ISI_D3 21 ISI_D5 23 ISI_D7 25 ISI_D9 27 ISI_D11 29 0R RST TWCK0 R222 PD21 PA9 PD11 PA27 PD28 PD31 D J401 J400 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 ISI_PWD TWD0 PCK0 ISI_VSYNC ISI_HSYNC ISI_PCK ISI_D0 R223 ISI_D2 ISI_D4 ISI_D6 ISI_D8 ISI_D10 PC19 PA3 PA6 PD25 PD24 PA24 PD22 PB3 PA5 PD12 PD27 PD30 0R {7} {2,4} {2,3,4} {2} {2,3,4,7} {2,3,4,5,7} {2,4} {2,3,4} {2,3,4,7} {2,3,4} {2,3,4,5,7} {2,3,4} {2,3,4} {2,4} {2,3,4} {2,3,4,7} {2,3,4} {2,3,4} {2,7} {2,3,4} {2,3,4} ID_1 PC31 PB3 PA0 PD28 PA3 PB0 PD25 PD20 R203 0R R201 0R ID_EXT1 1 AFE1_AD6 3 RTS0 5 PWMC0_H0 7 WKUP5 9 TWD0 11 RXD0 13 SPI0_NPCS1 15 SPI0_MISO 17 19 2 4 6 8 10 12 14 16 18 20 AFE0_AD8 CTS0 TIOB5 GPIO TWCK0 TXD0 SPI0_MOSI SPI0_SPCK R202 0R {2,4,6} {2,3,4} {2,4} {2} {2,3,4,5,7} {2,3,4} {2,3,4,7} {2,3,4,7} PA19 PB2 PC30 PC17 PA4 PB1 PD21 PD22 VCC_3V3 CONN_HDR_15X2 EXT2 C C J402 {7} {2,3,4} {2,3,4} {2,3,4} {2,4,7} {2,3,4,5,7} {2,4,7} ID_2 PD30 PA6 PC19 PA2 PA3 PA21 USART_SPI_NSS_MASTER_0 R224 USART_SPI_NSS_MASTER_1 R225 {2,3,4} PB2 USART_SPI_NSS_SLAVE R226 {2,3,4} PD27 SPI0_NPCS3 R204 {2,3,4} PB3 {2,3} PD31 {2,3,4,7} PD20 {2,3,4,7} PB0 ID_EXT2 AFE0_AD0 GPIO PWMC0_H2 WKUP2 TWD0 RXD1 NPCS MISO 0R DNP 0R DNP 0R DNP 0R SPI0_MISO R205 0R USART_SPI_MOSI R227 0R DNP 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20 AFE1_AD1 GPIO PWMC0_L2 GPIO TWCK0 TXD1 MOSI SPCK VCC_3V3 R209 R228 R235 0R {2,4} PC13 {2,3,4} PD11 {2,4} PD26 {2,3,4} PA24 {2,3,4,5,7} PA4 {2,4,7} PB4 0R USART_SPI_MOSI DNP 0R SPI0_MOSI R230 0R SPI0_SPCK R229 0R DNP USART_SPI_SCK {2,3,4} PB1 PD21 {2,3,4,7} PD22 {2,3,4,7} PB13 {2,4} B B TRACE VCC_3V3 VTREF ARM JTAG J403 VCC_3V3 2 4 6 8 10 12 14 16 18 20 1 3 5 9 11 13 15 17 19 SWDIO SWCLK TRACESWO TRACECLK TRACED0 TRACED1 TRACED2 TRACED3 CONN_HDR_10X2_19 PB6 PB7 PB5 {2,3,7} {2,3,7} {2,3,7} J406 2 4 6 8 10 12 14 16 18 20 TARGET_RESET {2,3,4} {2,6} PD8 {2,6} PD4 {2,6} PD5 {2,6} PD6 {2,6} PD7 50???? single ended for trace signals 1 3 5 7 9 11 13 15 17 19 R400 0R SWDIO R401 0R SWCLK R403 0R TRACESWO R402 0R {2,3,7} PB6 PB7 {2,3,7} PB5 {2,3,7} TARGET_RESET {2,3,4} DNP A A A A REV SAME70-XPLD Embest 14-Oct-15 RevA INIT EDIT MODIF. SCALE DES. DATE 1/1 5 4 3 2 VER. DATE REV. SHEET A Extension Connectors 3 7 1 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 46 Figure 5-4 Arduino R3 Extended Conncetors 5 4 2 3 1 TP910 1 2 3 4 5 6 7 8 VCC_5V0 R623 0R IOH J500 J501 VCC_3V3 D 10 9 8 7 6 5 4 3 2 1 CONN_HDR_8X1 TWCK0 TWD0 AREF {2,3,5,7} PA4 {2,3,5,7} PA3 ADVREF {2} SPI0_SPCK SPI0_MISO PD22 PD20 SPI0_NPCS1 LED TIOB7 PWMC0_PWMH3 PD25 PC9 PA17 D {2,3,4,7} {2,3,4,7} {2,3} {2} {2,4} R210 0R SPI0_MOSI R212 0R GTSUCOMP {2,3,4,7} PD11 {2,3,4} DNP DNP DNP PD21 CONN_HDR_10X1 DNP TARGET_RESET {2,3} ADCL PD26 PC31 PD30 PA19 PC13 PC30 {2,4} PA17 {2,4} PC12 R215 R214 DNP R216 DNP R236 DNP SPI0_SPCK J502 0R AD0 AD1 AD2 AD3 AD4 0R AD5 AD6 0R AD7 SPI0_MISO 1 2 3 4 5 6 7 8 SPI0_MOSI {2,3,4,7} PD22 PD20 {2,3,4,7} PD21 {2,3,4,7} 0R CONN_HDR_8X1 8 7 6 5 4 3 2 1 J506 CONN_HDR_3X2 6 4 2 DNP IOL J503 5 3 1 C {2,3} {2,3,4} {2,3,4} {2,3,6} {2,3} {2,3} PWMC0_H1 PWMC0_H2 PWMC0_H0 SPI0_NPCS3 PWMC1_L3 UTXD3 URXD3 PA2 PC19 PD11 PD27 {2,3,7} {2,3} {2,3,4} {2,3,4} PA5 PD30 PD28 {2,3,4} {2,3,4} {2,3,4,7} R217 0R GPIO R218 0R PWMC0_L2 PA6 {2,3} PD10 {2} C DNP CONN_HDR_8X1 DNP DNP VCC_5V0 ADCH {2,3} {2} {2} {2,3,4} {2,3,4} {2,6} {2,3,4} {2,3,4} PD24 PA10 PA22 PC31 PB13 PD0 PB3 PB2 R219 R220 R221 0R AD8 0R AD9 0R AD10 AD11 DAC0 DAC1 CANRX0 CANTX0 COM J505 J504 8 7 6 5 4 3 2 1 1 2 3 4 5 6 7 8 CONN_HDR_8X1 TXD0 RXD0 TXD2 RXD2 UTXD4 URXD4 TWD2 TWCK2 R207 R208 R234 0R 0R 0R PB1 PB0 PD16 PD15 PD19 PD18 PD27 PD28 {2,3,4} {2,3,4} {2,5} {2,5} {2,4} {2,4,5} {2,3,4} {2,3,4,7} CONN_HDR_8X1 DNP DNP B B J507 {2} PC14 {2,5} {2,3,7} {2,3} {2,7} {2,5} {2,3,4} PA28 PB4 PA24 PA23 PA31 PB2 {2} {2,5} {2} PA12 PA26 PA1 {2,4,5} {2,5} PD18 PD17 {2,3,4} PB1 CANTX1 PWMC1_PWMFI2 TXD1 RTS1 PWMC1_PWML2 PWMC1_PWMH2 CTS0 PWMC1_PWMH0 PWMC1_PWMFI1 WKUP1 RTS2 SCK2 TK 36 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 35 CANRX1 33 31 PWMC1_PWMEXTRG0 29 PWMC1_PWMEXTRG1 RXD1 27 CTS1 25 23 RTS0 21 SCK0 19 PWMC1_PWML1 17 15 13 TCLK2 11 PWMC1_PWML3 9 CTS2 7 TF 5 PCK2 3 1 PC12 PA18 PA30 PA21 PA25 PB3 PB13 PA13 PA29 PA5 PD19 PA18 {2,4} {2,4} {2,5} {2,3,4,7} {2,5} {2,3,4} {2,3,4} {2} {2} {2,3,4} {2,4} {2,4} R213 0R {2,3,4} PB0 R211 0R CONN_HDR_18X2 VCC_5V0 DNP A A A A REV SAME70-XPLD RevA Embest 14-Oct-15 INIT EDIT MODIF. SCALE DES. DATE 1/1 5 4 3 2 VER. DATE REV. SHEET A Shield Connectors 4 7 1 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 47 Figure 5-5 Memories and Power 5 4 2 3 1 VCC_3V3 R606 10K R607 100K R608 100K R609 100K R610 100K R611 R612 10K 10K VCC_3V3 J600 D {2,4} {2,4} {2,4} {2,3} {2,4} {2,4} {2} PA30 PA31 PA26 PA27 PA25 PA28 PC16 SD_D0 SD_D1 SD_D2 SD_D3 SD_CLK SD_CMD SD_DETECT SD_WP J901 7 8 9 1 5 2 10 11 DAT0 VDD DAT1 VSS1 DAT2 VSS2 DAT3 SHELL CLK SHELL CMD SHELL C/D SHELL W/P 4 3 6 12 13 14 15 C613 100nF C612 10uF D U901 SD Card SOCKET TP600 VCC_3V3 R600 10K R601 10K R602 10K VCC_3V3 U600 C MAC24_A0 MAC24_A1 MAC24_A2 TWD0 TWCK0 {2,3,4,7} PA3 {2,3,4,7} PA4 {2} PC11 1 2 3 5 6 7 R603 10K A0 A1 A2 {2} {2} {2} {2} {2} {2} {2} {2} {2} {2} {2} PC20 PC21 PC22 PC23 PC24 PC25 PC26 PC27 PC28 PC29 PD13 {2} PA20 {2} VCC_3V3 R617 PD23 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 SDA10 100K R111 R112 R113 R114 R115 R116 R117 R118 R119 R120 R121 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R N6 P7 P6 R6 R2 P2 P1 N2 N1 M2 N7 M1 BA0 R123 22R SDCK R124 K2 22R SDCKE L1 {2} PD14 {2} {2,4} {2,4} {2} PC15 PD16 PD17 PD29 {2} {2,4} PC18 PD15 SDCS RAS CAS SDWE A0/NBS0 NWR1/NBS1 VCC_3V3 8 VCC_5V0 C600 SDA SCL WP GND J101 1 3 100nF 4 C908 2.2uF R615 47K 2 4 Hearder 2x2 EDBG_ADC0 AT24MAC402-MAHM-T J6 J2 A7 R7 H6 VCC_3V3 VCC L7 K6 K7 J7 C916 C917 C918 100nF 100nF 100nF A1 R1 G2 G6 H1 H2 H7 {7} R616 47K A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 CLK CKE CS RAS CAS WE LDQM UDQM VDD1 VDD2 VDD3 VSS1 VSS2 NC1 NC2 NC3 NC4 NC5 DQ0 DQ1 DQ2 DQ3 DQ4 DQ5 DQ6 DQ7 DQ8 DQ9 DQ10 DQ11 DQ12 DQ13 DQ14 DQ15 VDDQ1 VDDQ2 VDDQ3 VDDQ4 VSSQ1 VSSQ2 VSSQ3 VSSQ4 NC6 NC7 NC8 NC9 NC10 NC11 A6 B7 C7 D7 D6 E7 F7 G7 G1 F1 E1 D2 D1 C1 B1 A2 B6 C2 E6 F2 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 R125 R126 R127 R128 R129 R130 R131 R132 R133 R134 R135 R136 R137 R138 R139 R140 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R 22R PC0 {2} PC1 {2} PC2 {2} PC3 {2} PC4 {2} PC5 {2} PC6 {2} PC7 {2} PE0 {2,4} PE1 {2} PE2 {2} PE3 {2,4} PE4 {2,4} PE5 {2,4} PA15 {2,4} PA16 {2,4} VCC_3V3 C919 C920 C921 C922 100nF 100nF 100nF 100nF B2 C6 E2 F6 C J1 K1 L2 L6 M6 M7 IS42S16100F-5BL B B Q109A FDC6312P VCC_USB 5 S1 D1 6 Q109B FDC6312P 4 2 D2 S2 VCC_5V0 VCC_3V3 3 1 G1 G2 U601 R613 100K Q110A FDC6312P VCC_USB_EDBG S1 D1 6 Q110B FDC6312P 4 D2 S2 10uF C603 2.2UF 3 9 VCC EN GND FIN Vo Vo_s NC1 NC2 NC3 1 2 4 6 7 C601 100nF C602 4.7uF BD33IC0WEFJ-E2 2 3 G2 1 G1 5 VCC_5V0 C714 8 5 A A R614 100K A A REV SAME70-XPLD Embest 14-Oct-15 RevA INIT EDIT MODIF. SCALE DES. DATE 1/1 5 4 3 2 VER. DATE REV. SHEET A Memory & Power 5 7 1 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 48 Figure 5-6 Ethernet 10/100 5 4 2 3 1 D D VCC_3V3 VDDA_ENET L700 VDDPLL_1.2V VCC_3V3 PD9 PHY_MDC 11 PHY_MDIO 10 RMII_XTALI 8 RMII_XTALO 7 XC700 1 4 {2,4} PD0 C704 24PF 2 R238 39R PHY_RESET {2} PC10 3 10K 25MHZ C709 24PF PHY_REFCLK 16 R702 24 MDC MDIO 10uF XO TXEN RXD0 RXD1 RXER LED0/ANEN_SPEED CRS_RV/PHYAD1/PHYAD0 18 INTRP 22 25 R906 1K REXT 1:1 C1_TX+ TD+_R1 6 5 4 3 PHY_TXD0 PHY_TXD1 20 21 19 PHY_TXEN 13 12 PHY_RXD0 PHY_RXD1 17 PHY_RXER PD2 PD3 {2} {2} PD1 {2} PD5 PD6 {2,3,6} {2,3,6} PHY_CRS_DV PD7 {2,3} PD4 {2,3,6} KSZ8081RNACA TCT_R3 C2_TXC 75 OHMS 75 OHMS C4 7 1:1 C3_RX+ RD+_R7 VCC_3V3 C6_RX- C706 100nF R604 10K 9 R704 6.49K TD-_R2 3 C5 23 15 2 C705 100nF RCT_R6 13 R701 75 OHMS L3 75 OHMS C7 VCC_3V3 C8 NC_4 NC_5 14 L4 VCC_3V3 PHY_INTERRUPT RD-_R8 4 5 LED0_SPEED C92 100PF DNP 8 6 1000pF Y G + + L2 12 L1 11 R703 470 LED1_LINK 470 10 PA14 RXP RXM REF_CLK VCC_3V3 {2} TXP TXM TXD0 TXD1 RST J700 1 XI C713 VCC_3V3 10uF S1 PD8 C220 100nF S2 {2,3,6} {2,6} C711 9 C VDD_1V2 U700 1 C708 2.2uF 14 100nF 2 C710 100nF 100nF VDDIO C700 C702 VDDA_3V3 4.7uF GND1 GND2 C701 RJ45 B B VCC_3V3 L701 R56 1.5K R55 1.5K DNP DNP R71 10K PHY_MDIO PHY_MDC {2,6} PD9 {2,3,6} PD8 PHY_RXD0 PHY_RXD1 PHY_CRS_DV {2,3,6} PD5 {2,3,6} PD6 {2,3,6} PD4 R70 10K DNP R67 10K DNP R69 10K A A A A REV SAME70-XPLD Embest 14-Oct-15 RevA INIT EDIT MODIF. SCALE DES. DATE 1/1 5 4 3 2 VER. DATE REV. SHEET A Ethernet 6 7 1 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 49 Figure 5-7 EDBG Interface 4 5 3 2 1 XC900 1 C900 22pF D TARGET_CHIP_ERASE 2 4 VCC_3V3 3 C901 22pF 12MHz R900 330R TRACESWO R921 330R SWCLK R904 330R SWDIO R905 330R R903 1K {2} PB5 {2,3} PB7 {2,3} PB6 {2,3} D ID_2 A10 1 2 A9 A8 3 4 39R 5 39R B9 B8 R916 R917 C7 B S2 S4 3 2 PB0 PB1 PB2 PB3 PB4 PB6 PB7 PB8 PB9 PB10 PB11 DMHS DPHS DMFS DPFS USB_VBIAS 6.81K R918 J6 C902 10pF 1 TCK TDI TDO TMS RESET_N USB_VBUS D902 PRTR5V0U2X DNP GNDPLL VCC_USB_EDBG 1K GNDCORE R902 4 S1 S3 5V DD+ ID VCC_3V3 AT32UC3A4256J-C1UR GNDANA {2} G EDBG_DGI_I2C_SDA EDBG_DGI_I2C_SCL {3} ID_1 EDBG_TARGET_RESET MICRO USB AB 5 J900 PA3 PA4 H8 {2,3,4,5} {2,3,4,5} F10 EDBG_ADC0 G4 G2 G3 J1 H1 G1 F3 F4 E3 E4 D2 D1 D3 K4 D4 F1 H2 K1 J2 H4 J3 K2 K3 J4 G5 H5 C POWER_LED_CTRL TP908 STATUS_LED_CTRL TP909 TARGET_RESET_SENSE EDBG_SPI_DGI_MISO EDBG_SPI_DGI_MOSI EDBG_SPI_DGI_SCK EDBG_SPI_DGI_SS {2} R915 330R PD20 PD21 PD22 PD12 TP900 K9 K8 J8 H7 J9 EDBG_FORCE_BOOT TP901 EDBG_JTAG_TCK TP902 EDBG_JTAG_TDI TP903 EDBG_JTAG_TDO TP904 EDBG_JTAG_TMS TP905 EDBG_RESET_N {2,3,4} {2,3,4} {2,3,4} {2,3} Connect TP900 to TP901 during startup of the EDBG to force it into bootloader mode TP906 VCC_3V3 B TP907 B10 330R EDBG_FORCE_BOOT {5} GNDIO_1 GNDIO_3 GNDIO_2 GNDIO_4 GNDIO_5 GNDIO_6 R914 DGI_GPIO0 DGI_GPIO1 DGI_GPIO2 DGI_GPIO3 PC0/PX14 PC1 PC2 PC3 PC4 PC5 330R PX0 PX1 PX2 PX3 PX4 PX5 PX6 PX7 PX8 PX9 PX10 PX12 PX13 PX15/PX32 PX16/PX53 PX19/PX59 PX21 PX23 PX24 PX25 PX26 PX27 PX28 PX29 PX30 PX31 F5 C3 H3 E2 C8 E6 PA2 330R R913 VDDIO_1 VDDIO_2 VDDIO_3 VDDIO_4 VDDIO_5 VDDIO_6 {2,3,4} R912 F6 F2 B6 J5 B5 E5 PD28 VDDCORE PA23 330R E10 PA9 R911 PA0/PA18 PA1/PA17 PA2/PX47 PA3 PA4 PA5 PA6/PA13 PA7/PA19 PA8 PA9 PA10 PA11 PA12/PA25 PA14/PX11 PA15/PX45 PA16 PA20/PX18 PA21/PX22 PA22/PX20 PA23/PX46 PA24/PX17 PA26/PB5 PA27 PA28 PA29 PA30 PA31 VDDIN_2 VDDIN_1 {2,3} {2,4} {2,3,4} R910 D9 D10 C PB4 PA21 VDDANA {2,3,4} {2,3,4} G8 G10 E1 F9 E9 G9 E8 H10 F8 D8 C10 C9 G7 K7 J7 E7 H9 K10 H6 G6 J10 F7 A2 A1 B4 A4 C2 K5 K6 A5 A6 B7 A7 U900 EDBG_CDC_UART_RX 330R EDBG_CDC_UART_TX B1 B2 B3 C4 A3 D7 D6 C6 C5 D5 C1 XIN0 XOUT0 {3} PB12 VCC_3V3 VCC_3V3 VCC_3V3 C910 100nF L901 C909 2.2uF C906 1nF C905 2.2uF 100nF 100nF 100nF C914 2.2uF C915 2.2uF C911 C912 C913 C904 100nF A A A A REV SAME70-XPLD Embest 14-Oct-15 RevA INIT EDIT MODIF. SCALE DES. DATE 1/1 5 4 3 2 VER. DATE REV. SHEET A Embedded Debugger 7 7 1 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 50 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 R701 J900 J503 R119 R121 R300 R206 D2 D1 (TXD) R234 D16 D24 D53 D45 D37 D29 4 2 2 3 J507 SW0 SW300 D26 D28 D30 D32 D34 D36 D40 D38 D42 D21 RESET 3 C600 R603 AT24MAC402 4 U600 D44 GND CANTX D52 R602 R601 R600 R228 D17 R235 R224 R225 R204 R226 D19 R227 R205 R230 D20 R229 D18 R211 R213 J504 R221 R209 J402 D15 SW100 5V0 GND D14 R208 5V0 R220 R207 J505 R219 AD9 CANRX EXT2 D3 D22 AD8 U901 MOSI R236 R401 DAC1 J401 D4 R218 R217 J506 R216 R402 AD10 R203 D5 MISO R139 R124 RST TP300 SCK R131 R132 R130 R140 D902 C911 R303 D301 TP200 R127 R126 D6 D0 (RXD) AD7 AD11 D8 R214 AD6 R403 DAC0 R212R210 J501 R223 R128 R129 D9 D7 R232 D46 AD5 C301 D48 AD4 D10 PB12 J502 AD2 AD3 D11 J200 R623 R215 AD1 C912 C901C900 C602 C601 C913 C915 XC900 R614 R917 R916 GND D13 3V3 J300 C300 R138 R137 R125 EXT1 D12 TP201 XC300 GND VIN J406 C216 R222 J400 SAME70Q21 R233 C219 RESET R133 R134 R118 R135 R117 R120 R136 R123 GND JTAG U200 J500 5 5V0 POWER AREF IOREF 3V3 R400 J301 C302 C303 R616 R615 C910 C909 SCL J201 XC301 VBAT D50 1 D302 J101 C914 C904 L901 SDA J203 TP910 CAMERA INTERFACE DEBUG USB R202 R201 L701 J700 C714 C603 C92 R704 R56 R55 R67 R69 C709C704 Q110 U601 U700 L700 C701 XC700 C702 C700 J302 TARGET USB C706 R703 Q109 R906 R238 R71R70 C711 C220 R613 C708 C710 5 C713 R702 C705 1 6. D23 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 51 R915 Figure 6-2 Bottom Component Placement with Silkscreen TP909 R606 PC17 PD28 PA4 PA3 PD11/ PD21 C612 C613 C211 R112 PD25 PB0 PC9 PD25 PA17 PD22 PD20 C204 R111 RESET R624 C202 3V3 5V0 GND R231 R107 R122 PA2 GND NC 3V3 C201 PC19 TP100R110 PD27 VIN C209 C205 C210 C207 PD11 GND C212 C203 C213 PB1 PD21 C200 L202 C217 PD20 L200 C218 PA0 PD26 C206 PC30 C208 C215 R113 R114 PD22 R115 R116 GND PB3 L201 C214 PC31 PB2 R106 C104 TDO R610 R609 R611 R612 R608 R607 R918 ADVREF PA19 VCC J901 PA3 ID TP600 J600 PA4 RST BOOT GND TDI 5V0 GND NC 3V3 TCK GND VCC TMSR900 TP901TP900 TP906TP902R911 TP904TP903 TP907TP905C905 C906 R910 R912 R913 R914 TP908 EDBG R902 R903 R921 R905 R904 U900 C902 PC31 PA6/ PD10 PA2 PA4 PA3 PB4 PA21 5V0 PA24 PB1 PD21 PC19 C916 PC13 PC30 PA17 C922C920 PC12 PB0 PA10 PD19 PA22 J403 PD18 PC31 SWD+ETM PD27 PB13 PD28 PD0 PA18 PC12 GND NC GND PA21 PA30 PB4 PA28 PC14 NC PA25 PB3 PA31 PA24 PB13 PA23 PA13 NC PA12 NC NC PB2 PA29 PA5 NC PA1 PD19 PD18 PA26 PB0 PD17 PB3 5V0 WWW.ATMEL.COM GND PD24 PD15 PA18 PB0/ PD20 / PB1 / / / CORESIGHT2U PD16 / PB3 PD31 PD27 PB2 PB13 PB1 PD22 PD21 PD26 PA19 C918 C921C908 C919 PD28 RESET PA6 C917 R617 GND PD11 PD30 PD22 PD30 PD20 PC13 VCC PD30 PA5 ID 5V0 GND PB2 Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 52 Figure 6-3 Top Signals Layer Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 53 Figure 6-4 Layer 2: Ground Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 54 Figure 6-5 Layer 3: Power Planes Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 55 Figure 6-6 Bottom Signals Layer Atmel SAME70-XPLD [USER GUIDE] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 56 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] Atmel-44050A-SAME70-XPLD_User Guide-12/2015 57 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.