background image

KSZ8895ML Evaluation Board User’s Guide 

Micrel Inc. Confidential 

Page 4 

3/26/2014 

1.0 Introduction 

The KSZ8895ML is Micrel Operations’ new generation integrated 5-port switch. The KSZ8895ML 
contains five 10/100Base-T/TX PHY transceivers and one configurable MII interface with MAC 
mode and PHY mode configurable for MAC 5 of the port 5. 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; QoS priority; CPU control SPI interface and CPU control MDC/MDIO for 
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.  

2.0 Features  

 

Micrel KSZ8895ML Integrated 5 copper ports and 1 configurable MAC MII interface for a 
5-port Managed Ethernet Switch  

 

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

 

Auto MDI/MDIX on All Ports.  

 

1 PHY mode and 1 MAC mode MII Connector are for the port 5 MAC 5 SW5-MII Interface 

 

1 USB Port Interface Configurable to Emulate an I2C or SPI or MDC/MDIO Interfaces to 
access all control registers and all MIIM registers.   

 

On Board EEPROM  

 

3 LEDs Per Port to Indicate the Status and Activity  

 

3.0 Evaluation Kit Contents  

The KSZ8895ML Evaluation kit includes the following:  

 

KSZ8895ML Evaluation Board Rev. 1.x 

 

KSZ8895ML Evaluation Board User’s Guide Rev 1.x 

 

Micrel EEPROM/SPI/SMI/MIIM Configuration Software tools for KSZ8895 family. 

 

KSZ8895ML Evaluation Board Schematics and BOM  

 

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

 

The USB cable is not included. 

 
 
 
 
 
 
 
 

Summary of Contents for KSZ8895ML

Page 1: ...KSZ8895ML Evaluation Board User s Guide Micrel Inc Confidential Page 1 3 26 2014 KSZ8895ML Evaluation Board User s Guide KSZ8895ML Integrated 5 port Ethernet Managed Switch Rev 1 1 March 2014 ...

Page 2: ...lication Software Tools 13 5 2 Install Window Driver First 13 5 3 DOS SPI Tool 16 5 4 MDC MDIO MIIM Software Tool 17 5 4 1 MDC MDIO MIIM software installation 17 5 4 2 On board jumper setting and Software Application 17 5 5 MDC MDIO SMI Software Tool 18 5 5 1 MDC MDIO SMI software 18 5 5 2 On board jumper setting and Software Application 18 5 6 EEPROM Software Tool 20 5 6 1 EEPROM software install...

Page 3: ...ock Diagram 6 Table 1 Feature Setting Jumpers 7 Table 2 Reserved Jumpers and recommendation 8 Table 3 EEPROM Mode Settings 8 Table 4 SPI Mode Settings 9 Table 5 LED Modes 10 Table 6 MII Mode Settings 11 Table 7 SNI Header Pin Definitions 11 Table 8 Configure for SW5 MII 11 Table 9 MDC MDIO Settings for MIIM and SMI 12 Revision History Revision Date Change 1 0 3 26 14 Initial release ...

Page 4: ...figurable and easy to use 2 0 Features Micrel KSZ8895ML Integrated 5 copper ports and 1 configurable MAC MII interface for a 5 port Managed Ethernet Switch 5 RJ 45 Jacks for Ethernet LAN with Corresponding Isolation Magnetics Auto MDI MDIX on All Ports 1 PHY mode and 1 MAC mode MII Connector are for the port 5 MAC 5 SW5 MII Interface 1 USB Port Interface Configurable to Emulate an I2C or SPI or MD...

Page 5: ...ers by the USB to SPI interface Or using Micrel MDC MDIO software and SMI software with your PC you can access the KSZ8895ML s MIIM PHY registers by generic MDC MDIO interface and full feature set registers by the SMI mode of MDC MDIO interface The board also features the MII connectors for the Switch MII interface These are to facilitate connections from the switch to an external MAC or PHY The K...

Page 6: ... is applied to the board and press the convenient manual reset button for the new settings to take effect Note that even if there is no external strap in values are set internal pull up and pull down resistors will set the KSZ8895ML default configuration Section 4 1 1 covers each jumper on the board and describes its function To start in strap in configuration mode make sure that JP1 and JP2 are o...

Page 7: ...PMRXD2 Disable Back Pressure Enable Back Pressure JP27 PMRXD1 Drop excessive collision packets Do not drop excessive collision packets JP28 PMRXD0 Aggressive back off disable Aggressive back off enable JP29 PMRXER Max Packet Size up to 1522 1518 bytes Max Packet Size up to 1536 bytes JP30 PCRS Force Half Duplex on port 4 if AN is disabled or failed Force Full duplex on port 4 if AN is disabled or ...

Page 8: ...your computer 2 Set JP3 and JP9 as specified in Table 3 for EEPROM mode configuration Make sure that the EEPROM is installed on the board Table 3 EEPROM Mode Settings Jumper Description Setting JP1 SDA Open JP2 SCL Open JP3 SCL Closed JP9 SPIQ Closed JP4 Serial Bus Config PS0 Open JP5 Serial Bus Config PS1 Open 3 Connect the computer s USB port to the KSZ8895ML board with a USB port cable 4 There ...

Page 9: ...n JP5 Serial Bus Config PS1 Closed 3 Connect the computer s USB port to the KSZ8895ML board with a USB port cable 4 There are two ways to power up the evaluation board Connect the 5 VDC power supply to the KSZ8895ML when JP44 pin1 2 is closed default 5 VDC power source comes from the USB port when JP44 pin 2 3 is closed 5 The KSZ8895ML will power up initial default configuration with the start swi...

Page 10: ...lso has a power LED D2 for the 3 3V power supply D2 LED indicates 3 3V Power on and off 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 The Switch MII port can be set to...

Page 11: ...n MAC mode MII Disable Outputs Tri stated 0 Closed Close PHY mode SNI Disable Outputs Tri stated 1 Open Open Disabled Disabled 1 Open Close PHY mode MII Reserved 1 Close Open MAC mode MII Reserved 1 Close Close PHY mode SNI Reserved Table 7 SNI Header Pin Definitions Header Pin SNI Signal KSZ8895ML Signals TP1 RXC SMRXC TP2 CRS SMRXDV TP3 TXC SMTXC TP4 TXEN SMTXEN TP5 TXD SMTXD0 TP6 RXD SMRXD0 TP7...

Page 12: ...provided software on your computer 2 Set JP2 JP3 and JP4 as specified in Table 8 for MDC MDIO configuration Table 9 MDC MDIO Settings for MIIM and SMI Jumper Description Setting JP1 MDIO SDA Close JP2 MDC SCL Close JP3 SPIQ SDA Close JP9 EEPROM SCL Open JP4 Serial Bus Config PS0 Open Close for SMI JP5 Serial Bus Config PS1 Open 8 Connect the computer s USB port to the KSZ8895ML board with a USB po...

Page 13: ...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 I2...

Page 14: ...e 14 3 26 2014 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 ...

Page 15: ...d 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 as below figure That means the installation successful ...

Page 16: ...ts icon Before run the software tool the JP5 should be closed please check the SPI setting in 4 3 SPI mode section After click its icon a DOS Window will pop up as follow Type a help and press Enter all commands will display as follows For Read or Write registers reg is the offset address of the register value is Hex number The run file command can execute multiple commands by a script file the sc...

Page 17: ...r 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 4 2 On board jumper setting and Software Application Before run the software tool the JP1 JP2 and JP3 should be closed please check the MDC MDIO setting in section of 4 7 MIIM SMI mode section After click ...

Page 18: ...ich can be executed directly by clicking its icon 5 5 2 On board jumper setting and Software Application Before run the software tool the JP1 JP2 and JP3 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 application file of MicrelSMIIfApp a Window will pop up as follow There are three options 1 KSZ8873 3 ...

Page 19: ...SZ8895ML Evaluation Board User s Guide Micrel Inc Confidential Page 19 3 26 2014 Type help and press Enter will display all commands as follow For example Read register 1 and write bit 0 to start switch ...

Page 20: ...application file and add two application icons on the desktop this installation just do one times only the application file will be copied into the folder of Micrel MicrelSwitchPhyTools default or other assigned folder in the installation The MDC MDIO EEPROM Software Tool can be executed directly by clicking its application file or icon with name of MicrelSwitchConfigApp on the desktop 5 6 2 On bo...

Page 21: ...014 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 After Write EEPROM a worm reset can takes the effect for the change ...

Page 22: ... 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 application file or icon with name of MicrelSwitchConfigApp on the desktop 5 7 2 On board jumper setting and Software Application Before run the software tool the JP5 should be closed PS 1 0 10 please check the SPI setti...

Page 23: ...ide Micrel Inc Confidential Page 23 3 26 2014 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 ...

Page 24: ...EB http www micrel com The information furnished by Micrel in this data sheet is believed to be accurate and reliable However no responsibility is assumed by Micrel for its use Micrel reserves the right to change circuitry and specifications at any time without notification to the customer Micrel Products are not designed or authorized for use as components in life support appliances devices or sy...

Page 25: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Micrel KSZ8895ML EVAL ...

Reviews: