background image

KSZ8864 Evaluation Board User’s Guide 

Micrel Inc. 

Page 4 

5/9/2014 

 

1.0 Introduction 

The KSZ8864 is Micrel Operations’ new generation integrated 4-port switch with a 64-pin small 
package. The KSZ8864 device consists of two PHYs and four MACs. Two of MACs support either 
MII or RMII interfaces for dual processor/DSP data transfer. Higher speed SPI and MDC/MDIO 
interfaces can fully manage the 4-port switch by the processor. The device had been designed with 
cost sensitive systems in mind but still offers a multitude of features such as switch management; 
port and tag based VLAN; 1/2/4-queue QoS priority; a dual MII/RMII option data interfaces and 
CPU control interfaces of SPI, MDC/MDIO with MIIM/SMI. MIIM is the standard IEEE 802.3 
MII Management Interface. SMI is non-standard Serial Management Interface that can access all 
registers by the Management Data Input/output MDIO interface.  The KSZ8864 is an excellent 
choice in current complex Ethernet applications with single processor or dual processors, industrial 
automatic, automotive, etc. fields and as a standalone 4-port switch.  

The KSZ8864 evaluation board is designed 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  

 

Micrel KSZ8864 Integrated 4-port 10/100 Managed Ethernet Switch  

 

2 RJ-45 Jacks for Ethernet LAN with Corresponding Isolation Magnetics.  

 

Auto MDI/MDIX on all Ports.  

 

1 PHY mode and 1 MAC mode 40-pin male/female connectors are for the port 3 Switch 
SW3-MII/RMII Interfaces. 

 

1 PHY mode and 1 MAC mode 40-pin male/female connectors are for the port 4 Switch 
SW4-MII/RMII Interfaces. 

 

1 USB Port Interface Configurable to emulate interfaces of EEPROM, SPI interface, 
MDC/MDIO with SMI Interface and access all MIIM registers.   

 

On Board EEPROM  

 

2 LEDs Per Port to Indicate the Status and Activity  

 

5VDC, 2.5A Universal Power Supply  

3.0 Evaluation Kit Contents  

The KSZ8864 Evaluation kit includes the following:  

 

KSZ8864 Evaluation Board Rev. 1.x 

 

KSZ8864 Evaluation Board User’s Guide Rev 1.x 

 

Micrel EEPROM/SPI/SMI/MIIM Configuration Software  

 

KSZ8864 Evaluation Board Schematics and BOM  

 

The software, schematics and other design information will be found in the hardware design 
package in the Design Kit of the KSZ8864 Ethernet switch product on Micrel website. 
(Contact your Micrel FAE for the latest schematic). 

 

The USB cable is not included. 

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: