background image

 2015-2016 Microchip Technology Inc.

DS50002333C

EVB-LAN9252-HBI+

EtherCAT

® 

Evaluation Board

User’s Guide

Summary of Contents for EVB-LAN9252-HBI+

Page 1: ...2015 2016 Microchip Technology Inc DS50002333C EVB LAN9252 HBI EtherCAT Evaluation Board User s Guide...

Page 2: ...er 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 re...

Page 3: ...2015 2016 Microchip Technology Inc DS50002333C page 3 Object of Declaration EVB LAN9252 HBI...

Page 4: ...EVB LAN9252 HBI EtherCAT Evaluation Board User s Guide DS50002333C page 4 2015 2016 Microchip Technology Inc NOTES...

Page 5: ...uration 2 1 Power 14 2 1 1 5V Power 14 2 2 Resets 14 2 2 1 Power on Reset 14 2 2 2 Reset Out 14 2 2 3 GPIO Reset 14 2 3 Clock 15 2 4 Configuration 15 2 4 1 Strap Options 16 2 4 2 LED Indicators 18 2 4...

Page 6: ...are Abstraction Layer HAL 30 3 3 Using the Sample Project 31 3 3 1 MPLAB IDE Project Settings Firmware Download 31 3 3 2 Compiling and Programming SoC Firmware 33 3 4 Programming the LAN9252 EEPROM 34...

Page 7: ...2 EtherCAT slave stack firmware and SDK framework Appendix A Evaluation Board Photo This appendix shows the EVB LAN9252 HBI Appendix B Evaluation Board Schematics This appendix shows the EVB LAN9252 H...

Page 8: ...le Save Bold 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 i...

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

Page 10: ...ted Figures 1 5 6 7 and 10 Added new Fig ure 2 Updated Tables 13 14 15 21 2 1 1 5V Power Removed power supply manufacturer and part num ber 2 6 Additional Features Added new section with new features...

Page 11: ...led by the EtherCAT master Packets are forwarded in the following order Port 0 EtherCAT Processing Unit Port 1 Port 2 The EtherCAT Processing Unit EPU receives analyzes and processes the Ether CAT dat...

Page 12: ...EEPROM EVB LAN9252 HBI 100BASE TX Ethernet Magnetics RJ45 100BASE TX Ethernet Magnetics RJ45 Straps Port 0 Port 1 Crystal Power Supply Module Ethernet Ethernet 5V HBI or SPI GPIO Selection HBI Mode S...

Page 13: ...VB LAN9252 HBI Schematics The following application notes AN1916 Integrating Microchip s LAN9252 SDK with Beckhoff s EtherCAT SSC AN1920 Microchip LAN9252 EEPROM Configuration and Programming AN1907 M...

Page 14: ...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...

Page 15: ...nal 25MHz 25ppm crystal from Cardinal Components Inc P N CSM1Z A5B2C5 40 25 0D18 F 2 4 CONFIGURATION The following sub sections describe the various board features and configuration set tings A top vi...

Page 16: ...receive signal is indicated by the external transceiver as either an open drain CMOS level Loss of Signal SFP or a LVPECL Signal Detect SFF TABLE 2 2 CHIP MODE CONFIGURATION STRAP Header Description P...

Page 17: ...signal routing resistors detailed in Table 2 7 must be assembled for Fiber Mode operation Note Vendor part number for SFP Finisar FTLF1217P2 TABLE 2 4 COPPER MODE STRAP RESISTORS Resistors Description...

Page 18: ...LOS for Port 0 and Port 1 Populate Populate 1 5 A level greater than 1 5V and below 2V selects FX LOS for Port 0 and FX SD copper twisted pair for Port 1 further determined by FXSDB DNP Populate 0 De...

Page 19: ...IGIO mode and no code is programmed to the on board PIC32MX In DIGIO mode headers P1 and P2 can be used to probe the input and out put control signals It is not possible to configure the input or see...

Page 20: ...e Each HBI Multiplexed Mode requires an updated ESI file EEPROM and PDI driver with configured SSC to be programmed to the PIC32MX For additional software informa tion refer to Chapter 3 Software Deve...

Page 21: ...ils the switch selection for 16 Bit Indexed Mode FIGURE 2 7 16 BIT INDEXED HBI MODE SELECTION Note When the switch knob is in the down position pins 1 2 are shorted and the dot on the switch can be se...

Page 22: ...Knob Position Start Destination SW5 Down A0_AD15 A0_CONFIG3 SW6 Up RD_RDWR GPMC_DIR SW7 Up ALELO_A1 ALELO_CONFIG3 SW8 Down WR_ENB GPMC_DE0N_CLE SW9 Up ALEHI_A2 ALEHI_CONFIG3 SW24 X Don t Care X X SW2...

Page 23: ...oC The EVB LAN9252 HBI supports both an on board SoC and add on SoC By default the on board SoC is enabled However an external add on SoC can be connected via the add on SoC headers P1 and P2 The SoC...

Page 24: ...sed add on SoC boards do not require this EEPROM 2 4 5 3 ADD ON SOC An add on board can be attached to the EVB LAN9252 HBI to use an add on SoC The add on board must be mounted to the P1 and P2 connec...

Page 25: ...32 R129 20 19 ID7 ID_SELECT_RB9 33 R130 18 17 ID8 ID_SELECT_RB10 34 R131 16 15 ID9 ID_SELECT_RB11 35 R132 14 13 ID10 ID_SELECT_RB12 41 R133 12 11 ID11 ID_SELECT_RB13 42 R134 10 9 ID12 ID_SELECT_RC1 6...

Page 26: ...7758 4616 2 The user must ensure that the EEPROM is configured in DIGIO mode D3 AD3 WD_TRIG P1 6 D2 AD2 SOF P1 5 D1 AD1 EOF P1 24 D0 AD0 WD_STATE P1 25 TABLE 2 23 SPI 16GPIO MODE P1 P2 HEADER SIGNALS...

Page 27: ...NBTR as shown in Figure 2 9 The temperature sensor is used as an input into the PIC32 and is labeled U9 on the board FIGURE 2 9 TEMPERATURE SENSOR U9 2 6 3 UART RS 232 A RS 232 connector is present on...

Page 28: ...EVB LAN9252 HBI EtherCAT Evaluation Board User s Guide DS50002333C page 28 2015 2016 Microchip Technology Inc 2 8 MECHANICALS FIGURE 2 10 EVB LAN9252 HBI MECHANICAL DIMENSIONS...

Page 29: ...t Adapter Pickit3 Programmer 3 1 2 Software Requirements MPLAB IDE v2 20 or higher MPLAB XC Compiler v1 33 or higher Total Phase Flash Centre V1 31 or higher 3 2 ESC SDK SAMPLE OVERVIEW The LAN9252 ES...

Page 30: ...TION This code block configures and initiates the core peripherals UART I2 C SPI and external peripherals EEPROM LAN9252 3 2 1 3 MAIN APPLICATION This code block contains the code that runs the LAN925...

Page 31: ...ailed in Integrat ing LAN9252 PIC32MX SDK with EtherCAT SSC from ETG application note Copy it to the desired directory For the purposes of this document the Desk top will be the target folder 2 Open t...

Page 32: ...2 SPI project folder contains the demo code that enables the LAN9252 s SPI interface to communicate with the SoC Refer to the LAN9252 data sheet for more details on these HBI interface and its modes R...

Page 33: ...LECTION 2 If the compilation is successful the output window will display BUILD SUC CESSFUL as shown in Figure 3 6 FIGURE 3 6 MPLAB IDE BUILD SUCCESSFUL 3 Before initiating the firmware download ensur...

Page 34: ...T Master Tool The programming procedure using the TwinCAT master tool is as follows Note 1 This example utilizes the TwinCAT tool Procedures may differ when using other EtherCAT master tools 2 Ensure...

Page 35: ...gure 3 10 Choose a name and click ok FIGURE 3 10 TWINCAT DELETE DEVICE 4 Scan for EtherCAT slave devices by expanding I O and right clicking Devices and then selecting Scan as shown in Figure 3 11 FIG...

Page 36: ...T drop down bar on the left panel of the TwinCAT tool as highlighted in Figure 3 11 Then click the Online tab on the right side panel of the TwinCAT tool as shown in Figure 3 13 Right click the LAN925...

Page 37: ...Inc DS50002333C page 37 EVB LAN9252 HBI ETHERCAT EVALUATION BOARD USER S GUIDE Appendix A Evaluation Board Photo A 1 INTRODUCTION This appendix shows the EVB LAN9252 HBI Evaluation Board FIGURE A 1 E...

Page 38: ...hip Technology Inc DS50002333C page 38 EVB LAN9252 HBI ETHERCAT EVALUATION BOARD USER S GUIDE Appendix B Evaluation Board Schematics B 1 INTRODUCTION This appendix shows the EVB LAN9252 HBI Evaluation...

Page 39: ...T from Push Botton Reset to ASIC SOC Reset RESET Options 5V_SW EN12_1 5V_EXT 3V3 3V3 5V 3V3 3V3 3V3 3V3 RST TP1 RED TP2 ORANGE C3 0 1uF C6 0 1uF R8 1K U1 3_Amp GND 3 VIN 2 ENABLE 1 TRIM 5 VOUT 4 R7 10...

Page 40: ...ev Date Sheet of Chennai India Project Name Page Name Board UNG_8043 D B 4 12 Wednesday February 17 2016 JUTLAND LAN9252 EVB LAN9252 HBI C14 0 1uF FB3 2A 0 05DCR R10 12 1K 1 C27 18pF POWER INT PORT0 I...

Page 41: ...N9252 HBI Size Part Number Rev Date Sheet of Chennai India Project Name Page Name Board UNG_8043 D B 5 12 Wednesday February 17 2016 JUTLAND Copper Mode Interface EVB LAN9252 HBI Size Part Number Rev...

Page 42: ...AND SFP Interface EVB LAN9252 HBI Size Part Number Rev Date Sheet of Chennai India Project Name Page Name Board UNG_8043 D B 6 12 Wednesday February 17 2016 JUTLAND SFP Interface EVB LAN9252 HBI C53 0...

Page 43: ...SDLU IRU SRUW IXUWKHU GHWHUPLQHG E 6 1 5 VVHPEOH 5 13 ERYH 9 VHOHFWV 26 IRU SRUWV DQG FX_Los_Strap_1 2 FX_Mode_Strap_1 2 HIDXOW RSSRU PRGH 5 5 VVHPEOH 5 5 13 LEHU 0RGH 5 5 13 5 5 VVHPEOH LED1_CATHODE...

Page 44: ...O3_CONFIG5 AD3_CONFIG3 AD9_CONFIG3 SCK_CONFIG5 AD0_CONFIG3 SIO0_CONFIG5 SIO1_CONFIG5 AD1_CONFIG3 I2C1_SDA I2C1_SCL WR_ENB_CONFIG3 RD_RDWR_CONFIG3 Size Part Number Rev Date Sheet of Chennai India Proje...

Page 45: ...Name Board UNG_8043 D B 9 12 Wednesday February 17 2016 JUTLAND ON Board PIC32MX EVB LAN9252 HBI Size Part Number Rev Date Sheet of Chennai India Project Name Page Name Board UNG_8043 D B 9 12 Wednes...

Page 46: ...umber Rev Date Sheet of Chennai India Project Name Page Name Board UNG_8043 D B 10 12 Wednesday February 17 2016 JUTLAND GPIOs EVB LAN9252 HBI Size Part Number Rev Date Sheet of Chennai India Project...

Page 47: ...17 2016 JUTLAND UART ADC DAC EVB LAN9252 HBI Size Part Number Rev Date Sheet of Chennai India Project Name Page Name Board UNG_8043 D B 11 12 Wednesday February 17 2016 JUTLAND UART ADC DAC EVB LAN92...

Page 48: ...IG3 AD1_CONFIG3 AD0_CONFIG3 FIFOSEL_LATCH0 PME_LATCH1 PIM_MCLR PGC2 PGD2 IRQ SIO2_CONFIG5 SIO3_CONFIG5 RST_GPIO RD2 RD3 WR_ENB_CONFIG3 RD_RDWR_CONFIG3 CS_CONFIG3 GPMC_A1_ALEHI GPMC_A0_ALE A4_CONFIG3 A...

Page 49: ...Technology Inc DS50002333C page 49 EVB LAN9252 HBI ETHERCAT EVALUATION BOARD USER S GUIDE Appendix C Bill of Materials BOM C 1 INTRODUCTION This appendix includes the EVB LAN9252 HBI Evaluation Board...

Page 50: ...D15 D16 D17 D18 D19 D20 D21 D22 D23 D24 GRN LED0603 No Wurth electronics 150 060 GS7 500 0 18 1 D2 Br_Red RA LED0603 No Wurth electronics 150 060 RS7 500 0 19 1 D6 DIODE SOD123 No Micro Commercial Co...

Page 51: ...R19 R21 R23 R31 R33 R35 R37 0R RES0402 No Panasonic ERJ 2GE0R00X 54 2 R24 R38 0R RES1210 Vishay CRCW12100000Z0EA 60 5 R63 R64 R65 R66 R88 4 7K RES0603 No Panasonic ERJ 3EKF4701V 61 2 R67 R68 2K RES060...

Page 52: ...8 F 92 1 Y2 32Khz th_xtal_ecs 31x 13 32khz No ECS INC ECS 320 12 5 13X 93 1 Y3 8 Mhz th_hc49us_2p No Citizen Finetech HC 49 U S8000000ABJB DNP Components 1 1 C1 4 7uF CAP0603 DNP 4 4 C7 C9 C12 C23 1 0...

Page 53: ...K RES0603 DNP 62 19 R75 R77 R78 R123 R124 R125 R126 R127 R128 R129 R130 R131 R132 R133 R134 R135 R136 R137 R138 10K RES0603 DNP 64 2 R83 R86 2K RES0603 DNP 65 4 R139 R143 R144 R152 0R RES0603 DNP 67 1...

Page 54: ...el 86 24 2334 2829 Fax 86 24 2334 2393 China Shenzhen Tel 86 755 8864 2200 Fax 86 755 8203 1760 China Wuhan Tel 86 27 5980 5300 Fax 86 27 5980 5118 China Xian Tel 86 29 8833 7252 Fax 86 29 8833 7256 A...

Page 55: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip EVB LAN9252 HBIPLUS...

Reviews: