background image

KSZ8864 Evaluation Board User’s Guide 

Micrel Inc. 

Page 10 

5/9/2014 

7.

 

Open the Windows and navigate to the directory where the Window SPI file is stored. Click its 
icon to invoke the software.  

8.

 

Program the desired settings using the Micrel SPI interface software.  See the software 
operation description section 5.7 for details.  

4.4 10/100 Ethernet Ports  

There are two 10/100 Ethernet ports on the KSZ8864 evaluation board.  The ports J1 and J2 can be 
connected to a traffic generator/analyzer or a SmartBit via standard RJ45 connectors using CAT-5 
cables. Each port can be used as either an uplink or downlink. All ports support auto MDI/MDIX so 
there is no need for cross over cables.  

J1 = RJ45 connector for port 1  
J2 = RJ45 connector for port 2  

 

4.5 LED indicators  

Ethernet Port LEDs 

There are two columns of LED indicators, one column for each of the two ports.  The LED 
indicators are programmable to two different modes. You can program the LED mode through a 
strap in option on JP23 or in register 11, bit 1. The mode definitions are shown in Table 5.  There are 
three LEDs per port. The naming convention is “LEDx_y”, where “x” is the port number, and “y” is 
the number of the LED for that port.  

Table 5 LED Modes 

Mode 0  

Mode1  

PxLED1 = Link/Act  

PxLED1 = 100Link/Act  

PxLED0 = Speed  

PxLED0 = Full Duplex  

 
P1LEDy are assigned to Port1 

P2LEDy are assigned to Port2 

Power LED 

The board also has a power LED D3 for the 3.3V power supply. D3 LED indicates 3.3V Power on 
and off. 

Interrupt LED 

The board also has an Interrupt LED D2 for the Link status change when set the interrupt mask 
register 125. D2 LED turns on to indicate the interrupt to be asserted. 
  

4.6 MII/RMII Port Configuration  

 
There are two MII/RMII ports on the KSZ8864. One port connects to the port 4 MAC4 in the 
KSZ8864, and we refer to it as the port 4 Switch SW4-MII/RMII port. The second MII/RMII port 

Summary of Contents for KSZ8864

Page 1: ...KSZ8864 Evaluation Board User s Guide Micrel Inc Page 1 5 9 2014 KSZ8864 Evaluation Board User s Guide KSZ8864 Integrated 4 port 10 100 Ethernet Managed Switch Rev 1 1 May 2014...

Page 2: ...4 13 4 7 MDC MDIO Interface for MIIM Registers and SMI mode 13 5 0 Software Description 15 5 1 Introducing Application Software Tools 15 5 2 Install Window Driver First 15 5 3 DOS SPI Tool 18 5 4 MDC...

Page 3: ...ttings 8 Table 4 SPI Mode Settings 9 Table 5 LED Modes 10 Table 6 SCONF 1 0 pin 47 48 for SW4 MII PHY MAC mode 11 Table 7 Configure for SW4 MII 11 Table 8 Configure for SW3 MII 12 Table 9 Configure fo...

Page 4: ...gned to allow the user to experience first hand the rich feature set of these existing 4 port switches of KSZ8864CNX RMNUB The evaluation board is highly configurable and easy to use 2 0 Features Micr...

Page 5: ...your PC you can access the KSZ8864 s full feature set registers by the USB to SPI interface The board also features the MII connectors for the Switch MII RMII interface on port 3 and port 4 These are...

Page 6: ...user has to simply set the board s configuration jumpers to the desired settings and apply power to the board The user can also change jumper settings while power is applied to the board and press th...

Page 7: ...ly default JP10 SCONF0 MII Setting See Section 4 6 JP11 SCONF1 MII Setting See Section 4 6 JP17 3 pin Default is 2 3 close for port 4 SW4 MII 1 2 Close SW4 RMII provides 50MHz clock 2 3 Close SW4 MII...

Page 8: ...Provide 3 3V to port 3 connector for external single PHY eval board 2 3 Close Provide 5V to port 3 connector for external single PHY eval board Table 2 Reserved Jumpers Jumper Number Description Reco...

