background image

KSZ8864 Evaluation Board User’s Guide 

Micrel Inc. 

Page 21 

5/9/2014 

5.5 MDC/MDIO SMI Software Tool  

5.5.1 MDC/MDIO SMI software 

The software tool can be used to access all registers of KSZ8864 by MDC/MDIO interface. This 
tool locate in folder of MDC_MDIO SMI in the Design Kit, there is MicrelSMIIfApp.exe file 
which can be executed directly 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.7 MIIM SMI mode and pins PS[1:0]=01, JP8 should be closed also. After 
click its icon, a Window will pop up as follow: 
There are two options: 

(1)

 

KSZ8873 3 port switch 

(2)

 

KSZ8895 5-port switch 

(3)

 

KSZ8864 4-port switch 

Please select (3) to support KSZ8864 configuration by SMI mode. 

 

Type ‘help’ and press Enter, will display all commands as follow. 

 

Содержание KSZ8864

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 28: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip KSZ8864RMN EVAL KSZ8864RMNUB EVAL KSZ8864CNX EVAL KSZ8864RMNUB TR...

Отзывы: