DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver DAVICOM Semiconductor, Inc. DM9162/DM9162I Industrial Temperature 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver DATA SHEET Final Version: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 1 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver Content 1 2 3 4 General Description ................................................................................................................................ 4 Features ................................................................................................................................................... 5 Block Diagram ......................................................................................................................................... 6 Pin Configuration .................................................................................................................................... 7 4.1 48-Pin LQFP ............................................................................................................................ 7 4.2 32-Pin QFN .............................................................................................................................. 8 5 Pin Description ........................................................................................................................................ 9 5.1 Normal MII Interface ................................................................................................................ 9 5.2 Media Interface....................................................................................................................... 11 5.3 LED Interface ........................................................................................................................ 12 5.4 Mode...................................................................................................................................... 12 5.5 Bias and Clock ...................................................................................................................... 13 5.6 Power .................................................................................................................................... 13 5.7 Table (Media Type Selection) ................................................................................................ 14 5.8 Pin Maps of Normal MII, Reduced MII, and 10Base-T GPSI (7-Wired) Mode ...................... 14 6 LED Configuration ................................................................................................................................ 15 6.1 LED Function Description ..................................................................................................... 16 6.1.1 Dual-LED Application Circuit ................................................................................................. 16 7 Function Description ............................................................................................................................ 17 7.1 MII Interface .......................................................................................................................... 18 7.2 100Base –TX Operation ........................................................................................................ 19 7.2.1 100Base-TX Transmit............................................................................................................ 19 7.2.2 100Base-TX Receiver ........................................................................................................... 23 7.2.2.5 NRZI to NRZ ........................................................................................................................................ 23 7.2.2.6 Serial to Parallel................................................................................................................................... 24 7.2.2.7 Descrambler ........................................................................................................................................ 24 7.2.2.8 Code Group Alignment ........................................................................................................................ 24 7.2.2.9 4B5B Decoder ..................................................................................................................................... 24 7.2.3 10Base-T Operation .............................................................................................................. 24 7.2.4 Collision Detection................................................................................................................. 24 7.2.5 Carrier Sense ........................................................................................................................ 24 7.2.6 Auto-Negotiation .................................................................................................................... 25 7.2.7 MII Serial Management ......................................................................................................... 25 7.2.8 Serial Management Interface ................................................................................................ 25 7.2.9 Management Interface - Read Frame Structure ................................................................... 25 7.2.10 Management Interface - Write Frame Structure ................................................................. 25 7.2.11 Power Reduced Mode ......................................................................................................... 26 7.2.12 Power Down Mode .............................................................................................................. 26 7.2.13 Reduced Transmit Power Mode .......................................................................................... 26 7.3 HP Auto-MDIX Functional Descriptions ................................................................................ 27 8 MII Register Description ....................................................................................................................... 28 8.1 Basic Mode Control Register (BMCR) - 00 ........................................................................... 29 8.2 Basic Mode Status Register (BMSR) – 01 ............................................................................ 30 8.3 PHY ID Identifier Register #1 (PHYID1) - 02 ........................................................................ 31 8.4 PHY ID Identifier Register #2 (PHYID2) - 03 ........................................................................ 31 8.5 Auto-negotiation Advertisement Register (ANAR) – 04 ........................................................ 32 8.6 Auto-negotiation Link Partner Ability Register (ANLPAR) – 05 ............................................. 33 8.7 Auto-negotiation Expansion Register (ANER) – 06 .............................................................. 34 8.8 DAVICOM Specified Configuration Register (DSCR) - 16 .................................................... 34 8.9 DAVICOM Specified Configuration and Status Register (DSCSR) – 17 .............................. 36 8.10 10BASE-T Configuration/Status (10BTCSR) – 18 ................................................................ 37 8.11 Power down Control Register (PWDOR) – 19............................................................................ 37 8.12 (Specified Config) Register – 20 ........................................................................................... 38 8.13 DAVICOM Specified Interrupt Register – 21 ......................................................................... 39 8.14 DAVICOM Specified Receive Error Counter Register (RECR) – 22..................................... 40 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 2 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 9 10 11 12 8.15 DAVICOM Specified Disconnect Counter Register (DISCR) – 23 ........................................ 40 8.16 DAVICOM Hardware Reset Latch State Register (RLSR) – 24............................................ 40 8.17 Power Saving Control Register (PSCR) – 29............................................................................... 40 DC and AC Electrical Characteristics ................................................................................................. 41 9.1 Absolute Maximum Ratings (25C) (-40C~+85C for DM9162I) ......................................... 41 9.2 Operating Conditions ............................................................................................................. 41 9.3 DC Electrical Characteristics (DVDD = 3.3V) ....................................................................... 42 9.4 AC Electrical Characteristics & Timing Waveforms............................................................... 42 9.4.1 TP Interface ........................................................................................................................... 42 9.4.2 Oscillator/Crystal Timing ....................................................................................................... 42 9.4.3 Power On Reset Timing ........................................................................................................ 43 9.4.4 MDC/MDIO Timing ................................................................................................................ 43 9.4.5 MDIO Timing When OUTPUT by STA .................................................................................. 43 9.4.6 MDIO Timing When OUTPUT by DM9162 ............................................................................ 43 9.4.7 MII 100BASE-TX Transmit Timing Parameters ..................................................................... 44 9.4.8 MII 100BASE-TX Transmit Timing Diagram .......................................................................... 44 9.4.9 MII 100BASE-TX Receive Timing Parameters ..................................................................... 44 9.4.10 MII 100BASE-TX Receive Timing Diagram ........................................................................ 45 9.4.11 MII 10BASE-T Nibble Transmit Timing Parameters ............................................................ 45 9.4.12 MII 10BASE-T Nibble Transmit Timing Diagram ........................................................................ 45 9.4.13 MII 10BASE-T Receive Nibble Timing Parameters ............................................................. 45 9.4.14 MII 10BASE-T Receive Nibble Timing Diagram .................................................................. 46 9.4.15 Auto-negotiation and Fast Link Pulse Timing Parameters .................................................. 46 9.4.16 Auto-negotiation and Fast Link Pulse Timing Diagram ....................................................... 46 9.4.17 RMII Receive Timing Diagram ............................................................................................ 47 9.4.18 RMII Transmit Timing Diagram ............................................................................................ 47 9.4.19 RMII Timing Diagram........................................................................................................... 47 9.4.20 RMII Timing Parameter ....................................................................................................... 48 9.4.21 Magnetic Selection Guide ................................................................................................... 48 RMII Application .................................................................................................................................... 49 10.1 DM9162 RMII Mode Connection (25MHz Crystal or 25MHz Clock in) ................................. 49 10.2 DM9162 RMII Mode Connection (50MHz OSC) ................................................................... 49 10.3 DM9162 RMII Mode Connection (50MHz by MAC) .............................................................. 49 Package Information ............................................................................................................................. 50 Ordering Information ............................................................................................................................ 52 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 3 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 1 General Description DAVICOM’s DM9162/DM9162I is a industrial-temperature physical layer, low power, and single-chip 10BASE-T/100BASE-TX transceiver specifically designed for consumer electronics, industrial, and enterprise applications. Through using a CMOS process, the DM9162 has the advantage of ensuring both high performance and savings in power consumption. Through utilization of automatic media speed and protocol selection, the auto-negotiation function is strongly supported in the DM9162. Then due to the built-in wave shaping filter, the DM9162 has a significant convenience of not requiring an external filter to transport signals to the media in 10BASE-T or 100BASE-TX during Ethernet operation. Through its Media Independent Interface (MII), the DM9162 not only connects the Medium Access Control (MAC) layer but also ensure a high inter-operability and flexibility for our different vendors. In media usage applications, the DM9162 provides a direct interface either to an Unshielded Twisted Pair Category 5 Cable (UTP5) for 100BASE-TX Fast Ethernet, or an UTP5/UTP3 Cable for 10BASE-T Ethernet. The DM9162 contains the entire physical layer functions of 100BASE-TX. Those physical layer functions are defined by IEEE802.3u include the Physical Coding Sub layer (PCS), Physical Medium Attachment (PMA), Twisted Pair Physical Medium Dependent Sub layer (TP-PMD), 10BASE-TX Encoder/Decoder (ENC/DEC), and Twisted Pair Media Access Unit (TPMAU). Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 4 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 2 Features Fully complies with IEEE 802.3 / IEEE 802.3u 10Base-TX/ 100Base-TX, ANSI X3T12 TP-PMD1995 standards Support HP MDI/MDI-X auto crossover function (HP Auto-MDIX) Support Auto-Negotiation function, compliant with IEEE 802.3u Fully integrated Physical layer transceiver On-chip filtering with direct interface to magnetic transformer Selectable repeater or node mode Selectable MII or RMII (Reduced MII) mode for 100Base-TX and 10Base-TX Selectable MII or GPSI (7-Wired) mode for 10Base-TX Selectable full-duplex or half-duplex operation MII management interface with mask-able interrupt output capability Provide Loopback mode for easy system diagnostics Supports industrial-temperature (-40℃ ~ +85℃) LED status outputs indicate Link/ Activity, Speed10/100 and Full-duplex/Collision Support Dual-LED optional control Single low power Supply of 3.3V with an advanced CMOS technology, Built in 3.3V to 1.8V regulator Lower Power consumption modes Power Reduced mode (cable detection) Power Down mode Support 50MHz clock output in RMII mode Compatible with 3.3V and 5.0V tolerant I/Os DSP architecture PHY Transceiver 48-pin LQFP/32-pin QFN 0.162um process Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 5 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 3 Block Diagram 25M OSCI LED1-4# LED Driver TX CGM 4B/5B Encoder Scrambler Parallel to Serial NRZ to NRZI NRZI to MLT-3 MLT-3 Driver 100TXD+/- Rise/Fall Time CTL AutoMDIX 25M CLK 125M CLK MII Signals MII Interface/Co ntrol 4B/5B Decoder Codegroup Alignment Descrambler Serial to Parallel NRZI to NRZ MLT-3 to NRZI Adaptive EQ RXI+/- RX RXI+/- TX 10TXD+/- RX CRM Digital Logic 10BASE-T Module Register Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Collision Detection Carrier Sense AutoNegotiation 6 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 4 Pin Configuration RXCLK/10BTSER DGND MDINTR# LEDMODE DVDD33 RXD[0]/PHYAD[0] RXD[1]/PHYAD[1] RXD[2]/PHYAD[2] RXD[3]/PHYAD[3] MDIO 34 33 32 30 29 28 26 25 27 CRS/PHYAD[4] 35 31 COL/RMII 36 4.1 48-Pin LQFP RXDV/TESTMODE 37 24 MDC RXER/RXD[4]/RPTR 38 23 DVDD33 DISMDIX 39 22 TXCLK/50MCLK RESET# 40 21 TXEN VDD33 XT2 41 XT1 43 DGND 44 SD 45 AGND 46 BGRESG BGRES Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 20 TXD[0] 19 18 TXD[1] TXD[2] 17 TXD[3] 16 TXER/TXD[4] 15 DGND 47 14 CABLESTS/LINKSTS 48 13 LED2/OP2 9 10 11 12 AVDD18 PWRDWN LED0/OP0 LED1/OP1 5 8 4 RX- AGND TX- 3 RX+ 7 2 AVDD18 6 1 AVDD18 AGND TX+ DM9162EP DM9162IEP 42 7 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver CRS/PHYAD[4] 25 COL/RMII 26 RXDV/TESTMODE 27 RXER/RXD[4] 28 RESET# 29 VDD33 RXCLK/10BTSER DVDD33 RXD[0]/PHYAD[0] RXD[1]/PHYAD[1] RXD[2]/PHYAD[2] RXD[3]/PHYAD[3] MDIO MDC 24 23 22 21 20 19 18 17 4.2 32-Pin QFN 16 50MCLK_OUT 15 TXEN 14 TXD[0] 13 TXD[1] 12 TXD[2] 30 11 TXD[3] XT2 31 10 TXER/TXD[4] XT1 32 9 LNKLED/OP2 VSS 1 2 3 4 5 6 7 8 BGRES RX+ RX- TX+ TX- AVDD18 FDXLED/OP0 SPDLED/OP1 DM9162NP DM9162INP Note: The DM9162 IC employs a QFN package, which means the absence of a pin dedicated to ground (GND). In the QFN package, the GND is located at the bottom of the IC directly in the middle. Exposed pad (VSS) on bottom of package must be connected to ground. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 8 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 5 Pin Description Buffer Type I = Input U = Pulled high O = Output D= Pulled low LI = Latch input when power-up/reset Z= Tri-State output 5.1 Normal MII Interface Pin No. 48-pin 16 Pin No. 32-pin 10 20,19,18,17 14,13,12,11 Pin Name I/O Description TXER/TXD [4] I TXD [0:3] I Transmit Error/The Fifth TXD Data Bit In 100Mbps mode, when the signal indicates active high and TXEN is active, the HALT symbol substitutes the actual data nibble. In 10Mbps, the input is ignored In bypass mode (bypass BP4B5B), TXER becomes the TXD [4] pin, the fifth TXD data bit of the 5B symbol Transmit Data 4-bit nibble data inputs (synchronous to the TXCLK) when in 10/100Mbps nibble mode. In 10Mbps GPSI (7-Wired) mode, the TXD [0] pin is used as the serial data input pin, and TXD [1:3] are ignored. Transmit Enable Active high indicates the presence of valid nibble data on the TXD [0:3] for both 100Mbps and 10Mbps nibble modes. In 10Mbps GPSI (7-Wired) mode, active high indicates the presence of valid 10Mbps data on TXD [0]. Transmit Clock The transmitting clock provides the timing reference for the transfer of the TXEN, TXD, and TXER. TXCLK is provided by the PHY When in Normal MII mode: 25MHz in 100Mbps nibble mode, 2.5MHz in 10Mbps nibble mode, 10MHz in 10Mbps GPSI (7-Wired) mode 21 15 TXEN I 22 16 TXCLK/ 50MCLK O,Z,LI,(D) When in Reduced MII mode and this pin is latched high at the end of reset: This pin is the 50MHz clock output after the end of reset. *Note: Please see 10. RMII application for detail connection. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 9 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 24 17 MDC I 25 18 MDIO I/O RXD[0:3] /PHYAD[0:3] O,Z,LI,(D) 29,28,27,26 22,21,20,19 32 - MDINTR IO, LI,(D) 34 24 RXCLK /10BTSER O,Z,LI,(U) 35 25 CRS /PHYAD[4] O,Z,LI,(D) 36 26 COL /RMII O,Z,LI,(D) Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Management Data Clock Synchronous clock for the MDIO management data. This clock is provided by management entity, and it is up to 12.5MHz Management Data I/O Bi-directional management data which may be provided by the station management entity or the PHY Receive Data Output 4-bit nibble data outputs (synchronous to RXCLK) when in 10/100Mbps MII mode In 10Mbps GPSI (7-Wired) mode, the RXD [0] pin is used as the serial data output pin, and the RXD [1:3] are ignored PHY address [0:3] (power up reset latch input) PHY address sensing input pins Status Interrupt Output: Whenever there is a status change (link, speed, duplex depend on interrupt register [21] ) The interrupt output assert low when pull up. Asserted high when pull down. (QFN-32 is Pull-up) Receive Clock The received clock provides the timing reference for the transfer of the RXDV, RXD, and RXER. RXCLK is provided by PHY. The PHY may recover the RXCLK reference from the received data or it may derive the RXCLK reference from a nominal clock 25MHz in 100Mbps MII mode, 2.5MHz in 10Mbps MII mode, 10MHz in 10Mbps GPSI (7-Wired) mode 10BTSER only support for 10M mode; (power up reset latch input) 1 = MII mode in 100M mode 0 = GPSI (7-Wired) mode in 10M mode Carrier Sense Detect/ PHYAD[4] Asserted high to indicate the presence of carrier due to receive or transmit activities in half-duplex mode of 10BASE-T or 100BASE-TX. In repeater mode or full-duplex mode, this signal is asserted high to indicate the presence of carrier due to receive activity only This pin is also used as PHYAD [4] (power up reset latch input) PHY address sensing input pin Collision Detection Asserted high to indicate the detection of the collision conditions in half-duplex mode of 10Mbps and 100Mbps. In full-duplex mode, this signal is always logical 0 Reduced MII enable: This pin is also used to select Normal MII or Reduced MII. (power up reset latch input) 1= Reduced MII 0= Normal MII (default) This pin is always pulled low except used as reduced MII 10 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 37 27 RXDV /TESTMODE 38 28 RXER/RXD[4] /RPTR 31 - LEDMODE 40 29 RESET# O,Z,LI,(D) Receive Data Valid Asserted high to indicate that the valid data is presented on the RXD [0:3] Test mode control pin (power up reset latch input) 1 = enable test mode 0 = normal operation (default) O,Z,LI,(D) Receive Data Error/The Fifth RXD Data Bit of the 5B Symbol Asserted high to indicate that an invalid symbol has been detected In decoder bypass mode (bypass BP4B5B), RXER becomes RXD [4], the fifth RXD data bit of the 5B symbol This pin is also used to select Repeater or Node mode. (power up reset latch input) 1 = Repeater Mode 0 = Node Mode (default) I LED MODE Select Reference LED function description 1 = Normal LED (QFN-32 is Pull-up) 0 = support Dual-LED I Reset Active low input that initializes the DM9162. 5.2 Media Interface Pin No. 48-pin 3,4 Pin No. 32-pin 2,3 7,8 4,5 Pin Name I/O RX+ RX- I/O TX+ TX- I/O Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Description Differential Receive Pair/PECL Receive Pair Differential data is received from the media in TP mode PECL data is received to the media in Fiber mode Differential Transmit Pair/PECL Transmit Pair Differential data is transmitted to the media in TP mode PECL data is transmitted to the media in Fiber mode 11 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 5.3 LED Interface Pin No. 48-pin 11 Pin No. 32-pin 7 12 13 Pin Name I/O LED0 /OP0 O, LI,(U) 8 LED1 /OP1 O, LI,(U) 9 LED2 /OP2 O, LI,(U) Description LED Driver output 0 OP0: (power up reset latch input) This pin is used to control the forced or advertised operating mode of the DM9162 according to the Table A. The value is latched into the DM9162 registers at power-up/reset LED Driver output 1 OP1: (power up reset latch input) This pin is used to control the forced or advertised operating mode of the DM9162 according to the Table A. The value is latched into the DM9162 registers at power-up/reset LED Driver output 2 OP2: (power up reset latch input) This pin is used to control the forced or advertised operating mode of the DM9162 according to the Table A. The value is latched into the DM9162 registers at power-up/reset 5.4 Mode Pin No. 48-pin 10 Pin No. 32-pin - 14 Pin Name I/O Description PWRDWN I - CABLESTS /LINKSTS O,LI,(D) 39 - DISMDIX I,(D) 45 - SD I Power Down Control Asserted high to force the DM9162 into power down mode. When in power down mode, most of the DM9162 circuit blockwn mode. When in power down mode, most of the ng mode of the input)t of the 5B symbolwer up reset latch input)mode, this signal is always logical 0 ex mode, this signal is asserted high to indicate the presence of carriehe DM9162 needs the hardware or software reset with the PWRDWN pin low (QFN-32 is Pull-down) Cable Status or Link Status This pin is used to indicate the status of the cable connection when power up reset latch low (Default), (QFN-32 is Pull-down) 1 = With cable connection 0 = Without cable connection This pin is used to indicate the status of the Link connection when power up reset latch high, 1 = Without link 0 = With link HP Auto-MDIX Control (QFN-32 is Pull-down) 1 = Disable auto mode 0 = Enable HP Auto-MDIX mode Signal detect for fiber (QFN-32: Auto detect) Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 12 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 5.5 Bias and Clock Pin No. 48-pin 47 48 Pin No. 32-pin 1 43,42 32,31 Pin Name I/O Description BGRESG BGRES P O XT1,XT2 I Band gap Ground Band gap Voltage Reference Resistor 6.8K ohm +/1% Reference Clock Input When in Normal MII mode or when in Reduced MII mode and pin TXCLK is latched high at the end of reset: A 25MHz crystal or oscillator as DM9162 reference clock is used. If the crystal is used, it is connected across pins XT1 and XT2. If the oscillator is used, it can either connect to pin XT1 (left pin XT2 unconnected) or to pin XT2 (left pin XT1 unconnected). When in Reduced MII mode and pin TXCLK is latched low at the end of reset: A 50MHz oscillator is used, and it can either connect to pin XT1 (left pin XT2 unconnected) or to pin XT2 (left pin XT1 unconnected). *Note: Please see 10. RMII application for detail connection. 5.6 Power Pin No. Pin No. Pin Name I/O Description 48-pin 32-pin 1,2,9 6 AVDD18 P Analog 1.8V Regulator Power output *1 5 AGND P Analog Receive Ground *1 6 AGND P Analog Transmit Ground *1 46 AGND P Analog Substrate Ground 23,30 23 DVDD33 P Digital Power 41 30 VDD33 P Digital Power for Crystal *1 15,33,44 DGND P Digital Ground or QFN package Ground *1: The DM9162 IC employs a QFN package, which means the absence of a pin dedicated to ground (GND). In the QFN package, the GND is located at the bottom of the IC directly in the middle. The large light-colored square is where the GND is connected. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 13 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 5.7 Table (Media Type Selection) OP2 OP1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 OP0 0 1 0 1 0 1 0 1 Function Dual Speed 100/10 HDX Manually Select 100FX HDX Manually Select 100FX FDX Manually Select 10TX HDX Manually Select 10TX FDX Manually Select 100TX HDX Manually Select 100TX FDX Auto-negotiation Enables All Capabilities 5.8 Pin Maps of Normal MII, Reduced MII, and 10Base-T GPSI (7-Wired) Mode Pin No. 48-pin 20,19 18,17 21 16 22 29,28 27,26 38 Pin No. 32-pin 14,13 12,11 15 10 16 22,21 20,19 28 37 34 36 35 27 24 26 25 24 25 40 43 17 18 29 32 Normal MII Mode TXD [0:1] TXD [2:3] TXEN TXER/TXD [4] TXCLK RXD [0:1] RXD[2:3] RXER/RXD[4]/RPTR/ NODE RXDV RXCLK COL/RMII CRS (PHYADR [4]) (BP4B5B) MDC MDIO RESET# XT1 (25 MHz) TXD [0:1] NC TXEN NC 50Mhz clock RXD [0:1] NC RPTR/NODE 10Base-T GPSI (7-Wired) Mode TXD [0] ; TXD [1] = NC NC TXEN NC TXCLK RXD [0] ; RXD [1] = NC NC RPTR/NODE CRS DV NC NC NC NC RXCLK COL/RMII CRS Reduced MII Mode * MDC MDIO RESET# XT1 or XT2 (REF_CLK 50MHz) * *Note: Please see 10. RMII application for detail connection. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 MDC MDIO RESET# XT1 (25 MHz) 14 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 6 LED Configuration LEDs flash once per 500ms after power-on reset or software reset by writing PHY register. All LED pins are dual function pins, which can be configured as either active high or low by pulling them low or high accordingly. If the pin is pulled high, the LED is active low after reset. Likewise, if the pin is pulled low, the LED is active high. LEDs flash once per 500ms after power-on reset or software reset by writing PHY register. All LED pins are dual function pins, which can be configured as either active high or low by pulling them low or high accordingly. If the pin is pulled high, the LED is active low after reset. Likewise, if the pin is pulled low, the LED is active high. DM9162 510 Ohm DVDD 10K Ohm Pull High for Reset 510 Ohm 10K Ohm Pull Low for Reset Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 15 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 6.1 LED Function Description Normal LED mode LED_MODE = 1 Name Pin LED0 11 LED1 12 CABLESTS / LINKSTS Name Pin Lo FDX SPEED: 100M Hi HDX SPEED: 10M Lo FDX SPEED: 100M Pull Down Hi HDX SPEED: 10M Pull Up Lo Hi Link Link Fail LED2 13 Flashing (HiLo) Active CABLESTS Without Cable 14 With Cable connection / LINKSTS connection *48pin-LQFP: Pin 31 = LEDMODE *32pin-QFN only support Normal LED mode Lo Hi N/A Flashing (HiLo) Active With Link Without Link For Dual-LED LED_MODE = 0 LINK Mode Name Pin Link Fail SPEED: 100M Link OK Lo Hi Active Flashing (LoHi) LED0 11 LED1 12 CABLESTS / LINKSTS Name Pin Lo Lo Lo Hi Lo LED2 FDX HDX FDX 13 Pull Down CABLESTS Without Cable 14 / LINKSTS connection * Pin 31 = LEDMODE SPEED: 10M Link OK HI Lo Active Flashing (HiLo) Pull Up With Cable connection With Link Hi HDX Flashing (LoHi) Collision Without Link 6.1.1 Dual-LED Application Circuit PAD PAD Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 16 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 7 Function Description The DM9162 Fast Ethernet single chip transceiver, providing the functionality as specified in IEEE 802.3u, integrates a complete 100Base-TX module and a complete 10Base-T module. The DM9162 provides a Media Independent Interface (MII) as defined in the IEEE 802.3u standard (Clause 22). The DM9162 performs all PCS (Physical Coding Sub layer), PMA (Physical Media Access), TP-PMD (Twisted Pair Physical Medium Dependent) sub layer, 10Base-T Encoder/Decoder, and Twisted Pair Media Access Unit (TPMAU) functions. Figure 7-1 shows the major functional blocks implemented in the DM9162. 100Base-TX 100Base-TX Transmitter Transmitter 100Base-TX 100Base-TX Receiver Receiver 10Base-T 10Base-T Tranceiver Tranceiver MII Interface MII Interface Carrier Carrier Sense Sense Collision Collision Detection Detection MII Serial MII Serial Management Management Interface Interface Auto Auto Negotiation Negotiation Auto MDIX Auto MDIX Figure 7-1 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 17 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 7.1 MII Interface The DM9162 provides a Media Independent Interface (MII) as defined in the IEEE 802.3u standard (Clause 22). The purpose of the MII interface is to provide a simple, easy to implement connection between the MAC Reconciliation layer and the PHY. The MII is designed to make the differences between various media transparent to the MAC sub layer. The MII consists of a nibble wide receive data bus, a nibble wide transmit data bus, and control signals to facilitate data transfers between the PHY and the Reconciliation layer. TXD (transmit data) is a nibble (4 bits) of data that are driven by the reconciliation sub layer synchronously with respect to TXCLK. For each TXCLK period, which TXEN is asserted, TXD (3:0) are accepted for transmission by the PHY. TXCLK (transmit clock) output to the MAC reconciliation sub layer is a continuous clock that provides the timing reference for the transfer of the TXEN, TXD, and TXER signals. TXEN (transmit enable) input from the MAC reconciliation sub layer indicates that nibbles are being presented on the MII for transmission on the physical medium. TXER (transmit coding error) transitions are synchronously with respect to TXCLK. If TXER is asserted for one or more clock periods, and TXEN is asserted, the PHY will emit one or more symbols that are not part of the valid data delimiter set somewhere in the frame being transmitted. RXD (receive data) is a nibble (4 bits) of data that are sampled by the reconciliation sub layer synchronously with respect to RXCLK. For each RXCLK period which RXDV is asserted, RXD (3:0) are transferred from the PHY to the MAC reconciliation sub layer. RXCLK (receive clock) output to the MAC reconciliation sub layer is a continuous clock that provides the timing reference for the transfer of the RXDV, RXD, and RXER signals. RXDV (receive data valid) input from the PHY indicates that the PHY is presenting recovered and decoded nibbles to the MAC reconciliation sub layer. To interpret a receive frame correctly by the reconciliation sub layer, RXDV must encompass the frame, starting no later than the Start-of-Frame delimiter and excluding any End-Stream delimiter. RXER (receive error) transitions are synchronously with respect to RXCLK. RXER will be asserted for 1 or more clock periods to indicate to the reconciliation sub layer that an error was detected somewhere in the frame being transmitted from the PHY to the reconciliation sub layer. CRS (carrier sense) is asserted by the PHY when either the transmit or receive medium is non-idle, and de-asserted by the PHY when the transmit and receive medium are idle. Figure 7-2 depicts the behavior of CRS during 10Base-T and 100Base-TX transmission. TXD IDLE SSD J/K Preamble ESD T/R IDLE 100Base-TX CRS TXD Data SFD Preamble CRS Data SFD EFD 10Base-T Figure 7-2 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 18 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 7.2 100Base –TX Operation The 100Base-TX transmitter receives 4-bit nibble data clocked in at 25MHz at the MII, and outputs a scrambled 5-bit encoded MLT-3 signal to the media at 100Mbps. The on-chip clock circuit converts the 25MHz clock into a 125MHz clock for internal use. The IEEE 802.3u specification defines the Media Independent Interface. The interface specification defines a dedicated receive data bus and a dedicated transmit data bus. These two busses include various controls and signal indications that facilitate data transfers between the DM9162 and the Reconciliation layer. 7.2.1 100Base-TX Transmit The 100Base-TX transmitter consists of the functional blocks shown in figure 7-3. The 100Base-TX transmit section converts 4-bit synchronous data provided by the MII to a scrambled MLT-3 125, a million symbols per second serial data stream. The block diagram in figure 7-3 provides an overview of the functional blocks contained in the transmit section. The transmitter section contains the following functional blocks: - 4B5B Encoder - Scrambler - Parallel to Serial Converter - NRZ to NRZI Encoder - NRZI to MLT-3 - MLT-3 Driver 25M OSCI LED1-4# LED Driver TX CGM 4B/5B Encoder Scrambler Parallel to Serial NRZ to NRZI NRZI to MLT-3 MLT-3 Driver 100TXD+/- Rise/Fall Time CTL AutoMDIX 25M CLK 125M CLK MII Signals MII Interface/Co ntrol 4B/5B Decoder Codegroup Alignment Descrambler Serial to Parallel NRZI to NRZ MLT-3 to NRZI Adaptive EQ RXI+/- RX RXI+/- TX 10TXD+/- RX CRM Digital Logic 10BASE-T Module Register Collision Detection Carrier Sense AutoNegotiation Figure 7-3 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 19 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 7.2.1.1 4B5B Encoder The 4B5B encoder converts 4-bit (4B) nibble data generated by the MAC Reconciliation Layer into a 5-bit (5B) code group for transmission, see reference Table 7-1. This conversion is required for control and packet data to be combined in code groups. The 4B5B encoder substitutes the first 8 bits of the MAC preamble with a J/K code group pair (11000 10001) upon transmit. The 4B5B encoder continues to replace subsequent 4B preamble and data nibbles with corresponding 5B code-groups. At the end of the transmit packet, upon the deassertion of the Transmit Enable signal from the MAC Reconciliation layer, the 4B5B encoder injects the T/R code group pair (01101 00111) indicating end of frame. After the T/R code group pair, the 4B5B encoder continuously injects IDLEs into the transmit data stream until Transmit Enable is asserted and the next transmit packet is detected. The DM9162 includes a Bypass 4B5B conversion option within the 100Base-TX Transmitter for support of applications like 100 Mbps repeaters, which do not require 4B5B conversion. 7.2.1.2 Scrambler The scrambler is required to control the radiated emissions (EMI) by spreading the transmit energy across the frequency spectrum at the media connector and on the twisted pair cable in 100Base-TX operation. By scrambling the data, the total energy presented to the cable is randomly distributed over a wide frequency range. Without the scrambler, energy levels on the cable could peak beyond FCC limitations at frequencies related to repeated 5B sequences like continuous transmission of IDLE symbols. The scrambler output is combined with the NRZ 5B data from the code group encoder via an XOR logic function. The result is a scrambled data stream with sufficient randomization to decrease radiated emissions at critical frequencies. 7.2.1.3 Parallel to Serial Converter The Parallel to Serial Converter receives parallel 5B scrambled data from the scrambler and serializes it (converts it from a parallel to a serial data stream). The serialized data stream is then presented to the NRZ to NRZI encoder block. 7.2.1.4 NRZ to NRZI Encoder Since the transmit data stream has been scrambled and serialized, the data must be NRZI encoded for compatibility with the TP-PMD standard for 100Base-TX transmission over Category-5 unshielded twisted pair cable. 7.2.1.5 MLT-3 Converter The MLT-3 conversion is accomplished by converting the data stream output from the NRZI encoder into two binary data streams with alternately phased logic one events. 7.2.1.6 MLT-3 Driver The two binary data streams, created at the MLT-3 converter, are fed to the twisted pair output driver, which converts these streams to current sources and alternately drives either side of the transmit transformerd at the MLT-3 converter, are fed to the twisted pair output driver, which converts these streams to current sourcMLT-3 converter. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 20 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 7.2.1.7 4B5B Cod3 Group Data 0 Data 1 Data 2 Data 3 Data 4 Data 5 Data 6 Data 7 Data 8 Data 9 Data A Data B Data C Data D Data E Data F 4B code 3210 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 5B Code 43210 11110 01001 10100 10101 01010 01011 01110 01111 10010 10011 10110 10111 11010 11011 11100 11101 I J K T R H Idle SFD (1) SFD (2) ESD (1) ESD (2) Error undefined 0101 0101 undefined undefined undefined 11111 11000 10001 01101 00111 00100 V V V V V V V V V V Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined 00000 00001 00010 00011 00101 00110 01000 01100 10000 11001 Symbol Meaning 0 1 2 3 4 5 6 7 8 9 A B C D E F Table 7-1 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 21 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver D Q CK Binary In Q . . Binary plus Common driver MLT-3 Binary minus Binary In MLT-3 Figure 7-4 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 22 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 7.2.2 100Base-TX Receiver The 100Base-TX receiver contains several function blocks that convert the scrambled 125Mb/s serial data to synchronous 4-bit nibble data, which is then provided to the MII. The receive section contains the following functional blocks: - Signal Detect - Adaptive Equalizer - MLT-3 to NRZI Decoder - Clock Recovery Module - NRZI to NRZ Decoder - Serial to Parallel - Descrambler - Code Group Alignment - 4B5B Decoder 7.2.2.1 Signal Detect The signal detects function meets the specifications mandated by the ANSI XT12 TP-PMD 100Base-TX Standards for both voltage thresholds and timing parameters. 7.2.2.2 Adaptive Equalizer When transmitting data at high speeds over copper twisted pair cable, attenuation based on frequency becomes a concern. In high speed twisted pair signaling, the frequency content of the transmitted signal can vary greatly during normal operation based on the randomness of the scrambled data stream. This variation in signal attenuation caused by frequency variations must be compensated for to ensure the integrity of the received data. In order to ensure quality transmission when employing MLT-3 encoding, the compensation must be able to adapt to various cable lengths and cable types depending on the installed environment. The selection of long cable lengths for a given implementation requires significant compensation, which will be over-kill in a situation that includes shorter, less attenuating cable lengths. Conversely, the selection of short or intermediate cable lengths requiring less compensation will cause serious under-compensation for longer length cables. Therefore, the compensation or equalization must be adaptive to ensure proper conditioning of the received signal independent of the cable length. 7.2.2.3 MLT-3 to NRZI Decoder The DM9162 decodes the MLT-3 information from the Digital Adaptive Equalizer into NRZI data. The relation between NRZI and MLT-3 data is shown in figure 7-4. 7.2.2.4 Clock Recovery Module The Clock Recovery Module accepts NRZI data from the MLT-3 to NRZI decoder. The Clock Recovery Module locks onto the data stream and extracts the 125MHz reference clock. The extracted and synchronized clock and data are presented to the NRZI to NRZ Decoder. 7.2.2.5 NRZI to NRZ The transmit data stream is required to be NRZI encoded in for compatibility with the TP-PMD standard for 100Base-TX transmission over Category-5 unshielded twisted pair cable. This conversion process must be reversed on the receive end. The NRZI to NRZ decoder receives the NRZI data stream from the Clock Recovery Module and converts it to a NRZ data stream to be presented to the Serial to Parallel conversion block. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 23 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 7.2.2.6 Serial to Parallel The Serial to Parallel Converter receives a serial data stream from the NRZI to NRZ converter, and converts the data stream to parallel data to be presented to the descrambler. 7.2.2.7 Descrambler Because the scrambling process requires to control the radiated emissions of transmit data streams, the receiver must descramble the receive data streams. The descrambler receives scrambled parallel data streams from the Serial to Parallel converter, descrambles the data streams, and presents the data streams to the Code Group alignment block. 7.2.2.8 Code Group Alignment The Code Group Alignment block receives un-aligned 5B data from the descrambler and converts it into 5B code group data. Code Group Alignment occurs after the J/K is detected and subsequent data is aligned on a fixed boundary. 7.2.2.9 4B5B Decoder The 4B5B Decoder functions as a look-up table that translates incoming 5B code groups into 4B (Nibble) data. When receiving a frame, the first 2 5-bit code groups received are the start-of-frame delimiter (J/K symbols). The J/K symbol pair is stripped and two nibbles of preamble pattern are substituted. The last two code groups are the end-of-frame delimiter (T/R symbols). The T/R symbol pair is also stripped from the nibble presented to the Reconciliation layer. 7.2.3 10Base-T Operation The 10Base-T transceiver is IEEE 802.3u compliant. When the DM9162 is operating in 10Base-T mode, the coding scheme is Manchester. Data processed for transmit is presented to the MII interface in nibble format, converted to a serial bit stream, then Manchester encoded. When receiving, the Manchester encoded bit stream is decoded and converted into nibble format for presentation to the MII interface. 7.2.4 Collision Detection For half-duplex operation, a collision is detected when transmit and receive channels are active simultaneously. When a collision has been detected, it will be reported by the COL signal on the MII interface. Collision detection is disabled in Full Duplex operation. 7.2.5 Carrier Sense Carrier Sense (CRS) is asserted in half-duplex operation during transmission or reception of data. During full-duplex mode, CRS is asserted only during receive operations Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 24 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 7.2.6 Auto-Negotiation The objective of Auto-negotiation is to provide a means to exchange information between segment linked devices and to automatically configure both devices to take maximum advantage of their abilities. It is important to note that Auto-negotiation does not test the link segment characteristics. The Auto-Negotiation function provides a means for a device to advertise supported modes of operation to a remote link partner, acknowledge the receipt and understanding of common modes of operation, and to reject un-shared modes of operation. This allows devices on both ends of a segment to establish a link at the best common mode of operation. If more than one common mode exists between the two devices, a mechanism is provided to allow the devices to resolve to a single mode of operation using a predetermined priority resolution function. Auto-negotiation also provides a parallel detection function for devices that do not support the Auto-negotiation feature. During Parallel detection there is no exchange of configuration information, instead, the receive signal is examined. If it is discovered that the signal matches a technology, supported by the receiving device, a connection will be automatically established using that technology. This allows devices, which do not support Auto-negotiation but support a common mode of operation, to establish a link. 7.2.7 MII Serial Management The MII serial management interface consists of a data interface, basic register set, and a serial management interface to the register set. Through this interface it is possible to control and configure multiple PHY devices, get status and error information, and determine the type and capabilities of the attached PHY device(s). The DM9162 management functions correspond to MII specification for IEEE 802.3u-1995 (Clause 22) for registers 0 through 6 with vendor-specific registers 16, 17, 18, 21, 22, 23 and 24. In read/write operation, the management data frame is 64-bits long and starts with 32 contiguous logic one bits (preamble) synchronization clock cycles on MDC. The Start of Frame Delimiter (SFD) is indicated by a <01> pattern followed by the operation code (OP) :< 10> indicates Read operation and <01> indicates Write operation. For read operation, a 2-bit turnaround (TA) filing between Register Address field and Data field is provided for MDIO to avoid contention. Following the turnaround time, 16-bit data is read from or written onto management registers. 7.2.8 Serial Management Interface The serial control interface uses a simple two-wired serial interface to obtain and control the status of the physical layer through the MII interface. The serial control interface consists of MDC (Management Data Clock), and MDI/O (Management Data Input/Output) signals. The MDIO pin is bi-directional and may be shared by up to 32 devices. 7.2.9 Management Interface - Read Frame Structure MDC MDIO Read 32 "1"s 0 Idle Preamble 1 SFD 1 0 A4 Op Code A3 A0 R4 PHY Address R3 R0 Register Address // // 0 Z D15 D14 Turn Around D1 D0 Data Read Write Idle 7.2.10 Management Interface - Write Frame Structure MDC MDIO Write 32 "1"s Idle Preamble 0 1 SFD 0 1 Op Code A4 A3 A0 PHY Address R4 R3 R0 Register Address Write 1 0 T urn Around D15 D14 Data D1 D0 Idle Figure 7-5 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 25 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 7.2.11 Power Reduced Mode The Signal detect circuit is always turned on to monitor whether there is any signal on the media. In case of cable disconnection, DM9162 will automatically turn off the power and enter the Power Reduced mode, regardless of its operation mode being N-way auto-negotiation or forced mode. While in the Power Reduced mode, the transmit circuit will continue sending out fast link pulse with minimum power consumption. If a valid signal is detected from the media, which might be N-way fast link pulse, 10Base-T normal link pulse, or 100Base-TX MLT3 signals, the device wakes up and resumes normal operation mode. Automatic reduced power down mode can be disabled by writing Zero to Reg.16.4. 7.2.12 Power Down Mode Power Down mode is entered by setting Reg.0.11 to ONE or pulling PWRDWN pin high, which disables all transmit and receive functions, and MII interface functions except the MDC/MDIO management interface. 7.2.13 Reduced Transmit Power Mode Additional transmit power reduction can be gained by designing with 1.25:1 turns ration magnetic on its TX side and using a 8.5Kough the MII interface. The serial control interface consed high resistors being changed from 50mit power This configuration could reduce about 20% of transmit power. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 26 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 7.3 HP Auto-MDIX Functional Descriptions The DM9162 supports the automatic detect cable connection type, MDI/MDIX (straight through/cross over). A manual configuration by register bit for MDI or MDIX is still accepted. When set to automatic, the polarity of MDI/MDIX controlled timing is generated by 16-bits LFSR. The switching cycle time is located from 200ms to 420ms. The polarity control is always switch until detect received signal. After selected MDI or MDIX, the polarity status can be read by register bit (20.7). (See page33, 8.12 specified config register-20 bit 7) 7.3.1 Function Setting. Pin 39 is used to enable HP Auto-MDIX function. Pull pin 39 low will enable it, and pull pin 39 high will disable it. Specified config Register 20 bit 4 (20, 4) is used by programmer to disable HP Auto-MDIX function. Write register 20 bit 4 to “ “ wil disable HP Auto-MDIX function. Its default value is “ “. When the register 20 bit 4 (20, 4) is set to “ “, the register 20 bit 5(20, 5) is used to select straight through or cross over mode, “ “ i for straight through, and “ “ i for cross over. RX + /- from DM9162 RX+/- to RJ45 TX + /- from DM9162 TX+/- to RJ45 * MDI: __________ * MDIX: - - - - - - - - This feature is able to detect the required cable connection type. (Straight through or crossed over) and make correction automatically Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 27 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 8 MII Register Description AD Name 15 D 00 CONTROL Reset 01 STATUS 02 03 PHYID1 PHYID2 04 Auto-Neg. Advertise 05 Link Part. Ability 06 Auto-Neg. Expansion 16 Specified Config. 17 Specified Conf/Stat 18 10T Conf/Stat 19 PWDOR 20 Specified config 21 MDINTR 22 RCVER 0 T4 Cap. 0 0 1 Next Page LP Next Page 14 13 12 11 Loop back 0 TX FDX Cap. 1 0 0 Speed Auto-N Power select Enable Down 1 1 0 TX HDX 10 FDX 10 HDX Cap. Cap. Cap. 1 1 1 0 0 0 1 1 1 FLP Rcv Ack LP Ack Remote Fault LP RF Reserved Reserved 10 Isolate 0 9 8 7 Restart Full Auto-N Duplex 0 1 Reserved 0 FC Adv LP FC T4 Adv LP T4 5 4 Coll. Test 0 1 3 2 1 0 Reserved Pream. Supr. 1 0 0000 0 0 6 Auto-N Compl. 0 0 1 Model No. 001010 TX FDX TX HDX 10 FDX 10 HDX Adv Adv Adv Adv LP LP LP LP TX FDX TX HDX 10 FDX 10 HDX Remote Fault 0 0 000_0000 Auto-N Link Jabber Cap. Status Detect 1 0 0 0 0 0 Version No. 0000 Advertised Protocol Selector Field Extd Cap. 1 0 Link Partner Protocol Selector Field Reserved BP 4B5B 100 FDX Rsvd BP SCR 100 HDX LP Enable Pardet LP Next Next Pg New Pg LP AutoN Fault Pg Able Able Rcv Cap. BP BP_ADP Repeater TX FEF_EN RMII_E Force TST_SE LEDCO RPDCTR Reset Pream. Sleep Remote ALIGN OK N 100LNK L0 L_SEL -EN St. Mch Supr. mode LoopOut 10 10 HDX Reserve Reverse Reverse PHY ADDR [4:0] Auto-N. Monitor Bit [3:0] FDX d d d HBE SQUE JAB 10T Reserved Polarity Enable Enable Enable Serial Reverse Reserved PD10DR PD100l V PDchip PDcrm PDaeq PDdrv PDecli PDeclo PD10 TSTSE1 TSTSE2 FORCE_ FORCE_ PREAM TX10M_ NWAY_ Reserved MDIX_C AutoNeg Mdix_fix Mdix_do MonSel1 MonSel0 Rmii_acc PD_valu TXSD FEF BLEX PWR PWR NTL _dlpbk Value wn u e Int_sts Reserve Reserve Reverse Fdx_ms Spd_msk Lnk_msk Int_msk d d d k Reserve Reserve Reverse Fdx_chg Spd_chg Lnk_chg Reserve d d d d Int_sts Receiver Error Counter 23 DIS_connec t Reversed Disconnect_counter 24 RSTLH Lh_led_ Lh_mdint Lh_cabst Lh_isolat Lh_rmii Lh_seril1 Lh_repea Lh_testm Lh_op2 mode r s e 0 ter ode 25 RADVR Reserved 26 RLPAR Reserved 29 PSCR Reserved Lh_op1 preamble amplitud TX_PW x e R Lh_op0 Lh_phya Lh_phya Lh_phya Lh_phya Lh_phya d4 d3 d2 d1 d0 Reserved Key to Default In the register description that follows, the default column takes the form: <Reset Value>: <Access Type>: 1 Bit set to logic one RO = Read only 0 Bit set to logic zero RW = Read/Write X No default value (PIN#) Value latched in from pin # at reset <Attribute(s)>: SC = Self clearing P = Value permanently set LL = Latching low LH = Latching high Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 28 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 8.1 Basic Mode Control Register (BMCR) - 00 Bit 0.15 Bit Name Reset Default 0,RW/SC 0.14 Loopback 0,RW 0.13 Speed selection 1,RW 0.12 Auto-negotiation enable 1,RW 0.11 Power down 0,RW 0.10 Isolate 0,RW 0.9 Restart Auto-negotiation 0,RW/SC Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Description Reset 1=Software reset 0=Normal operation This bit sets the status and controls the PHY registers to their default states. This bit, which is self-clearing, will keep returning a value of one until the reset process is completed Loopback Loop-back control register 1 = Loop-back enabled 0 = Normal operation When in 100Mbps operation mode, setting this bit may cause the descrambler to lose synchronization and produce a 720ms "dead time" before any valid data appears at the MII receive outputs Speed Select 1 = 100Mbps 0 = 10Mbps Link speed may be selected either by this bit or by auto-negotiation. When auto-negotiation is enabled and bit 12 is set, this bit will return auto-negotiation selected medium type Auto-negotiation Enable 1 = Auto-negotiation is enabled, bit 8 and 13 will be in auto-negotiation status Power Down While in the power-down state, the PHY should respond to management transactions. During the transition to power-down state and while in the power-down state, the PHY should not generate spurious signals on the MII 1=Power down 0=Normal operation Isolate 1 = Isolates the DM9162 from the MII with the exception of the serial management. (When this bit is asserted, the DM9162 does not respond to the TXD [0:3], TX_EN, and TX_ER inputs, and it shall present a high impedance on its TX_CLK, RX_CLK, RX_DV, RX_ER, RXD [0:3], COL and CRS outputs. When PHY is isolated from the MII it shall respond to the management transactions) 0 = Normal operation Restart Auto-negotiation 1 = Restart auto-negotiation. Re-initiates the auto-negotiation process. When auto-negotiation is disabled (bit 12 of this register cleared), this bit has no function and it should be cleared. This bit is self-clearing and it will keep returning to a value of 1 until auto-negotiation is initiated by the DM9162. The operation of the auto-negotiation process will not be affected by the management entity that clears this bit 0 = Normal operation 29 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 0.8 Duplex mode 1,RW 0.7 Collision test 0,RW 0.6:0.0 Reserved 0,RO Duplex Mode 1 = Full duplex operation. Duplex selection is allowed when Auto-negotiation is disabled (bit 12 of this register is cleared). With auto-negotiation enabled, this bit reflects the duplex capability selected by auto-negotiation 0 = Normal operation Collision Test 1 = Collision test enabled. When set, this bit will cause the COL signal to be asserted in response to the assertion of TX_EN 0 = Normal operation Reserved Read as 0, ignore on write 8.2 Basic Mode Status Register (BMSR) – 01 Bit 1.15 Bit Name 100BASE-T4 Default 0,RO/P 1.14 100BASE-TX full-duplex 1,RO/P 1.13 100BASE-TX half-duplex 1,RO/P 1.12 10BASE-T full-duplex 1,RO/P 1.11 10BASE-T half-duplex 1,RO/P 1.10:1.7 Reserved 0,RO 1.6 MF preamble suppression 1,RO 1.5 Auto-negotiation Complete 0,RO 1.4 Remote fault 0,RO/LH Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Description 100BASE-T4 Capable 1 = DM9162 is able to perform in 100BASE-T4 mode 0 = DM9162 is not able to perform in 100BASE-T4 mode 100BASE-TX Full Duplex Capable 1 = DM9162 is able to perform 100BASE-TX in full duplex mode 0 = DM9162 is not able to perform 100BASE-TX in full duplex mode 100BASE-TX Half Duplex Capable 1 = DM9162 is able to perform 100BASE-TX in half duplex mode 0 = DM9162 is not able to perform 100BASE-TX in half duplex mode 10BASE-T Full Duplex Capable 1 = DM9162 is able to perform 10BASE-T in full duplex mode 0 = DM9162 is not able to perform 10BASE-TX in full duplex mode 10BASE-T Half Duplex Capable 1 = DM9162 is able to perform 10BASE-T in half duplex mode 0 = DM9162 is not able to perform 10BASE-T in half duplex mode Reserved Read as 0, ignore on write MII Frame Preamble Suppression 1 = PHY will accept management frames with preamble suppressed 0 = PHY will not accept management frames with preamble suppressed Auto-negotiation Complete 1 = Auto-negotiation process completed 0 = Auto-negotiation process not completed Remote Fault 1 = Remote fault condition detected (cleared on read or by a chip reset). Fault criteria and detection method is DM9162 implementation specific. This bit will set after the RF bit in the ANLPAR (bit 13, register address 05) is set 0 = No remote fault condition detected 30 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 1.3 Auto-negotiation ability 1,RO/P 1.2 Link status 0,RO/LL 1.1 Jabber detect 0,RO/LH 1.0 Extended capability 1,RO/P Auto Configuration Ability 1 = DM9162 is able to perform auto-negotiation 0 = DM9162 is not able to perform auto-negotiation Link Status 1 = Valid link is established (for either 10Mbps or 100Mbps operation) 0 = Link is not established The link status bit is implemented with a latching function, so that the occurrence of a link failure condition causes the link status bit to be cleared and remain cleared until it is read via the management interface Jabber Detect 1 = Jabber condition detected 0 = No jabber This bit is implemented with a latching function. Jabber conditions will set this bit unless it is cleared by a read to this register through a management interface or a DM9162 reset. This bit works only in 10Mbps mode Extended Capability 1 = Extended register capable 0 = Basic register capable only 8.3 PHY ID Identifier Register #1 (PHYID1) - 02 The PHY Identifier Registers #1 and #2 work together in a single identifier of the DM9162. The Identifier consists of a concatenation of the Organizationally Unique Identifier (OUI), a vendor's model number, and a model revision number. DAVICOM Semiconductor's IEEE assigned OUI is 00606E. Bit Bit Name Default Description 2.15:2.0 OUI_MSB <0181h> OUI Most Significant Bits This register stores bit 3 to 18 of the OUI (00606E) to bit 15 to 0 of this register respectively. The most significant two bits of the OUI are ignored (the IEEE standard refers to these as bit 1 and 2) 8.4 PHY ID Identifier Register #2 (PHYID2) - 03 Bit 3.15:3.10 Bit Name OUI_LSB Default <101110>, RO/P 3.9:3.4 VNDR_MDL <001010>, RO/P 3.3:3.0 MDL_REV <0000>, RO/P Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Description OUI Least Significant Bits Bit 19 to 24 of the OUI (00606E) are mapped to bit 15 to 10 of this register respectively Vendor Model Number Five bits of vendor model number mapped to bit 9 to 4 (most significant bit to bit 9) Model Revision Number Five bits of vendor model revision number mapped to bit 3 to 0 (most significant bit to bit 4) 31 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 8.5 Auto-negotiation Advertisement Register (ANAR) – 04 This register contains the advertised abilities of this DM9162 device as they will be transmitted to its link partner during Auto-negotiation. Bit Bit Name Default Description 4.15 NP 0,RO/P Next page Indication 1 = Next page available 0 = No next page available The DM9162 has no next page, so this bit is permanently set to 0 4.14 ACK 0,RO Acknowledge 1 = Link partner ability data reception acknowledged 0 = Not acknowledged The DM9162's auto-negotiation state machine will automatically control this bit in the outgoing FLP bursts and set it at the appropriate time during the auto-negotiation process. Software should not attempt to write to this bit. 4.13 RF 0,RW Remote Fault 1 = Local device senses a fault condition 0 = No fault detected 4.12:4.11 Reserved X,RW Reserved Write as 0, ignore on read 4.10 FCS 0,RW Flow Control Support 1 = Controller chip supports flow control ability 0 = Controller chip doesn’t support flow control ability 4.9 T4 0,RO/P 100BASE-T4 Support 1 = 100BASE-T4 is supported by the local device 0 = 100BASE-T4 is not supported The DM9162 does not support 100BASE-T4 so this bit is permanently set to 0 4.8 TX_FDX 1,RW 100BASE-TX Full Duplex Support 1 = 100BASE-TX full duplex is supported by the local device 0 = 100BASE-TX full duplex is not supported 4.7 TX_HDX 1,RW 100BASE-TX Support 1 = 100BASE-TX half duplex is supported by the local device 0 = 100BASE-TX half duplex is not supported 4.6 10_FDX 1,RW 10BASE-T Full Duplex Support 1 = 10BASE-T full duplex is supported by the local device 0 = 10BASE-T full duplex is not supported 4.5 10_HDX 1,RW 10BASE-T Support 1 = 10BASE-T half duplex is supported by the local device 0 = 10BASE-T half duplex is not supported 4.4:4.0 Selector <00001>,RW Protocol Selection Bits These bits contain the binary encoded protocol selector supported by this node <00001> indicates that this device supports IEEE 802.3 CSMA/CD Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 32 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 8.6 Auto-negotiation Link Partner Ability Register (ANLPAR) – 05 This register contains the advertised abilities of the link partner when received during Auto-negotiation. Bit Bit Name Default Description 5.15 NP 0,RO Next Page Indication 1 = Link partner, next page available 1 = Link partner, next page available 5.14 ACK 0,RO Acknowledge 1 = Link partner ability data reception acknowledged 0 = Not acknowledged The DM9162's auto-negotiation state machine will automatically control this bit from the incoming FLP bursts. Software should not attempt to write to this bit 5.13 RF 0,RO Remote Fault 1 = Remote fault indicated by link partner 0 = No remote fault indicated by link partner 5.12:5.11 Reserved 0,RO Reserved Read as 0, ignore on write 5.10 FCS 0,RO Flow Control Support 1 = Controller chip supports flow control ability by link partner 0 = Controller chip doesn’t support flow control ability by link partner 5.9 T4 0,RO 100BASE-T4 Support 1 = 100BASE-T4 is supported by the link partner 0 = 100BASE-T4 is not supported by the link partner 5.8 TX_FDX 0,RO 100BASE-TX Full Duplex Support 1 = 100BASE-TX full duplex is supported by the link partner 0 = 100BASE-TX full duplex is not supported by the link partner 5.7 TX_HDX 0,RO 100BASE-TX Support 1 = 100BASE-TX half duplex is supported by the link partner 0 = 100BASE-TX half duplex is not supported by the link partner 5.6 10_FDX 0,RO 10BASE-T Full Duplex Support 1 = 10BASE-T full duplex is supported by the link partner 0 = 10BASE-T full duplex is not supported by the link partner 5.5 10_HDX 0,RO 10BASE-T Support 1 = 10BASE-T half duplex is supported by the link partner 0 = 10BASE-T half duplex is not supported by the link partner 5.4:5.0 Selector <00000>,RO Protocol Selection Bits Link partner’s binary encoded protocol selector Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 33 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 8.7 Auto-negotiation Expansion Register (ANER) – 06 Bit 6.15:6.5 Bit Name Reserved Default 0,RO 6.4 PDF 0,RO/LH 6.3 LP_NP_ABLE 0,RO 6.2 NP_ABLE 0,RO/P 6.1 PAGE_RX 0,RO/LH 6.0 LP_AN_ABLE 0,RO Description Reserved Read as 0, ignore on write Local Device Parallel Detection Fault PDF = 1: A fault detected via parallel detection function. PDF = 0: No fault detected via parallel detection function Link Partner Next Page Able LP_NP_ABLE = 1: Link partner, next page available LP_NP_ABLE = 0: Link partner, no next page Local Device Next Page Able NP_ABLE = 1: DM9162, next page available NP_ABLE = 0: DM9162, no next page DM9162 does not support this function, so this bit is always 0 New Page Received A new link code word page received. This bit will be automatically cleared when the register (register 6) is read by management Link Partner Auto-negotiation Able A “1” in this bit indicates that the link partner supports Auto-negotiation 8.8 DAVICOM Specified Configuration Register (DSCR) - 16 Bit 16.15 Bit Name BP_4B5B Default 0,RW 16.14 BP_SCR 0,RW 16.13 BP_ALIGN 0,RW 16.12 BP_ADPOK 1,RW 16.11 REPEATER RW 16.10 TX 1,RW 16.9 16.8 Reserved RMII_Enable 1,RO RW Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Description Bypass 4B5B Encoding and 5B4B Decoding 1 = 4B5B encoder and 5B4B decoder function bypassed 0 = Normal 4B5B and 5B4B operation Bypass Scrambler/Descrambler Function 1 = Scrambler and descrambler function bypassed 0 = Normal scrambler and descrambler operation Bypass Symbol Alignment Function 1 = Receive functions (descrambler, symbol alignment and symbol decoding functions) bypassed. Transmit functions (symbol encoder and scrambler) bypassed 0 = Normal operation Bypass ADPOK 1=Reserved 0=Normal operation Repeater/Node Mode The value of the Repeater/Node is latched into this bit at power-up/reset 1 = Repeater mode 0 = Node mode *Please reference to 8.16 DAVICOM Hardware Reset Latch State Register (RLSR) – 24 ( Bit 9) 100BASE-TX Mode Control 1 = 100BASE-TX operation Reserved Reduced MII Enable Select normal MII or RMII. The value of the RMII is latched into this bit at power-up/reset 1 = Enable RMII 0 = Normal MII *Please reference to 8.16 DAVICOM Hardware Reset Latch State Register (RLSR) – 24 ( Bit 11) 34 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 16.7 F_LINK_100 0,RW 16.6 SPLED_CTL 0,RW 16.5 COLLED_CTL 0,RW 16.4 RPDCTR-EN 1,RW 16.3 SMRST 0,RW 16.2 MFPSC 1,RW 16.1 SLEEP 0,RW 16.0 RLOUT 0,RW Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Force Good Link in 100Mbps 1 = Force 100Mbps good link status 0 = Normal 100Mbps operation This bit is useful for diagnostic purposes Speed LED Disable 1 = Disable SPEED LED output. 0 = Normal SPEED LED output to indicate speed status Collision LED Enable 1 = FDX/COL LED output is configured to indicate Full-duplex/Collision status 0 = FDX/COL LED output is configured to indicate Full/half duplex status Reduced Power Down Control Enable This bit is used to enable automatic reduced power down 1 = Enable automatic reduced power down 0 = Disable automatic reduced power down Reset State Machine When writes 1 to this bit, all state machines of PHY will be reset. This bit is self-clear after reset is completed MF Preamble Suppression Control MII frame preamble suppression control bit 1 = MF preamble suppression bit on 0 = MF preamble suppression bit off Sleep Mode Writing a 1 to this bit will cause PHY entering the Sleep mode and power down all circuit except oscillator and clock generator circuit. When waking up from Sleep mode (write this bit to 0), the configuration will go back to the state before sleep; but the state machine will be reset Remote Loop out Control When this bit is set to 1, the received data will loop out to the transmit channel. This is useful for bit error rate testing 35 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 8.9 DAVICOM Specified Configuration and Status Register (DSCSR) – 17 Bit 17.15 Bit Name 100FDX 17.14 100HDX 17.13 10FDX 17.12 10HDX 17.11: Reserved 17.9 17.8 :17.4 PHYADR [4:0] 17.3:17.0 ANMB[3:0] Default 1,RO Description 100M Full Duplex Operation Mode After auto-negotiation is completed, results will be written to this bit. If this bit is 1, it means the operation 1 mode is a 100M full duplex mode. The software can read bit [15:12] to see which mode is selected after auto-negotiation. This bit is invalid when it is not in the auto-negotiation mode 1,RO 100M Half Duplex Operation Mode After auto-negotiation is completed, results will be written to this bit. If this bit is 1, it means the operation 1 mode is a 100M half duplex mode. The software can read bit [15:12] to see which mode is selected after auto-negotiation. This bit is invalid when it is not in the auto-negotiation mode 1,RO 10M Full Duplex Operation Mode After auto-negotiation is completed, results will be written to this bit. If this bit is 1, it means the operation 1 mode is a 10M Full Duplex mode. The software can read bit [15:12] to see which mode is selected after auto-negotiation. This bit is invalid when it is not in the auto-negotiation mode 1,RO 10M Half Duplex Operation Mode After auto-negotiation is completed, results will be written to this bit. If this bit is 1, it means the operation 1 mode is a 10M half duplex mode. The software can read bit [15:12] to see which mode is selected after auto-negotiation. This bit is invalid when it is not in the auto-negotiation mode 0,RO Reserved Read as 0, ignore on write (PHYADR), PHY Address Bit 4:0 RW The first PHY address bit transmitted or received is the MSB of the address (bit 4). A station management entity connected to multiple PHY entities must know the appropriate address of each PHY 0,RO Auto-negotiation Monitor Bits These bits are for debug only. The auto-negotiation status will be written to these bits. b3 b2 b1 B0 0 0 0 0 In IDLE state 0 0 0 1 Ability match 0 0 1 0 Acknowledge match 0 0 1 1 Acknowledge match fail 0 1 0 0 Consistency match 0 1 0 1 Consistency match fail 0 1 1 0 Parallel detects signal_link_ready 0 1 1 1 Parallel detects signal_link_ready fail 1 0 0 0 Auto-negotiation completed successfully Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 36 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 8.10 10BASE-T Configuration/Status (10BTCSR) – 18 Bit 18.15 Bit Name Reserved Default 0,RO 18.14 LP_EN 1,RW 18.13 HBE 1,RW 18.12 SQUELCH 1,RW 18.11 JABEN 1,RW 18.10 10BT_SER RW 18.9:18.1 Reserved 0,RO 18.0 POLR 0,RO Description Reserved Read as 0, ignore on write Link Pulse Enable 1 = Transmission of link pulses enabled 0 = Link pulses disabled, good link condition forced This bit is valid only in 10Mbps operation Heartbeat Enable 1 = Heartbeat function enabled 0 = Heartbeat function disabled When the DM9162 is configured for full duplex operation, this bit will be ignored (the collision/heartbeat function is invalid in full duplex mode) Squelch Enable 1 = Normal squelch 0 = Low squelch Jabber Enable Enables or disables the Jabber function when the DM9162 is in 10BASE-T full duplex or 10BASE-T transceiver Loopback mode 1 = Jabber function enabled 0 = Jabber function disabled 10BASE-T GPSI Mode ( Default value depend on #pin34 strap condition) 1 = 10BASE-T GPSI mode selected (#pin34 pull down) 0 = 10BASE-T MII mode selected (#pin34 pull up, default) GPSI mode is not supported for 100Mbps operation *Please reference to 8.16 DAVICOM Hardware Reset Latch State Register (RLSR) – 24 ( Bit 10) Reserved Read as 0, ignore on write Polarity Reversed When this bit is set to 1, it indicates that the 10Mbps cable polarity is reversed. This bit is automatically set and cleared by 10BASE-T module 8.11 Power down Control Register (PWDOR) – 19 Bit 19.15:19.9 Bit Name Reserved Default 0,RO Description Reserved Read as 0, ignore on write 19.8 PD10DRV 0,RW Vendor power down control test 19.7 PD100DL 0,RW Vendor power down control test 19.6 PDchip 0,RW Vendor power down control test 19.5 PDcom 0,RW Vendor power down control test 19.4 PDaeq 0,RW Vendor power down control test 19.3 PDdrv 0,RW Vendor power down control test 19.2 PDedi 0,RW Vendor power down control test 19.1 PDedo 0,RW Vendor power down control test 19.0 PD10 0,RW Vendor power down control test * When selected, the power down value is control by Register 20.0 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 37 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 8.12 (Specified Config) Register – 20 Bit 20.15 20.14 20.13 20.12 20.11 20.10 20.9 20.11: 20.8 20.7 20.6 20.5 20.4 20.3 20.2 20.1 20.0 Bit Name TSTSE1 TSTSE2 Reserved Default 0,RW 0,RW 0, RO Description Vendor test select control Vendor test select control Reserved 0 = normal SD TSTSEL3 0,RW Vendor test select control PREAMBLEX 0,RW Preamble Saving Control 1 = 10M TX preamble bit count is normal. 0 = When bit 10 is set, the 10M TX preamble count is reduced. When bit 11 of register 29 is set, 12-bit preamble bit is reduced. Otherwise 22-bit preamble bit is reduced TX10M_PWR 0,RW 10M TX Power Saving Control 1 = enable 10M TX power saving 0 = disable 10M TX power saving NWAY_PWR 0,RW N-Way Power Saving Control 1 = disable N-Way power saving 0 = enable N-Way power saving Reserved 0,RO Reserved Read as 0, ignore on write MDIX_CNTL MDI/MDIX,RO The polarity of MDI/MDIX value 1 = MDIX mode 0 = MDI mode AutoNeg_dpbk 0,RW Auto-negotiation Loopback 1 = test internal digital auto-negotiation Loopback 0 = normal. Mdix_fix Value 0,RW MDIX_CNTL force value: When MDIX_DOWN = 1, MDIX_CNTL value depend on the register value. Mdix_do wn 0,RW MDIX Down Manual force MDI/MDIX. 1 = Disable HP Auto-MDIX , MDIX_CNTL value depend on 20.5 0 = Enable HP Auto-MDIX MonSel1 0,RW Vendor monitor select MonSel0 0,RW Vendor monitor select RMII_Ver 0,RW RMII version 1 = support RMII 1.0 0 = support RMII 1.2 PD_value 0,RW Power down control value Decision the value of each field Register 19. 1 = power down 0 = normal Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 38 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 8.13 DAVICOM Specified Interrupt Register – 21 Bit 21.15 Bit Name INTR PEND Default 0,RO 21.14: 21.12 21.11 Reserved 0,RO FDX mask 1,RW 21.10 SPD mask 1,RW 21.12 LINK mask 1,RW 21.8 INTR mask 1,RW 21.7:21.5 21.4 Reserved FDX change 0,RO 0,RO/LH 21.3 SPD change 0,RO/LH 21.2 LINK change 0,RO/LH 21.1 21.0 Reserved INTR status 0,RO 0,RO/LH Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Description Interrupt Pending Indicates that the interrupt is pending and is cleared by the current read. This bit shows the same result as bit 0. (INTR Status) Reserved Full-duplex Interrupt Mask When this bit is set, the Duplex status change will not generate the interrupt Speed Interrupt Mask When this bit is set, the Speed status change will not generate the interrupt Link Interrupt Mask When this bit is set, the link status change will not generate the interrupt Master Interrupt Mask When this bit is set, no interrupts will be generated under any condition Reserved Duplex Status Change Interrupt “1” indicates a change of duplex since last register read. A read of this register will clear this bit Speed Status Change Interrupt “1” indicates a change of speed since last register read. A read of this register will clear this bit Link Status Change Interrupt “1” indicates a change of link since last register read. A read of this register will clear this bit Reserved Interrupt Status The status of MDINTR#. “1” indicates that the interrupt mask is off that one or more of the change bits are set. A read of this register will clear this bit 39 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 8.14 DAVICOM Specified Receive Error Counter Register (RECR) – 22 Bit 22.15:0 Bit Name Rcv_ Err_ Cnt Default 0,RO Description Receive Error Counter Receive error counter that increments upon detection of RXER. Clean by read this register. 8.15 DAVICOM Specified Disconnect Counter Register (DISCR) – 23 Bit 23.15: 23.8 23.7;23.0 Bit Name Reserved Default 0,RO Disconnect Counter 0,RO Description Reserved Disconnect Counter those increments upon detection of disconnection. Clean by read this register. 8.16 DAVICOM Hardware Reset Latch State Register (RLSR) – 24 Bit 24.15 24.14 24.13 24.12 24.11 24.10 24.9 24.8 24.7 24.6 24.5 24.4 24.3 24.2 24.1 24.0 Bit Name LH_LEDMODE LH_MDINTR LH_CSTS LH_ISO LH_RMII LH_TP10SER LH_REPTR LH_TSTMOD LH_OP2 LH_OP1 LH_OP0 LH_PH4 LH_PH3 LH_PH2 LH_PH1 LH_PH0 Default 1,RO 1,RO 0,RO 0,RW 0,RW 1,RW 0,RW 0,RW 1,RO 1,RO 1,RO 0,RO 0,RO 0,RO 0,RO 0,RO Description LEDMODE pin reset latch value MDINTR pin reset latch value CABLESTS pin reset latch value TXCLK pin reset latch value COL pin reset latch value RXCLK pin reset latch value RXER pin reset latch value RXDV pin reset latch value LED2 pin reset latch value LED1 pin reset latch value LED0 pin reset latch value CRS pin reset latch value RXD3 pin reset latch value RXD2 pin reset latch value RXD1 pin reset latch value RXD0 pin reset latch value 8.17 Power Saving Control Register (PSCR) – 29 Bit 29.15:12 29.11 Bit Name RESERVED PREAMBLEX Default 0,RO 0,RW 29.10 29.9 RESERVED TX_PWR 0,RO 0.RW 29.8:0 RESERVED 0,RO Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Description reserved Preamble Saving Control When bit 10 of register 20 is set and bit 11 of register 20 is cleared, the 10M TX preamble count is reduced. 1 = 10-bit preamble bit is reduced. 0 = 20-bit preamble bit is reduced. reserved TX Power Saving Control Disabled 1 = disable TX driving power saving function 0 = when cable is unconnected with link partner, the driving current of transmit is reduced for power saving. reserved 40 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 9 DC and AC Electrical Characteristics 9.1 Absolute Maximum Ratings (25C) (-40C~+85C for DM9162I) Symbol DVDD VIN VOUT TSTG TA TA LT Parameter Supply Voltage DC Input Voltage (VIN) DC Output Voltage(VOUT) Storage Temperature range Ambient Temperature Ambient Temperature Lead Temperature (LT, soldering, 10 sec.). Min. -0.3 -0.5 -0.3 -65 0 -40 - Max. 3.6 5.5 3.6 +150 +70 +85 +260 Unit V V V C C C C Conditions *1 *2 *2 For DM9162I - *1: Power pin *2: IO pin 9.2 Operating Conditions Symbol DVDD PD (Power Dissipation) * Parameter Supply Voltage 100BASE-TX 10BASE-T Auto-negotiation Power Down Mode Min. 3.135 - Typ. 3.300 130 120 50 8.2 Max. 3.465 - Unit V mA mA mA mA Conditions 3.3V 3.3V 3.3V 3.3V Comments Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only. Functional operation of this device at these or any other conditions above those indicated that in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 41 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 9.3 DC Electrical Characteristics (DVDD = 3.3V) Symbol Parameter Min. Typ. Max. Unit Conditions TTL Inputs (TXD0~TXD3, TXCLK, MDC, MDIO, TXEN, TXER, RXEN, TESTMODE, RMII, PHYAD0~4, OPMODE0-2, RPTR, RESET# ) VIL Input Low Voltage 0.8 V VIH Input High Voltage 2.0 V IIL Input Low Leakage Current -1 uA VIN = 0V IIH Input High Leakage Current 1 uA VIN = 3.3V VOL Output Low Voltage 0.4 V IOL = 4mA VOH Output High Voltage 2.4 V IOH = -4mA Receiver VICM RX+/RX- Common mode Input Voltage 1.8 V 100 Termination Across Transmitter VTD100 100TX+/- Differential Output Voltage 1.9 2.0 2.1 V Peak to Peak VTD10 10TX+/- Differential Output Voltage 4.4 5 5.6 V Peak to Peak ITD100 100TX+/- Differential Output Current │20│ mA │19│ │21│ ITD10 10TX+/- Differential Output Current │50│ │56│ mA │44│ 9.4 AC Electrical Characteristics & Timing Waveforms 9.4.1 TP Interface Symbol Parameter tTR/F 100TX+/- Differential Rise/Fall Time tTM 100TX+/- Differential Rise/Fall Time Mismatch tTDC 100TX+/- Differential Output Duty Cycle Distortion tT/T 100TX+/- Differential Output Peak-to-Peak Jitter XOST 100TX+/- Differential Voltage Overshoot 9.4.2 Oscillator/Crystal Timing Symbol Parameter OSC Frequency tCKC OSC Cycle Time tPWH OSC Pulse Width High tPWL OSC Pulse Width Low Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Min. 3.0 0 0 Typ. - 0 0 - Min. 24.99925 39.9988 16 16 Typ. 25 40 20 20 Max. 5.0 0.5 0.5 Unit ns ns ns 1.4 5 ns % Max. 25.00075 40.0012 24 24 Unit MHz ns ns ns Conditions Conditions 30ppm 30ppm 42 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 9.4.3 Power On Reset Timing t1 RESET# Strap pins t2 pwrst#.vsd Symbol Min. Typ. Max. Unit Conditions t1 RESET# Low Period Parameter 1 - - ms - t2 Strap pin hold time with RESET# 40 - - ns - 9.4.4 MDC/MDIO Timing Symbol Parameter t0 MDC Cycle Time t1 MDIO Setup Before MDC t2 MDIO Hold After MDC t3 MDC To MDIO Output Delay Min. 80 10 10 0 Typ. - Max. 300 Unit ns ns ns ns Conditions When OUTPUT By STA When OUTPUT By STA When OUTPUT By DM9162 9.4.5 MDIO Timing When OUTPUT by STA MDC 10ns (Min) t1 10ns (Min) t2 MDIO 9.4.6 MDIO Timing When OUTPUT by DM9162 MDC 0 - 300 ns t3 MDIO Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 43 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 9.4.7 MII 100BASE-TX Transmit Timing Parameters Symbol Parameter tTXc TXCLK Cycle Time tTXh, tTXl TXCLK High/Low Time tTXs TXD [0:3], TXEN, TXER Setup To TXCLK High tTXh TXD [0:3], TXEN, TXER Hold From TXCLK High tTXOD TXCLK to Output Delay t1 TXEN Sampled To CRS Asserted t2 TXEN Sampled To CRS De-asserted tTXpd TXEN Sampled To TX+/- Out (Tx Latency) tTXr/f 100TX Driver Rise/Fall Time Min. 39.9988 16 12 0 Typ. 40 20 - Max. 40.0012 24 - Unit ns ns ns ns 3 4 4 8 4 25 5 ns BT BT BT ns Conditions 30ppm 90% To 10%, Into 100ohm Differential Note 1. Typical values are at 25℃and are for design aid only; not guaranteed and not subject to production testing. 9.4.8 MII 100BASE-TX Transmit Timing Diagram TXCLK tTXc tTX S tTXh tTX h TXD [0:3], TXEN, TXER tTXOD t2 t1 CRS tTX r/f tTX pd 100TX+/- 9.4.9 MII 100BASE-TX Receive Timing Parameters Symbol Parameter Min. Typ. Max. Unit Conditions tRXc RXCLK Cycle Time 39.9988 40 40.0012 30ppm TRXh, tRXl RXCLK High/Low Time 16 20 24 tRXs RXD [0:3], RXDV, RXER Setup To RXCLK High 10 ns tRXh RXD [0:3], RXDV, RXER Hold From RXCLK High 10 ns tRXpd RX+/- In To RXD [0:3] Out (Rx Latency) 15 BT t1 CRS Asserted To RXD [0:3], RXDV, RXER 4 BT t2 CRS De-asserted To RXD [0:3], RXDV, RXER 0 BT t3 RX+/- In To CRS Asserted 10 14 BT t4 RX+/- Quiet To CRS De-asserted 14 18 BT t5 RX+/- In To COL De-Asserted 14 18 BT 1. Typical values are at 25℃and are for design aid only; not guaranteed and not subject to production testing. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 44 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 9.4.10 MII 100BASE-TX Receive Timing Diagram RXCLK tTX pd tRX S tRX h tRXh tRXc RXD [0:3], RXDV, RXER t1 t2 CRS t4 t3 RX+/t5 t5 COL 9.4.11 MII 10BASE-T Nibble Transmit Timing Parameters Symbol Parameter tTXs TXD[0:3), TXEN, TXER Setup To TXCLK High tTXh TXD[0:3], TXEN, TXER Hold From TXCLK High t1 TXEN Sampled To CRS Asserted t2 TXEN Sampled To CRS De-asserted tTXpd TXEN Sampled To 10TX+/- Out (Tx Latency) Min. 5 5 - Typ. 2 15 2 Max. 4 20 4 Unit ns ns BT BT BT Conditions 9.4.12 MII 10BASE-T Nibble Transmit Timing Diagram TXCLK tTX h tTX S TXD [0:3], TXEN, TXER t2 t1 CRS tTX pd 10TX+/- 9.4.13 MII 10BASE-T Receive Nibble Timing Parameters Symbol Parameter tRXs RXD [0:3], RXDV, RXER Setup To RXCLK High tRXh RXD [0:3], RXDV, RXER Hold From RXCLK High tRXpd 10RX+/- To RXD [0:3] Out (Rx Latency) t1 CRS Asserted To RXD [0:3], RXDV, RXER,Asserted t2 CRS De-asserted To RXD [0:3], RXDV, RXER,De-asserted t3 RXI In To CRS Asserted t4 RXI Quiet To CRS De-asserted Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Min. 5 5 1 - Typ. 7 14 - Max. 20 3 Unit ns ns BT BT BT 1 1 2 10 4 15 BT BT Conditions 45 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 9.4.14 MII 10BASE-T Receive Nibble Timing Diagram RXCLK tTXpd tRXS tRXh RXD [0:3], RXDV, RXER t1 t2 t4 CRS t3 10RX+/- 9.4.15 Auto-negotiation and Fast Link Pulse Timing Parameters Symbol Parameter Min. t1 Clock/Data Pulse Width t2 Clock Pulse To Data Pulse Period 55.5 t3 Clock Pulse To Clock Pulse Period 111 t4 FLP Burst Width t5 FLP Burst To FLP Burst Period 8 Clock/Data Pulses in a Burst 17 Typ. 100 62.5 125 2 - Max. 69.5 139 24 33 Unit ns us us ms ms pulse Conditions DATA = 1 9.4.16 Auto-negotiation and Fast Link Pulse Timing Diagram Clock Pulse FAST LINK PULSES Data Pulse Clock Pulse t1 t1 t2 t3 FLP Burst FLP Burst FLP Bursts t4 t5 Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 46 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 9.4.17 RMII Receive Timing Diagram 100 Mb/s Reception with no errors 9.4.18 RMII Transmit Timing Diagram 100 Mb/s Transmission 9.4.19 RMII Timing Diagram REF_CLK Tsu Thold TXD[1:0], TX_EN, RXD[1:0], CRS_DV, RX_ER 50MCLK OUT Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 47 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 9.4.20 RMII Timing Parameter Symbol Parameter Fref REF_CLK Frequency (External clock source) 50MCLK 50Mhz_CLK Output Frequency OUT (DM9162 output clock) Tref% REF_CLK Duty Cycle Tref REF_CLK Clock Cycle Tsu TXD[1:0], TX_EN, RXD[1:0], CRS_DV, RX_ER Data Setup to REF_CLK rising edge Thold TXD[1:0], TX_EN, RXD[1:0], CRS_DV, RX_ER Data hold from REF_CLK rising edge Min. 49.9985 Typ. 50 Max. 50.0015 Unit MHz 49.9985 50 50.0015 MHz 35 4 20 - 65 - % ns ns 2 - - ns Conditions 30ppm (1.5KHz) 30ppm (1.5KHz) 30ppm 9.4.21 Magnetic Selection Guide Refer to Table 2 for transformer requirements. Transformers, meeting these requirements, are available from a variety of magnetic manufacturers. Designers should test and qualify all magnetic before using them in an application. The transformers listed in Table 2 are electrical equivalents, but may not be pin-to-pin equivalents. Refer to the following tables 5-1 and 5-2 for 10/100M magnetic sources and specification requirements. The magnetics which meet these requirements are available from a variety of magnetic manufacturers. Designers should test and qualify all magnetic specifications before using them in an application. The magnetics listed in the following table are electrical equivalents, but may not be pin-to-pin equivalents. Manufacturer Part Number MAGCOM HS9016, HS9024 Delta LFE8563-DC, LFE8563T-DC Table 5-1: 10/100M Magnetics Sources Parameter Tx / RX turns ratio Inductance Insertion loss Return loss Differential to common mode rejection Transformer isolation Values Units 1:1 CT / 1:1 350 H (Min) 1.1 dB ( Max ) -18 dB ( Min ) -14 dB ( Min ) -12 dB ( Min ) -40 dB ( Min ) -30 dB ( Min ) 1500 V Table 5-2: Magnetic Specification Requirements Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 Test Condition 1 – 100 MHz 1 –30 MHz 30 – 60 MHz 60 – 80 MHz 1 – 60 MHz 60 – 100 MHz - 48 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 10 RMII Application 10.1 DM9162 RMII Mode Connection (25MHz Crystal or 25MHz Clock in) 10.2 DM9162 RMII Mode Connection (50MHz OSC) 10.3 DM9162 RMII Mode Connection (50MHz by MAC) Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 49 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 11 Package Information 48 Pins LQFP Package Outline Information: Symbol A A1 A2 b b1 c c1 D D1 E E1 e L L1 R1 R2 S θ θ1 θ2 θ3 Dimension in mm Min Nom Max - - 1.60 0.05 - 0.15 1.35 1.40 1.45 0.17 0.22 0.27 0.17 0.20 0.23 0.09 - 0.20 0.09 - 0.16 9.00 BSC 7.00 BSC 9.00 BSC 7.00 BSC 0.50 BSC 0.45 0.60 0.75 1.00 REF 0.08 - - 0.08 - 0.20 0.20 - - o o o 0 3.5 7 o 0 - - o 12 TYP o 12 TYP Dimension in inch Min Nom Max - - 0.063 0.002 - 0.006 0.053 0.055 0.057 0.007 0.009 0.011 0.007 0.008 0.009 0.004 - 0.008 0.004 - 0.006 0.354 BSC 0.276 BSC 0.354 BSC 0.276 BSC 0.020 BSC 0.018 0.024 0.030 0.039 REF 0.003 - - 0.003 - 0.008 0.008 - - o o o 0 3.5 7 o 0 - - o 12 TYP o 12 TYP 1. Dimension D1 and E1 do not include resin fin. 2. All dimensions are base on metric system. 3. General appearance spec should base on its final visual inspection spec. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 50 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver QFN 32L Outline Dimension: Symbol A A1 A3 b D/E D2/E2 e L K R aaa bbb ccc ddd eee fff Dimension in mm MIN NOM MAX 0.80 0.85 0.90 0.00 0.02 0.05 0.02 REF 0.18 0.25 0.30 5.00 BSC 3.35 3.50 3.65 0.50 BSC 0.35 0.40 0.45 0.20 ----0.09 ----0.15 0.10 0.10 0.05 0.08 0.10 Dimension in inch MIN NOM MAX 0.031 0.033 0.035 0.000 0.001 0.002 0.008 REF 0.007 0.010 0.012 0.197 BSC 0.132 0.138 0.144 0.020 BSC 0.014 0.016 0.018 0.008 ----0.004 ----0.006 0.004 0.004 0.002 0.003 0.004 NOTE: 1. CONTROLLING DIMENSION: MILLIMETER 2. REFERENCE DOCUMENT: JEDEC MO-220. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 51 DM9162/DM9162I 10/100 Mbps Fast Ethernet Physical Layer Single Chip Transceiver 12 Ordering Information Part Number DM9162EP DM9162IEP DM9162NP DM9162INP Pin Count 48 48 32 32 Package LQFP(Pb-Free) LQFP(Pb-Free) QFN(Pb-Free) QFN(Pb-Free) Disclaimer The information appearing in this publication is believed to be accurate. Integrated circuits sold by DAVICOM Semiconductor are covered by the warranty and patent indemnification provisions stipulated in the terms of sale only. DAVICOM makes no warranty, express, statutory, implied or by description regarding the information in this publication or regarding the information in this publication or regarding the freedom of the described chip(s) from patent infringement. FURTHER, DAVICOM MAKES NO WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE. DAVICOM reserves the right to halt production or alter the specifications and prices at any time without notice. Accordingly, the reader is cautioned to verify that the data sheets and other information in this publication are current before placing orders. Products described herein are intended for use in normal commercial applications. Applications involving unusual environmental or reliability requirements, e.g. military equipment or medical life support equipment, are specifically not recommended without additional processing by DAVICOM for such applications. Please note that application circuits illustrated in this document are for reference purposes only. DAVICOM’s terms and conditions printed on the order acknowledgment govern all sales by DAVICOM. DAVICOM will not be bound by any terms inconsistent with these unless DAVICOM agrees otherwise in writing. Acceptance of the buyer’s orders shall be based on these terms. Company Overview DAVICOM Semiconductor Inc. develops and manufactures integrated circuits for integration into data communication products. Our mission is to design and produce IC products that are the industry’s best value for Data, Audio, Video, and Internet/Intranet applications. To achieve this goal, we have built an organization that is able to develop chipsets in response to the evolving technology requirements of our customers while still delivering products that meet their cost requirements. Products We offer only products that satisfy high performance requirements and which are compatible with major hardware and software standards. Our currently available and soon to be released products are based on our proprietary designs and deliver high quality, high performance chipsets that comply with modem communication standards and Ethernet networking standards. Contact Windows For additional information about DAVICOM products, contact the Sales department at: Headquarters Hsin-chu Office: No.6, Li-Hsin 6th Rd., Hsinchu Science Park, Hsin-chu City 300, Taiwan, R.O.C. TEL: +886-3-5798797 FAX: +886-3-5646929 MAIL: [email protected] HTTP: http://www.davicom.com.tw WARNING Conditions beyond those listed for the absolute maximum may destroy or damage the products. In addition, conditions for sustained periods at near the limits of the operating ranges will stress and may temporarily (and permanently) affect and damage structure, performance and function. Final Doc No: DM9162/DM9162I-12-MCO-DS-F01 January 6, 2014 52