background image

EV
B-L
AN925

2-HBI+ EtherCAT

® E

valuation Boa

rd Use

r’s Guide

DS500023

33C-pag

e 44

 2015-

2016 Microchip T

echnolo

gy Inc.

FIGURE B-6:

EVB-LAN9252-HBI+ SCHEMATIC BOARD TO BOARD INTERFACE 

5

5

4

4

3

3

2

2

1

1

D

D

C

C

B

B

A

A

Board to Board Connectors for SoC

 Short 1 -2 = To Reset ASIC from SoC-GPIO
 Short 2-3  = To Reset SoC from ASIC

5V power to 
HOST SOC board 
from EVB Board

Host SOC EEPROM

  I2C EEPROM
Only for Host SOC

HBI or SPI+GPIO Config selection
Short 1-2 & 4-5 for HBI Config (2-3 & 5-6 open)

Short 2-3 & 5-6 for SPI+GPIO Config (1-2 & 4-5 open)

SW22,SW23 & SW24 = HBI or SPI selection

*(1-2)

*(1-2)

*(1-2)

*(2-3)

*(1-2)

*(2-3)

RD_RDWR
WR_ENB

CS

AD6

AD7

AD8

AD9_SCK

AD10

AD11

AD12

AD13

AD14

A0_AD15

AD5_SCS#

AD4

AD3_SIO3
AD2_SIO2
AD1_SIO1
AD0_SIO0

A3

A4

ALEHI_A2

ALELO_A1

AD7_CONFIG3
AD3_CONFIG3

GPMC_OEN_REN

GPMC_WEN

AD12_CONFIG3
AD10_CONFIG3
AD14_CONFIG3

AD5_CONFIG3
AD1_CONFIG3

CS_CONFIG3

FIFOSEL_LATCH0
A3_CONFIG3
A1_CONFIG3

AD6_CONFIG3
AD2_CONFIG3

GPMC_BE0N_CLE
AD13_CONFIG3
AD9_CONFIG3
AD15_CONFIG3
AD11_CONFIG3
AD8_CONFIG3

AD4_CONFIG3
AD0_CONFIG3

A4_CONFIG3
A2_CONFIG3
A0_CONFIG3

VDD3V3EXP

VDD_5V

SYS_RESETN
GPMC_DIR

SIO3_CONFIG5
SCS#_CONFIG5
SIO1_CONFIG5

VDD3V3EXP

SIO2_CONFIG5

RST_GPIO

ALEHI_CONFIG3

SIO0_CONFIG5
SCK_CONFIG5

AD5_SCS#

CS

A4

A3

AD4

AD8

AD7

AD6

A0_AD15_CONFIG3

ALEHI_A2_CONFIG3

ALELO_A1

RD_RDWR_CONFIG3

GPMC_DIR

GPMC_OEN_REN

WR_ENB_CONFIG3

GPMC_WEN

GPMC_BE0N_CLE

PME_LATCH1

VDD_5V

I2C1_SCL

I2C1_SDA

I2C3_2

I2C3_3

I2C3_7

I2C3_1

AD2_SIO2

WR_ENB

ALEHI_A2_CONFIG3
ALEHI_A2

AD10

AD13

AD14

A0_AD15_CONFIG3

A0_AD15

RD_RDWR

AD12

AD11

AD3_SIO3

AD9_SCK

AD0_SIO0

AD1_SIO1

ALELO_CONFIG3

5V

3V3

3V3

SCS#_CONFIG5

AD5_CONFIG3

CS_CONFIG3

GPIO13_CONFIG5

GPIO12_CONFIG5

A4_CONFIG3

A3_CONFIG3

GPIO11_CONFIG5

AD4_CONFIG3

GPIO3_CONFIG5

GPIO2_CONFIG5

AD8_CONFIG3

AD7_CONFIG3

GPIO1_CONFIG5

GPIO0_CONFIG5

AD6_CONFIG3

PME_LATCH1

FIFOSEL_LATCH0

A1_CONFIG3

ALELO_CONFIG3

ALEHI_CONFIG3

A2_CONFIG3

A0_CONFIG3

IRQ

RST#

RST_GPIO

SYS_RESETN

AD15_CONFIG3

AD2_CONFIG3

SIO2_CONFIG5

GPIO14_CONFIG5

GPIO10_CONFIG5

GPIO4_CONFIG5

AD10_CONFIG3

AD13_CONFIG3

GPIO7_CONFIG5

GPIO8_CONFIG5

AD14_CONFIG3

GPIO9_CONFIG5

GPIO15_CONFIG5

GPIO6_CONFIG5

AD12_CONFIG3

AD11_CONFIG3

GPIO5_CONFIG5

SIO3_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

Project

Name:

