24
2019 Microchip Technology Inc. DS00003335A-page 1 1.0 INTRODUCTION This document provides a hardware design checklist for the Microchip KSZ8895RQX10/100Base-T/TX 5-port switch with RMII™ interfaces. These checklist items should be followed when utilizing the KSZ8895RQX in a new design. A summary of these items is provided in Section 12.0, "Hardware Checklist Summary," on page 19. Detailed information on these subjects can be found in the corresponding sections: General Considerations on page 1 Power on page 2 Ethernet Signals on page 4 Clock Circuit on page 6 System Application on page 7 Digital Interface on page 9 Management Interface on page 14 Startup on page 15 Configuration Pins (Strapping Options) on page 16 Miscellaneous on page 17 2.0 GENERAL CONSIDERATIONS 2.1 Required References The KSZ8895RQX implementor should have the following documents on hand: KSZ8895MQX/RQX/FQX/ML Integrated 5-Port 10/100 Managed Switch Data Sheet KSZ8895/KSZ8864 Silicon Errata and Data Sheet Clarification KSZ8895MQX_RQX_DP_V1.3.zip for the KSZ8895 Design Package 2.2 Pin Check Check the pinout of the part against the data sheet. Ensure that all pins match the data sheet and are configured as inputs, outputs, or bidirectional for error checking. 2.3 Ground The ground pin, GND, should be connected to the digital ground, and the analog ground should be connected to the solid contiguous ground plane as system ground on the board. Separate digital ground and analog ground planes are not recommended. If using the magnetics and RJ45 connector, a chassis ground should be used for the line side of the magnetics and the metal case of the RJ45 connector. The system ground and the chassis ground should be tied together by a ferrite bead. The ferrite bead should be placed far away from the Ethernet device for better ESD and EMI. KSZ8895RQX Hardware Design Checklist

KSZ8895RQX Hardware Design Checklist

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 1

1.0 INTRODUCTIONThis document provides a hardware design checklist for the Microchip KSZ8895RQX10/100Base-T/TX 5-port switchwith RMII™ interfaces. These checklist items should be followed when utilizing the KSZ8895RQX in a new design. Asummary of these items is provided in Section 12.0, "Hardware Checklist Summary," on page 19. Detailed informationon these subjects can be found in the corresponding sections:• General Considerations on page 1• Power on page 2• Ethernet Signals on page 4• Clock Circuit on page 6• System Application on page 7• Digital Interface on page 9• Management Interface on page 14• Startup on page 15• Configuration Pins (Strapping Options) on page 16• Miscellaneous on page 17

2.0 GENERAL CONSIDERATIONS

2.1 Required ReferencesThe KSZ8895RQX implementor should have the following documents on hand:• KSZ8895MQX/RQX/FQX/ML Integrated 5-Port 10/100 Managed Switch Data Sheet• KSZ8895/KSZ8864 Silicon Errata and Data Sheet Clarification• KSZ8895MQX_RQX_DP_V1.3.zip for the KSZ8895 Design Package

2.2 Pin CheckCheck the pinout of the part against the data sheet. Ensure that all pins match the data sheet and are configured asinputs, outputs, or bidirectional for error checking.

2.3 Ground• The ground pin, GND, should be connected to the digital ground, and the analog ground should be connected to

the solid contiguous ground plane as system ground on the board. Separate digital ground and analog groundplanes are not recommended.

• If using the magnetics and RJ45 connector, a chassis ground should be used for the line side of the magneticsand the metal case of the RJ45 connector. The system ground and the chassis ground should be tied together bya ferrite bead. The ferrite bead should be placed far away from the Ethernet device for better ESD and EMI.

KSZ8895RQXHardware Design Checklist

Page 2: KSZ8895RQX Hardware Design Checklist

KSZ8895RQX

DS00003335A-page 2 2019 Microchip Technology Inc.

3.0 POWER• The analog supply (VDDAT) pins on the KSZ8895RQX are 9, 18, 24, and 37. It requires a connection to VDDAT

(created from +3.3V through a ferrite bead). Be sure to place bulk capacitance on each side of the ferrite bead.• VDDAT pins should have a 0.1 μF capacitor to decouple the device. The capacitor size should be SMD_0603 or

smaller.• The KSZ8895RQX VDDIO supports three VDDIO voltages—1.8V, 2.5V, and 3.3V. Pins 59, 77, and 100 (VDDIO)

should be connected to one of three VDDIO voltages based on real application.• For KSZ8895RQX 1.2V core power, there are two solutions. The first is using an internal 1.2V LDO controller with

an external MOSFET. The second is using an external 1.2V LDO.

a) The internal 1.2V LDO controller with external MOSFET is shown in Figure 3-1. The MOSFET pin S inFigure 3-1 should use 3.3V as input power. The KSZ8895RQX pin 126 should use a resistor divider with 2:1(pull-up:pull-down) resistor ratio. To control the internal 1.2V LDO controller correctly, it is recommended that4 kΩ pull-up and 2 kΩ pull-down resistor dividers be used. The trace from FET pin D to VDDAR should beas short as possible without a ferrite bead. Use a 47 μF capacitor on FET pin D for a 1.2V power rail. It ishighly suggested that a 100Ω resistor be placed between FET pin S and pin D. Except the previously men-tioned, all power rails and power pins should have 0.1 μF capacitors as the decouple capacitors. A ferritebead is necessary between analog 1.2V VDDAR and digital 1.2V VDDC.

b) The external 1.2V solution is shown in Figure 3-2.There is no MOSFET circuit, and an external 1.2V powersource is needed.

FIGURE 3-1: USING INTERNAL 1.2V LDO CONTROLLER

FB

125

VDDAT9,18,24,37

3,15,31

3.3V 1.2V

126VDDAR

VDDC50,89,117VDDIO

59,77,100

GN

DA

GN

DD

2,6,12,16,21,27,30,34,127 49,58,76,88,99,116

4K

2K

DS

G

100ohm

47uF

Page 3: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 3

KSZ8895RQX

FIGURE 3-2: USING EXTERNAL 1.2V LDO

FB

125

VDDAT9,18,24,37

3,15,31126VDDAR

VDDC50,89,117

VDDIO59,77,100

GN

DA

GN

DD

2,6,12,16,21,27,30,34,127 49,58,76,88,99,116

1K

1.2V

Page 4: KSZ8895RQX Hardware Design Checklist

KSZ8895RQX

DS00003335A-page 4 2019 Microchip Technology Inc.

4.0 ETHERNET SIGNALSThe KSZ8895RQX has five integrated PHYs that are fully compliant with IEEE 802.3u standard to support 10/100Base-T/TX Ethernet copper port.

4.1 KSZ8895RQX Copper Ports Connection• The KSZ8895RQX has five Ethernet copper ports. All ports are voltage drivers with internal DC biasing and on-

chip termination, so there are no external termination resistors and DC biasing power on the magnetics. Each portconnection between KSZ8895RQX and magnetics is illustrated in Figure 4-1.

• Both center taps, RX and TX, of the magnetics on the chip side should be separately connected to the groundwith two capacitors.

• In the Ethernet switch, the RX +/– differential pair should be connected to RJ45 connector pins 1 and 2 throughmagnetics.

• In the Ethernet switch, TX +/–differential pair should be connected to RJ45 connector pins 3 and 6 through mag-netics.

4.2 Other Ethernet Copper Ports• Other Ethernet ports on KSZ8895RQX are the same with Section 4.1, KSZ8895RQX Copper Ports Connection

and have similar schematic connection with Figure 4-1 on the chip side. • For unused Ethernet copper port, the user may leave the RX pair and TX pair floating because KSZ8895RQX

analog ports have internal termination for this on-chip termination device.

4.3 Magnetics Connection at the Chip Side• The center tap connection on the KSZ8895RQX side for the transmit channel should not be connected to VDDAT.

The transmit channel center tap of the magnetics should connect to system ground through Common-modecapacitor only. The Common-mode capacitor value can be from 0.1 μF to 10 μF.

• The center tap connection on the KSZ8895RQX side for the receive channel should not be connected to VDDAT.The receive channel center tap of the magnetics should connect to system ground through Common-mode capac-itor only. The Common-mode capacitor value can be from 0.1 μF to 10 μF.

• When using the KSZ8895RQX device in the HP Auto MDIX mode of operation, use a magnetics module with iden-tical TX and RX paths.

FIGURE 4-1: ONE ETHERNET PORT CONNECTION WITH MAGNETICS

GN

D Chassis_GND

TX-

RX+RX-

CMT

CMR TX+

RX+

RX-

TX+

TX-

RX

TX

KSZ8895

R3 75R3 75

C2

0.1uF

C2

0.1uF

R4 75R4 75

R1 75R1 75

C1

0.1uF

C1

0.1uF

T1Magnetics T1Magnetics

1

2

3

6

8

7

16

15

14

11

10

9

FB1

FBEAD

FB1

FBEAD

12

C3

1000pF / 2kV

C3

1000pF / 2kV

R2 75R2 75

RJ-45 JackRJ-45 Jack

87654321

TH

1T

H2

Page 5: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 5

KSZ8895RQX4.4 Magnetics Connection at Line Side of RJ45 Connector• In the Switch design, the pin 1 of the RJ45 should be connected to RX+ of the KSZ8895RQX. The pin 2 of the

RJ45 should be connected to RX– of the KSZ8895RQX.• In the Switch design, the pin 3 of the RJ45 should be connected to TX+ of the KSZ8895RQX. The pin 6 of the

RJ45 should be connected to TX– of the KSZ8895RQX.• The center tap connection on the cable side (RJ45 side) for the transmit channel should be terminated with a 75Ω

resistor through a 1000 pF, 2 KV capacitor to chassis ground.• The center tap connection on the cable side (RJ45 side) for the receive channel should be terminated with a 75Ω

resistor through a 1000 pF, 2 KV capacitor to chassis ground.• The RJ45 pins 4 and 5 should be shorted and then terminated with a 75Ω resistor through the 1000 pF to the

chassis ground.• The RJ45 pins 7 and 8 should be shorted and then terminated with a 75Ω resistor through the 1000 pF to the

chassis ground.• Only one 1000 pF, 2 KV capacitor to chassis ground is required. It is shared by both TX and RX center taps.• The RJ45 connector shield should be tied directly to the chassis ground.

4.5 Alternative Termination Selection for RJ45 Connector• Pins 4 and 5 of the RJ45 connector interface to one pair of unused wires in CAT-5 type cables. These should be

terminated to chassis ground through a 1000 pF, 2 KV capacitor. There are two methods for accomplishing this:a) Pins 4 and 5 can be connected with two 49.9Ω resistors. The common connection of these resistors should

be linked through a third 49.9Ω resistor to the 1000 pF, 2 KV capacitor.b) For a lower component count, the resistors can be combined. The two 49.9Ω resistors in parallel perform

like a 25Ω resistor. The 25Ω resistor in series with the 49.9Ω resistor causes the entire circuit to function asa 75Ω resistor. An equivalent circuit is created by shorting pins 4 and 5 together on the RJ45 and terminatingthem with a 75Ω resistor in series with the 1000 pF, 2 KV capacitor to chassis ground.

