background image

KSZ8864 Evaluation Board User’s Guide 

Micrel Inc. 

Page 15 

5/9/2014 

5.0 Software Description 

5.1 Introducing Application Software Tools 

The Design Kit provides some software tools to support SPI interface, EEPROM (I2C) and 
MDC/MDIO access for MIIM registers and SMI interface. They are located folders in the software 
tool directory as follows: 

1.

 

In folder of DOS SPI Tool, there is an 8895SPI_DOS.exe file which can be executed 
directly. The tool is used to access all registers by SPI in a DOS Window.  

2.

 

In folder of MDC_MDIO SMI, there is a MicrelSMIIfApp.exe file which can be executed 
directly by clicking its icon. The software tool is used to access all registers by MDC/MDIO 
interface 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 folder) and two icons on desktop, they need window drivers supported first, see 5.2 
section for detail. One software tool is used to access all registers by SPI interface or is used 
to read/write all control register on I2C EEPROM mapping. Another software tool is used to 
access all MIIM registers for all PHYs. 

4.

 

All of application files after installation .msi file 

 

5.2 Install Window Driver First 

Before use the Window based application software tool, the support drivers need to be installed to 
PC/Laptop first and this installation is just one times only. When connect one standard USB cable 
with type A and type B connectors between the evaluation board and PC computer first time, the 

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: