MIIM/SMI interfaces. The KSZ8895ML is an excellent choice in industrial automatic, automotive, etc. fields and as a managed Ethernet switch. The KSZ8895ML evaluation board is designed to allow the user to experience firsthand the rich feature set of this exciting new product. The evaluation board is highly configurable and easy to use.
KSZ8895ML Evaluation Board User’s Guide 4.0 Hardware Description The KSZ8895ML evaluation board is in a compact form factor and can sit on a bench near a computer with USB connector. There are four options for configuration: strap in mode; EEPROM mode, SMI mode and SPI mode.
Strap in configuration mode is the quickest and easiest way to get started. In this mode, the KSZ8895ML acts as a standalone 5 port switch. The 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 the convenient manual reset button for the new settings to take effect.
4.1.1 Feature Setting Jumpers The evaluation board provides jumpers to allow the user to easily set strap in configurations for the KSZ8895ML. Table 1 describes the jumpers and their function in the open or closed state. Table 1 Feature Setting Jumpers...
Connect the 5 VDC power supply to the KSZ8895ML when JP44 pin1-2 is closed. b). 5 VDC power source from the USB port when JP44 pin 2-3 is closed. The KSZ8895ML will power up in its default configuration if there is no information in the EEPROM.
KSZ8895ML Evaluation Board User’s Guide 4.3 SPI Mode From SPI interface to the KSZ8895ML, use a USB to SPI converter that allows accessing all of the KSZ8895ML features and registers. The user can easily access the SPI interface using a computer connected to the evaluation board’s USB port interface.
4.6 MII Ports Configuration There is one MII ports on the KSZ8895ML. This MII port connects to the fifth MAC in the KSZ8895ML, and we refer to it as the port 5 Switch SW5-MII port. The SW5-MII can be configured to MAC mode and PHY mode by jumpers of JP6 and JP7 as shown in Table 6.
From MDC/MDIO interface to the KSZ8895ML, use a USB to MDC/MDIO converter that allows accessing all of PHY related registers by MIIM mode and all of the KSZ8895ML registers by SMI mode. The user can easily access the MDC/MDIO interface using a computer connected to the evaluation board’s USB port interface.
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.
Page 14
KSZ8895ML Evaluation Board User’s Guide . Choose ‘No, not this time’ radio button and click the ‘Next’ button. Choose the ‘Install from a list or specific location (Advanced)’ radio button and click the ‘Next’ button. Click the ‘Include this location in the search’ check box, and use ‘Browse’ button to select the Micrel Inc.
Page 15
KSZ8895ML Evaluation Board User’s Guide ‘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. The Window will install another driver called ‘USB Serial Converter B’. After the drivers installed, Window Device Manager will show ‘USB Serial Converter A’ and ‘USB Serial Converter B’...
KSZ8895ML Evaluation Board User’s Guide 5.3 DOS SPI Tool This is a simple and powerful tool to access all register. The tool located in the folder of DOS SPI Tool in the Software tools folder. There is an USBSPI.exe file which can be executed directly by clicking its icon.
Micrel\MicrelSwitchPhyTools (default) or other assigned folder in the installation. The MDC/MDIO MIIM Software Tool can be executed directly by clicking its application file or icon with name of MicrelMDIOConfigWinApp on the desktop.
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 KSZ8895ML 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.
Page 19
KSZ8895ML Evaluation Board User’s Guide Type ‘help’ and press Enter, will display all commands as follow, For example: Read register 1 and write bit 0 to start switch. Micrel Inc. Confidential Page 19 3/26/2014...
KSZ8895ML Evaluation Board User’s Guide 5.6 EEPROM Software Tool 5.6.1 EEPROM software installation Micrel provides EEPROM software tool can use a PC/Laptop via the on board USB port to program the KSZ8895ML evaluation board’s EEPROM without the added expense of an external EEPROM programmer.
Page 21
KSZ8895ML Evaluation Board User’s Guide Note: Chip ID has to set to 0x00 for EEPROM contents to be downloaded to all registers in current device revision. The software tool can read/write all advanced and port control registers into EEPROM as follow.
5.7 Window SPI Software Tool 5.7.1 Window SPI software installation The software tool can be used to read/write all of registers of the KSZ8895ML. The installation file of the tool is located in folder of Window SPI_I2C_MIIM Tools in the software tools folder of the Design Kit, there is MicrelSwitchPhyTools_1.xx.msi file which is clicked to...
Page 23
KSZ8895ML Evaluation Board User’s Guide The control Window includes all registers, static MAC table, VLAN table, dynamic table and MIB counter that are supported by SPI. The software can save and open the configuration file as a back-up. Micrel Inc. Confidential...
(a) are intended for surgical implant into the body or (b) support or sustain life, and whose failure to perform can be reasonably expected to result in a significant injury to the user. A Purchaser’s use or sale of Micrel Products for use in life support appliances, devices or systems is a Purchaser’s own risk and Purchaser agrees to fully indemnify Micrel for any damages...
Need help?
Do you have a question about the KSZ8895ML and is the answer not in the manual?
Questions and answers