• Pins 7 and 8 of the RJ45 connector interface to one pair of unused wires in CAT-5 type cables. These should beterminated to chassis ground through a 1000 pF, 2 KV capacitor. There are two methods for accomplishing this:

a) Pins 7 and 8 can be connected together with two 49.9Ω resistors. The common connection of these resistorsshould be linked through a third 49.9Ω resistor to the 1000 pF, 2 KV capacitor.

b) For a lower component count, the resistors can be combined. The two 49.9Ω resistors in parallel performlike a 25Ω resistor. The 25Ω resistor in series with the 49.9Ω resistor causes the entire circuit to function asa 75Ω resistor. An equivalent circuit is created by shorting pins 7 and 8 together on the RJ45 and terminatingthem with a 75Ω resistor in series with the 1000 pF, 2 KV capacitor to chassis ground.

• The RJ45 connector shield should be attached directly to chassis ground.

4.6 Using RJ45 with Integrated LED• The user can utilize the RJ45 connector with integrated LED components if the product working environment is

not very noisy.• If the designed product works inside an electrically noisy outside environment, it is not recommended to use RJ45

with integrated LED. This is because the outside interference signal or voltage is coupled to the LED circuitthrough the line side of RJ45 due to the LED circuit directly connected to chip and system power/ground. It is bet-ter to use independent LED components.

• If the user needs to utilize the RJ45 with an integrated LED circuit in a noisy environment, consider adding TVSdiodes to protect the chip.

Page 6: KSZ8895RQX Hardware Design Checklist

KSZ8895RQX

DS00003335A-page 6 2019 Microchip Technology Inc.

5.0 CLOCK CIRCUIT

5.1 Crystal and External Oscillator/Clock Connections• X1 (pin 121) is the clock circuit input for the KSZ8895RQX device. This pin requires a capacitor to ground when a

crystal is used. One side of the crystal connects to this pin.• X2 (pin 122) is the clock circuit output for the KSZ8895RQX device. This pin requires a capacitor to ground when

a crystal is used. One side of the crystal connects to this pin.• Since every system design is unique, the capacitor values are system dependent based on the CL specifications

of the crystal and the stray capacitance value. Refer to the crystal data sheet for the CL required. The PCB design,crystal, and layout all contribute to the characteristics of this circuit.

• Alternatively, a 25.000 MHz clock oscillator may be used to provide the clock source for the KSZ8895RQX. Whenusing a single-ended clock source, X1 (pin 121) connects to a 3.3V-tolerant oscillator. X2 (pin 122) should be leftfloating as No Connect (NC). See Figure 5-1.

FIGURE 5-1: CRYSTAL OR OSCILLATOR CONNECTIONS FOR KSZ8895RQX

KSZ8895

X1

X2

25MHz

<= +/-50ppmOscillator

KSZ8895

X2

C1

C2

<= +/-50ppm25MHz Crystal

X1

Page 7: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 7

KSZ8895RQX6.0 SYSTEM APPLICATIONThe KSZ8895RQX applications can be divided into the following three categories:

6.1 Design for a Standalone Five-Port Switch• Set strap-in pin# [91, 86, 87] = '100' to keep their default values for a standalone five-port switch.• Based on real application, select with or without EEPROM for an unmanaged five-port switch. See Figure 6-1.

6.2 Design for Managed Switch using only Port 5 MAC 5 RMII™ • The strap-in pin# [91, 86, 87] should be configured to '001' or '010' for MAC 5 RMII™ PHY mode to SoC.• Use SPI interface that can access all registers for a managed switch. See Figure 6-2.

FIGURE 6-1: UNMANAGED STANDALONE SWITCH

FIGURE 6-2: DIAGRAM EXAMPLE FOR A ROUTER

Page 8: KSZ8895RQX Hardware Design Checklist

KSZ8895RQX

DS00003335A-page 8 2019 Microchip Technology Inc.

6.3 Design for Managed Switch using only Port 5 MAC 5 RMII™ and PHY 5 RMII • The Strap-in pin# [91, 86, 87] should be configured to '101' or '110' for MAC 5 RMII™ to SoC MAC. In addition,

enable PHY 5 RMII interface to SoC second MAC.• Use SPI interface that can access all registers for a managed switch. See Figure 6-3.

FIGURE 6-3: DIAGRAM EXAMPLE FOR A GATEWAY

Page 9: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 9

KSZ8895RQX7.0 DIGITAL INTERFACE

7.1 Port 5 MAC 5/PHY 5 Configuration• The Port 5 MAC 5/PHY 5 RMII™ configuration is based on the trap-in pins [91, 86, 87] for a real application. See

Table 7-1.

7.2 Port 5 MAC 5 RMII™ InterfaceMAC 5 RMII™ provides a common interface between two devices with RMII interface and has the following key char-acteristics:• Sets 10 Mbps and 100 Mbps data rates for KSZ8895RQX RMII through register 0x06 bit 4. The default is 100

Mbps.• Sets Half-Duplex mode and Full-Duplex mode for KSZ8895RQX RMII through register 0x06 bit 6. The default is

Full-Duplex mode. • The processor MAC RMII should be set to the same the speed and duplex with port 5 MAC 5 RMII in the system

configuration. In MAC RMII to MAC RMII connection case, the speed and the duplex consistence must be set forboth sides.

• Since the port 5 MAC 5 RMII does not produce any error, there is no SMRXER pin from MAC 5 RMII. Therefore,the corresponding input pin can be pulled down by a pull-down resistors when two MAC RMII interfaces connec-tion.

• Contains two distinct groups of signals: one for transmission and one for reception.

7.3 Port 5 MAC5 RMII™ Clock Mode• The KSZ8895RQX Port 5 MAC 5 is set to RMII™ Clock mode by LED2-2 strap pin pull-up (default).• Another side is an MCU MAC with RMII Normal mode or an external PHY with RMII Normal mode. The connec-

TABLE 7-1: PORT 5 MAC 5/PHY 5 CONFIGURATIONPin Numbers 91, 86, and 87 Port 5 Switch MAC 5 SW5- RMII™ Port 5 PHY 5 P5- RMII

000 Disable, Otri Disable, Otri 001 SW5- RMII Disable, Otri 010 SW5- RMII Disable, Otri 100

(Default for standalone five-port Switch) Disable (default) Disable (default)

101 SW5- RMII P5- RMII110 SW5- RMII P5- RMII

Page 10: KSZ8895RQX Hardware Design Checklist

KSZ8895RQX

DS00003335A-page 10 2019 Microchip Technology Inc.

tions are shown in Figure 7-1 and Figure 7-2.

7.4 Port 5 MAC 5 RMII™ Normal Mode• The KSZ8895RQX Port 5 MAC 5 is set to RMII™ Normal mode by LED2-2 strap pin pull-down by a pull-down

resistor. In Port 5 MAC5 RMII Normal mode, the KSZ8895RQX's clock source comes from SMTXC pin, so it elim-

FIGURE 7-1: CONNECTION BETWEEN KSZ8895RQX PORT 5 RMII™ CLOCK MODE AND MCU RMII NORMAL MODE

FIGURE 7-2: CONNECTION BETWEEN KSZ8895RQX PORT 5 RMII™ CLOCK MODE AND EXTERNAL PHY RMII NORMAL MODE

KSZ8895RQXPort 5 MAC5 RMII

Clock Mode

Micro Processor MAC RMII Normal

Mode

SMRXDV

SMTXC

SMRXD[1:0]

SMRXC/REFCLK

MRXDV

MRXD[1:0]

MRXC/REFCLK

SMTXD[1:0] MTXD[1:0]

SMTXEN MTXEN

SMTXER MRXER

25MHz

XI

KSZ8895RQXPort 5 MAC5 RMII

Clock Mode

External PHY RMII Normal Mode

SMRXDV

SMTXC

SMRXD[1:0]

SMRXC/REFCLK

MTXEN

MTXD[1:0]

MRXC/REFCLK

SMTXD[1:0] MRXD[1:0]

SMTXEN MRXDV

SMTXER MRXER

25MHz

XI

Page 11: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 11

KSZ8895RQXinates the need for the 25 MHz crystal/oscillator.

• Another side is an MCU MAC with RMII Clock mode or an external PHY with RMII clock mode, the connectionsare shown in Figure 7-3 and Figure 7-4.

FIGURE 7-3: CONNECTION BETWEEN KSZ8895RQX PORT 5 RMII™ NORMAL MODE AND MCU RMII CLOCK MODE

FIGURE 7-4: CONNECTION BETWEEN KSZ8895RQX PORT 5 RMII™ NORMAL MODE AND EXTERNAL PHY RMII CLOCK MODE

KSZ8895RQXPort 5 MAC5 RMII

Normal Mode

Micro Processor MAC RMII Clock

Mode

SMRXDV

SMTXC

SMRXD[1:0]

SMRXC/REFCLK

MRXDV

MRXD[1:0]

MRXC/REFCLK

SMTXD[1:0] MTXD[1:0]

SMTXEN MTXEN

SMTXER MRXER

XI

KSZ8895RQXPort 5 MAC5 RMII

Normal Mode

External PHY RMII Clock Mode

SMRXDV

SMTXC

SMRXD[1:0]

SMRXC/REFCLK

MTXEN

MTXD[1:0]

MRXC/REFCLK

SMTXD[1:0] MRXD[1:0]

SMTXEN MRXDV

SMTXER MRXER

XI

Page 12: KSZ8895RQX Hardware Design Checklist

KSZ8895RQX

DS00003335A-page 12 2019 Microchip Technology Inc.

7.5 Port 5 PHY 5 RMII™ Interface• The RMII™ provided by the KSZ8895RQX is connected to the device's Port 5 PHY 5. Table 7-2 describes the sig-

nals used by the RMII bus illustrated in Figure 7-5.

7.6 Port 5 PHY5 RMII™ Clock Mode• The KSZ8895RQX Port 5 PHY5 is RMII™ Clock mode as default and PHY5 RMII does not support RMII Normal

mode.• Another side is an MCU MAC with RMII Normal mode, the connections are shown in Figure 7-5.

TABLE 7-2: PORT 5 PHY 5 RMII™ SIGNALS CONNECTIONMAC RMII™

Signal Description KSZ8895RQX PHY 5-RMII KSZ8895RQX RMII Signal Type

MTXEN Transmit enable PMTXEN Input

MTXER Transmit error — —

MTXD1 Transmit data bit 1 PMTXD [1] Input

MTXD0 Transmit data bit 0 PMTXD [0] Input

MTXC Transmit clock PMTXC Input

MRXDV Receive data valid PMRXDV Output

MRXER Receive error PMRXER Output

MRXD1 Receive data bit 1 PMRXD [1] Output

MRXD0 Receive data bit 0 PMRXD [0] Output

MRXC RMII Reference clock PMRXC/REFCLK Output

FIGURE 7-5: CONNECTION BETWEEN KSZ8895 PORT 5 PHY 5 RMII AND EXTERNAL MAC RMII

KSZ8895RQXPort 5 PHY5 RMII

Clock Mode

Micro ProcessorMAC RMII Normal

Mode

PMRXDV

PMTXC

PMRXD[1:0]

PMRXC/REFCLK

MRXDV

MRXD[1:0]

MRXC/REFCLK

PMTXD[1:0] MTXD[1:0]

PMTXEN MTXEN

PMRXER MRXER

25MHz

XI

If Port5 MAC5 is RMII Normal Mode, the XI pin can be floating

Page 13: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 13

KSZ8895RQX7.7 RMII™ Interface Series Terminations• Provisions should be made for series terminations for all outputs on the RMII™ interface. Series resistors will

enable the designer to closely match the output driver impedance of the KSZ8895RQX and PCB trace impedanceto minimize ringing on these signals. Exact resistor values are application dependent and must be analyzed in-system. A suggested starting point for the value of these series resistors would be 22Ω. See Table 7-3.

TABLE 7-3: RMII™ SERIES TERMINATIONS FOR BOTH KSZ8895RQX AND THE OTHER END

Signals for both MAC5 RMII™ and PHY5 RMII

Series Resistors at KSZ8895RQX RMII Drive Pins

Series Resistors at the other end RMII Drive Pins

SMRXD [1:0] / PMRXD [1:0] 22Ω

SMRXDV/PMRXDV 22ΩSMRXC/PMRXC 22Ω in KSZ8895RQX RMII Clock

modeSMTXC 22Ω in KSZ8895RQX Normal modeSMTXEN/PMTXENSMTXD [1:0]/PMTXD [1:0]Note 1: The series resistors should be placed as close as possible to both KSZ8895RQX RMII drive pins and the

other end drive pins in PCB layout.2: The Port 5 MAC RMII (SM pins) and PHY RMII (PM) interfaces are not used and should be unconnected.

Page 14: KSZ8895RQX Hardware Design Checklist

KSZ8895RQX

DS00003335A-page 14 2019 Microchip Technology Inc.

8.0 MANAGEMENT INTERFACE

8.1 Configuration for Management Interface Mode• The strap pin 113 PS1 and pin 114 PS0 are used to configure to the different Management Interface modes. Both

pins of PS [1:0] have internal pull-down resistors.• If the EEPROM is not present, the KSZ8895RQX will start itself with the PS [1:0] = 00 default register values. See

Table 8-1.

• KSZ8895RQX has an independent MIIM PHYs register interface MDC/MDIO.• Select one Interface mode of I2C, SMI, SPI, or MDC/MDIO based on real application in the design.

8.2 Required External Pull-Ups• When using the MDC/MDIO, SMI, I2C, or SPI management interface of the KSZ8895RQX, the pull-up resistors of

4.7 kΩ on the MDIO, SPIQ, and SDA signal pins are required.• INTR_N (pin 48) requires a 4.7 kΩ external pull-up resistor because this output is an open-drain type.

TABLE 8-1: REGISTER CONFIGURATION INTERFACE MODESPin Configuration Serial Bus Configuration

PS [1:0] = 00 (Default) I2C Master mode for EEPROMPS [1:0] = 01 SMI Interface modePS [1:0] = 10 SPI Slave mode for CPU InterfacePS [1:0] = 11 Factory Test mode (BIST)

Page 15: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 15

KSZ8895RQX9.0 STARTUP

9.1 Reset Circuit• The RST_N (pin 47) is an active-low reset input. This signal resets all logic and registers within the KSZ8895RQX.

A hardware reset (RST_N assertion) is required following power-up. Please refer to the latest copy of theKSZ8895RQX Data Sheet for reset timing requirements. Figure 9-1 shows a recommended reset circuit for pow-ering up the KSZ8895RQX device when reset is triggered by the power supply.

• Reset circuit interface with CPU/FPGA reset output pin shows the recommended reset circuit for applicationswhere reset is driven by external CPU or FPGA. The reset-out pin, RST_OUT_N, from CPU/FPGA provides warmreset after a power-up reset is done. If the Ethernet device and CPU/FPGA use the same VDDIO voltage, D2 canbe removed and both reset pins can be connected directly. See Figure 9-2.

FIGURE 9-1: R/C RESET CIRCUIT FOR KSZ8895RQX POWER-UP RESET

FIGURE 9-2: RESET CIRCUIT INTERFACE WITH CPU/FPGA RESET OUTPUT

KSZ8895

VDDIO

D1

D1: 1N4148

R 10K

C 10uF

RST#

KSZ8895 CPU/FPGA

VDDIO

C 10uF

R 10K

RST_OUT_n

D1

D2

D1: 1N4148

RST#

Page 16: KSZ8895RQX Hardware Design Checklist

KSZ8895RQX

DS00003335A-page 16 2019 Microchip Technology Inc.

10.0 CONFIGURATION PINS (STRAPPING OPTIONS)There are some strap-in pins to help with the KSZ8895RQX configuration after power-up or hardware reset. TheKSZ8895RQX Data Sheet has complete details on the operation of strapping pins. The LED strap pin and other require-ments are shown in the succeeding sections.

10.1 LED Pins as Strap-in PinsSince LED pins have internal pull-up resistors in KSZ8895RQX, LED pin does not typically need an external pull-upresistor for LED pin to be used for the Strap-high. However, LED Strap-low needs an external pull-down resistor R. SeeLED pin strap-in circuit in Figure 10-1.

Based on the different VDDIO values in the experiment and testing, use the following recommended pull-down resistorR and current limit resistor RLED values: • When using 3.3V VDDIO power, use 1 kΩ current limit resistor RLED and a 1 kΩ pull-down resistor R to meet VIL

specifications.• When using 2.5V VDDIO power, use 1 kΩ current limit resistor RLED and 0.75 kΩ pull-down resistor R to meet VIL

specifications.• When using 1.8V VDDIO power, use 1 kΩ current limit resistor RLED and 0.5 kΩ pull-down resistor R to meet VIL

specifications.

10.2 General Strap-In Pins• Except for LED strap-in pins, the recommended pull-up and pull-down resistors values for strap pins are 4.7 kΩ

and 1 kΩ, respectively. Users are highly discouraged from directly executing a pull-up to power and pull-down to ground without pull-up and pull-down resistors.

FIGURE 10-1: LED PIN STRAP-LOW WITH PULL-DOWN RESISTOR R AND LED LIMIT RESISTOR RLED

Page 17: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 17

KSZ8895RQX11.0 MISCELLANEOUS

11.1 ISET Resistor• ISET (pin 17) on the KSZ8895RQX should connect to the system ground through a 12.4 kΩ resistor with a toler-

ance of 1%. This ISET pin is used to set-up critical bias currents for the embedded 10/100 Ethernet physical devices.

11.2 Other Considerations• Incorporate an SMD ferrite bead footprint to connect the chassis ground to the system ground. This allows some

flexibility at EMI testing for different grounding options if leaving the footprint open keeps the two grounds sepa-rated. For best performance, short the grounds together with a cap or a ferrite bead. Users are required to place the capacitor/ferrite bead far from KSZ8895RQX device in PCB layout placement for better ESD.

• Make sure that enough bulk capacitors (4.7 µF to 22 µF) are incorporated in each power rail.

Page 18: KSZ8895RQX Hardware Design Checklist

KSZ8895RQX

DS00003335A-page 18 2019 Microchip Technology Inc.

NOTES:

Page 19: KSZ8895RQX Hardware Design Checklist

2019 M

icrochip Technology Inc.D

S00003335A-page 19

KSZ8895R

QX

12.0 HARDWARE CHECKLIST SUMMARY

TABLE 12-1: HARDWARE DESIGN CHECKLISTSection Check Explanation √ Notes

Section 2.0, "General Consider-ations"

Section 2.1, "Required References" All necessary documents are on hand.

Section 2.2, "Pin Check" The pins match the data sheet.

Section 2.3, "Ground" Verify if the digital ground and the analog ground are tied together. Check if there is a chassis ground for the line-side ground.

Section 3.0, "Power" Section 3.0, "Power" • Ensure that VDDA_3.3 and VDDIO_3.3 are within 3.135V to 3.465V. VDDIO is for the strap pull-up and interface. Capacitors in 10 µF to 47 µF values are for each power rail, while 0.1 µF capacitors are attached to each power pin and power rail.

• If using 1.2V LDO controller + MOSFET solution, check pin 126 to see if there is a resistor divider with 2:1 ratio. There is a 47 µF capacitor on 1.2V power rail. If using external 1.2V LDO, verify if there is a pull-down resistor on pin 126.

Section 4.0, "Ethernet Signals" Section 4.1, "KSZ8895RQX Copper Ports Con-nection"

Verify if there is no 49.9Ω termination resistors on TX and RX pairs.

Section 4.2, "Other Ethernet Copper Ports" Verify if there is no 49.9Ω termination resistors on TX and RX pairs.

Section 4.3, "Magnetics Connection at the Chip Side"

Verify if the center taps of the magnetics on the KSZ8895RQX chip side are NOT connected to the VDDAT 3.3V analog power as KSZ8895RQX is an inter-nal biasing device. The center taps of the magnetics on the chip side should also have two 0.1 µF capacitors to ground individually.

Section 4.4, "Magnetics Connection at Line Side of RJ45 Connector"

Verify if the line side of the magnetics has two 75Ω resistors through a 1000 pF, 2 KV capacitor connected to chassis ground that is also linked to the metal case of the RJ45 for the line side.

Section 4.5, "Alternative Termination Selection for RJ45 Connector"

Verify if pins 4/5 and 7/8 of the RJ45 connect to CAT-5 cable and are terminated to chassis ground through a 1000 pF, 2 KV capacitor.

Section 4.6, "Using RJ45 with Integrated LED" Use RJ45 with integrated LED if the product working environment is not very noisy. Otherwise, use an independent LED solution.

Section 5.0, "Clock Circuit" Section 5.1, "Crystal and External Oscillator/Clock Connections"

Verify the usage of 25 MHz max. ±50 ppm crystal. The drive level should be about 100 µW or above (preferably higher). If using 25 MHz oscillator with max-imum ±50 ppm, it is better to use 3.3V power for the oscillator power and use 3.3V VDDAT for the oscillator.

Section 6.0, "System Applica-tion"

Section 6.1, "Design for a Standalone Five-Port Switch"

Verify if your design is for a standalone 5-port switch. Check the strap pins PS[1:0] ='00 default. Pins 91, 86, and 87 are default, too.

Section 6.2, "Design for Managed Switch using only Port 5 MAC 5 RMII™"

Verify if your design is using Port 5 MAC 5 RMII™ interface only. If yes, check the pin 91,86, and 87 strap pin configurations based on MAC mode or PHY mode that corresponds to the other end.

Section 6.3, "Design for Managed Switch using only Port 5 MAC 5 RMII™ and PHY 5 RMII"

Verify if your design is using both Port 5 MAC 5 and PHY 5 RMII interfaces. If yes, check the pin 91,86, and 87 strap pin configurations based on MAC 5 RMII MAC mode or PHY mode that corresponds to the other end.

Page 20: KSZ8895RQX Hardware Design Checklist

KSZ8895R

QX

DS

00003335A-page 20

2019 Microchip Technology Inc.

Section 7.0, "Digital Interface" Section 7.1, "Port 5 MAC 5/PHY 5 Configura-tion"

Based on your system design, set strap pin [91,86,87] configurations correctly.

