KSZ8864RMNI MICREL [Micrel Semiconductor], KSZ8864RMNI Datasheet - Page 43

no-image

KSZ8864RMNI

Manufacturer Part Number
KSZ8864RMNI
Description
Integrated 4-Port 10/100 Managed Switch with Two MACs MII or RMII Interfaces
Manufacturer
MICREL [Micrel Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
KSZ8864RMNI
Manufacturer:
MICREL
Quantity:
7 143
September 2011
To configure the KSZ8864RMN with a pre-configured EEPROM use the following steps:
1. At the board level, connect pin 56 on the KSZ8864RMN to the SCL pin on the EEPROM. Connect pin 57 on the
2. Set the input signals PS[1:0] (pins 59 and 60, respectively) to “00.” This puts the KSZ8864RMN serial bus
3. Be sure the board-level reset signal is connected to the KSZ8864RMN reset signal on pin 61 (RST_N).
4. Program the contents of the EEPROM before placing it on the board with the desired configuration data. Note
5. Place EEPROM on the board and power up the board. Assert the active-low board level reset to RST_N on the
SPI Slave Serial Bus Configuration
The KSZ8864RMN can also act as an SPI slave device. Through the SPI, the entire feature set can be enabled,
including “VLAN,” “IGMP snooping,” “MIB counters,” etc. The external master device can access any register from
Register 0 to Register 127 randomly. The system should configure all the desired settings before enabling the switch
in the KSZ8864RMN. To enable the switch, write a "1" to Register 1 bit 0.
Two standard SPI commands are supported (00000011 for “READ DATA,” and 00000010 for “WRITE DATA”). To
speed configuration time, the KSZ8864RMN also supports multiple reads or writes. After a byte is written to or read
from the KSZ8864RMN, the internal address counter automatically increments if the SPI Slave Select Signal
(SPIS_N) continues to be driven low. If SPIS_N is kept low after the first byte is read, the next byte at the next
address will be shifted out on SPIQ. If SPIS_N is kept low after the first byte is written, bits on the Master Out Slave
Input (SPID) line will be written to the next address. Asserting SPIS_N high terminates a read or write operation. This
means that the SPIS_N signal must be asserted high and then low again before issuing another command and
address. The address counter wraps back to zero once it reaches the highest address. Therefore the entire register
set can be written to or read from by issuing a single command and address.
The default SPI clock speed is 12.5MHz. The KSZ8864RMN is able to support a SPI bus up to 25MHz (set register
12 bit [5:4]=0x10). A high performance SPI master is recommended to prevent internal counter overflow.
KSZ8864RMN to the SDA pin on the EEPROM.
configuration into I
that the first byte in the EEPROM must be “95” and the register1 chip ID bit[7-4] = 0 for the loading to occur
properly. If this value is not correct, all other data will be ignored.
KSZ8864RMN. After the reset is de-asserted, the KSZ8864RMN will begin reading configuration data from the
EEPROM. The configuration access time (t
2
C master mode.
Figure 8. KSZ8864RMN EEPROM Configuration Timing Diagram
prgm
) is less than 30ms.
43
M9999-092011-1.4

Related parts for KSZ8864RMNI