background image

KSZ8895ML Evaluation Board User’s Guide 

Micrel Inc. Confidential 

Page 13 

3/26/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 USBSPI.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. 

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 
Found New Hardware Wizard window will pop-up and then follow the instructions step by step as 
below. 
  

 

 

Содержание KSZ8895ML

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 25: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Micrel KSZ8895ML EVAL ...

Отзывы: