+ All Categories
Home > Documents > User Guide - Numato Lab · User Guide Rev 9 ... P10 – P9 headers of Saturn ... Parameter * Value...

User Guide - Numato Lab · User Guide Rev 9 ... P10 – P9 headers of Saturn ... Parameter * Value...

Date post: 05-May-2018
Category:
Upload: nguyenquynh
View: 217 times
Download: 2 times
Share this document with a friend
12
RTL8211E Gigabit Ethernet Expansion Module User Guide www.numato.com Rev 9
Transcript

RTL8211E Gigabit Ethernet Expansion ModuleUser Guide

www.numato.com Rev 9

Get in touch with us!

Please feel free to send a mail to one of the mail IDs below or use the Contact Us page athttp://www.numato.com to drop us a quick message. Technical HelpGot technical questions? Please write to [email protected]

Sales TeamQuestions about making payments, volume discounts, academic/open source discounts, purchaseorders and quotes? Please write to [email protected]

WebmasterQuestions/Suggestions about our website? Please write to [email protected]

Like us on Facebook! https://www.facebook.com/numato

Visit our blog http://www.numato.cc for news, updates and specials.

Mailing AddressNumato Systems Pvt Ltd1st Floor, #56C Wipro AvenuePhase 1 - Electronic CityBangalore, KA-560100, India

* Mail orders, phone orders and direct pick up are not available at this time. Please visit our online store to place your order. Estimated shipping time toyour address will be displayed in the shopping cart before checkout.

You may use, modify or share this publication or part of thereof adhering to Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) License.See complete license text at http://creativecommons.org/licenses/by-sa/3.0/

All trademarks are property of their respective owners.

1 RTL8211E Gigabit Ethernet Expansion Module – User Guide

IntroductionThe heart of the RTL8211E Gigabit Ethernet Expansion module is RTL8211E-VB, a highly integratedEthernet transceiver that comply with 10BASE-T, 100BASE-TX and 1000Base-T IEEE 802.3 standards.RTL8211E-VB supports communication with Ethernet MAC layer via standard RGMII interface, thusproviding an alternative to the IEEE802.3z GMII interface. The main objective in using RGMII interfaceover GMII interface is to reduce the number of Ios for interconnecting MAC and PHY. RTL8211E-VBimplements auto-negotiation to automatically determine the best possible speed and mode ofoperation. HP Auto-MDIX support allows the use of direct connect or cross-over LAN cables. RTL8211EGigabit Ethernet Expansion Module also has Microchip 24AA02E48 2Kbit EEPROM with built in uniqueMAC address. This MAC address can be read from the EEPROM and used for the Ethernet interface.

Applications

• Product Prototype Development• Network appliance development• Embedded Telecom Applications• Digital Media Adapters /Servers• Development and testing of custom Projects

Board features

• Three 2×6 pin Expansion connectors• High-Performance 10/100/1000T Ethernet Transceiver• Single-Chip Ethernet Physical Layer Transceiver (PHY)• 2 Kbit Electrically Erasable PROM (24AA02E48) with MAC Address• Dimension: 58.5mm X 67mm

©2015 NUMATO SYSTEMS PVT LTDwww.numato.com

2 RTL8211E Gigabit Ethernet Expansion Module – User Guide

How to use the moduleThe following section describes how to use this module.

Components/Tools required

Along with the module, you may need the items in the list below for easy and fast installation.

1. Any FPGA/Micro-controller board featuring 2×6 pin Expansion connectors

2. A device supporting 1Gbps Data Transfer Rate (Switch/Router or PC).

3. Power Supply 3.3V @500mA

Connection Diagram

Figure 1

This diagram should be used as a reference only. For detailed information, see the schematics at theend of this document. Details of individual connectors are as below.

To use this module, directly attach the 2×6 expansion connectors to the FPGA/Micro-controllerdevelopment board where corresponding female headers are available. If 2×6 female headers are notavailable, manually make the connections as per the connection details below (Not recommended forfast links).

©2015 NUMATO SYSTEMS PVT LTDwww.numato.com

3 RTL8211E Gigabit Ethernet Expansion Module – User Guide

Connection DetailsHeader P1

Header Pin No. Pin Details Trace Length (mm)

1 NC -

2 NC -

3 RXD0 44.745

4 RXCTL 44.745

5 RXD2 44.742

6 RXD1 44.808

7 INTB -

8 RXD3 44.811

9 GND -

10 GND -

11 VCC3V3 -

12 VCC3V3 -

Header P2Header Pin No. Pin Details Trace Length (mm)

1 NC -

2 NC -

3 RXCLK 44.853

4 TXCLK 44.718

5 TXD0 44.697

6 TXD1 44.747

7 TXD2 44.726

8 TXD3 44.767

9 GND -

10 GND -

11 VCC3V3 -

12 VCC3V3 -

©2015 NUMATO SYSTEMS PVT LTDwww.numato.com

4 RTL8211E Gigabit Ethernet Expansion Module – User Guide

Header P3Header Pin No. Pin Details Trace Length (mm)

1 TXCTL 44.752

2 RESET_B -

3 MDC -

4 MDIO -

5 MAC_SCL -

6 MAC_SDA -

7 SYSCLK 44.811

8 FPGA_CLK 44.737

9 GND -

10 GND -

11 VCC3V3 -

12 VCC3V3 -

For more information, refer the schematics below.

©2015 NUMATO SYSTEMS PVT LTDwww.numato.com

5 RTL8211E Gigabit Ethernet Expansion Module – User Guide

Generating bit file and Developing Application ProjectRTL8211E Gigabit Ethernet Expansion Module is been tested and functionality is verified with NumatoLab's Saturn Spartan 6 LX45 Development Board. This module may be used with any other FPGA boardas long as the board can provide enough number of IOs and FPGA resources. It is also important thatthe traces to the connector are length matched too.

Below are the step-by-step procedure to build the project using Xilinx EDK for RTL8211E GigabitEthernet Expansion Module. The procedure assumes the use of Numato Lab's Saturn Spartan 6 LX45Development Board. This procedure below is not a tutorial rather just guidelines and It expects thatyou have reasonable expertise on working with EDK.

Below is the list of software and hardware required.

1. RTL8211E Gigabit Ethernet Expansion Module2. Saturn Spartan 6 LX45 Development Board or compatible3. Xilinx EDK 4. Saturn BSB for EDK (Download from saturn's product page at www.numato.com)5. Serial Terminal Emulation Software (Hyper terminal, PUTTY etc..)

Steps to generate bit file using Xilinx EDKStep 1: Download the BSB for Saturn and place it in the directory where Xilinx EDK is installed in your system (Eg: C:\Xilinx\14.7\ISE_DS\EDK\board).

Step 2: Open Xilinx Platform Studio and press Ctrl + Shift + B. Create a folder on your desktop, and givea name to the project, save and press next. In a drop down menu select Numato Lab and Saturn LX45board and press next. If the choice doesn't appear verify the BSB downloaded is placed in properdestination as mentioned in Step 1.

Step 3: Select the peripheral as shown in the Figure 2. Also enable the interrupt of Ethernet_IIC andaxi_timer. Once done press finish.

Figure 2

©2015 NUMATO SYSTEMS PVT LTDwww.numato.com

6 RTL8211E Gigabit Ethernet Expansion Module – User Guide

Step 4: In the window which appear go to Port tab and verify whether the Ethernet IOs are connectedhas external port. If not then connect it to external port by selecting “Make Ports External” as shownin Figure 3.

Figure 3

Step 5: Generate Netlist and BitStream with the help of the icons on left pane. Once the bit stream isgenerated export the design to SDK with the help of icon on left pane. A window like in the imagebelow should appear, select Export & Launch SDK.

Figure 4

©2015 NUMATO SYSTEMS PVT LTDwww.numato.com

7 RTL8211E Gigabit Ethernet Expansion Module – User Guide

Steps to develop application project using Xilinx SDKStep 1: When SDK launches, select an appropriate folder to store the workspace. Close the Welcometab and open Application Project in File menu. Give a name to the project press next. Select IwIP EchoServer and press finish.

Step 2: Xilinx IwIP Echo Server Application is originally written to work with a different Ethernet PHY.To make it work with RTL8211E, go to directory where Xilinx tools are installed and move to followingpathXilinx\14.x\ISE_DS\EDK\sw\ThirdParty\sw_services\lwip140_v1_0x_a\src\contrib\ports\xilinx\netifand open xaxiemacif_physpeed.c file in your preferred editor and update the following lines as shownbelow.

#define MARVEL_PHY_IDENTIFIER 0x1C#define MARVEL_PHY_88E1116R_MODEL 0x110

*Directly editing files in libraries is not recommended. If possible, you should copy those files in to your project and then edit. Step 3: In main.c change IP address, Subnet and Gateway as required. Save and Rebuild the projectand verify that .elf executable file is generated.

Step 4: Connect serial terminal with, Baud Rate: 9600 bps, Data bits: 8, Parity: None, Stop bits: 1,

Step 5: Make sure RTL8211E Gigabit Ethernet Expansion Module is connected to P8 – P10 – P9headers of Saturn Expansion Breakout board and the Saturn Expansion Breakout board is attached toheader P2 of Saturn LX45 module. And also connect the Ethernet module to another device withGigabit port.

Step 5: Program FPGA and run the application.

Step 6: The terminal window should display that the board have auto-negotiated at 100/1000 Mbpsalong with Board IP and MAC id. Try to ping the board with Board's IP.

DHCP can be enabled by updating system.mss with the following changes and rebuilding the project.

PARAMETER LWIP_DHCP = truePARAMETER DHCP_DOES_ARP_CHECK = true

©2015 NUMATO SYSTEMS PVT LTDwww.numato.com

8 RTL8211E Gigabit Ethernet Expansion Module – User Guide

Technical Specifications

Parameter * Value Unit

Basic Specifications

Power supply voltage 3.3 V

Current drawn by the circuit 250-500 mA * All parameters considered nominal. Numato Systems Pvt Ltd reserve the right to modify products without notice.

©2015 NUMATO SYSTEMS PVT LTDwww.numato.com

9 RTL8211E Gigabit Ethernet Expansion Module – User Guide

Physical Dimensions

SchematicsSee next page.

©2015 NUMATO SYSTEMS PVT LTDwww.numato.com

1

1

2

2

3

3

4

4

5

5

6

6

7

7

8

8

9

9

10

10

11

11

A A

B B

C C

D D

E E

F F

G G

Date: 17 feb 2015KiCad E.D.A.

Rev: Size: A2Id: 1/1

Title: RTL8211EGigabitEthernetExpansionModule

File: RTL8211EGigabitEthernetExpansionModule.schSheet: /

Numato Labhttp://www.numato.comLicense: CC BY-SA

C18

12pF

L2

INDUCTOR

C17

12pF

ETH_TXD0

ETH_TXD1

ETH_TXD2

ETH_TXD3

ETH_TXCLK

ETH_TXCTL

ETH_RXD0

ETH_RXD1

ETH_RXD2

ETH_RXD3

ETH_RXCLK

ETH_RXCTL

ETH_MDIOGND

GND

GND

ETH_TXD0 ETH_TXD1

ETH_TXD2 ETH_TXD3

ETH_RXD0

ETH_RXD1ETH_RXD2

ETH_RXD3

ETH_TXCLK

XTAL1_50MHZXTAL2_50MHZ

LED0

LED1

VCC3V3

GNDR30

330R

R31330R

X1

50MHz

ETH_RESET_B

ETH_MDC ETH_MDIO

ETH_INT_B

ETH_RXCLK

R2310K

R2410KMAC_SDA

MAC_SCL

C27

100nF

GN

D4

VC

C8

A01

A12

A23

SDA 5SCL 6

WP 7

U224AA02E48

VCC3V3

VCC3V3

MAC_SCL MAC_SDA

MDI[0]+ 1

MDI[0]- 2

AV

DD

103

MDI[1]+ 4

MDI[1]- 5

AV

DD

336

MDI[2]+ 7

MDI[2]- 8

AV

DD

109

GN

DP

MDI[3]+ 10

INTB20

MDC30

AV

DD

1040

MDI[3]- 11

DV

DD

3321

MDIO31

AV

DD

3341

NC 12

TXC22

LED2/RXDLY 32

CKXTAL142

RXCTL/PHY_AD13

TXD023

PMEB33

CKXTAL243

RXD0/SELRGV14

TXD124

LED0/PHY_AD0 34

VD

DR

EG

44

DV

DD

3315

TXD225

LED1/PHY_AD1 35

VD

DR

EG

45

RXD1/TXDLY16

TXD326

DV

DD

1036

CLK12546

RXD2/AN017

TXCTL27

DV

DD

3337

GN

D47

RXD3/AN118

DV

DD

1028

ENSWREG38

REG_OUT 48

RXC19

PHYRSTB29

RSET 39

U3

RTL8211E-VB

S10

S20

123

45

6

78 V

CC

9G

ND

10

LED

+11

LED

-12

LED

+13

LED

-14

J1

RJ45(HFJ11-1GO1ERL)

R26

4.7K

R25

390R

R22

2.49

K

R27

390R

R28

4.7K

GND

LED0

VCC3V3

LED1

GND

R294.7K VCC3V3

GND

VCC3V3

C5

4.7uF

C8

100nF

GND

C11

4.7uF

C13

100nF

C15

100nF

AVDD3V3

AVDD3V3

VCC3V3L3

INDUCTOR

C6

4.7uF

C9

100nF

GND

C12

4.7uF

C14

100nF

C16

100nF

ETH_VCC3V3

VCC1V0L1

INDUCTOR

C7

4.7uF

GND

C10

4.7uF

ETH_VCC1V0

C24

100nF

C25

100nF

C26

100nF

ETH_VCC1V0

GND

C23

100nF

GND

R210R

C22

100nF

C21

100nF

GND

R20

4.7K

R18

4.7K

R17

4.7K

R14

4.7K

R15

4.7K

C19

27pF

GND

ETH_MDC

R19

1.5K

GND

ETH_INT_B

ETH_RESET_B

SYSCLK

R16

4.7K

C20

0.1uF

GNDVCC3V3

XTAL1_50MHZ

XTAL2_50MHZ

R6

0R

SH

DN

1

VIN

2

GN

D3

VO

UT

4

VA

DJ

5

P6 U1MCP1825

R4

39K

R5

27K

GND

R11K

VCC3V3

C1

4.7uF

C4

1uF

VCC1V0

VCC1V0

EEPROM

ETH_RXCTL

ETH_TXCTL

SYSCLK

GND

VCC3V3

C3

100nF

C2

100nF

ETH_VCC3V3

ETH_VCC3V3

ETH_VCC3V3

ETH_VCC3V3

GS1

FPGA_CLK

FPGA_CLK

R20R

1 23 45 67 89 1011 12

P1

1 23 45 67 89 1011 12

P2

1 23 45 67 89 1011 12

P3

VCC3V3VCC3V3

GND GND

GND

VCC3V3VCC3V3

GND

GND GND

VCC3V3VCC3V3


Recommended