Page 9: ...e Micrel provides a Windows 2000 XP based program for the user to evaluate the KSZ8864 s full feature set In addition to all the control registers available via EEPROM programming a host CPU connected...

Page 10: ...one column for each of the two ports The LED indicators are programmable to two different modes You can program the LED mode through a strap in option on JP23 or in register 11 bit 1 The mode definiti...

Page 11: ...ch MII port will transmit and receive signals on J7 of the board s female MII connector This interface is normally used to connect the KSZ8864 to an external PHY In PHY mode of the SW3 MII the Switch...

Page 12: ...Open is clock mode Device s clock source comes from X1 pin 25MHz and SM4RXC pin provide 50MHz clock to both RMII Pin 1 2 Close Pin 1 2 3 Open SW4 RMII MAC to PHY mode with J7 used Closed Open is cloc...

Page 13: ...rmal mode is used port 4 SW4 RMII SM4TXC should receive an external 50MHz clock and then SM3RXC can provides 50MHz clock to SM3TXC and port 3 opposite RMII Whatever clock or normal mode the port 3 opp...

Page 14: ...onnect the computer s USB port to the KSZ8864 board with a USB port cable 10 There are two ways to power up the evaluation board a Connect the 5 VDC power supply to the KSZ8864 when JP47 pin1 2 is clo...

Page 15: ...with SMI mode 3 In folder of Window SPI_I2C_MIIM Tools there is a MicrelSwitchPhyTools_1 xx msi file which is clicked to create two application files in the default folder of Micrel or you selected fo...

Page 16: ...tion Board User s Guide Micrel Inc Page 16 5 9 2014 Found New Hardware Wizard window will pop up and then follow the instructions step by step as below Choose No not this time radio button and click t...

Page 17: ...se button to select the C MicrelEthernetChipConfig D2XXDriver CDM 2 02 04 WHQL Certified directory and click the Next button The window will install the drivers from this location Click Finish button...

Page 18: ...in the Software tools folder There is an USBSPI exe file which can be executed directly by clicking its icon the software tool support 8864 all registers also Before run the software tool the JP9 sho...

Page 19: ...Tools in the software tools folder of the Design Kit there is MicrelSwitchPhyTools_1 xx msi file which is clicked to install application file and add two application icons on the desktop this install...

Page 20: ...tton Pop up a MDIO MIIM Configuration window as follows By this window all of MIIM registers on 2 PHYs can be read and written directly Click the mark of Down or Up all MII registers will display for...

Page 21: ...irectly by clicking its icon 5 5 2 On board jumper setting and Software Application Before run the software tool the JP2 JP3 and JP4 should be closed please check the MDC MDIO setting in section of 4...

Page 22: ...C_MIIM Tools in the software tools folder of the Design Kit there is MicrelSwitchPhyTools_1 xx msi file which is clicked to install application file and add two application icons on the desktop this i...

Page 23: ...User s Guide Micrel Inc Page 23 5 9 2014 Select the radio of I2C interface to do EEPROM configuration and press Continue button pop up a window as follow Click OK button one of read write EEPROM windo...

Page 24: ...Inc Page 24 5 9 2014 Note Chip ID1 has to set to 0x00 or 0x01 for EEPROM contents to be downloaded to all registers in current device revision The software tool can read write all advanced and port c...

Page 25: ...lication file will be copied into the folder of Micrel MicrelSwitchPhyTools default or other assigned folder in the installation The MDC MDIO SPI Software Tool can be executed directly by clicking its...

Page 26: ...d open the configuration file 6 0 Reference Documents KSZ8864 Data Sheet Contact Micrel for Latest Datasheet KSZ8864 Design Package includes all design information as a Design Kit Contact Micrel for t...

Page 27: ...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 devic...

Page 28: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip KSZ8864RMN EVAL KSZ8864RMNUB EVAL KSZ8864CNX EVAL KSZ8864RMNUB TR...

Reviews: