background image

KSZ8895 Evaluation Board User’s Guide 

Micrel Inc. 

Page 27 

1/8/2013 

 
 
 
 
 
 
 

MICREL, INC.   1849 FORTUNE DRIVE   SAN JOSE, CA   95131   USA 

TEL +1 (408) 944-0800 

FAX +1 (408) 474-1000    WEB 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 systems where 

malfunction of a product can reasonably be expected to result in personal injury. Life support devices or systems are devices or 
systems that (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 

resulting from such use or sale. 

 

© 2010 Micrel, Incorporated.

 

 

Содержание KSZ8895

Страница 1: ...KSZ8895 Evaluation Board User s Guide Micrel Inc Page 1 1 8 2013 KSZ8895MQ RQ Evaluation Board User s Guide KSZ8895 Family Integrated 5 port 10 100 Ethernet Managed Switch Rev 1 2 January 2013 ...

Страница 2: ...5RQ 15 4 7 MDC MDIO Interface for MIIM Registers and SMI mode 15 5 0 Software Description 16 5 1 Introducing Application Software Tools 16 5 2 Install Window Driver First 16 5 3 DOS SPI Tool 19 5 4 MDC MDIO MIIM Software Tool 20 5 4 1 MDC MDIO MIIM software installation 20 5 4 2 On board jumper setting and Software Application 20 5 5 MDC MDIO SMI Software Tool 21 5 5 1 MDC MDIO SMI software 21 5 5...

Страница 3: ... Setting Jumpers 8 Table 2 Reserved Jumpers and recommendation 10 Table 3 EEPROM Mode Settings 10 Table 4 SPI Mode Settings 11 Table 5 LED Modes 12 Table 6 MII Mode Settings 13 Table 7 SNI Header Pin Definitions 13 Table 8 Configure for SW5 MII 14 Table 9 Configure for P5 MII 14 Table 10 Configure for SW5 RMII 14 Table 11 Configure for P5 RMII 15 Table 12 MDC MDIO Settings for MIIM and SMI 15 ...

Страница 4: ...ation Board User s Guide Micrel Inc Page 4 1 8 2013 Revision History Revision Date Change 1 0 9 29 10 Initial release 1 1 12 03 10 Remove TMQ part 1 2 01 08 13 Update the user interface for the updated software tool ...

Страница 5: ...valuation board is highly configurable and easy to use 2 0 Features Micrel KSZ8895 Integrated 5 port 10 100 Managed Ethernet Switch 5 RJ 45 Jacks for Ethernet LAN and WAN Interfaces 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 RMII Interface 1 PHY mode is for the port 5 PHY 5 P5 MII RMII interface 1 USB P...

Страница 6: ... access the KSZ8895 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 RMII interface These are to facilitate connections from the switch to an external MAC or PHY There is also an additional MII connector for the PHY5 MII RMII interface to an external MAC This is used...

Страница 7: ...and alone 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 Note that even if there is no external strap in values are set internal pull up and pull down resistors ...

Страница 8: ...e and JP5 Open use external 1 2V LDO JP6 3 pin MDIXDIS 1 2 Close disable Auto MDI MDIX mode 2 3 Close or all Open enable Auto MDI MDIX default JP8 PS0 EEPROM SPI SMI Setting See Section 4 2 and 4 3 JP9 PS1 EEPROM SPI SMI Setting See Section 4 2 and 4 3 JP10 SCONF0 MII Setting See Section 4 6 JP11 SCONF1 MII Setting See Section 4 6 JP12 to JP15 FXSD1 4 Reserved Normal operation for copper internal ...

Страница 9: ...ff disable Aggressive back off enable JP33 PMRXER Max Packet Size up to 1522 1518 bytes Max Packet Size up to 1536 bytes JP34 PCRS Force Half Duplex on port 4 if AN is disabled or failed Force Full duplex on port 4 if AN is disabled or failed JP35 PCOL No Force Flow Control on port 4 Force Flow Control on port 4 JP36 LED1_0 Force Half Duplex on port 3 if AN is disabled or failed Force Full duplex ...

Страница 10: ... Set JP3 JP4 JP5 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 EEPROM Closed JP2 EEPROM Closed JP3 MDC Open JP4 MDIO Open JP4 Serial Bus Config PS0 Open JP5 Serial Bus Config PS1 Open 3 Connect the computer s USB port to the KSZ8895 board with a USB port cable 4 There are...

Страница 11: ... PS0 Open JP9 Serial Bus Config PS1 Closed 3 Connect the computer s USB port to the KSZ8895 board with a USB port cable 4 There are two ways to power up the evaluation board a Connect the 5 VDC power supply to the KSZ8895 when JP47 pin1 2 is closed default b 5 VDC power source from the USB port when JP47 pin 2 3 is closed 5 The KSZ8895 will power up initial default configuration with the start swi...

Страница 12: ...5_y are assigned to Port5 Power LED The board also has a power LED D3 for the 3 3V power supply D3 LED indicates 3 3V Power on and off Interrupt LED The board also has an Interrupt LED D2 for the Link status change when set the interrupt mask register 125 D2 LED is turn on to indicate the interrupt to be asserted 4 6 MII RMII Ports Configuration There are two MII RMII ports on the KSZ8895 One port...

Страница 13: ... connect to an external MAC or CPU This port is only in PHY mode Table 6 MII Mode Settings MII Enable Bit reg 2 bit 3 Pin 91 JP11 Pin 86 JP10 Pin 87 Switch SW5 MII RMII PHY 5 P5 MII RMII 0 Open Open Disable Outputs Tri stated Disable Outputs Tri stated 0 Open Close PHY mode MII or RMII Disable Outputs Tri stated 0 Close Open MAC mode MII or RMII Disable Outputs Tri stated 0 Closed Close PHY mode S...

Страница 14: ...II MAC to MAC mode with J6 used Closed either JP10 or JP11 Open is clock mode Device s clock source comes from X1 pin 25MHz and SMRXC pin provide 50MHz clock to both RMII Pin 1 2 Close Pin 1 2 3 Open SW5 RMII MAC to PHY mode with J7 used Closed either JP10 or JP11 Open is clock mode Device s clock source comes from X1 pin 25MHz and SMRXC pin provide 50MHz clock to both RMII Pin 1 2 Close Pin 1 2 3...

Страница 15: ... use the software tool in the folder of MDC_MDIO SMI of the software directory To prepare the KSZ8895 evaluation board for MDC MDIO configuration please follow these steps 1 Copy the Micrel provided software on your computer 2 Set JP2 JP3 and JP4 as specified in Table 8 for MDC MDIO configuration Table 12 MDC MDIO Settings for MIIM and SMI Jumper Description Setting JP1 EEPROM Open JP2 EEPROM MIIM...

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

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

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

Страница 19: ...Before run the software tool the JP9 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 script fil...

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

Страница 21: ...f KSZ8895 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 cl...

Страница 22: ...KSZ8895 Evaluation Board User s Guide Micrel Inc Page 22 1 8 2013 Type help and press Enter will display all commands as follow For example Read register 1 and write bit 0 to start switch ...

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

Страница 24: ... in the register 1 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 ...

Страница 25: ...on 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 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 JP9 should be closed please check the SPI ...

Страница 26: ...or Latest Datasheet KSZ8895 Design Package includes all design information as a Design Kit separately for each type of KSZ8895 devices Contact Micrel for the updates 7 0 Bill of Material Please see the detail BOMs in the BOM folder of the hardware design package for the KSZ8895 Evaluation Boards 8 0 Schematics Please see the schematics of the evaluation board and reference design in the schematics...

Страница 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 devices or systems are devices or systems that 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 signifi...

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

Отзывы: