Microchip Technology SAMA5D3 User Manual

Microchip Technology SAMA5D3 User Manual

Ethernet development system
Hide thumbs Also See for SAMA5D3:

Advertisement

Quick Links

SAMA5D3
Ethernet Development System
User's Guide
 2018 Microchip Technology Inc.
DS50002789A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SAMA5D3 and is the answer not in the manual?

Questions and answers

Summary of Contents for Microchip Technology SAMA5D3

  • Page 1 SAMA5D3 Ethernet Development System User’s Guide  2018 Microchip Technology Inc. DS50002789A...
  • Page 2 SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
  • Page 3: Table Of Contents

    1.2 References ....................12 1.3 Software and Programming Resources ............12 Chapter 2. Getting Started 2.1 Introduction ....................13 2.2 SAMA5D3 EDS and EVB-KSZ9563 Configuration ........13 Chapter 3. Board Details and Configuration 3.1 Introduction ....................15 3.2 Power Source ....................15 3.3 Processor and Memory ................
  • Page 4 4.9 Precision Time Protocol (IEEE 1588) ............26 4.10 VLAN Setup ....................26 4.11 DHCP ......................26 4.12 Nuttcp Traffic Testing ................. 26 Appendix A. Programming the SAMA5D3 EDS Board A.1 Introduction ....................27 A.2 NAND Flash Programming ................27 A.2.1 NAND Flash Programming on Linux ............27 A.2.2 NAND Flash Programming on Windows ...........27...
  • Page 5: Preface

    SAMA5D3 Ethernet Development System Board. • Chapter 3. “Board Details and Configuration” – This chapter includes instruc- tions on how to configure the SAMA5D3 Ethernet Development System Board to work with the EVB-KSZ9563 3-port switch evaluation board. • Chapter 4. “Software Configuration and Operation”...
  • Page 6 SAMA5D3 Ethernet Development System User’s Guide • Appendix B. “Schematics” – This appendix shows the SAMA5D3 Ethernet Development System Board schematics. • Appendix C. “Bill of Materials” – This appendix includes the SAMA5D3 Ether- net Development System Board Bill of Materials (BOM).
  • Page 7: Conventions Used In This Guide

    Curly brackets and pipe  Choice of mutually exclusive errorlevel {0|1} character: { | } arguments; an OR selection Ellipses... Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ...  2018 Microchip Technology Inc. DS50002789A-page 7...
  • Page 8: The Microchip Website

    SAMA5D3 Ethernet Development System User’s Guide THE MICROCHIP WEBSITE Microchip provides online support via our website at www.microchip.com. This website is used as a means to make files and information easily available to customers. Acces- sible by using your favorite Internet browser, the website contains the following infor- mation: •...
  • Page 9: Document Revision History

    (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the website at: http://www.microchip.com/support DOCUMENT REVISION HISTORY Revisions Section/Figure/Entry Correction DS50002789A (08-2-18) Initial release  2018 Microchip Technology Inc. DS50002789A-page 9...
  • Page 10 SAMA5D3 Ethernet Development System User’s Guide NOTES:  2018 Microchip Technology Inc. DS50002789A-page 10...
  • Page 11: Chapter 1. Overview

    Ethernet MACs (one gigabit and one 100 Mbit), three USB ports, an SD card slot, and a Serial UART interface. It is similar to the SAMA5D3 Xplained Evalua- tion Board (SAMA5D3-XPLD) but with the PHYs removed and replaced by the RMII and RGMII connectors.
  • Page 12: References

    SAMA5D3 Ethernet Development System User’s Guide REFERENCES Concepts and materials available in the following documents may be helpful when reading this document. Visit www.microchip.com for the latest documentation. • SAMA5D3 Series Data Sheet SOFTWARE AND PROGRAMMING RESOURCES The following files are available for download from the Microchip website www.microchip.com/DevelopmentTools/ProductDetails/PartNo/SAMA5D3+Ether-...
  • Page 13: Chapter 2. Getting Started

    USER’S GUIDE Chapter 2. Getting Started INTRODUCTION This section outlines the steps to bring up the SAMA5D3 EDS board with a daughter board such as the EVB-KSZ9563 3-port switch evaluation board. SAMA5D3 EDS AND EVB-KSZ9563 CONFIGURATION To configure the SAMA5D3 EDS board to work with the EVB-KSZ9563 3-port switch evaluation board: 1.
  • Page 14 SAMA5D3 Ethernet Development System User’s Guide 5. Connect a 12V power adapter to the SAMA5D3 EDS board. When the board is powered on, it boots the installed Linux operating system. 6. The default IP address for the MPU is 192.168.0.210. Functionality of the Ether- net daughter board can be verified by connecting a PC to an Ethernet port on the daughter board and pinging the MPU.
  • Page 15: Chapter 3. Board Details And Configuration

    USER’S GUIDE Chapter 3. Board Details and Configuration INTRODUCTION The SAMA5D3 EDS board is designed to connect to compatible Microchip Ethernet switch and PHY evaluation boards. The board is built around the integration of a Cor- ® -A5-based microcontroller with external SDRAM and Flash memory, dual Ethernet ports, two host USB ports, and one device USB port, an SD interface, and a serial debug interface.
  • Page 16: Flash Memory Programming

    SAMA5D3 Ethernet Development System User’s Guide FIGURE 3-1: SD CARD SLOT ON THE BOTTOM OF THE BOARD FLASH MEMORY PROGRAMMING The board is preprogrammed with a Linux image that includes an Ethernet driver and evaluation code. Users may reprogram the on-board flash memory via the micro-AB USB port (USB port A).
  • Page 17: Rgmii/Mii Gmac Connector

    FIGURE 3-2: RGMII CONNECTOR A daughter board receives power from the SAMA5D3 EDS board via any of the avail- able supplies: VDDIOP1 (VARIO), 2V5, 3V3, 5V, or 12V. The daughter board documen- tation specifies which power rail(s) are used. Jumpers J3, J7, J13, and J17 are used to connect/disconnect 12V, 5V, 3V3, and 2V5 to this connector.
  • Page 18: Rmii Emac Connector

    • PME input from the daughter board. It connects to MPU I/O pin PD17, but the standard software release may not utilize it. • SAMA5D3 GPIO pins PD14, PD15, and PD16 are also wired to the RGMII con- nector and are available for general use.
  • Page 19: Usb Ports

    3.3V. 3.11 BOARD FEATURES AND SPECIFICATIONS Figure 3-5 shows the top view of the SAMA5D3 EDS board with its key features, and Table 3-2 details the specifications of the SAMA5D3 EDS board.  2018 Microchip Technology Inc.
  • Page 20 SAMA5D3 Ethernet Development System User’s Guide FIGURE 3-5: SAMA5D3 EDS BOARD’S MAIN FEATURES TABLE 3-2: SAMA5D3 EDS BOARD SPECIFICATIONS Characteristics Specifications ® Processor SAMA5D36 (324-ball BGA package) ARM Cortex-A5 Pro- ® cessor with v7-A Thumb -2 instruction set, core frequency...
  • Page 21: Chapter 4. Software Configuration And Operation

    Chapter 4. Software Configuration and Operation INTRODUCTION The SAMA5D3 EDS board is pre-configured with Linux and Ethernet drivers. This includes some command line utilities for controlling certain switch functions. In addition, the user can interact with the driver to monitor and control the attached switch daughter board.
  • Page 22: Usb-To-Serial Communication Option

    4.2.2 USB-to-Serial Communication Option This option provides direct access to the SAMA5D3 MPU via a UART interface. It does not require knowledge of the IP address and setting the IP address on the PC. In addi- tion, it does not depend on a switch or PHY daughter board being attached to the SAMA5D3 EDS board.
  • Page 23: Software Version

    The software installed on the board may not be the latest revision. Users are encour- aged to compare the installed software version with the latest version available on the Microchip website and update it if necessary. The software version can be checked as follows: # cat/sys/class/net/eth0/sw/version  2018 Microchip Technology Inc. DS50002789A-page 23...
  • Page 24: Ip And Mac Addresses

    SAMA5D3 Ethernet Development System User’s Guide IP AND MAC ADDRESSES All SAMA5D3 EDS boards currently come with the same IP and MAC addresses. Use the ipaddr or ifconfig commands to check the IP and MAC addresses: # ipaddr or # ifconfig Either address may be changed at the bootloader level as described in Section 4.5 “Ethernet Device Register...
  • Page 25: Bootloader Settings

    // disable AVB => setenv avb 0 // bug workaround to enable STP control => setenv multi_dev 3 // disable RSTP setenv stp 0 => // saves settings to NV memory => saveenv  2018 Microchip Technology Inc. DS50002789A-page 25...
  • Page 26: Precision Time Protocol (Ieee 1588)

    SAMA5D3 Ethernet Development System User’s Guide PRECISION TIME PROTOCOL (IEEE 1588) For switch daughter boards that support IEEE1588 Precision Time Protocol (PTP), the PTP protocol can be run by navigating to the appropriate file system directory, then run- ning the script found there. There are directories for end-to-end (e2e) and peer-to-peer (p2P).
  • Page 27: Appendix A. Programming The Sama5D3 Eds Board

    $ unzip SAMA5D3_EDS _Images_Vxx.xx.xx.zip $ cd SAMA5D3_EDS_Images/linux 2. Connect the micro-USB (J12) connector of the SAMA5D3 EDS board to the Linux PC. 3. Connect 12V of power to the SAMA5D3 EDS board. 4. Remove the NAND enable (J20) jumper and press the reset button....
  • Page 28 SAMA5D3 Ethernet Development System User’s Guide FIGURE A-1: DEVICE MANAGER - BOSSA PROGRAM PORT INSTALLED 7. If the PC does not have Internet connection, find “Unknown device” under “Other devices” in Device A-2:  Manager and install the driver from the folder. See Figure SAMA5D3_EDS_Images\windows\sam-ba_3.1.4\driver ...
  • Page 29 Programming the SAMA5D3 EDS Board FIGURE A-2: DEVICE MANAGER - OTHER DEVICES>UNKNOWN DEVICE  2018 Microchip Technology Inc. DS50002789A-page 29...
  • Page 30 SAMA5D3 Ethernet Development System User’s Guide 8. After successful installation, the Device Manager window shows AT91 USB to Serial Converter “Ports.” See Figure A-3. FIGURE A-3: DEVICE MANAGER - AT91 USB TO SERIAL CONVERTER SHOWN 9. Wait for few seconds before performing the following steps after board power-up. Make sure the device driver installation is complete.
  • Page 31 Programming the SAMA5D3 EDS Board FIGURE A-4: EXECUTING THE FLASH_BOARD.BAT COMMAND IN COMMAND PROMPT  2018 Microchip Technology Inc. DS50002789A-page 31...
  • Page 32: Sd Card Image Programming

    SAMA5D3 Ethernet Development System User’s Guide If the error in Figure A-5 appears, rerun the flash_board.bat command. FIGURE A-5: FLASH_BOARD.BAT COMMAND ERROR SD CARD IMAGE PROGRAMMING The SAMA5D3_ESD_Images_Vxx.xx.xx.zip file contains an SD card image that must be flashed to the SD card.
  • Page 33: Booting The Sama5D3 Eds

    Booting from NAND Flash The SAMA5D3 EDS board boots with the new image if MCU reset or power on/off is pressed after program- ming the NAND flash. The “buildroot login:” prompt is displayed. To open Command Prompt, enter ‘root’ and press <Enter>.
  • Page 34 SAMA5D3 Ethernet Development System User’s Guide NOTES:  2018 Microchip Technology Inc. DS50002789A-page 34...
  • Page 35: Appendix B. Schematics

    SAMA5D3 ETHERNET DEVELOPMENT SYSTEM USER’S GUIDE Appendix B. Schematics INTRODUCTION This appendix includes the SAMA5D3 EDS schematics. See Figure B-1 Figure B-6.  2018 Microchip Technology Inc. DS50002789A-page 35...
  • Page 36 Designed with Microchip Technology, Inc. Security Port B Port C USB/Network Group - UNG www.Microchip.com Altium.com Type A Type A Description: SAMA5D3 EnetDevSys FDB baseboard Title Page Page Title: SAMA5D3-EnetDevSys (Knave) Project Name: 03-10841 5/16/2018 Jennifer Hancock Size: Date: Designer:...
  • Page 37 FIGURE B-2: SAMA5D3 SCHEMATICS - BOARD POWER I/O AND REGULATORS 3V3 / 3A 12V Pwr Off/On 12V / 2A - 4A On-board current < 2A 4A FB R159 12V (typ) 12V_EXT 12V_F 12V_SW 2.5 mm On-board current < 2A Power...
  • Page 38 FIGURE B-3: SAMA5D3 SCHEMATICS - SOC CORE CONNECTIONS, NAND FLASH, AND SD CARD VBUS R150 2.2k PE9_VBUS_DET Serial UART VDDIOP0 GREEN i Power VDDIOP0 "Vbus" 2.2uF 40.2k 0.1uF "Reset" 74LVC1G14GW,125 VBUS 15pF 12_Mhz USBA_D_N HHSDMA XOUT_12M USBA_D_P USBA (UFP) XOUT...
  • Page 39 FIGURE B-4: SAMA5D3 SCHEMATICS - RGMII AND RMII I/F CONNECTORS RGMII/MII Connector I/F (GMAC) Device/switch pull-downs must overcome the internal MAC ID & EEPROM VDDIOP0 Net Class pull-ups in the SAMA5D36. 10K is effective. TP9 TP10 TP11 VDDIOP0 ClassName: RGMII_RX...
  • Page 40 Address, control and data group traces may not exceed 1.3 inches (33mm). DDR_DQSN2 4.7uF DDR_DQS3 DDR_DQS3 Therefore, place the DDR2 devices as close as possible to the SAMA5D3. 0.1uF Match trace lengths within the address, control and data groups to within 0.1 inch (2.54mm). DDR_DQSN3 DDR_VREF Control the trace impedance of the DDR2 lines to Z0= 50ohm.
  • Page 41 FIGURE B-6: SAMA5D3 SCHEMATICS - SOC GPIO AND MISC HEADERS I/O Connector #1 PD0_MCI0_CDA PD1_MCI0_DA0 VDDIOP0 PD2_MCI0_DA1 VDDIOP0 PD3_MCI0_DA2 SPI Activity LED PD4_MCI0_DA3 C166 PD5_MCI0_DA4 R131 R123 PD6_MCI0_DA5 0.1uF PD7_MCI0_DA6 "SPI Active" PD8_MCI0_DA7 R107 PD9_R PD9_MCI0_CK PD10_SPI0_MISO PD10 PD10_SPI0_MISO PA30_TWD0_URXD1...
  • Page 42 SAMA5D3 Ethernet Development System User’s Guide NOTES:  2018 Microchip Technology Inc. DS50002789A-page 42...
  • Page 43: Appendix C. Bill Of Materials

    SAMA5D3 ETHERNET DEVELOPMENT SYSTEM USER’S GUIDE Appendix C. Bill of Materials INTRODUCTION This appendix includes the SAMA5D3 Bill of Materials (BOM). See Table C-1.  2018 Microchip Technology Inc. DS50002789A-page 43...
  • Page 44 TABLE C-1: BILL OF MATERIALS Item Reference Description Populated Manufacturer Manufacturer Part Number C1, C2, C3, C6, C8, C14, C17, C20, C21, C24, CAP CER 0.1 uF 50V 10% X7R SMD 0402 TDK Corporation C1005X7R1H104K050BB C27, C31, C33, C36, C37, C39, C40, C46, C48, C54, C59, C63, C65, C66, C67, C68, C69, C88, C89, C90, C91, C92, C93, C97, C98, C99, C100, C102, C103, C104, C108, C109, C110, C111,...
  • Page 45 TABLE C-1: BILL OF MATERIALS (CONTINUED) Item Reference Description Populated Manufacturer Manufacturer Part Number J10, J21 CON HDR-2.54 Male 1x6 Gold 5.84 MH TH VERT 68000-106HLF CON HDR-2.54 Male 2x10 Gold 5.84 MH TH VER Samtec Inc. TSW-110-07-G-D-020 CON USB2.0 MICRO-AB FEMALE SMD R/A Hirose ZX62-AB-5PA(31) CON FLASH SD/MMC 16P PUSH-PULL SMD R/A...
  • Page 46 C&K Components PTS810 SJM 250 SMTR LFS SWITCH SLIDE SPDT 120V 6A 1101M2S3CQE2 C&K Components 1101M2S3CQE2 U2, U4 MCHP ANALOG LDO ADJ MCP1826T-ADJE/DC SOT-223-5 Microchip Technology Inc. MCP1826T-ADJE/DC MCHP ANALOG SWITCHER Buck 0.8-5.5V Microchip Technology Inc. MIC45205-1YMP-T1 MIC45205-1YMP-T1 QFN-52 U5, U6 MCHP ANALOG SWITCHER ADJ MIC23303YML DFN-12 Microchip Technology Inc.
  • Page 47 NOTES:  2018 Microchip Technology Inc. DS50002789A-page 47...
  • Page 48: Worldwide Sales And Service

    New York, NY Tel: 46-31-704-60-40 Tel: 631-435-6000 Sweden - Stockholm San Jose, CA Tel: 46-8-5090-4654 Tel: 408-735-9110 UK - Wokingham Tel: 408-436-4270 Tel: 44-118-921-5800 Canada - Toronto Fax: 44-118-921-5820 Tel: 905-695-1980 Fax: 905-695-2078  2018 Microchip Technology Inc. DS50002789A-page 48 10/25/17...

Table of Contents