background image

KSZ9031MNX-EVAL Board User’s Guide 

 

Micrel, Inc. 

 

August 17, 2012 

  

Rev. 

1.0 

13/23

 

 

The Micrel KSZ88xx 3-port Switch evaluation boards have the corresponding 10/100 MII MAC 
interface connectors that plug directly into the MII Port (J1) of the KSZ9031MNX-EVAL Board to 
provide an end-to-end 10/100 copper to 10/100 copper evaluation platform. 
 
The MII Port (J1) is a 40-pin male edge connector that interfaces with and plugs directly into the 
mating AMP 787170-4 (40-pin, right angle, female) connector 
 
The following table lists the pin outs for the MII Port (J1). 
 

Pin # 

Signal 

Pin # 

Signal 

VCC (NC) 

21 

VCC (NC) 

2 MDIO 

22 

Ground 

3 MDC 

23 

Ground 

4 RXD3 

24 

Ground 

5 RXD2 

25 

Ground 

6 RXD1 

26 

Ground 

7 RXD0 

27 

Ground 

8 RX_DV 

28 

Ground 

9 RX_CLK 

29 

Ground 

10 RX_ER 

30 Ground 

11 TX_ER 

31 Ground 

12 TX_CLK 

32 Ground 

13 TX_EN 

33 Ground 

14 TXD0 

34 Ground 

15 TXD1 

35 Ground 

16 TXD2 

36 Ground 

17 TXD3 

37 Ground 

18 COL 

38 Ground 

19 CRS 

39 Ground 

20 VCC 

(NC) 

40 VCC 

(NC) 

 

Table 6.  MII Port (J1) – MII Pin Definition 

 

4.7 USB 

Port 

 
The USB port (CN1) provides programming access to the KSZ9031MNX device’s PHY registers 
through its MDC/MDIO management pins. 
 
See following software section for PHY register access. 
 

Summary of Contents for KSZ9031MNX

Page 1: ...for its 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 result in personal injury Life support devices or systems are devices or systems that a are intend...

Page 2: ...KSZ9031MNX EVAL Board User s Guide Micrel Inc August 17 2012 Rev 1 0 2 23 Revision History Revision Date Summary of Changes 1 0 8 17 12 Initial Release ...

Page 3: ... Single LED Mode 10 4 4 2 Tri color Dual LED Mode 11 4 5 Gigabit Media Independent Interface GMII 12 4 6 Media Independent Interface MII 12 4 7 USB Port 13 5 0 Micrel MdioConfig Software Installation 14 5 1 MicrelSwitchPhyQATools Installation 14 5 2 USB Driver Installation 16 6 0 MicrelMdioConfig Software Application Programs 20 6 1 Windows Command Prompt Command Line program 20 6 1 1 Running the ...

Page 4: ...MNX EVAL Board MII Interface Connection with Spirent SmartBits 12 List of Tables Table 1 KSZ9031MNX EVAL Board Jumper Definition 8 Table 2 Strapping Pin Definitions for KSZ9031MNX EVAL Board Jumpers 9 Table 3 KSZ9031MNX EVAL Board Test Point Definition 10 Table 4 Single LED Mode LED Definition 11 Table 5 Tri color Dual LED Mode LED Definition 11 Table 6 MII Port J1 MII Pin Definition 13 ...

Page 5: ...SZ9031MNX EVAL provides a comprehensive platform to evaluate the KSZ9031MNX features All KSZ9031MNX configuration pins are accessible either by jumpers test points or interface connectors 2 0 Board Features Micrel KSZ9031MNX 10Base T 100Base TX 1000Base T Physical Layer Transceiver RJ 45 Jack for Ethernet cable interface Auto MDI MDI X for automatic detection and correction for straight through an...

Page 6: ...nual reset button for quick reboot after re configuration of strapping pins GMII receive output clock and signals can be looped back to GMII transmit input clock and signals to provide a standalone platform to evaluate the KSZ9031MNX device in 1000Mbps mode MII Port J1 provides the 10 100 MAC interface connections to Micrel KSZ88xx 3 port Switch evaluation boards with the mating MII MAC interface ...

Page 7: ...e pins 1 2 Set PHYAD2 1 JP11 PHYAD2 Close pins 2 3 Set PHYAD2 0 Close pins 1 2 Set PHYAD1 1 JP12 PHYAD1 Close pins 2 3 Set PHYAD1 0 Close pins 1 2 Set PHYAD0 1 JP13 PHYAD0 Close pins 2 3 Set PHYAD0 0 Close pins 1 2 Enable 125 MHz Clock Output JP10 CLK125_EN Close pins 2 3 Disable 125 MHz Clock Output Close pins 1 2 Select Single LED Mode JP9 LED_MODE Close pins 2 3 Select Tri color Dual LED Mode K...

Page 8: ... 2 Select GMII RXD3 signal for GMII Loop Back JP24 TXD3 Close pins 2 3 Select MII TXD3 signal to MII Port J1 Close pins 1 2 Select GMII RXD2 signal for GMII Loop Back JP25 TXD2 Close pins 2 3 Select MII TXD2 signal to MII Port J1 Close pins 1 2 Select GMII RXD1 signal for GMII Loop Back JP26 TXD1 Close pins 2 3 Select MII TXD1 signal to MII Port J1 Close pins 1 2 Select GMII RXD0 signal for GMII L...

Page 9: ... 17 19 PHYAD2 PHYAD1 PHYAD0 The PHY Address is latched at power up reset and is configurable to any value from 0 to 7 PHY Address bits 4 3 are always set to 00 PHYAD 2 0 001 is set as the default for the board JP10 45 CLK125_EN CLK125_EN is latched at power up reset and is defined as follows Pull up 1 Enable 125MHz Clock Output Pull down 0 Disable 125MHz Clock Output Pin 56 CLK125_NDO provides the...

Page 10: ...interface with 10Base T 100Base TX 1000Base T network devices The KSZ9031MNX copper media interface can automatically detect and correct for differential 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 a...

Page 11: ...l LED mode Close pins 2 3 of jumpers JP7 and JP8 to select D4 for the tri color dual LED Close pins 2 3 of jumper JP9 to set the LED_MODE strap in for Tri color Dual LED mode Power up the board After board power up the on board D4 LED is defined as follows LED D4 Link Activity OFF Link off Green ON 1000Mbps Link No Activity Green Blinking 1000Mbps Link Activity RX TX Red ON 100Mbps Link No Activit...

Page 12: ...GMII Loop Back 4 6 Media Independent Interface MII The KSZ9031MNX EVAL Board provides access to the MII clocks and signals at the MII Port J1 Pins 2 and 3 of jumpers JP14 JP27 are closed to connect the MII clocks and signals from the KSZ9031MNX device to the MII Port J1 Similarly pins 1 and 2 of jumpers JP6 JP5 are closed to connect the MII Management pins MDC MDIO from the KSZ9031MNX device to th...

Page 13: ...nector The following table lists the pin outs for the MII Port J1 Pin Signal Pin Signal 1 VCC NC 21 VCC NC 2 MDIO 22 Ground 3 MDC 23 Ground 4 RXD3 24 Ground 5 RXD2 25 Ground 6 RXD1 26 Ground 7 RXD0 27 Ground 8 RX_DV 28 Ground 9 RX_CLK 29 Ground 10 RX_ER 30 Ground 11 TX_ER 31 Ground 12 TX_CLK 32 Ground 13 TX_EN 33 Ground 14 TXD0 34 Ground 15 TXD1 35 Ground 16 TXD2 36 Ground 17 TXD3 37 Ground 18 COL...

Page 14: ... Windows Installer installation package file msi file with the following file name MicrelSwitchPhyQATools_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 KSZ9031MNX EVAL board is unpl...

Page 15: ...stallation Folder screen a Select the folder for the software installation c Micrel QATools 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 seconds for the installation to finish ...

Page 16: ...iver Installation Before installing 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 KSZ9031MNX EVAL Board and connect USB cable from board to PC NOTEBOOK with the Windows XP or 7 Operating System to ...

Page 17: ...e choose your search and installation options screen a Select Include this location in the search b Press the Browse button and navigate to and select the USB driver directory C Micrel QATools D2XXDriver CDM 2 02 04 WHQL Certified is the USB driver directory for the default installation folder c Press the Next button for the USB driver installation to proceed d Wait for the USB driver installation...

Page 18: ...ompleting the Found New Hardware Wizard screen press the Finish button to close the wizard and exit 5 After the USB driver installation verify the USB driver is installed a Go to the Windows XP System Properties box select the System icon under Windows Start Menu Settings Control Panel ...

Page 19: ... User s Guide Micrel Inc August 17 2012 Rev 1 0 19 23 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 Serial Converter B are installed ...

Page 20: ... program 6 1 Windows Command Prompt Command Line program The mdioConfig exe program is a command line 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 Micrel QATools is the program dire...

Page 21: ...e Prompt 6 1 2 Read Write access to KSZ9031MNX 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 register 0h r 1 Read PHY register 1h r 2 Read PHY register 2h r 3 Read PHY register 3h Direct Register Write w r...

Page 22: ...tion 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 ENTER key are ignored Each command line for register read or register write is entered on a separate line and followed by the ENTER key For example the following is the content...

Page 23: ...ev 1 0 23 23 Copy the script file into the software installation folder created earlier in section 5 0 c Micrel QATools is the default installation folder Type the following script file command line and press the ENTER key to execute the script file run sample txt ...

Reviews: