KSZ9021RN to KSZ9031RNX Migration Guide Rev. 1.1 Introduction This document summarizes the hardware pin and software register differences for migrating from an existing board design using the KSZ9021RN PHY to a new board design using the KSZ9031RNX PHY. For hardware and software details, consult reference schematic and data sheet of each respective device. Data sheets and support documentations can be found on Micrel’s web site at: www.micrel.com. Differences Summary Table 1 summarizes the supported device attribute differences between KSZ9021RN and KSZ9031RNX PHY devices. Device Attribute Reduced Gigabit Media Independent Interface (RGMII) KSZ9021RN KSZ9031RNX RGMII Version 1.3 (power-up default) using offchip data-to-clock delays with register options to: RGMII Version 2.0 (power-up default) using onchip data-to-clock delays with register options to: • Set on-chip (RGMII Version 2.0) delays • Set off-chip (RGMII Version 1.3) delays • Make adjustments and corrections to TX and RX timing paths • Make adjustments and corrections to TX and RX timing paths Transceiver (AVDDH) Voltage 3.3V only 3.3V or 2.5V (commercial temperature only) Digital I/O (DVDDH) Voltage 3.3V or 2.5V 3.3V, 2.5V or 1.8V Indirect Register Access Proprietary (Micrel defined) – Extended Registers IEEE defined – MDIO Manageable Device (MMD) Registers Energy-Detect PowerDown (EDPD) Mode Not Supported Supported for further power consumption reduction when cable is disconnected; Disabled as the power-up default and enable using MMD register IEEE 802.3az Energy Efficient Ethernet (EEE) Mode Not Supported Supported with: Wake-on-LAN (WOL) Not Supported • Low Power Idle (LPI) mode for 1000Base-T and 100Base-TX • Transmit Amplitude reduction for 10Base-T (10Base-Te) • Associated MMD registers for EEE Supported with: • Wake-up using detection of Link Status, Magic Packet, or Custom-Packet • PME_N interrupt output signal • Associated MMD registers for WOL Table 1. Summary of Device Attribute Differences between KSZ9021RN and KSZ9031RNX Micrel Inc. • 2180 Fortune Drive • San Jose, CA 95131 • USA • tel +1 (408) 944-0800 • fax + 1 (408) 474-1000 • http://www.micrel.com June 2013 1/5 060713-1.1 Micrel, Inc. KSZ9021RN to KSZ9031RNX Migration Guide Pin Differences Table 2 summarizes the pin differences between KSZ9021RN and KSZ9031RNX PHY devices. Pin # KSZ9021RN Pin Name Type 1 AVDDH P 12 AVDDH P 13 VSS_PS Gnd 16 DVDDH P 17 LED1 / I/O KSZ9031RNX Pin Function Pin Name Type 3.3V analog VDD AVDDH P 3.3V/2.5V (commercial temp only) analog VDD 3.3V analog VDD AVDDH P 3.3V/2.5V (commercial temp only) analog VDD NC – No connect This pin is not bonded and can be connected to digital ground for footprint compatibility with the Micrel KSZ9021RN Gigabit PHY. 3.3V / 2.5V digital VDD DVDDH P 3.3V, 2.5V, or 1.8V digital VDD_I/O LED Output: Programmable LED1 Output LED1 / I/O Digital ground Config Mode: The pull-up/pull-down value is latched as PHYAD[0] during power-up / reset. PHYAD0 Pin Function LED1 output: Programmable LED1 output PHYAD0 / Config mode: The voltage on this pin is sampled and latched during the power-up/reset process to determine the value of PHYAD[0]. PME_N1 PME_N output: Programmable PME_N output (pin option 1). This pin function requires an external pull-up resistor to DVDDH (digital VDD_I/O) in a range from 1.0kΩ to 4.7kΩ. When asserted low, this pin signals that a WOL event has occurred. When WOL is not enabled, this pin function behaves as per the KSZ9021RN pin definition. This pin is not an open-drain for all operating modes. 34 DVDDH P 3.3V / 2.5V digital VDD DVDDH P 3.3V, 2.5V, or 1.8V digital VDD_I/O 38 INT_N O Interrupt Output This pin provides a programmable interrupt output and requires an external pull-up resistor to DVDDH in the range of 1K to 4.7K ohms for active low assertion. INT_N/ O Interrupt Output This pin provides a programmable interrupt output and requires an external pull-up resistor to DVDDH in the range of 1K to 4.7K ohms for active low assertion. June 2013 2/5 060713-1.1 Micrel, Inc. KSZ9021RN to KSZ9031RNX Migration Guide This pin is an open-drain. PME_N output: Programmable PME_N output (pin option 2). When asserted low, this pin signals that a WOL event has occurred. PME_N2 When WOL is not enabled, this pin function behaves as per the KSZ9021RN pin definition. This pin is not an open-drain for all operating modes. 40 DVDDH P 3.3V / 2.5V digital VDD 47 AVDDH P 3.3V analog VDD 48 ISET I/O Set transmit output level Connect a 4.99KΩ 1% resistor to ground on this pin. DVDDH P 3.3V, 2.5V, or 1.8V digital VDD_I/O NC – No connect This pin is not bonded and can be connected to AVDDH power for footprint compatibility with the Micrel KSZ9021RN Gigabit PHY. ISET I/O Set the transmit output level Connect a 12.1kΩ 1% resistor to ground on this pin. Table 2. Pin Differences between KSZ9021RN and KSZ9031RNX Strapping Option Differences There is no strapping pin difference between KSZ9021RN and KSZ9031RNX. June 2013 3/5 060713-1.1 Micrel, Inc. KSZ9021RN to KSZ9031RNX Migration Guide Register Map Differences The register space within the KSZ9021RN and KSZ9031RNX consists of direct-access registers and indirect-access registers. Direct-access Registers The direct-access registers comprise of IEEE-Defined Registers (0h – Fh) and Vendor-Specific Registers (10h – 1Fh). Between the KSZ9021RN and KSZ9031RNX, the direct-access registers and their bits have the same definitions, except for the following registers in Table 3. Directaccess Register KSZ9021RN Name KSZ9031RNX Description Name Description 3h PHY Identifier 2 Bits [15:10] (part of OUI) – same as KSZ9031RNX Bits [9:4] (model number) – unique for KSZ9021RN Bits [3:0] (revision number) – unique depending on chip revision PHY Identifier 2 Bits [15:10] (part of OUI) – same as KSZ9021RN Bits [9:4] (model number) – unique for KSZ9031RNX Bits [3:0] (revision number) – unique depending on chip revision Bh Extended Register – Control Indirect Register Access Select read/write control and page/address of Extended Register Reserved Reserved Do not change the default value of this register Ch Extended Register – Data Write Indirect Register Access Value to write to Extended Register Address Reserved Reserved Do not change the default value of this register Dh Extended Register – Data Read Indirect Register Access Value read from Extended Register Address MMD Access – Control Indirect Register Access Select read/write control and MMD device address Eh Reserved Reserved Do not change the default value of this register MMD Access – Register/Data Indirect Register Access Value of register address/data for the selected MMD device address Software Reset 1 = Reset chip, except all registers 0 = Disable reset Reserved Reserved 1Fh, bit [1] Table 3. Direct-access Register Differences between KSZ9021RN and KSZ9031RNX Indirect-access Registers The indirect register mapping and read/write access are completely different for the KSZ9021RN (uses Extended Registers) and KSZ9031RNX (uses MMD Registers). Refer to respective devices’ data sheets for details. Indirect registers provide access to the following commonly used functions: • 1000Base-T link-up time control (KSZ9031RNX only) • Pin strapping status • Pin strapping override • Skew adjustments for RGMII clocks, control signals, and data o Resolution of skew steps are different between KSZ9021RN and KSZ9031RNX • Energy-Detect Power-Down Mode enable/disable (KSZ9031RNX only) • Energy Efficient Ethernet function (KSZ9031RNX only) • Wake-on-LAN function (KSZ9031RNX only) June 2013 4/5 060713-1.1 Micrel, Inc. KSZ9021RN to KSZ9031RNX Migration Guide Revision History Revision Date Summary of Changes 1.0 12/7/12 Migration Guide created 1.1 6/7/13 Indicate PME_N1 (pin 17) for KSZ9031RNX is not an open-drain. Indicate INT_N (pin 38) is an open-drain for KSZ9021RN, but is not an open-drain for KSZ9031RNX. Indicate direct-access register 1Fh, bit [1] difference. MICREL, INC. 2180 FORTUNE DRIVE SAN JOSE, CA 95131 USA TEL +1 (408) 944-0800 FAX +1 (408) 474-1000 WEB http://www.micrel.com Micrel makes no representations or warranties with respect to the accuracy or completeness of the information furnished in this document. This information is not intended as a warranty and Micrel does not assume responsibility for its use. Micrel reserves the right to change circuitry, specifications and descriptions at any time without notice. No license, whether express, implied, arising by estoppel or otherwise, to any intellectual property rights is granted by this document. Except as provided in Micrel’s terms and conditions of sale for such products, Micrel assumes no liability whatsoever, and Micrel disclaims any express or implied warranty relating to the sale and/or use of Micrel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. 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. © 2012, 2013 Micrel, Incorporated. June 2013 5/5 060713-1.1