KSZ9031RNX-EVALBoardUserBsGuidev.pdf

上传人:scccc 文档编号:11259019 上传时间:2021-07-19 格式:PDF 页数:22 大小:402.50KB
返回 下载 相关 举报
KSZ9031RNX-EVALBoardUserBsGuidev.pdf_第1页
第1页 / 共22页
KSZ9031RNX-EVALBoardUserBsGuidev.pdf_第2页
第2页 / 共22页
KSZ9031RNX-EVALBoardUserBsGuidev.pdf_第3页
第3页 / 共22页
KSZ9031RNX-EVALBoardUserBsGuidev.pdf_第4页
第4页 / 共22页
KSZ9031RNX-EVALBoardUserBsGuidev.pdf_第5页
第5页 / 共22页
点击查看更多>>
资源描述

《KSZ9031RNX-EVALBoardUserBsGuidev.pdf》由会员分享,可在线阅读,更多相关《KSZ9031RNX-EVALBoardUserBsGuidev.pdf(22页珍藏版)》请在三一文库上搜索。

1、 Micrel, Inc. 2180 Fortune Drive San Jose, CA 95131 U.S.A. 408-944-0800 (voice) 408-474-1000 (fax) http:/www.M KSZ9031RNX Gigabit Ethernet Transceiver with RGMII Support KSZ9031RNX-EVAL Board Users Guide Revision 1.1 / August 2012 Micrel, Inc. 2012 All rights reserved Micrel is a registered trademar

2、k of Micrel and its subsidiaries in the United States and certain other countries. All other trademarks are the property of their respective owners. The information furnished by Micrel in this datasheet is believed to be accurate and reliable. However, no responsibility is assumed by Micrel for its

3、use. Micrel reserves the right to change circuitry and specifications at any time without notification to the customer. Micrel Products are not designed or authorized for use as components in life support appliances, devices or systems where malfunction of a product can reasonably be expected to res

4、ult in personal injury. Life support devices or systems are devices or systems that (a) are intended for surgical implant into the body or (b) support or sustain life, and whose failure to perform can be reasonably expected to result in a significant injury to the user. A Purchasers use or sale of M

5、icrel Products for use in life support appliances, devices or systems is at Purchasers own risk and Purchaser agrees to fully indemnify Micrel for any damages resulting from such use or sale. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 2/22 Revision History Revision Date

6、Summary of Changes 1.0 6/15/12 Initial Release 1.1 8/17/12 Removed 5V DC Adapter from EVAL Kit. Updated Micrel MDIO Configuration Software installation and usage sections. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 3/22 Table of Contents 1.0 Introduction . 5 2.0 Board Fe

7、atures. 5 3.0 Evaluation Kit Contents. 5 4.0 Hardware Description. 6 4.1 Jumper Setting Test point is located on solder side of PCB. TP34 End point for board trace delay for RGMII RX_CLK output clock; Refer to KSZ9031RNX-EVAL Board Schematic for more details. TP35 1.8ns (10000 mils) board trace dela

8、y for RGMII RX_CLK output clock, starting from resistor R144; Refer to KSZ9031RNX-EVAL Board Schematic for more details. TP36-TP37 450ps (2500 mils) board trace delay for RGMII RX_CLK output clock; Refer to KSZ9031RNX-EVAL Board Schematic for more details. Table 3. KSZ9031RNX-EVAL Board Test Point D

9、efinition 4.3 RJ-45 Copper Interface The RJ-45 copper interface (RJ1) connects to standard unshielded twisted pair (UTP) CAT-5 Ethernet cable to interface with 10Base-T/100Base-TX/1000Base-T network devices. The KSZ9031RNX copper media interface can automatically detect and correct for differential

10、pair misplacements and polarity reversals, and correct propagation delays and re-sync timing between the four differential pairs, as specified in the IEEE 802.3 standard for 1000Base-T operation. Auto MDI/MDI-X is supported for automatic detection and correction for straight and crossover cables whe

11、n interfacing to link partners with fixed MDI or MDI-X setting. 4.4 LED Indicators The KSZ9031RNX device provides two programmable LED output pins, LED2 (pin 15) and LED1 (pin 17). On the KSZ9031RNX-EVAL board, these two LED pins are connected to two sets of LEDs to support two LED configurations: S

12、ingle LED mode and Tri-color Dual LED mode. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 10/22 4.4.1 Single LED Mode To enable Single LED mode, Close pins (1, 2) of jumpers JP26 and JP27 to select D2 and D1, respectively for the single LEDs. Close pins (1, 2) of jumper JP2

13、0 to set the LED_MODE strap-in for Single LED mode. Power-up the board. After board power-up, the on-board D2 and D1 LEDs are defined as follows: LED LED Definition Link / Activity OFF Link off D2 Green ON Link on (any speed) OFF No Activity D1 Green Blinking Activity (RX, TX) Table 4: Single LED Mo