Section 7.2, "Port 5 MAC 5 RMII™ Interface" If Port 5 MAC 5 RMII connect to MCU MAC RMII, implementors need to know if MCU RMII will be used in 100/Full-Duplex mode. If not, SPI, SMI, or I2C is needed in the design to configure register for Port 5 MAC5 RMII speed or duplex consistency with MCU MAC RMII between MAC RMII and MAC RMII mode.

Section 7.3, "Port 5 MAC5 RMII™ Clock Mode" Refer to Figure 7-1 and Figure 7-2 to check the Port 5 MAC 5 RMII Clock mode connection with the MCU RMII or external PHY RMII Normal mode. Verify if the RMII connection is correct.

Section 7.4, "Port 5 MAC 5 RMII™ Normal Mode"

Refer to Figure 7-3and Figure 7-4 to check the Port 5 MAC 5 RMII Normal mode connection with the MCU RMII or external PHY RMII Clock mode. Check if the RMII connection is correct.

Section 7.5, "Port 5 PHY 5 RMII™ Interface" Refer Figure 7-3 to verify Port 5 PHY 5 RMII interface signals connections cor-rectly for the output-to-input pin type.

Section 7.6, "Port 5 PHY5 RMII™ Clock Mode" Refer to Figure 7-5 to check the port 5 PHY5 RMII Clock mode connection with the MCU MAC RMII Normal mode. Check if the RMII connection is correct.

Section 7.7, "RMII™ Interface Series Termina-tions"

If the trace routing is more than 1 inch in the PCB layout, verify if 22Ω series ter-mination resistors were added to all driver pins on RMII interface and are placed to close all driver pins.

Section 8.0, "Management Interface"

Section 8.1, "Configuration for Management Interface Mode"

Check the strap pins PS [1:0] to verify if they match with the Series Manage-ment Interface mode in the design.

Section 8.2, "Required External Pull-Ups" Check if there is a pull-up resistor for the data line of the management interface and the interrupt pin if they are used.Use 4.7 kΩ as a pull-up resistor.

Section 9.0, "Startup" Section 9.1, "Reset Circuit" Verify if R/C reset circuit is used for a power-up reset. A 10 kΩ resistor and a 10uF capacitor are recommended. For the cost-down, the D1 Figure 9-1 andFigure 9-2 can be ignored because RST_N pin has an internal protection diode.For a warm reset from CPU/FPGA to KSZ8895RQX, D2 can be removed fromFigure 9-1 and Figure 9-2 if KSZ8895RQX and CPU/FPGA are using sameVDDIO voltage.

Section 10.0, "Configuration Pins (Strapping Options)"

Section 10.1, "LED Pins as Strap-in Pins" If using an LED pin to do a strap-in for the different VDDIO design, please follow the specified recommended resistor value for the pull-down resistors and the current limit resistor to meet VIL specifications. If LED strap pin for pull-up is necessary, there is no need for an external pull-up resistor because KSZ8895RQX LED pins have internal pull-up as default.

Section 10.2, "General Strap-In Pins" It is generally recommended to use 4.7 kΩ pull-up and 1 kΩ pull-down resistor. Avoid pulling up/down to power/ground directly. If not specified, NC pin should have no connection.

Section 11.0, "Miscellaneous" Section 11.1, "ISET Resistor" Check ISET resistor (12.4 kΩ, 1%) without any capacitor in parallel.

Section 11.2, "Other Considerations" Incorporate an SMD footprint (SMD_0805-1210) to connect the chassis ground to the system ground. The SMD footprint should be placed far from the devices in PCB layout placement.

Incorporate sufficient power plane bulk capacitors (4.7 µF to 22 µF) for each power rail. It is advisable to use 47 µF bulk capacitor on 1.2V power rail when using the internal 1.2V LDO controller + MOSFET solution.

TABLE 12-1: HARDWARE DESIGN CHECKLIST (CONTINUED)Section Check Explanation √ Notes

Page 21: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 21

KSZ8895RQX

APPENDIX A: REVISION HISTORY

TABLE A-1: REVISION HISTORYRevision Level & Date Section/Figure/Entry Correction

DS00003335A(12-20-19)

Initial release

Page 22: KSZ8895RQX Hardware Design Checklist

KSZ8895RQX

DS00003335A-page 22 2019 Microchip Technology Inc.

THE MICROCHIP WEBSITEMicrochip provides online support via our WWW site at www.microchip.com. This website is used as a means to makefiles and information easily available to customers. Accessible by using your favorite Internet browser, the websitecontains the following information:• Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s

guides and hardware support documents, latest software releases and archived software• General Technical Support – Frequently Asked Questions (FAQ), technical support requests, online discussion

groups, Microchip consultant program member listing• Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of

seminars and events, listings of Microchip sales offices, distributors and factory representatives

CUSTOMER CHANGE NOTIFICATION SERVICEMicrochip’s customer notification service helps keep customers current on Microchip products. Subscribers will receivee-mail notification whenever there are changes, updates, revisions or errata related to a specified product family ordevelopment tool of interest.To register, access the Microchip website at www.microchip.com. Under “Support”, click on “Customer Change Notifi-cation” and follow the registration instructions.

CUSTOMER SUPPORTUsers of Microchip products can receive assistance through several channels:• Distributor or Representative• Local Sales Office• Field Application Engineer (FAE)• Technical SupportCustomers should contact their distributor, representative or Field Application Engineer (FAE) for support. Local salesoffices are also available to help customers. A listing of sales offices and locations is included in the back of thisdocument.Technical support is available through the website at: http://microchip.com/support

Page 23: KSZ8895RQX Hardware Design Checklist

2019 Microchip Technology Inc. DS00003335A-page 23

