Micrel KS8995MA User Manual

Ks8995ma integrated 5-port 10/100 ethernet managed switch

Advertisement

Quick Links

KS8995MA Evaluation Board User's Guide
KS8995MA
Evaluation Board User's Guide
KS8995MA Integrated 5-port 10/100 Ethernet
Managed Switch
Rev 1.7 October 2006
Micrel Inc. Confidential
Page 1
11/3/2006

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KS8995MA and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Micrel KS8995MA

  • Page 1 KS8995MA Evaluation Board User’s Guide KS8995MA Evaluation Board User’s Guide KS8995MA Integrated 5-port 10/100 Ethernet Managed Switch Rev 1.7 October 2006 Micrel Inc. Confidential Page 1 11/3/2006...
  • Page 2: Table Of Contents

    KS8995MA Evaluation Board User’s Guide Table of contents 1.0 Introduction........................4 2.0 Features ...........................5 3.0 Evaluation Kit Contents....................5 4.0 Hardware Description .....................5 4.1 Strap In Mode ......................7 4.1.1 Feature Setting Jumpers..................8 4.2 EEPROM Mode ......................9 4.3 SPI Mode ........................10 4.4 10/100 Ethernet Ports....................11 4.5 LED indicators ......................11...
  • Page 3 KS8995MA Evaluation Board User’s Guide List of Figures and Tables Figure 1 KS8995MA Evaluation Board Block Diagram............7 Figure 2 Run KEEPROM software..................15 Figure 3 Open a default file ....................15 Figure 4 Configuration Registers on the KEEPROM Modify window......16 Figure 5 MIB Counter Screen.....................19 Figure 6 Tagged Ethernet Packet..................20...
  • Page 4 KS8995MA Evaluation Board User’s Guide Revision History Revision Date Change 3/6/02 Preliminary release 3/11/02 Editorial Changes; updated ESD/EMI guidelines; updated BOM; changed references; restructured procedures 3/14/02 Updated SPI Commands 4/22/02 Incorporated Windows SPI GUI; Updated PSPI command list; Added WPSPI procedures.
  • Page 5: Introduction

    • KS8995MA Design Reference Schematic Rev. 3.0 (Contact your Micrel/Kendin FAE for the latest schematic). 4.0 Hardware Description The KS8995MA evaluation board is in a compact form factor and can sit on a bench near a Micrel Inc. Confidential Page 5...
  • Page 6 Using Micrel/Kendin software and your PC you can use the parallel port to reprogram the EEPROM on board, or use the SPI interface to access the KS8995MA’s full feature set. The board also features two MII connectors for the Switch MII interface. These are to facilitate connections from the switch to either an external CPU or an external PHY.
  • Page 7: Strap In Mode

    Strap in configuration mode is the quickest and easiest way to get started. In this mode, the KS8995MA acts as a stand 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.
  • Page 8: Feature Setting Jumpers

    4.1.1 Feature Setting Jumpers The evaluation board provides jumpers to allow the user to easily set strap in configurations for the KS8995MA. Table 1 describes the jumpers and their function in the open or closed state. Table 1 Feature Setting Jumpers...
  • Page 9: Eeprom Mode

    The evaluation board has an EEPROM to allow the user to explore more extensive capabilities of the KS8995MA. The user can conveniently program the EEPROM on board using a parallel port from any computer with a WIN 95/98 DOS environment and the Micrel/Kendin provided software.
  • Page 10: Spi Mode

    Micrel/Kendin provides a simple Windows 98 DOS based program for the user to evaluate the KS8995MA’s full feature set. In addition to all the registers available via EEPROM programming, a host CPU connected to the KS8995MA’s SPI interface will be able to access all static MAC entries, the VLAN table,...
  • Page 11: 10/100 Ethernet Ports

    There are two MII ports on the KS8995MA. One port connects to the fifth MAC in the KS8995MA, and we refer to it as the Switch MII port. The second MII port connects to the fifth PHY in the KS8995MA. We refer to this as the PHY5 MII port. Both the Switch MII port and the PHY5 MII port configuration are set on the board by using the MII Enable bit (register 2, bit 3) in conjunction with JP6 and JP7 as shown in Table 6.
  • Page 12 Switch MII port will transmit and receive signals on J7, the Switch MII port’s male MII connector. This mode is usually used to connect the KS8995MA to a CPU. In MAC mode, the Switch MII port will transmit and receive signals on J8, which is a female MII connector.
  • Page 13: Software Description

    5.0 Software Description 5.1 EEPROM Programming Software in DOS Micrel/Kendin provides DOS based software so that you can use a computer with a Windows 98 DOS environment and a parallel port to program the KS8995MA evaluation board’s EEPROM without the added expense of an external EEPROM programmer. The program is an executable file that is included with your evaluation kit.
  • Page 14 9. Exit – Use this command to close the program. Please see the KS8995MA Datasheet for all register descriptions. Be sure to press the manual reset button after configuration so that the KS8995MA will reset and read the new configuration in the EEPROM. After reset, the KS8995MA is ready for normal operation.
  • Page 15 KS8995MA Evaluation Board User’s Guide Figure 2 Run KEEPROM software Click the File menu and open a default95M data file, the default values will display on the window of the KEEPROM as shown in Figure 3. Figure 3 Open a default file Micrel Inc.
  • Page 16 EEPROM. Please see the KS8995MA Datasheet for all register descriptions. Be sure to press the manual reset button after configuration so that the KS8995MA will reset and read the new configuration in the EEPROM. After reset, the KS8995MA is ready for normal operation.
  • Page 17: Spi Interface Software

    Please choose the appropriate folder for your Smartbits equipment, i.e. Smartbits 600, Smartbits 1000, Smartbits 2000. We recommend resetting the evaluation board for each new test to ensure that the KS8995MA comes up in default configuration. These scenario procedures assume that the user has prior experience with Smartbits equipment.
  • Page 18: Mib Counters

    KS8995MA Evaluation Board User’s Guide 6.1 MIB Counters There are 34 MIB counters per port on the KS8995MA. These counters are used to monitor port activity for network management. The following is an eMAmple of how to use Micrel/Kendin software and your computer’s parallel port to access the MIB counters.
  • Page 19 KS8995MA Evaluation Board User’s Guide MIB Counter Port 1 Port 2 Port 3 Port 4 Port 5 RxLoPriorityByte 6400000 6300000 6300000 156400000 RxUndersizePkt 100000 RxFragments 100000 RxOversize 100000 RxCRCerror 100000 Rx64Octets 100000 Note: All other counters are zero. WPSPI Procedure: 1.
  • Page 20: Tag Based Vlan

    VLAN 1 will have in its membership ports 1, 2, 3 and 5. VLAN 2 will have in its membership ports 4 and 5. If an incoming packet is not tagged, the KS8995MA has a feature that will use the ingress port’s default VID for port forwarding. The KS8995MA also has an optional feature to discard packets whose VID port membership in the VLAN table does not include the ingress port.
  • Page 21 PSPI Procedure: Connect the Smartbits tester to the KS8995MA with standard CAT-5 cables. Again connect port 1 from the Smartbits to port 1 on the KS8995MA and port 2 on the Smartbits tester to port 2 on the KS8995MA, etc…...
  • Page 22 “display counters” in the menu. Transmit packets to all ports by pressing the SMB group start button. This will enable the KS8995MA to learn addresses. Stop all transmission and clear all the Smartbits counters. Broadcast packets tagged with VLAN ID 1 from port 1, 2 or 3 to all ports. The broadcast packets should only be received on VLAN 1, ports 1, 2, 3 and 5.
  • Page 23: Special Tagging Mode

    PSPI Procedure: Connect the smartbits tester to the KS8995MA with standard CAT-5 cables. Connect port 1 from the smartbits to port 1 on the KS8995MA and port 2 on the Smartbits tester to port 2 on the KS8995MA, etc… Connect your computer to the KS8995MA evaluation board with a parallel port cable.
  • Page 24: Programmable Rate Limiting

    Furthermore, it shows that an IGMP packet is immediately forwarded to port 5, even if it is not destined for port 5. The KS8995MA uses the following criteria to identify an IGMP packet: Either Ethernet IP or IEEE 802.3 SNAP IP packets...
  • Page 25 PSPI Procedure: Connect the Smartbits tester to the KS8995MA with standard CAT-5 cables. Connect port 1 from the Smartbits to port 1 on the KS8995MA and port 2 on the Smartbits tester to port 2 on the KS8995MA, etc… Connect your computer to the KS8995MA evaluation board with a parallel port cable.
  • Page 26 Figure 8 Rate Limit Screen Open the Smartbits counter display to show rates for port 1 and port 2. Transmit packets from all ports so that the KS8995MA can learn addresses. Stop all transmission and clear the Smartbits counters. Transmit packets continuously from port 1 to port 2 at line rate. You should see packets transmitted from port 2 back to the Smarbits tester at about 99,971 packets/s.
  • Page 27: Port Mirroring

    At the MSDOS prompt type pspi to invoke the SPI software. With the Smartbits tester still transmitting packets to ports 1 and 2 on the KS8995MA, type: wr 2b 00 at the pspi prompt. This register setting will turn off the rate limiting on port 2.
  • Page 28 Make sure that the “ptmir.txt” file is in the same directory. This is the port mirroring script. At the command prompt type “95m ptmir.txt”. This will configure the KS8995MA for port mirroring and launch the graphical interface. The graphical interface should be...
  • Page 29: Reference Documents

    50,000 packets destined for port 3, and the 50,000 packets destined for port 4 were all mirrored on port 1. We can also take this a step further by having the KS8995MA mirror error packets to the “sniffer port” as well. This is useful for network management and debugging purposes.
  • Page 30 KS8995MA Evaluation Board User’s Guide 8.0 PCB Layout Guideline for ESD and EMI ESD and EMI (FCC) are basically the same problem for the system design. ESD is absorbing energy and EMI is emitting energy. If your PC board has low EMI, it is probably ESD proof as well.
  • Page 31 14. All unused inputs are connected to ground or power with a 1K resistor. 15. Place the RX and TX terminators (50 or 100 ohm resistors) close to the Micrel/Kendin Chip. 16. During FCC or ESD test, remove all unused headers pins, jumpers, test point pins etc.
  • Page 32: Bill Of Material

    KS8995MA Evaluation Board User’s Guide 9.0 Bill of Material This bill of material is for the KS8995MA Reference Board Schematic Revision 2.2 Item Quantity Reference Part C1,C2,C13,C18,C19 22uF C3,C4,C5,C6,C7,C8,C9,C10, 0.1UF C11,C12,C14,C15,C16,C20, C21,C22,C23,C32,C34,C35, C36,C37,C38,C40,C42,C43, C44,C45,C46,C50,C52,C53, C54,C56,C59,C61,C69,C70 C58,C24 10NF C25,C26 22PF C27,C28,C29,C30,C31...
  • Page 33 KS8995MA Evaluation Board User’s Guide 49.9 1% R50,R51,R52,R53,R54,R55,R56,R58, R59,R61,R62,R63,R64,R65, R67,R68,R70,R71,R72,R73 49.9 1% R78,R79,R80,R81,R82,R83, R84,R85,R86,R102,R103, R104,R105,R106,R107,R108, R109,R110,R111,R127,R128, R129,R130,R131,R132,R133, R134,R135 R142 SW PUSHBUTTON TP1,TP8,TP9,TP10,TP11,TP12,TP13,TP14, TP15, TP16, TP17, TP18, TP19,TP20 QUAD SINGLE 74F125 AT24C02 KS8995MA MIC 39150-1.8BT MIC 39100-3.3BS U6,U7,U8,U9,U10,U11,U12, U13,U14,U15 SR2.8 25MHz...
  • Page 34: Appendix A: Spi Commands

    KS8995MA Evaluation Board User’s Guide 10.0 Appendix A: SPI Commands Table 11 SPI Software Commands Parameters Descriptions Commands General Reg, Data Write “Data” to register “Reg”. Data Write “Data” to next register. The register pointer is set by the “wr“ command or use register 0 as default.
  • Page 35 (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...

Table of Contents