14、de LED Definition 4.4.2 Tri-color Dual LED Mode To enable Tri-color Dual LED mode, Close pins (2, 3) of jumpers JP26 and JP27 to select D10 for the tri-color dual LED. Close pins (2, 3) of jumper JP20 to set the LED_MODE strap-in for Tri-color Dual LED mode. Power-up the board. After board power-up,

15、 the on-board D10 LED is defined as follows: LED: D10 Link / Activity OFF Link off Green ON 1000Mbps Link / No Activity Green Blinking 1000Mbps Link / Activity (RX, TX) Red ON 100Mbps Link / No Activity Red Blinking 100Mbps Link / Activity (RX, TX) Orange ON 10Mbps Link / No Activity Orange Blinking

16、 10Mbps Link / Activity (RX, TX) Table 5: Tri-color Dual LED Mode LED Definition KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 11/22 4.5 Reduced Gigabit Media Independent Interface (RGMII) The KSZ9031RNX-EVAL board provides open access to the KSZ9031RNX devices RGMII signal

17、s, and enables the RGMII signals to be wired for the following two usages: RGMII Loop Back RGMII Connection to GMAC 4.5.1 RGMII Loop Back The KSZ9031RNX-EVAL board is shipped with the RGMII signals configured for RGMII Loop Back. Resistors R14, R16, R136-R139 are populated to connect the RGMII outpu

18、t clock and signals to their respective RGMII input clock and signals, thru resistors R18, R17, R143, R142, R141, R140, respectively. Refer to KSZ9031RNX-EVAL Board Schematic for details. RGMII Loop Back enables the KSZ9031RNX device to operate as a standalone evaluation platform without the need of

19、 an external GMAC. Ethernet traffic from the link partner (Spirent SmartBits 6000B in the following figure) are received by the KSZ9031RNX device, looped back externally via RGMII pins, and transmitted back to the link partner. Figure 2. KSZ9031RNX-EVAL Board RGMII Loop Back RGMII Loop Back is suppo

20、rted for 1000Base-T and 100Base-TX only. 10Base-T requires a MAC due to preamble consumption, and therefore is not supported. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 12/22 4.5.2 RGMII Connection to GMAC The KSZ9031RNX-EVAL board exposes the RGMII signals at the follow

21、ing series termination (49.9 Ohm) / jumper (0 Ohm) resistor locations, as indicated in the following table. Resistor (PCB location) KSZ9031RNX-EVAL Signal Name RGMII Signal Name (per spec) R14 left pad (PCB top side) RX_CLK RXC R16 left pad (PCB top side) RX_DV RX_CTL R136 left pad (PCB top side) RX

22、D0 RXD0 R137 left pad (PCB top side) RXD1 RXD1 R138 left pad (PCB top side) RXD2 RXD2 R139 left pad (PCB top side) RXD3 RXD3 R18 top pad (PCB bottom side) GTX_CLK TXC R17 left pad (PCB top side) TX_EN TX_CTL R143 top pad (PCB bottom side) TXD0 TXD0 R142 top pad (PCB bottom side) TXD1 TXD1 R141 top p

23、ad (PCB bottom side) TXD2 TXD2 R140 top pad (PCB bottom side) TXD3 TXD3 Table 6. RGMII Signals access at series termination / jumper resistor locations Resistors R14, R16, R136-R139 for the RGMII output clock and signals and the corresponding resistors R18, R17, R143, R142, R141, R140 for the RGMII

24、input clock and signals can be removed to open the RGMII Loop Back path and allow the RGMII signals (in the above table) to be wired to a GMAC on another board for evaluation and testing. 4.6 USB Port The USB port (CN1) provides programming access to the KSZ9031RNX devices PHY registers through its

25、MDC/MDIO management pins. See following software section for PHY register access. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 13/22 5.0 Micrel MdioConfig Software Installation The Micrel MDIO Configuration Software (MdioConfig.exe program) runs on a PC/NOTEBOOK with the W

26、indow XP or 7 Operating System. It communicates with the KSZ9031RNX-EVAL board via USB to provide programming access to the KSZ9031RNX PHY registers. The Micrel software is provided in a Microsoft Windows Installer installation package file (*.msi file) with the following file name. MicrelSwitchPhyQ

27、ATools_x.xx.msi / where x.xx is the release version number 5.1 MicrelSwitchPhyQATools Installation Before running the MicrelSwitchPhyQATools installation, make sure previously installed version of the MicrelSwitchPhyQATools software has been removed and the USB cable to the KSZ9031RNX-EVAL board is

28、unplugged. To unpack the MicrelSwitchPhyQATools_x.xx.msi file and start the installation, double click on the file name from Windows Explorer, and proceed with the following steps: 1. At the “Welcome” screen, press the Next button. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev.

29、1.1 14/22 2. At the “Select Installation Folder” screen, a. Select the folder for the software installation (c:MicrelQATools is the default installation folder). b. Press the Next button. 3. At the “Confirm Installation” screen, a. Press the Next button for the installation to proceed. b. Wait a few

30、 seconds for the installation to finish. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 15/22 4. When the installation is finished, the “Installation Complete” screen is returned. Press the Close button to exit. After the MicrelSwitchPhyQATools installation, an installation

31、folder (c:MicrelQATools is the default installation folder) is created containing the mdioConfig application program and software drivers for the KSZ9031RNX-EVAL boards USB port. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 16/22 5.2 USB Driver Installation Before installi

32、ng the USB driver, complete the MicrelSwitchPhyQATools software installation in the previous section to extract the USB driver from the MicrelSwitchPhyQATools_x.xx.msi installation file and have it copied to the created installation folder. Power-up the KSZ9031RNX-EVAL Board and connect USB cable fr

33、om board to PC/NOTEBOOK with the Windows XP or 7 Operating System to initiate the USB driver installation, and proceed with the following steps: 1. Windows XP detects the KSZ9031RNX-EVAL boards USB device. At the “Welcome to the Found New Hardware Wizard” screen, a. Select “No, not this time”. b. Pr

34、ess the Next button. 2. At the “ install software for:” screen, a. Select “Install from a list or specific location (Advanced)”. b. Press the Next button. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 17/22 3. At the “Please choose your search and installation options” scre

35、en, a. Select “Include this location in the search:” b. Press the Browse button and navigate to and select the USB driver directory (C:MicrelQAToolsD2XXDriverCDM 2.02.04 WHQL Certified is the USB driver directory for the default installation folder). c. Press the Next button for the USB driver insta

36、llation to proceed. d. Wait for the USB driver installation to finish. 4. At the “Completing the Found New Hardware Wizard” screen, press the Finish button to close the wizard and exit. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 18/22 5. After the USB driver installation

37、, verify the USB driver is installed. a. Go to the Windows System Properties box (select the System icon under Windows Start Menu - Settings - Control Panel). b. Press the Device Manager button c. Scroll down to the end of Universal Serial Bus controllers to verify “USB Serial Converter A” and “USB

38、Serial Converter B” are installed. KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 19/22 6.0 Micrel MdioConfig Software Application Program The Micrel MdioConfig application program resides in the software installation folder created in the previous section (c:MicrelQATools i

39、s the default installation folder). The following application program in the folder will be used to provide read/write access to the KSZ9031RNX PHY registers. mdioConfig.exe / Windows Command Prompt program 6.1 Windows Command Prompt Command Line program The mdioConfig.exe program is a command line

40、interface program. 6.1.1 Running the program The mdioConfig.exe program is executed from a Windows Command Prompt. Open a Windows Command Prompt (select the Command Prompt under Windows Start Menu - Programs - Accessories) and go to the mdioConfig.exe program directory (c:MicrelQATools is the progra

41、m directory for the default installation folder), as shown in the following figure. mdioConfig.exe Program Windows Command Prompt The mdioConfig.exe program is started by typing the mdioConfig.exe program name at the Windows Command Prompt and pressing the key. KSZ9031RNX-EVAL Board Users Guide Micr

42、el, Inc. August 17, 2012 Rev. 1.1 20/22 After pressing the key at the previous screen, the program will automatically detect and set the KSZ9031RNX PHY address for the programming session, and then display the command line prompt, “-”, as shown in the following figure. mdioConfig.exe Program Command

43、 Line Prompt 6.1.2 Read/Write access to KSZ9031RNX PHY registers Direct register read and direct register write can be used to check and/or update individual PHY register setting, as needed. The following are the commands and parameters: Direct Register Read r register address (hex) r 0 / Read PHY r

44、egister 0h r 1 / Read PHY register 1h r 2 / Read PHY register 2h r 3 / Read PHY register 3h Direct Register Write w register address (hex) written value (hex) w 0 8000 / Write PHY register 0h with value 0 x8000h w 0 2500 / Write PHY register 0h with value 0 x2500h KSZ9031RNX-EVAL Board Users Guide M

45、icrel, Inc. August 17, 2012 Rev. 1.1 21/22 The following screen shows the execution of the direct register read/write commands. mdioConfig.exe Program Direct Register Read / Write Examples 6.1.3 Creating and running a script file A group of single command lines can be put in a text file (*.txt) to p

46、roduce a PHY configuration script file. The script file can then be run to program a set of PHY registers. The script file format is as follow: Lines starting with the ”#” symbol are ignored and can be used to provide comments Empty lines with just the key are ignored Each command line for register

47、read or register write is entered on a separate line and followed by the key For example, the following is the content of a script file called “sample.txt”. # Sample script file to read PHY registers 0-3 and write to PHY registers 0 twice # r 0 r 1 r 2 r 3 w 0 8000 w 0 2500 KSZ9031RNX-EVAL Board Users Guide Micrel, Inc. August 17, 2012 Rev. 1.1 22/22 Copy the script file into the software installation folder created earlier in section 5.0 (c:MicrelQATools is the default installation folder). Type the follo

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1