KSZ8993M-EVAL Micrel Inc, KSZ8993M-EVAL Datasheet - Page 40

no-image

KSZ8993M-EVAL

Manufacturer Part Number
KSZ8993M-EVAL
Description
KSZ8993M Evaluation Board - For Experimental Use Only
Manufacturer
Micrel Inc
Datasheet

Specifications of KSZ8993M-EVAL

Lead Free Status / RoHS Status
Supplier Unconfirmed
2. Enable I
3. Check to ensure that the KSZ8993M reset signal input, RST_N (pin 67), is properly connected to the external
4. Program the desired configuration data into the EEPROM.
5. Place the EEPROM on the board and power up the board.
6. Assert an active-low reset to the RST_N pin of the KSZ8993M. After reset is de-asserted, the KSZ8993M will
Note: For proper operation, check to ensure that the KSZ8993M PWRDN input signal (pin 36) is not asserted
during the reset operation. The PWRDN input is active low.
I
In managed mode, the KSZ8993M can be configured as an I
(external controller/CPU) has complete programming access to the KSZ8993M’s 128 registers. Programming
access includes the Global Registers, Port Registers, Advanced Control Registers and indirect access to the
“Static MAC Table”, “VLAN Table”, “Dynamic MAC Table,” and “MIB Counters.” The tables and counters are
indirectly accessed via registers 110 thru 120.
In I
registers is similar to addressing Atmel’s AT24C02 EEPROM’s memory locations. Details of I
operations and related timing information can be found in the AT24C02 Datasheet.
Two fixed 8 bits device addresses are used to address the KSZ8993M in I
other is for write. The addresses are as follow:
The following is a sample procedure for programming the KSZ8993M using the I
1. Enable I
2. Power up the board and assert reset to the KSZ8993M. After reset, the “Start Switch” bit (register 1 bit 0) will
3. Configure the desired register settings in the KSZ8993M, using the I
4. Read back and verify the register settings in the KSZ8993M, using the I
5. Write a ‘1’ to the “Start Switch” bit to start the KSZ8993M with the programmed settings.
Note: The “Start Switch” bit cannot be set to ‘0’ to stop the switch after an ‘1’ is written to this bit. Thus, it is
recommended that all switch configuration settings are programmed before the “Start Switch” bit is set to ‘1’.
Some of the configuration settings, such as “Aging enable”, “Auto Negotiation Enable”, “Force Speed” and “Power
down” can be programmed after the switch has been started.
SPI Slave Serial Bus Configuration
In managed mode, the KSZ8993M can be configured as a SPI slave device. In this mode, a SPI master device
(external controller/CPU) has complete programming access to the KSZ8993M’s 128 registers. Programming
access includes the Global Registers, Port Registers, Advanced Control Registers and indirect access to the
“Static MAC Table”, “VLAN Table”, “Dynamic MAC Table” and “MIB Counters”. The tables and counters are
indirectly accessed via registers 110 thru 120.
The KSZ8993M supports two standard SPI commands: ‘0000_0011’ for data read and ‘0000_0010’ for data write.
SPI multiple read and multiple write are also supported by the KSZ8993M to expedite register read back and
register configuration, respectively.
2
Micrel, Inc.
October 2008
C Slave Serial Bus Configuration
2
“00”.
reset source at the board level.
begin reading the configuration data from the EEPROM. The KSZ8993M will check that the first byte read
from the EEPROM is “93”. If this value is correct, EEPROM configuration will continue. If not, EEPROM
configuration access is denied and all other data sent from the EEPROM will be ignored by the KSZ8993M.
The configuration access time (t
“01”.
be set to ‘0’.
C slave mode, the KSZ8993M operates like other I
2
2
C master mode by setting the KSZ8993M strap-in pins, PS[1:0] (pins 100 and 101, respectively) to
C slave mode by setting the KSZ8993M strap-in pins PS[1:0] (pins 100 and 101, respectively) to
1011_1111 <read>
1011_1110 <write>
prgm
) is less than 15ms.
40
2
C slave devices. Addressing the KSZ8993M’s 8 bit
2
C slave device. In this mode, an I
2
C write operation.
2
C read operation.
2
C slave mode. One is for read; the
2
C slave serial bus:
2
C master device
M9999-020606
KSZ8993M/ML
2
C read/write

Related parts for KSZ8993M-EVAL