background image

EVB-LAN9252-SPI

QUICK START

GUIDE

 2017 Microchip Technology Inc.

DS50002604A-page 11

Chapter 1.  Overview

1.1

INTRODUCTION

The EVB-LAN9252-SPI board is intended to be a generic interface to many third party 
processors used in EtherCAT Slave applications. The EVB-LAN9252-SPI is designed 
to be a simple interface to the SPI port, with test points for power and ground. The eval-
uation board uses standard RJ45 connectors to connect to the EtherCAT system and 
can be used to begin software development of the EtherCAT Slave code before the 
final hardware is completed.

1.1.1

References

The following documents should be referenced when using this quick start guide. See 
your Microchip representative for availability. 

• LAN9252 - 2/3-Port EtherCAT Slave Controller with Integrated Ethernet PHYs

• LAN9252 Migration Guide from the Beckhoff ET1100

• LAN9252_C2000_SDK_V1.0

• LAN9252_C2000_SDK_V1.1

Summary of Contents for EVB-LAN9252-SPI

Page 1: ... 2017 Microchip Technology Inc DS50002604A EVB LAN9252 SPI Quick Start Guide ...

Page 2: ...ance 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 Silicon Storage Technology is a registered trademark of Microchip Technology Inc in other countries GestIC is a registered trademark of Microchip Technology Germany II Gm...

Page 3: ... 2010 This development evaluation tool complies with EU RoHS2 Directive 2011 65 EU This development evaluation tool when incorporating wireless and radio telecom functionality is in compliance with the essential requirement and other relevant provisions of the R TTE Directive 1999 5 EC and the FCC rules as stated in the declaration of conformity provided in the module datasheet and the module prod...

Page 4: ...EVB LAN9252 SPI Quick Start Guide DS50002604A page 4 2017 Microchip Technology Inc NOTES ...

Page 5: ...ument Revision History 10 Chapter 1 Overview 1 1 Introduction 11 1 1 1 References 11 Chapter 2 EVB LAN9252 SPI 2 1 EVB LAN9252 SPI Board Design 13 2 1 1 SPI Headers 13 2 1 2 Power 14 2 1 3 Digital Interface Connector 14 2 2 Interfacing with a Third Party Processor via SPI 14 2 2 1 Connect pins 14 2 2 2 Configure Slave Software 15 2 2 3 Configure System from EtherCAT Master 15 Appendix A EVB LAN925...

Page 6: ...EVB LAN9252 SPI Quick Start Guide DS50002604A page 6 2017 Microchip Technology Inc NOTES ...

Page 7: ...LAN9252 SPI Provides instructions in configuring SPI Appendix A EVB LAN9252 SPI Evaluation Board Schematics This appendix shows how to set up Master in Windows 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 th...

Page 8: ... characters A dialog button Click OK A tab Click the Power tab N Rnnnn A number in verilog format where N is the total number of digits R is the radix and n is a digit 4 b0010 2 hF1 Text in angle brackets A key on the keyboard Press Enter F1 Courier New font Plain Courier New Sample source code define START Filenames autoexec bat File paths c mcc18 h Keywords _asm _endasm static Command line optio...

Page 9: ...er 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 l...

Page 10: ...ngineer 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 DS50002604A 05 30 17 Initial release of document ...

Page 11: ...ints for power and ground The eval uation board uses standard RJ45 connectors to connect to the EtherCAT system and can be used to begin software development of the EtherCAT Slave code before the final hardware is completed 1 1 1 References The following documents should be referenced when using this quick start guide See your Microchip representative for availability LAN9252 2 3 Port EtherCAT Sla...

Page 12: ...EVB LAN9252 SPI Quick Start Guide DS50002604A page 12 2017 Microchip Technology Inc NOTES ...

Page 13: ...of J3 Alternatively remove the jumper and wire the SPI Clock directly to pin 2 of this header J5 is connected to pin 50 of the LAN9252 Connect a jumper between pins 1 and 2 to route the signal to the D5 pin of J3 Jumper pins 2 and 3 to connect the signal to pin SCS of J3 Alternatively remove the jumper and wire the SPI Chip Select directly to pin 2 of this header J6 is connected to pin 13 of the L...

Page 14: ...rface connector on the bottom of the board This interface is used to connect many of the LAN9252 signals to third party develop ment platforms These pins enable evaluation of HBI and SPI abstraction using LAN9252 LAN9252 must also be configured with the correct ESI EtherCAT Slave Information via EEPROM for these signals to be active FIGURE 2 2 EVB LAN9252 SPI BOTTOM VIEW 2 2 INTERFACING WITH A THI...

Page 15: ...V1 3 is an example of an SDK that has tem plate libraries to help with development When using a processor that only has LAN9252 drivers the Slave Source Code tool can still be used There will not be template files for faster development and the developer will need to manually add the LAN9252 driver files into the SSC and develop the processor specific interface code to the necessary peripherals us...

Page 16: ...EVB LAN9252 SPI Quick Start Guide DS50002604A page 16 2017 Microchip Technology Inc NOTES ...

Page 17: ...chip Technology Inc DS50002604A page 17 EVB LAN9252 SPI QUICK START GUIDE Appendix A EVB LAN9252 SPI Evaluation Board Schematics A 1 INTRODUCTION This appendix shows the EVB LAN9252 SPI Evaluation Board Schematics ...

Page 18: ...A_P TXB_N TXB_P RXB_N RXB_P 3V3 12 1k 0603 1 R1 RST I2C_SCL I2C_SDL GPIO0 GPIO1 GPIO2 25MHz Y1 18pF 50V 0603 C20 18pF 50V 0603 C21 Note OSCVSS need to connect to Chip GND 0 1uF 25V 0603 C4 VDD12TX2 VDD12TX1 3V3 Low ESR 470pF 25V 0603 C14 VDDCR VDD33TXRX1 VDD33TXRX2 3V3 BLM18EG221SN1D FB1 0 1uF 25V 0603 C2 BLM18EG221SN1D FB2 0 1uF 25V 0603 C18 3V3 3V3 VDD33TXRX1 VDD33TXRX2 BLM18EG221SN1D FB3 BLM18E...

Page 19: ...ED1 TDI CHIP_MODE1 GPIO2 RUNLED E2PSIZE Strap I2C EEPROM I2C EEPROM Higher size Note Capacitors C23 through C26 are optional for EMI purposes and are not populated in this board These capacitors are required for operation in an EMI constrained environment p Note Capacitors C29 through C32 are optional for EMI purposes and are not populated in this board These capacitors are required for operation ...

Page 20: ... DIGIO13 GPI13 GPO13 MII_RXD1 28 D4 AD4 DIGIO3 GPI3 GPO3 MII_LINK 49 U1B DF40HC 4 0 60DS 0 4V 51 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 2 51 53 55 57 59 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 J3 D9_SCK D5_SCS D1_SO D0_SI D9 SCK D5 SCS D1 SO D0 SI 3V3 3V3 RD WR CS A4 A3 A2 A1 A0 not used D15 D14 D13 D12 D10 D8 D11 D9 D7 D5 ...

Page 21: ...EVB LAN9252 SPI Quick Start Guide 2017 Microchip Technology Inc DS50002604A page 21 NOTES ...

Page 22: ...27 5980 5118 China Xian Tel 86 29 8833 7252 Fax 86 29 8833 7256 ASIA PACIFIC China Xiamen Tel 86 592 2388138 Fax 86 592 2388130 China Zhuhai Tel 86 756 3210040 Fax 86 756 3210049 India Bangalore Tel 91 80 3090 4444 Fax 91 80 3090 4123 India New Delhi Tel 91 11 4160 8631 Fax 91 11 4160 8632 India Pune Tel 91 20 3019 1500 Japan Osaka Tel 81 6 6152 7160 Fax 81 6 6152 9310 Japan Tokyo Tel 81 3 6880 37...

Reviews: