Microchip EVB-LAN9252-DIGIO User Manual

EVB-LAN9252-DIGIO
EtherCAT
®
Evaluation Board
User’s Guide
2014-2019 Microchip Technology Inc. DS50002332C
Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Micro­chip devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer, PackeTime, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer, QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon, Tem pTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, FlashTec, Hyper Speed Control, HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet-Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider, Vite, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BlueSky, BodyCom, CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, INICnet, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, memBrain, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. 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.
All other trademarks mentioned herein are property of their respective companies.
© 2014-2019, Microchip Technology Incorporated, All Rights Reserved.
ISBN: 978-1-5224-5195-2
For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality.
DS50002332C-page 2 2014-2019 Microchip Technology Inc.
EVB-LAN9252-DIGIO
USER’S GUIDE
Table of Contents
Preface ........................................................................................................................... 4
Introduction............................................................................................................ 4
Document Layout .................................................................................................. 4
Conventions Used in this Guide ............................................................................ 5
The Microchip Website.......................................................................................... 6
Development Systems Customer Change Notification Service ............................ 6
Customer Support ................................................................................................. 6
Document Revision History ................................................................................... 7
Chapter 1. Overview
1.1 Introduction ..................................................................................................... 9
1.2 References ................................................................................................... 10
1.3 Terms and Abbreviations ............................................................................. 10
Chapter 2. Board Details and Configuration
2.1 Introduction ................................................................................................... 11
2.2 Power ........................................................................................................... 11
2.2.1 +5V Power ................................................................................................. 11
2.3 Resets .......................................................................................................... 11
2.3.1 Power-On Reset ........................................................................................ 11
2.4 Clock ............................................................................................................ 11
2.5 Configuration ................................................................................................ 12
2.5.1 Strap Options ............................................................................................ 13
2.5.2 LED Indicators ........................................................................................... 15
2.5.3 EEPROM Switch ....................................................................................... 16
2.5.4 DIG INPUT Mode ...................................................................................... 16
2.5.5 DIG OUTPUT Mode .................................................................................. 17
2.5.6 DIG Bidirectional Mode ............................................................................. 17
2.5.7 Control Signals ..........................................................................................17
2.6 Mechanicals ................................................................................................. 18
Chapter 3. LAN9252 EEPROM Programming
3.1 Programming the LAN9252 EEPROM ......................................................... 19
Appendix A. EVB-LAN9252-DIGIO Evaluation Board
Appendix B. EVB-LAN9252-DIGIO Evaluation Board Schematics
B.1 Introduction .................................................................................................. 25
Appendix C. Bill of Materials (BOM)
C.1 Introduction .................................................................................................. 33
Worldwide Sales and Service .................................................................................... 38
2014-2019 Microchip Technology Inc. DS50002332C-page 3
EVB-LAN9252-DIGIO
USER’S GUIDE

Preface

NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions may differ from those in this document. Please refer to our website (www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the document.
®
For the most up-to-date information on development tools, see the MPLAB Select the Help menu, and then Topics to open a list of available online help files.

INTRODUCTION

IDE online help.
This chapter contains general information that will be useful to know before using the EVB-LAN9252-DIGIO. Items discussed in this chapter include:

Document Layout

Conventions Used in this Guide
The Microchip Website
Development Systems Customer Change Notification Service
Customer Support
Document Revision History
DOCUMENT LAYOUT
This document describes how to use the EVB-LAN9252-DIGIO as a development tool for the Microchip LAN9252 EtherCAT
Chapter 1. “Overview” – This chapter shows a brief description of the
EVB-LAN9252-DIGIO.
Chapter 2. “Board Details and Configuration” – This chapter includes details and
instructions for using the EVB-LAN9252-DIGIO.
Chapter 3. “LAN9252 EEPROM Programming” – This chapter includes details and
instructions for programming the LAN9252 EEPROM.
Appendix A. “EVB-LAN9252-DIGIO Evaluation Board” – This appendix shows the
EVB-LAN9252-DIGIO.
Appendix B. “EVB-LAN9252-DIGIO Evaluation Board Schematics” – This appendix
shows the EVB-LAN9252-DIGIO schematics.
Appendix C. “Bill of Materials (BOM)” – This appendix includes the
EVB-LAN9252-DIGIO Bill of Materials (BOM).
®
slave controller. The manual layout is as follows:
2014-2019 Microchip Technology Inc. DS50002332C-page 4

CONVENTIONS USED IN THIS GUIDE

This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Arial font:
Italic characters Referenced books MPLAB
Initial caps A window the Output window
Quotes A field name in a window or
Underlined, italic text with right angle bracket
Bold characters A dialog button Click OK
N‘Rnnnn A number in verilog format,
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Italic Courier New A variable argument file.o, where file can
Square brackets [ ] Optional arguments mcc18 [options] file
Curly brackets and pipe character: { | }
Ellipses... Replaces repeated text var_name [,
Preface
®
IDE User’s Guide
Emphasized text ...is the only compiler...
A dialog the Settings dialog A menu selection select Enable Programmer
“Save project before build”
dialog A menu path File>Save
A tab Click the Power tab
4‘b0010, 2‘hF1 where N is the total number of digits, R is the radix and n is a digit.
Filenames autoexec.bat File paths c:\mcc18\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 0xFF, ‘A’
be any valid filename
[options]
Choice of mutually exclusive arguments; an OR selection
Represents code supplied by user
errorlevel {0|1}
var_name...]
void main (void)
{ ...
}
2014-2019 Microchip Technology Inc. DS50002332C-page 5
EVB-LAN9252-DIGIO 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. Accessible by using your favorite Internet browser, the website contains the following information:
Product Support – Data sheets and errata, application notes and sample programs,
design resources, user’s guides and hardware support documents, latest software releases and archived software
General Technical Support – Frequently Asked Questions (FAQs), technical support
requests, online discussion groups, Microchip consultant program member listing
Business of Microchip – Product selector and ordering guides, latest Microchip press
releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives

DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE

Microchip’s customer notification service helps keep customers current on Microchip products. Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest.
To register, access the Microchip website at www.microchip.com, click on Customer Change Notification and follow the registration instructions.
The Development Systems product group categories are:
Compilers – The latest information on Microchip C compilers, assemblers, linkers and
other language tools. These include all MPLAB C compilers; all MPLAB assemblers (including MPASM assembler); all MPLAB linkers (including MPLINK object linker); and all MPLAB librarians (including MPLIB object librarian).
Emulators – The latest information on Microchip in-circuit emulators.This includes the
MPLAB REAL ICE and MPLAB ICE 2000 in-circuit emulators.
In-Circuit Debuggers – The latest information on the Microchip in-circuit debuggers. This
includes MPLAB ICD 3 in-circuit debuggers and PICkit 3 debug express.
MPLAB IDE – The latest information on Microchip MPLAB IDE, the Windows Integrated
Development Environment for development systems tools. This list is focused on the MPLAB IDE, MPLAB IDE Project Manager, MPLAB Editor and MPLAB SIM simulator, as well as general editing and debugging features.
Programmers – The latest information on Microchip programmers. These include produc-
tion programmers such as MPLAB REAL ICE in-circuit emulator, MPLAB ICD 3 in-circuit debugger and MPLAB PM3 device programmers. Also included are nonproduction devel­opment programmers such as PICSTART Plus and PIC-kit 2 and 3.

CUSTOMER SUPPORT

Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
Customers should contact their distributor, representative or field application engineer (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
DS50002332C-page 6 2014-2019 Microchip Technology Inc.

DOCUMENT REVISION HISTORY

Revision Section/Figure/Entry Correction
DS50002332C (10-25-19)
DS50002332B (05-12-15)
DS50002332A Initial Release of document
Chapter 2. “Board Details and Configuration”
Table C-1 Added new part specifications
All Made minor text changes
All Updated board name to
Section 1.2 “References” Updated list of application notes
Preface
Revised Section 2.5.1.3.1 “Fiber
Mode”,Section 2.5.2 “LED Indicators”,
and Section 2.5.1.3 “Copper and Fiber
Straps”,and Section 2.5.1.3.2 “FX-LOS Fiber Mode Strap”. Removed Copper
Mode section. Added
Section 2.5.1.4 “Port Conversion from Copper to Fiber”.
“EVB-LAN9252-DIGIO” throughout docu­ment, corrected misc. typos and grammati­cal errors.
2014-2019 Microchip Technology Inc. DS50002332C-page 7
EVB-LAN9252-DIGIO User’s Guide
NOTES:
DS50002332C-page 8 2014-2019 Microchip Technology Inc.

1.1 INTRODUCTION

The LAN9252 is a 2-port EtherCAT® slave controller with dual integrated Ethernet PHYs that each contains a full-duplex 100BASE-TX transceiver and support 100 Mbps (100BASE-TX) operation. 100BASE-FX is supported via an external fiber transceiver.
Each port receives an EtherCAT frame, performs frame checking and forwards it to the next port. Time stamps of received frames are generated when they are received. The Loop-back function of each port forwards the frames to the next logical port if there is either no link at a port, if the port is not available, or if the loop is closed for that port. The Loop-back function of port 0 forwards the frames to the EtherCAT Processing Unit. The loop settings can be controlled by the EtherCAT master.
Packets are forwarded in the order specified below. Note that Port 0 is the upstream port and must connect to an EtherCAT master, while Port 1 is the downstream port.
The EtherCAT Processing Unit (EPU) receives, analyzes, and processes the EtherCAT data stream. The main purpose of the EtherCAT Processing unit is to enable and coor­dinate access to the internal registers and the memory space of the ESC, which can be addressed both from the EtherCAT master and from the local application. Data exchange between master and slave applications is comparable to a dual-ported mem­ory (process memory), enhanced by special functions for consistency checking (Sync­Manager), and data mapping (FMMU). Each FMMU performs bitwise mapping of logical EtherCAT system addresses to physical device addresses.
The scope of this document is to describe the EVB-LAN9252-DIGIO setup, which sup­ports a Digital I/O PDI Interface and corresponding jumper configurations. The LAN9252 is connected to an RJ45 Ethernet jack with integrated magnetics for 100BASE-TX connectivity. A simplified block diagram of the EVB-LAN9252-DIGIO is shown in Figure 1-1.
EVB-LAN9252-DIGIO
USER’S GUIDE

Chapter 1. Overview

2014-2019 Microchip Technology Inc. DS50002332C-page 9
EVB-LAN9252-DIGIO User’s Guide
Microchip
LAN9252
EEPROM
EVB-LAN9252-DIGIO
Straps
Port 0 Port 1
Oscillator
Power
Supply
Module
Control Signals
5V
07815
07815
Jumper Selection
LEDs LE Ds
Switches Switches
Digital I/O Circuit
100BASE-TX
Ethernet
Magnetics &
RJ45
100BASE-TX
Ethernet
Magnetics &
RJ45
Ethernet Ethernet
Fiber-
SFP
Port 0
Fiber-
SFP
Port 1

FIGURE 1-1: EVB-LAN9252-DIGIO BLOCK DIAGRAM

1.2 REFERENCES

1.3 TERMS AND ABBREVIATIONS

DS50002332C-page 10 2014-2019 Microchip Technology Inc.
Concepts and materials available in the following documents may be helpful when reading this user’s guide. Visit www.microchip.com for the latest documentation.
• LAN9252 Data Sheet
• AN 8.13 Suggested Magnetics
• EVB-LAN9252-DIGIO Schematics
• EVB-LAN9252-DIGIO Quick Start Guide
EVB-LAN9252-HBI+ Quick Start Guide (Appendix A)
• AN1920 Microchip LAN9252 EEPROM Configuration and Programming Applica-
tion Note
• AN1907 Microchip LAN9252 Migration from Beckhoff ET1100
• AN2007 Supporting 100BASE-FX Fiber Media for Microchip’s Ethernet Controller, Switch and EtherCAT Controller Application Note
• DNP – Do Not Populate
• EEPROM – Electrically Erasable Programmable Read-Only Memory
• ESC – EtherCAT
®
Slave Controller
• EVB – Engineering Validation Board
• HAL – Hardware Abstraction Layer
• HBI – Host Bus Interface
• IDE – Integrated Development Environment
• LOS – Loss of Signal
• SD – Signal Detect
• SFF – Small Form Factor (fiber module, not pluggable)
• SFP – Small Form Factor Pluggable (fiber module)
• SPI – Serial Protocol Interface
• SSC – Slave Stack Code

Chapter 2. Board Details and Configuration

2.1 INTRODUCTION

This section includes subsections on the following EVB-LAN9252-DIGIO details:
• Power
• Resets
• Clock
• Configuration
• Mechanicals

2.2 POWER

2.2.1 +5V Power

Power is supplied to the LAN9252 by a +3.3V on-board regulator, which is powered by a +5V external wall adapter (Manufacturer: TRIAD MAGNETICS and P/N: WSU050-3000). The LAN9252 includes an internal +1.2V regulator which supplies power to the internal core logic. Assertion of the D1 Green LED indicates successful generation of +3.3V output. The SW1 switch must be in the ON position for the +5V to power the +3.3V regulator.
EVB-LAN9252-DIGIO
USER’S GUIDE

2.3 RESETS

2.4 CLOCK

2.3.1 Power-On Reset

A power-on reset occurs whenever power is initially applied to the LAN9252 or if the power is removed and reapplied to the LAN9252. This event resets all circuitry within the LAN9252. After initial power-on, the EVB-USB7206 Evaluation Kit can be reset by pressing the reset switch SW2. The reset LED D2 will assert (Red) if when the LAN9252 is in reset condition. For stability, a delay of approximately 180 ms is added from the +3.3V output to reset release.
The EVB-LAN9252-DIGIO utilizes an external 25 MHz 25 ppm crystal from Cardinal Components Inc. (P/N: CSM1Z-A5B2C5-40-25.0D18-F).
2014-2019 Microchip Technology Inc. DS50002332C-page 11
EVB-LAN9252-DIGIO User’s Guide
Input Switches
Digital Output
LEDs
Digital I/O
Control Signals
PowerReset
RJ45
(with Magnetics)
EEPROMStraps
Microchip
LAN9252
Port 0
Port 0
Fiber
Port 1
Port 1
Fiber

2.5 CONFIGURATION

The following subsections describe the various board features and configuration set­tings. A top view of the EVB-LAN9252-DIGIO is shown in Figure 2-1.

FIGURE 2-1: EVB-LAN9252-DIGIO TOP VIEW WITH CALLOUTS

DS50002332C-page 12 2014-2019 Microchip Technology Inc.
Loading...
+ 26 hidden pages