Page:

Name:

Board

UNG_8043

D

B

8

12

Wednesday, February 17, 2016

JUTLAND

LAN9252(Part2)

EVB-LAN9252-HBI

Size:

Part Number:

Rev

Date:

Sheet

of

Chennai 
India

Project

Name:

Page:

Name:

Board

UNG_8043

D

B

8

12

Wednesday, February 17, 2016

JUTLAND

LAN9252(Part2)

EVB-LAN9252-HBI

Size:

Part Number:

Rev

Date:

Sheet

of

Chennai 
India

Project

Name:

Page:

Name:

Board

UNG_8043

D

B

8

12

Wednesday, February 17, 2016

JUTLAND

LAN9252(Part2)

EVB-LAN9252-HBI

R8

5

4.

7K

DNP

SW8

JS102011CQN

1

2

3

SW12

1
2
3

4
5
6

R8

4

4.

7K

DNP

SW13

1
2
3

4
5
6

SW6

JS102011CQN

1

2

3

SW7

JS102011CQN

1

2

3

R8

6

2K

DNP

U4B

LAN9252

SYNC/LATCH1

18

SYNC/LATCH0

34

A4/DIGIO12/GPI12/GPO12/MII_RXD0

27

A3/DIGIO11/GPI11/GPO11/MII_RXDV

26

A2/ALEHI/DIGIO10/GPI10/GPO10/LINKACTLED2/MII_LINKPOL/LEDPOL6

29

A1/ALELO/OE_EXT/MII_CLK25

25

A0/D15/AD15/DIGIO9/GPI9/GPO9/MII_RXER

33

D14/AD14/DIGIO8/GPI8/GPO8/MII_TXD3/TX_SHIFT1

15

D13/AD13/DIGIO7/GPI7/GPO7/MII_TXD2/TX_SHIFT0

16

D12/AD12/DIGIO6/GPI6/GPO6/MII_TXD1

21

D11/AD11/DIGIO5/GPI5/GPO5/MII_TXD0

22

D10/AD10/DIGIO4/GPI4/GPO4/MII_TXEN

23

D9/AD9/LATCH_IN/SCK

19

D8/AD8/DIGIO2/GPI2/GPO2/MII_MDIO

40

D7/AD7/DIGIO1/GPI1/GPO1/MII_MDC

39

D6/AD6/DIGIO0/GPI0/GPO0/MII_RXCLK

36

D5/AD5/OUTVALID/SCS#

50

D3/AD3/WD_TRIG/SIO3

35

D2/AD2/SOF/SIO2

12

D1/AD1/EOF/SO/SIO1

13

D0/AD0/WD_STATE/SI/SIO0

17

RD/RD_WR/DIGIO15/GPI15/GPO15/MII_RXD3

31

WR/ENB/DIGIO14/GPI14/GPO14/MII_RXD2

30

CS/DIGIO13/GPI13/GPO13/MII_RXD1

28

D4/AD4/DIGIO3/GPI3/GPO3/MII_LINK

49

R8

3

2K

DNP

P2

HEADER 23x2

1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45

2
4
6
8

10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46

C59
0.1uF

DNP

P1

HEADER 23x2

1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45

2
4
6
8

10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46

SW10

JS102011CQN

1

2

3

SW21

1
2
3

4
5
6

SW18

1
2
3

4
5
6

SW19

1
2
3

4
5
6

J10

1

2

D6

DIODE

1

2

C60

0.1uF

DNP

R8

1

4.

7K

DNP

SW15

1
2
3

4
5
6

SW9

JS102011CQN

1

2

3

SW17

1
2
3

4
5
6

R8

2

4.

7K

DNP

TP5
ORANGE

SW5

JS102011CQN

1

2

3

SW20

1
2
3

4
5
6

SW11

1
2
3

4
5
6

SW4

SW DIP-4/SM

DNP

1
2
3
4

8
7
6
5

SW16

1
2
3

4
5
6

SW14

1
2
3

4
5
6

U6

24FC512

DNP

GND

4

VCC

8

SDA

5

SCL

6

A0

1

A1

2

A2

3

WP

7

Содержание EVB-LAN9252-HBI+

Страница 1: ...2015 2016 Microchip Technology Inc DS50002333C EVB LAN9252 HBI EtherCAT Evaluation Board User s Guide...

Страница 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...

Страница 3: ...2015 2016 Microchip Technology Inc DS50002333C page 3 Object of Declaration EVB LAN9252 HBI...

Страница 4: ...EVB LAN9252 HBI EtherCAT Evaluation Board User s Guide DS50002333C page 4 2015 2016 Microchip Technology Inc NOTES...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 55: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip EVB LAN9252 HBIPLUS...

Отзывы: