Advertisement

Quick Links

EVB-LAN9370
Evaluation Board
User's Guide
®
for Linux
 2021 Microchip Technology Inc.
DS50003187A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EVB-LAN9370 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology EVB-LAN9370

  • Page 1 EVB-LAN9370 Evaluation Board User’s Guide ® for Linux  2021 Microchip Technology Inc. DS50003187A...
  • Page 2 The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks 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

    3.2.1 Clocks ......................21 3.2.2 LEDs ......................21 3.2.3 Configuration Straps .................. 22 Appendix A. Schematics A.1 Introduction ....................23 Appendix B. Bill of Materials B.1 Introduction ....................27 Worldwide Sales and Service ..................30  2021 Microchip Technology Inc. DS50003187A-page 3...
  • Page 4: Preface

    Development Systems Customer Change Notification Service • Customer Support • Document Revision History DOCUMENT LAYOUT This document features the EVB-LAN9370 Evaluation Board. The manual layout is as follows: • Chapter 1. “Overview” – This chapter provides a brief description of the EVB-LAN9370.
  • Page 5 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 { ...  2021 Microchip Technology Inc. DS50003187A-page 5...
  • Page 6 ® EVB-LAN9370 Evaluation Board User’s Guide for Linux WARRANTY REGISTRATION Please complete the enclosed Warranty Registration Card and mail it promptly. Sending the Warranty Registration Card entitles users to receive new product updates. Interim software releases are available at the Microchip website.
  • Page 7 (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 web site at: http://www.microchip.com/support DOCUMENT REVISION HISTORY Revisions Section/Figure/Entry Correction DS50003187A Initial release (08-27-21)  2021 Microchip Technology Inc. DS50003187A-page 7...
  • Page 8: Chapter 1. Overview

    ® USER’S GUIDE FOR LINUX Chapter 1. Overview INTRODUCTION The EVB-LAN9370 Evaluation Board is a daughter board that interfaces with the SAMA5D3-Ethernet Development System Board (Part Number: DM320114) running ® Linux This user’s guide is a companion document to the 5-Port AVB/TSN Gigabit Ethernet...
  • Page 9: References

    • 5-Port AVB/TSN Gigabit Ethernet Switch with Integrated 100BASE-T1 PHYs Product Brief • AN4005 LAN937x Register Definitions Application Note • SAMA5D3-EDS User's Guide • SAMA5D3-EDS Schematics • Related references Github.com (see https://github.com/micro- chip-ung/lan937x_linux)  2021 Microchip Technology Inc. DS50003187A-page 9...
  • Page 10: Chapter 2. Getting Started

    3. Review the jumper settings on the EVB-LAN9370 board. a) Install jumper at J1 (VBAT-VDD). b) Install jumpers at J10 and J12 for proper LED operation. 4. Attach the EVB-LAN9370 board to the SAMA5D3 board via the RMII I/F connec- tor as shown in Figure 2-1.
  • Page 11 Getting Started Refer to SAMA5D3-EDS User's Guide for the procedures for loading an image into the board. FIGURE 2-1: EVB-LAN9370 CONNECTION TO SAMA5D3-EDS  2021 Microchip Technology Inc. DS50003187A-page 11...
  • Page 12: Setting Up The Software

    100Base-T1 to 100Base-TX adapter (EV02N47A Media Converter). The board pro- vides a jumper to configure the T1 PHY to either Master or Slave mode. PORT NUMBERING Remember that the port numbering of the EVB-LAN9370 does not flow linearly along the edge of the board. (See Figure 2-2.) Read the silkscreen in carefully to note the port...
  • Page 13: Useful Commands

    192.168.4.104/24 broadcast • 192.168.4.255 Adds the IP address, subnet, and broadcast addresses to lan4 These commands are very powerful and can set many parameters within a single com- mand.  2021 Microchip Technology Inc. DS50003187A-page 13...
  • Page 14: Ethtool Command

    ® EVB-LAN9370 Evaluation Board User’s Guide for Linux 2.5.2 Ethtool Command The ethtool command is used to display aspects related to the PHY. • ethtool -h = Displays the command usage • ethtool lan1 = Displays the PHY settings for lan1 •...
  • Page 15: Default Network Configuration

    1 The following commands show how a user can create a port-based VLAN with ports 1 and 2. This example uses VLAN10. # make sure the bridge is vlan-aware  2021 Microchip Technology Inc. DS50003187A-page 15...
  • Page 16 ® EVB-LAN9370 Evaluation Board User’s Guide for Linux ip link set dev br0 type bridge vlan_filtering 1 # configure VLAN10 bridge vlan add vid 10 dev lan1 pvid untagged bridge vlan add vid 10 dev lan2 pvid untagged bridge vlan del vid 1 dev lan1...
  • Page 17: Debug Access To The Device

    -t debugfs none /sys/kernel/debug # Read VLAN entry 19 (0x0013) echo -n '0x040c 0x0013' > /sys/kernel/debug/regmap/spi1.3-16/registers echo -n '0x040e 0x82' > /sys/kernel/debug/regmap/spi1.3-8/registers cat -n /sys/kernel/debug/regmap/spi1.3-32/registers | grep 00040[048]: (enter ^C to terminate the read.)  2021 Microchip Technology Inc. DS50003187A-page 17...
  • Page 18 ® EVB-LAN9370 Evaluation Board User’s Guide for Linux NOTES: DS50003187A-page 18  2021 Microchip Technology Inc.
  • Page 19: Chapter 3. Hardware Configuration

    Chapter 3. Hardware Configuration INTRODUCTION Figure 3-1 shows the top view of the EVB-LAN9370 evaluation board. The 100BASE-T1 ports connect to the screw terminals on the top of the board. Note: 100BASE-T1 links must always be statically configured with one end as clock driver and the other end as clock receiver.
  • Page 20: Led Indicators

    ® EVB-LAN9370 Evaluation Board User’s Guide for Linux 3.1.1 LED Indicators Table 3-1 describes the LED indicators on the EVB-LAN9370. TABLE 3-1: EVB-LAN9370 LED INDICATOR DESCRIPTIONS Description “VDD Main” = 3.3V power, green “Link” indicates link status on Port 3, green.
  • Page 21: Connector Descriptions

    J8-12 Not used HARDWARE DETAILS 3.2.1 Clocks The EVB-LAN9370 board has a 25 MHz crystal used by the LAN9370. 3.2.2 LEDs The LAN9370 offers four LED outputs and a mapping function to assign port status to an LED output pin.
  • Page 22: Configuration Straps

    EVB-LAN9370 Evaluation Board User’s Guide for Linux Refer to the GLB_LED_T1_SEL register (0x013C) in the AN4005 LAN937x Register Definitions Application Note. For the EVB-LAN9370 board, the register value should be set to 0x0767FFC4 to have the port status reflected properly on the board's LEDs.
  • Page 23: Appendix A. Schematics

    EVB-LAN9370 EVALUATION BOARD ® USER’S GUIDE FOR LINUX Appendix A. Schematics INTRODUCTION This appendix shows the EVB-LAN9370 Evaluation Board schematics.  2021 Microchip Technology Inc. DS50003187A-page 23...
  • Page 24 FIGURE A-1: EVB-LAN9370 SCHEMATIC 1 Power Power VDDIO MAIN 10nF 1V8/2V5/3V3 220 OHM VDDIO 0.1uF 0.1uF 0.1uF 10uF VDD11 VDDIO VDDIO VDDCORE VDDIO 10nF VDDCORE 220 OHM VDD11 VDDCORE 0.1uF 0.1uF 0.1uF 0.1uF VDDCORE VDD_RGMII2 VDD_RGMII2 VDD_RGMII2 VDD_RGMII2 10nF 220 OHM VDD_RGMII2 0.1uF...
  • Page 25 FIGURE A-2: EVB-LAN9370 SCHEMATIC 2 1 = WAKE_IN *default HDR-2.54 Male 1x3 2 = INH 3 = WAKE_OUT VBAT 4.7k TRX1_N TRX1_TERM_N TRX1_CON_N 0.1uF TRX1_CON_P WAKE_IN WAKE_IN 250V 0805 TRX1_P TRX1_TERM_P 0.1uF 200uH 250V 0805 TERMINAL 1x2 TRX1_P TRXP0 TRX1_N...
  • Page 26 FIGURE A-3: EVB-LAN9370 SCHEMATIC 3 GENERAL Strappings VDDIO "Link Status 3" 15pF "Link Status 2" CLK125 4.7k 4.7k 4.7k 4.7k 25Mhz CLK125 15pF GPIO7 LED_7 GPIO8 WAKE_IN LED_8 4.7k RGMII_Mode_1 = RMII TXD2_1 RGMII_Mode_0 TXD2_0 TESTMODE nRST nINT xMII speed = 100 Mbps TXD2_3 4.7k...
  • Page 27: Appendix B. Bill Of Materials

    EVB-LAN9370 EVALUATION BOARD ® USER’S GUIDE FOR LINUX Appendix B. Bill of Materials INTRODUCTION This appendix contains the EVB-LAN9370 Evaluation Board Bill of Materials (BOM).  2021 Microchip Technology Inc. DS50003187A-page 27...
  • Page 28 TABLE B-1: EVB-LAN9370 BILL OF MATERIALS Item Reference Description Populated Manufacturer Manufacturer Part Number C1, C2, C3 CAP CER 4.7 µF 10V 10% X5R SMD 0603 KEMET C0603C475K8PACTU CAP CER 470 pF 25V 5% NP0 SMD 0603 06033A471JAT2A C5, C6, C7, C13, C14, C15, C16, C19, C20, C21, C28, C32, C34, C35, C38, CAP CER 0.1 μF 50V 10% X7R SMD 0402...
  • Page 29 TABLE B-1: EVB-LAN9370 BILL OF MATERIALS (CONTINUED) Item Reference Description Populated Manufacturer Manufacturer Part Number MCHP INTERFACE ETHERNET LAN9370 QFN-64 Microchip Production MIC8180 JP1, JP2, JP3 MECH HW JUMPER 2.54 mm 1x2 MECH 969102-0000-DA — 04-UNG-8221-RC PCB1 Printed Circuit Board R21, R26, R35 RES TKF 4.7k 5% 1/10W SMD 0603...
  • Page 30: 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 DS50003187A-page 30  2021 Microchip Technology Inc. 02/28/20...

Table of Contents