Information contained in this publication regarding device applications and the like is provided only for your convenience and may besuperseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NOREPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE,MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Micro-chip devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and holdharmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly orotherwise, under any Microchip intellectual property rights unless otherwise stated.

TrademarksThe Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, chipKIT, chipKIT logo,CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch,MediaLB, megaAVR, Microsemi, Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer, PackeTime, PIC, picoPower, PICSTART, PIC32 logo,PolarFire, Prochip Designer, QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon,TempTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. andother countries.

APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, FlashTec, Hyper Speed Control, HyperLight Load, IntelliMOS, Libero,motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet-Wire, SmartFusion, SyncWorld, Temux,TimeCesium, TimeHub, TimePictra, TimeProvider, Vite, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in theU.S.A.

Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BlueSky, BodyCom, CodeGuard,CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM,ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, INICnet, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, memBrain,Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net,PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher,SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks ofMicrochip Technology Incorporated in the U.S.A. and other countries.

SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of Microchip Technology Inc. inother countries.GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in othercountries.

All other trademarks mentioned herein are property of their respective companies.

© 2019, Microchip Technology Incorporated, All Rights Reserved.

ISBN: 978-1-5224-5453-3

Note the following details of the code protection feature on Microchip devices:• Microchip products meet the specification contained in their particular Microchip Data Sheet.

• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions.

• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property.

• Microchip is willing to work with the customer who is concerned about the integrity of their code.

• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”

Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of ourproducts. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such actsallow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.

For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality.

Page 24: KSZ8895RQX Hardware Design Checklist

DS00003335A-page 24 2019 Microchip Technology Inc.

AMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 480-792-7277Technical Support: http://www.microchip.com/supportWeb Address: www.microchip.comAtlantaDuluth, GA Tel: 678-957-9614 Fax: 678-957-1455Austin, TXTel: 512-257-3370 BostonWestborough, MA Tel: 774-760-0087 Fax: 774-760-0088ChicagoItasca, IL Tel: 630-285-0071 Fax: 630-285-0075DallasAddison, TX Tel: 972-818-7423 Fax: 972-818-2924DetroitNovi, MI Tel: 248-848-4000Houston, TX Tel: 281-894-5983IndianapolisNoblesville, IN Tel: 317-773-8323Fax: 317-773-5453Tel: 317-536-2380Los AngelesMission Viejo, CA Tel: 949-462-9523Fax: 949-462-9608Tel: 951-273-7800 Raleigh, NC Tel: 919-844-7510New York, NY Tel: 631-435-6000San Jose, CA Tel: 408-735-9110Tel: 408-436-4270Canada - TorontoTel: 905-695-1980 Fax: 905-695-2078

ASIA/PACIFICAustralia - SydneyTel: 61-2-9868-6733China - BeijingTel: 86-10-8569-7000 China - ChengduTel: 86-28-8665-5511China - ChongqingTel: 86-23-8980-9588China - DongguanTel: 86-769-8702-9880 China - GuangzhouTel: 86-20-8755-8029 China - HangzhouTel: 86-571-8792-8115 China - Hong Kong SARTel: 852-2943-5100 China - NanjingTel: 86-25-8473-2460China - QingdaoTel: 86-532-8502-7355China - ShanghaiTel: 86-21-3326-8000 China - ShenyangTel: 86-24-2334-2829China - ShenzhenTel: 86-755-8864-2200 China - SuzhouTel: 86-186-6233-1526 China - WuhanTel: 86-27-5980-5300China - XianTel: 86-29-8833-7252China - XiamenTel: 86-592-2388138 China - ZhuhaiTel: 86-756-3210040

ASIA/PACIFICIndia - BangaloreTel: 91-80-3090-4444 India - New DelhiTel: 91-11-4160-8631India - PuneTel: 91-20-4121-0141Japan - OsakaTel: 81-6-6152-7160 Japan - TokyoTel: 81-3-6880- 3770 Korea - DaeguTel: 82-53-744-4301Korea - SeoulTel: 82-2-554-7200Malaysia - Kuala LumpurTel: 60-3-7651-7906Malaysia - PenangTel: 60-4-227-8870Philippines - ManilaTel: 63-2-634-9065SingaporeTel: 65-6334-8870Taiwan - Hsin ChuTel: 886-3-577-8366Taiwan - KaohsiungTel: 886-7-213-7830Taiwan - TaipeiTel: 886-2-2508-8600 Thailand - BangkokTel: 66-2-694-1351Vietnam - Ho Chi MinhTel: 84-28-5448-2100

EUROPEAustria - WelsTel: 43-7242-2244-39Fax: 43-7242-2244-393Denmark - CopenhagenTel: 45-4450-2828 Fax: 45-4485-2829Finland - EspooTel: 358-9-4520-820France - ParisTel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany - GarchingTel: 49-8931-9700Germany - HaanTel: 49-2129-3766400Germany - HeilbronnTel: 49-7131-72400Germany - KarlsruheTel: 49-721-625370Germany - MunichTel: 49-89-627-144-0 Fax: 49-89-627-144-44Germany - RosenheimTel: 49-8031-354-560Israel - Ra’anana Tel: 972-9-744-7705Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781Italy - PadovaTel: 39-049-7625286 Netherlands - DrunenTel: 31-416-690399 Fax: 31-416-690340Norway - TrondheimTel: 47-7288-4388Poland - WarsawTel: 48-22-3325737 Romania - BucharestTel: 40-21-407-87-50Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91Sweden - GothenbergTel: 46-31-704-60-40Sweden - StockholmTel: 46-8-5090-4654UK - WokinghamTel: 44-118-921-5800Fax: 44-118-921-5820

Worldwide Sales and Service

05/14/19