DM9620A(I) USB2.0 to Fast Ethernet Controller DAVICOM Semiconductor, Inc. DM9620A(I) USB2.0 to 10/100M Fast Ethernet Controller DATA SHEET Final Version: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 1 DM9620A(I) USB2.0 to Fast Ethernet Controller Content 1 2 3 4 Features ............................................................................................................................................. 5 1.1 General Description ............................................................................................................ 6 Block Diagram ................................................................................................................................... 7 Pin Configuration .............................................................................................................................. 8 3.1 64-Pin LQFP with MII Interface ........................................................................................... 8 3.2 64-Pin LQFP Description..................................................................................................... 9 3.2.1 MII Interface ...................................................................................................................... 9 3.2.2 RMII Interface .................................................................................................................... 9 3.2.3 Reverse MII Interface......................................................................................................... 9 3.2.4 EEPROM Interface ...........................................................................................................10 3.2.5 USB Interface ...................................................................................................................10 3.2.6 Clock Interface..................................................................................................................10 3.2.7 LED ..................................................................................................................................10 3.2.8 10/100 PHY ....................................................................................................................... 11 3.3 Strap Pin Table ..................................................................................................................12 Vender Control an Status Register Set ............................................................................................13 4.1 Network Control Register (00H) .........................................................................................15 4.2 Network Status Register (01H) ...........................................................................................16 4.3 TX Control Register (02H) ..................................................................................................16 4.4 RX Control Register (05H) .................................................................................................17 4.5 RX Status Register (06H) ...................................................................................................17 4.6 Receive Overflow Counter Register (07H) ..........................................................................17 4.7 Back Pressure Threshold Register (08H) ...........................................................................18 4.8 Flow Control Threshold Register (09H)...............................................................................18 4.9 RX/TX Flow Control Register (0AH) ...................................................................................19 4.10 EEPROM & PHY Control Register (0BH) ...........................................................................19 4.11 EEPROM & PHY Address Register (0CH) ..........................................................................20 4.12 EEPROM & PHY Data Register (EE_PHY_L:0DH EE_PHY_H:0EH).........................20 4.13 Wake Up Control Register (0FH) ........................................................................................20 4.14 Physical Address Register (10H~15H)................................................................................20 4.15 Multicast Address Register (16H~1DH) ..............................................................................21 4.16 General Purpose Control Register (1EH)............................................................................21 4.17 General Purpose Register (1FH) ........................................................................................21 4.18 Vendor ID Register (28H~29H)...........................................................................................21 4.19 Product ID Register (2AH~2BH) .........................................................................................21 4.20 Chip Revision Register (2CH) ............................................................................................22 4.21 TX Special Control Register (2DH) .....................................................................................22 4.22 External PHY Force Mode Control Register (2EH)..............................................................22 4.23 Transmit Check Sum Control Register (31H) ......................................................................22 4.24 Receive Check Sum Control Status Register (32H) ............................................................23 4.25 External PHY Ceiver Address Register (33H) .....................................................................23 4.26 General Purpose Control Register 2 (34H) .........................................................................23 4.27 General Purpose Register 2 (35H) .....................................................................................23 4.28 General Purpose Control Register 3 (36H) ..................................................................................24 4.29 General Purpose Register 3 (37H) ..............................................................................................24 4.30 EEPROM and PHY Control Register (3AH) ........................................................................24 4.31 Pause Packet Control/Status Register (3DH) .....................................................................24 4.32 IEEE802.3az Enter Time Register (3EH) ............................................................................24 4.33 IEEE802.3az Leave Time Register (3FH) ...........................................................................24 4.34 Link Up/Down Wakeup Event Register (51H) .....................................................................25 4.35 IPv6 NA/ARP Register (52H)..............................................................................................25 4.36 Transmit Packet Counter (81H) ..........................................................................................25 4.37 USB Packet Error Counter (82H)........................................................................................25 4.38 Ethernet Receive Packet CRC Error Counter (83H)............................................................25 4.39 Ethernet Transmit Excessive Collision Counter (84H) .........................................................26 Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 2 DM9620A(I) USB2.0 to Fast Ethernet Controller 5 6 7 4.40 Ethernet Transmit Collision Counter (85H) .........................................................................26 4.41 Ethernet Transmit Late Collision Counter (86H)..................................................................26 4.42 RX Header Control/Status Register (91H) ..........................................................................26 4.43 USB Squelch Control (95H) ...............................................................................................26 4.44 USB Address (96H)............................................................................................................26 4.45 USB Device Address Register (F0H) ..................................................................................26 4.46 Receive Packet Counter Register (F1H).............................................................................27 4.47 USB Status Register (F2H) ................................................................................................27 4.48 USB Control Register (F4H) ...............................................................................................27 EEPROM Format ...............................................................................................................................28 PHY Register Description.................................................................................................................29 6.1 Basic Mode Control Register (BMCR) – 00H ......................................................................30 6.2 Basic Mode Status Register (BMSR) – 01H........................................................................31 6.3 PHY ID Identifier Register #1 (PHYID1) – 02H ...................................................................32 6.4 PHY Identifier Register #2 (PHYID2) – 03H ........................................................................32 6.5 Auto-Negotiation Advertisement Register(ANAR) – 04H .....................................................33 6.6 Auto-Negotiation Link Partner Ability Register (ANLPAR) – 05H .........................................34 6.7 Auto-Negotiation Expansion Register (ANER)- 06H............................................................35 6.8 DAVICOM Specified Configuration Register (DSCR) – 10H ................................................36 6.9 DAVICOM Specified Configuration and Status Register (DSCSR) – 11H ............................37 6.10 10BASE-T Configuration/Status (10BTCSR) – 12H ............................................................38 6.11 Power down Control Register (PWDOR) – 13H ..................................................................39 6.12 (Specified Config) Register – 14H ......................................................................................40 6.13 DSP Control (DSP_CTRL) – 1BH.......................................................................................41 6.14 Power Saving Control Register (PSCR) – 1DH...................................................................41 Functional Description .....................................................................................................................42 7.1 USB Functional Description ...............................................................................................42 7.1.1 USB Functional Description ..............................................................................................42 7.1.2 Vender Commands ............................................................................................................43 7.1.3 Interface 0 Configuration....................................................................................................44 7.1.4 Descriptor Values ..............................................................................................................46 7.1.5 Descriptors of String/1/2/3 Are Loaded From EEPROM......................................................49 7.2 Ethernet Functional Description .........................................................................................51 7.2.1 Serial Management Interface .............................................................................................51 7.2.2 100Base-TX Operation ......................................................................................................52 7.2.3 4B5B Encoder ...................................................................................................................52 7.2.4 Scrambler..........................................................................................................................52 7.2.5 Parallel to Serial Converter ................................................................................................52 7.2.6 NRZ to NRZI Encoder........................................................................................................52 7.2.7 MLT-3 Converter................................................................................................................52 7.2.8 MLT-3 Driver......................................................................................................................53 7.2.9 4B5B Code Group .............................................................................................................53 7.2.10 100Base-TX Receiver......................................................................................................54 7.2.11 Signal Detect ...................................................................................................................54 7.2.12 Adaptive Equalization ......................................................................................................54 7.2.13 MLT-3 to NRZI Decoder ...................................................................................................54 7.2.14 Clock Recovery Module ...................................................................................................54 7.2.15 NRZI to NRZ....................................................................................................................54 7.2.16 Serial to Parallel ..............................................................................................................55 7.2.17 Descrambler ....................................................................................................................55 7.2.18 Code Group Alignment ....................................................................................................55 7.2.19 4B5B Decoder .................................................................................................................55 7.2.20 10Base-T Operation ........................................................................................................55 7.2.21 Collision Detection ...........................................................................................................55 7.2.22 Carrier Sense ..................................................................................................................55 7.2.23 Auto-Negotiation ..............................................................................................................55 7.2.24 Auto-Negotiation (continued)............................................................................................56 Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 3 DM9620A(I) USB2.0 to Fast Ethernet Controller 8 9 10 11 12 13 7.2.25 Energy-Efficient Ethernet (EEE) .......................................................................................56 DC and AC Electrical Characteristics ..............................................................................................57 8.1 Absolute Maximum Ratings (-40°C ~ +85°C for DM9620AI) ...............................................57 8.1.1 Operating Conditions ........................................................................................................57 8.2 DC Electrical Characteristics (VDD = 3.3V) ........................................................................58 8.3 AC Electrical Characteristics & Timing Waveforms .............................................................59 8.3.1 TP Interface ......................................................................................................................59 8.3.2 Oscillator/Crystal Timing (25°C) ........................................................................................59 AC Timing Waveform........................................................................................................................60 9.1 Power On Reset Timing .....................................................................................................60 9.2 EEPROM Timing................................................................................................................61 9.3 MII Management Timing.....................................................................................................61 9.4 MII TX Timing.....................................................................................................................62 9.5 MII RX Timing ....................................................................................................................62 9.6 RMII TX timing ..............................................................................................................................63 9.7 RMII RX timing .............................................................................................................................63 9.8 RevMII TX timing ..........................................................................................................................64 9.9 RevMII RX timing..........................................................................................................................64 Magnetic and Crystal Selection Guide ............................................................................................65 10.1 Magnetic Selection Guide ..................................................................................................65 10.2 Crystal Selection Guide......................................................................................................65 Application Circuit............................................................................................................................66 Package Information ........................................................................................................................68 Ordering Information ........................................................................................................................69 Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 4 DM9620A(I) USB2.0 to Fast Ethernet Controller 1 Features l l l USB Interface § USB2.0 Device § Support 12Mbps full speed operation § Support 480Mbps high speed operation § Support suspend mode and remote wake-up resume § Support USB standard commands § Support vendor specific commands § Efficient TX/RX FIFO auto management § Embedded SRAM for RX/TX packet buffering § Support 4 endpoints (Control, Interrupt, Bulk_IN, Bulk_OUT) § Support Classes:USB Common Class / USB Communications Class § Support Industrial Temperature: -40°C ~ +85°C Ethernet § Support IEEE802.3u 100BASE-TX and with IEEE802.3 10BASE-T standards § Support IEEE802.3x flow control function for 100BASE-TX and 10BASE-T § Support IEEE 802.3az Energy Efficient Ethernet (EEE) § Built-in 10/100Mbps Fast Ethernet PHY with Auto-MDIX § Support RMII interface or 8 pins GPIO § Support Auto-Negotiation function § Back Pressure Mode for Half-Duplex mode flow control § PAUSE frame for Full-Duplex flow control § Support Power management: Wake-on-LAN, ARP/NDP Offload § Support GPIO, wakeup frame, link status change and Magic packet events for remote wake-up § Support TCP / UDP / IPv4 checksum offload checking and generating EEPROM Interface § Support 128/256/512 bytes (93C46/93C56/93C66) of serial EEPROM (for storing USB Descriptors) § 93C06/93C46/93C56/93C66 Auto Detection Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 5 DM9620A(I) USB2.0 to Fast Ethernet Controller l l l l LED Indications § Ethernet – Link / Act indication § Ethernet – Speed (10M / 100M) indication § Ethernet – Duplex (half / full) indication § USB speed indication (full / high speed + traffic modes) Clock § Single 25MHz / 30 ppm crystal or oscillator § Optional 12MHz crystal for USB Power Input § Low-Power, Single-Supply 3.3V, 0.18um CMOS technology § Built in 3.3V to 1.8V regulator Miscellaneous § Very low power consumption in suspend mode § Power Reduced Mode (cable detection), and Power Down Mode § Compatible with 5.0V tolerant I/O 1.1 General Description The DM9620A(I) USB to 10/100Mbps Fast Ethernet Controller is a high performance and highly integrated Industrial Temperature ASIC with Embedded Memory for packet buffering. It enables low cost and affordable Fast Ethernet network connection to desktop, notebook PC, and embedded system using popular USB ports. It has an USB interface to communicate with USB host controller and is compliant with USB specification V1.0, V1.1 and V2.0. It implements 10/100Mbps Ethernet LAN function based on IEEE802.3, and IEEE802.3u standards. DM9620A(I) integrates an on-chip 10/100Mbps Ethernet PHY to simplify system design and provides an optional media-independent interface (MII and Reverse MII/RMII). Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 6 DM9620A(I) USB2.0 to Fast Ethernet Controller 2 Block Diagram EP1 Bulk IN FIFO RX FIFO SRAM USB PHY UTMI SIE MAC Bulk OUT FIFO MII Ethernet PHY TX FIFO EP2 Register Control table data EEPROM interface EEPROM Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 7 DM9620A(I) USB2.0 to Fast Ethernet Controller 3 Pin Configuration SPD_LED FDX_LED USB_LED GND SMI_CK SMI_D COL CRS 40 39 38 37 36 35 34 33 43 TEST1 VCC3 44 LNK_LED TEST2 45 41 VUSB_IN 46 42 WOL GND 47 RSTB 48 3.1 64-Pin LQFP with MII Interface X1_12M 49 32 VCC3 X2_12M 50 31 RXC/CLK50M AVCC3A 51 30 EECS GND 52 29 EECK RREF 53 28 EEDIO DM 54 27 MDIO DP 55 26 MDC VCC33_PLL 56 GNDPLL 57 VCC18 58 DM9620AEP DM9620AIEP 25 RXER 24 RXDV 23 GND RXD0 14 15 16 TXD1 TXD0 TXD3 13 12 TXD2 11 TXE VCC3 9 10 TX- AVCC18 BGGND 8 GND 7 TXC 17 TX+ 18 64 TXGND 63 6 SD RXGND 5 RXD3 RX- RXD2 19 RXGND 20 62 4 61 GND 3 RXD1 X1 RX+ 21 2 60 BGRES X2 AVCC18 59 22 1 VCC3 Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 8 DM9620A(I) USB2.0 to Fast Ethernet Controller 3.2 64-Pin LQFP Description I = Input O/D = Open Drain O = Output P = Power I/O = Input / Output PD = internal pull-low (about 50K Ohm) 3.2.1 MII Interface Pin No. Pin Name 26 MDC 27 MDIO 12,13,15,16 TXD[3:0] I/O O,PD I/O O,PD 11 18 33 34 25 31 24 19,20,21,22 TXE TXC CRS COL RXER RXC RXDV RXD[3:0] O,PD I,PD I I I I I I 3.2.2 RMII Interface Pin No. Pin Name 26 MDC 27 MDIO 12,13 TXD3~2 15,16 TXD1~0 11 TXE 18 TXC 33 CRS 34 COL 25 RXER 31 CLK50M 24 RXDV 19,20 RXD3~2 21,22 RXD1~0 I/O O,PD I/O O,PD O,PD O,PD I,PD I I I I I I I Description MII Serial Management Data Clock MII Serial Management Data Reserved RMII Transmit Data RMII Transmit Enable Reserved Reserved, tie to ground in application. Reserved, tie to ground in application. Reserved, tie to ground in application. 50MHz reference clock. RMII CRS_DV Reserved, tie to ground in application. RMII Receive Data 3.2.3 Reverse MII Interface Pin No. Pin Name 26 MDC 27 MDIO 12,13,15,16 TXD[3:0] I/O O,PD I/O O,PD 11 18 33 34 25 31 24 19,20,21,22 O,PD O O O I I I I Description Reserved Reserved MII Transmit Data 4-bit nibble data outputs (synchronous to the TXC) MII Transmit Enable 25MHz clock output Carrier sense output when TXE or RXDV asserted Collision output when TXE and RXDV asserted MII Receive Error MII Receive Clock MII Receive Data Valid MII Receive Data 4-bit nibble data input (synchronous to RXC) TXE TXC CRS COL RXER RXC RXDV RXD[3:0] Description MII Serial Management Data Clock MII Serial Management Data MII Transmit Data 4-bit nibble data outputs (synchronous to the TXC) MII Transmit Enable MII Transmit Clock MII Carrier Sense MII Collision Detect MII Receive Error MII Receive Clock MII Receive Data Valid MII Receive Data 4-bit nibble data input (synchronous to RXC) Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 9 DM9620A(I) USB2.0 to Fast Ethernet Controller 3.2.4 EEPROM Interface Pin No. Pin Name 28 EEDIO 29 EECK 30 EECS I/O I/O O O 3.2.5 USB Interface Pin No. Pin Name 51 AVCC3 52 GND 53 RREF 54 DM (D-) 55 DP (D+) 56 VCC33_PLL 57 GNDPLL 58 VCC18 I/O P P I I/O I/O P P O 3.2.6 Clock Interface Pin No. Pin Name 60 X2 61 X1 49 X1_12M I/O O I I 3.2.7 LED Pin No. 38 Pin Name USB_LED I/O O/D 39 FDX_LED O/D 40 SPD_LED O/D 41 LNK_LED O/D Description Data from EEPROM Clock to EEPROM Chip Select to EEPROM Description 3.3V for USB Ground for USB Reference resistor to analog USB ground (12K 1% for USB) USB Data Minus USB Data Plus 3.3V for USB PLL Ground for USB PLL 1.8V power out for USB Description Crystal 25MHz Out for Ethernet Crystal 25MHz In for Ethernet Crystal 12MHz In for USB (Option, used when strap pin 30 EECS pull-high), Normal N.C. * Note1 50 X2_12M O Crystal 12MHz out for USB (Option, used when strap pin 30 EECS pull-high), Normal N.C. * Note1 * Note1: When strap pin 30 EECS pull-low, 12MHz clock from internal PLL, detail see 3.3 strap pins table Description USB LED Active low for USB HS mode Floating for USB FS mode Flash if traffic on USB Full-Duplex LED Active low for Full-Duplex Floating for Half-Duplex SPEED LED Active low for Ethernet 100M Floating for Ethernet 10M Link LED Active low for Ethernet link Floating for Ethernet non-link Flash if traffic on Ethernet Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 10 DM9620A(I) USB2.0 to Fast Ethernet Controller 3.2.8 10/100 PHY Pin No. Pin Name 63 SD 64 RXGND 1 BGGND 2 BGRES 3 AVCC18 4 RX+ 5 RX6 RXGND 7 TXGND 8 TX+ 9 TX10 AVCC18 I/O I P P I/O O I/O I/O P P I/O I/O O 3.2.9 Miscellaneous Pin No. Pin Name 35 SMI_D I/O I 36 SMI_CK I 45 VUSB_IN I 47 48 WOL RSTB O I 44 42 TEST2 TEST1 I I 3.2.10 Power Pin No. Pin Name 14,32,43, VCC3 59 17,23,37, GND 46,62 Description Fiber Signal Detection RX ground Band gap ground Band gap pin. Connect 6.98K 1% resister to BGGND 1.8V power out for RX power TP RX input TP RX input RX ground TX ground TP TX output TP TX output 1.8V power out for TX power Description Serial Management Interface Data Tie to ground in application. Serial Management Interface Clock Tie to ground in application This pin can also as a GPIO wakeup event defined in register 0FH VUSB input (Connect to USB5V, USB connector) Tie to high in bus power mode Issue a wake-up signal when wake-up event happens Hardware Reset Active low signal to initiate the DM9620A(I) Test Mode 2, tie to ground in application Test Mode 1 1 = Pins 11-13,15-16,18-22,24-27,33-34 as GPIO controlled by registers 34H~37H 0 = Pins 11-13,15-16,18-22,24-27,33-34 as MII, RMII, Reverse MII interface I/O P Digital VCC 3.3V Description P Digital GND Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 11 DM9620A(I) USB2.0 to Fast Ethernet Controller 3.2.11 GPIO (TEST set to 1) Pin No. Pin Name 11 GPIO2_0 12,13,15,16 GPIO2_1~4 18 GPIO2_5 19,20 GPIO2_6~7 21,22 GPIO3_0~1 24 GPIO3_2 25 GPIO3_3 27 GPIO3_4 31 GPIO3_5 33 GPIO3_6 34 GPIO3_7 I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O Description GPIO2_0 in GPIO mode GPIO2_1~4 in GPIO mode GPIO2_5 in GPIO mode GPIO2_6~7 in GPIO mode GPIO3_0~1 in GPIO mode GPIO3_2 in GPIO mode GPIO3_3 in GPIO mode GPIO3_4 in GPIO mode GPIO3_5 in GPIO mode GPIO3_6 in GPIO mode GPIO3_7 in GPIO mode 3.3 Strap Pin Table 1: pull-high 1K~10K, 0: default floating. Pin No. Pin Name Description 12,13 TXD3 TXD3 TXD2 in external PHY mode TXD2 0 0 MII mode 0 1 Reverse MII 1 0 RMII mode 1 1 Reserved 15 TXD1 1 = EEPROM force to 93C46 type 0 = EEPROM type Auto Detection 16 TXD0 Ethernet RX packet header format 1 = 4 header bytes include flag byte 0 = 3 header bytes exclude flag byte 30 EECS 1 = 12MHz clock from external crystal 0 = 12MHz clock from internal PLL Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 12 DM9620A(I) USB2.0 to Fast Ethernet Controller 4 Vender Control an Status Register Set The DM9620A(I) implements several control and status registers, which can be accessed by the USB vendor register type commands. All CRs are set to their default values by hardware or software reset unless otherwise specified. Default value after Register Description Offset reset NCR Network Control Register 00H 00H NSR Network Status Register 01H 00H TCR TX Control Register 02H 00H RCR RX Control Register 05H 00H RSR RX Status Register 06H 00H ROCR Receive Overflow Counter Register 07H 00H BPTR Back Pressure Threshold Register 08H 37H FCTR Flow Control Threshold Register 09H 38H FCR RX Flow Control Register 0AH 00H EPCR EEPROM & PHY Control Register 0BH 00H EPAR EEPROM & PHY Address Register 0CH 40H EPDRL EEPROM & PHY Low Byte Data Register 0DH Unknown EPDRH EEPROM & PHY High Byte Data Register 0EH Unknown WCR Wake Up Control Register 0FH 00H PAR Physical Address Register 10H-15H Determined by EEPROM MAR Multicast Address Register 16H-1DH 00H,00H,00H,00H0 0H,00H,00H,80H GPCR General Purpose Control Register 1EH 01H GPR General Purpose Register 1FH Unknown VID Vendor ID 28H-29H 0A46H PID Product ID 2AH-2BH 9620H CHIPR CHIP Revision 2CH 01H TSCR TX Special Control Register 2DH 00H FEPHY Force External PHY Mode Control Register 2EH 00H TCSCR Transmit Check Sum Control Register 31H 00H RCSCSR Receive Check Sum Control Status Register 32H 00H EPADR External PHY Address 33H 01H GPCR2 General Purpose Control Register 2 34H 00H GPR2 General Purpose Register 2 35H 00H GPCR3 General Purpose Control Register 3 36H 00H GPR3 General Purpose Register 3 37H 00H EEP_CTRL EEPROM and PHY Control Register 3AH 00H PPCSR Pause Packet Control Status Register 3DH 04H TX_CTR Transmit Packet Counter 81H 00H UPERR USB Packet Error Counter 82H 00H CRC_CTR Ethernet Receive Packet CRC Error Counter 83H 00H EXCOL_CTR Ethernet Transmit Excessive Collision Counter 84H 00H COL_CTR Ethernet Transmit Collision Counter 85H 00H LCOL_CTR Ethernet Transmit Late Collision Counter 86H 00H MODE_CTL Mode Control 91H 00H SQUELCH USB squelch Control 95H 04H USB_ADR USB Address 96H 00H USBDA USB Device Address Register F0H 00H RXC Received Packet Counter Register F1H 00H TXC/USBS Transmit Packet Counter/USB Status Register F2H 10H USBC USB Control Register F4H 00H Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 13 DM9620A(I) USB2.0 to Fast Ethernet Controller Key to Default In the register description that follows, the default column takes the form: <Reset Value>: 1 = Bit set to logic one 0 = Bit set to logic zero X = No default value P = Power on reset default value H = Hardware reset command default value S = Software reset default value E = Default value from EEPROM T = Default value from strap pin <Access Type>: RO = Read only RW = Read/Write R/C = Read and Clear RW/C1 = Read/Write and Cleared by write 1 WO = Write only Reserved bits are shaded and should be written with 0. Reserved bits are undefined on read access. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 14 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.1 Network Control Register (00H) Bit 7 Name EXT_PHY Default PT0,RW 6 WAKEEN PE0,RW This bit can be forced by register 2EH bit 5. Wakeup Event Enable This bit enables the wakeup function. 5 WCR_MODE PHS,RW Clearing this bit will also clear all wakeup event status. Write To Clear Mode The following register bits are cleared by write “1”. Register 1 bit 2 and 3 Register 7 Register 0AH bit 2 Register 82H ~ 86H Force Collision in Loopback Mode Used for testing only. Full-Duplex Mode 1 = Full-Duplex mode 0 = Half-Duplex mode 4 FCOL PHS0,RW 3 FDX PHS0,RW 2:1 LBK PH00,RW 0 RST PH0,RW Description External PHY Mode (valid when pin TEST1 tie to ground) 1 = Select external PHY 0 = Select internal PHY Read only in Internal PHY mode. This bit can be written only in External PHY mode. This bit can also be forced by register 2EH bit 5 and 1. Loopback Mode 00 = Normal 01 = MAC internal loopback 10 = Internal PHY digital loopback 11 = Internal PHY analog loopback Software Reset When write “1” to this bit, DM9620A(I) enters software reset mode and will be automatically cleared after 10us. Write “0” to this bit can end the software reset mode. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 15 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.2 Network Status Register (01H) Bit 7 6 Name SPEED LINKST Default PHS0, RW PHS0, RO 5 WAKEST P0, W/C1 4 RESERVED 3 RESERVED 2 RESERVED 1 RXOV PHS0, RO PHS0, RW/C1 PHS0, RW/C1 PHS0, RO 0 RXRDY PHS0, RO Description Media Speed Status 1 = 10Mbps 0 = 100Mbps This bit is no meaning when LINKST=0. This bit read only in internal PHY mode and it can be written in external PHY mode. This bit can also be forced by register 2EH bit 5 and 2. Link Status 1 = Link OK 0 = Link failed This bit read only in internal PHY mode and it can be written in external PHY mode. This bit can also be forced by register 2EH bit 5 and 0. Wakeup Event Status This bit is set when wakeup event status asserted. This bit is cleared by write “1” or when wakeup mode disabled. Reserved Reserved Reserved RX FIFO Overflow Status This bit is set when RX FIFO free space is less than 544-byte This bit be cleared when RX FIFO free space is more than 2K. RX Packet Ready This bit is set when there are one or more packets in RX FIFO. 4.3 TX Control Register (02H) Bit 7 6 Name RESERVED TJDIS Default 0,RO PHS0, RW 5 EXCECM PHS0, RW 4:3 RESERVED 2 PAD_DIS1 PHS0, RW PHS0, RW 1 CRC_DIS1 PHS0, RW 0 RESERVED 7 RESERVED PHS0, RW 0,RO Description Reserved Transmit Jabber Disable The transmit Jabber Timer (2048 bytes) is disabled; otherwise the transmit packet size can not be more than 2048-byte. Excessive Collision Mode Control 1 = Still try to transmit this packet 0 = Abort this packet when excessive collision count more than 15 Reserved TX Packet PAD Append Control 1 = The transmit packet size is unchanged from original setting 0 = The transmit packet size is appended to at least 64-byte TX Packet Index II CRC Appends Control 1 = The CRC field is not appended 0 = The CRC field is appended automatically Reserved Reserved Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 16 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.4 RX Control Register (05H) Bit 7 Name HASHALL 6 WTDIS 5 DIS_LONG 4 DIS_CRC 3 ALL 2 RUNT 1 PRMSC 0 RXEN Default PHS0, RW PHS0, RW PHS0, RW PHS0, RW PHS0, RW PHS0, RW PHS0, RW PHS0, RW Description Filter All Address in Hash Table Watchdog Timer Disable The Watchdog Timer (2048 bytes) is disabled and the RX packet may more than 2048-byte. When cleared, the Watchdog Timer(2048 bytes) is enabled and he RX packet is truncated after the data more than 2048-byte. Discard Long Packet The packets with length over 1522-byte are discarded from RX memory. Discard CRC Error Packet The packets with CRC error are discarded from RX memory. Pass All Multicast The packets with multicast destination address are stored to RX memory. Pass Runt Packet The packets with size less than 64-byte are stored to RX memory. Promiscuous Mode The destination address is do not be checked. RX Enable The received accepted packets can be stored to RX memory. 4.5 RX Status Register (06H) Bit 7 Name RF 6 MF 5 LCS 4 RWTO 3 PLE 2 AE 1 CE 0 FOE Default PHS0, RO PHS0, RO PHS0, RO PHS0, RO PHS0, RO PHS0, RO PHS0, RO PHS0, RO Description Runt Frame It is set to indicate the received frame has the size smaller than 64 bytes. Multicast Frame It is set to indicate the received frame has a multicast address. Late Collision Seen It is set to indicate a late collision found during the frame reception. Receive Watchdog Time-Out It is set to indicate receive more than 2048 bytes. Physical Layer Error It is set to indicate a physical layer error found during the frame reception. Alignment Error It is set to indicate the received frame ends with a non-byte boundary. CRC Error It is set to indicate the received frame ends with a CRC error. FIFO Overflow Error It is set to indicate a FIFO Overflow error happens during the frame reception. 4.6 Receive Overflow Counter Register (07H) 07H can be cleared by writing any data this byte. They also can be cleared by read this byte if register 0H bit 5 is “0”. Bit Name Default Description Receive Overflow Counter Overflow 7 RXFU PHS0, RW/C This bit is set when the ROC has an overflow condition. Receive Overflow Counter 6:0 ROC PHS0, RW/C This is a statistic counter to indicate the received packet count upon FIFO overflow. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 17 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.7 Back Pressure Threshold Register (08H) Bit 7:4 3:0 Name BPHW JPT Default PHS3h, RW PHS7h, RW Description Back Pressure High Water Overflow Threshold MAC will generate the jam pattern when RX SRAM free space is lower than this threshold value. Default is 3K-byte free space. Please don’t exceed SRAM size. (1 unit=1K bytes) Jam Pattern Time. Default is 100us. Bit3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 Bit2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 Bit1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 Bit0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Time 2.5us 5us 7.5us 12.5us 25us 50us 75us 100us 125us 150us 175us 200us 2250us 250us 275us 300us 4.8 Flow Control Threshold Register (09H) Bit 7:4 Name HWOT Default PHS3h, RW 3:0 LWOT PHS8h, RW Description RX FIFO High Water Overflow Threshold Send a pause packet with pause_time=FFFFH when the RX RAM free space is less than this value. If this value is zero, its meaning is no free RX SARM space. Default is 3K-byte free space. Please don’t exceed SRAM size. (1 unit=1K bytes) RX FIFO Low Water Overflow Threshold Send a pause packet with pause_time=0000 when RX SARM free space is larger than this value. This pause packet is enabled after high water pause packet transmitted. Default SRAM free space is 8K-byte. Please don’t exceed SRAM size. (1 unit=1K bytes) Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 18 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.9 RX/TX Flow Control Register (0AH) Bit 7 Name TXP0 Default PHS0, RW 6 TXPF PHS0, RW 5 TXPEN PHS0, RW 4 BKPA PHS0, RW 3 BKPM PHS0, RW 2 RXPS PHS0, RW/C Set to TX pause packet with time = FFFFH. TX Pause Packet Enable Enable the pause packet for high/low water threshold of register 09H in Full-Duplex mode. Back Pressure Packet Mode Enable Generate a jam pattern when any packet coming and RX SRAM over BPHW of register 8H in Half-Duplex mode. Back Pressure DA Mode Generate a jam pattern when a packet’s DA match and RX SRAM over BPHW of register 8H in Half-Duplex mode. RX Pause Packet Status This bit latched the RX pause packet in Full-Duplex mode. PHS0, RO PHS0, RW This bit can be cleared by write “1” to this bit or cleared automatically after read if register 0H bit 5 is “0”. RX Pause Packet Current Status It indicated that the pause timer is not down count to “0” yet. Flow Control Enable It enable the flow control mode (i.e. can to disable TX function). 1 RXPCS 0 FLCE Description Force to TX Pause Packet with Time 0000H This bit will be automatically cleared after pause packet transmission completion. Set to TX pause packet with time = 0000H. Force to TX Pause Packet with Time FFFFH This bit will be automatically cleared after pause packet transmission completion. 4.10 EEPROM & PHY Control Register (0BH) Bit 7 Name NO_EEP Default P0,RO Description EEPROM Absent It indicates the EEPROM 93C46 or 93C56/66 is not detected. EEPROM Type 1 = 93C56/66 0 = 93C46 Reload EEPROM The EEPROM is re-loaded. 6 EE_TYPE P0,RO 5 REEP PH0,RW 4 WEP PH0,RW 3 EPOS PH0,RW 2 ERPRR PH0,RW 1 ERPRW PH0,RW This bit will be cleared after the completion of read operation. EEPROM Write or PHY Register Write Command Write “1” to start EEPROM or PHY write operation. 0 ERRE PH0,RO This bit will be cleared after the completion of write operation. EEPROM Access Status or PHY Access Status It indicates that the EEPROM or PHY access is in progress. Driver needs to clear it after operation complete. Write EEPROM Enable The written ability of EEPROM is enabled. EEPROM or PHY Operation Select When reset, select EEPROM; when set, select PHY. EEPROM Read or PHY Register Read Command Write “1” to start EEPROM or PHY read operation. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 19 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.11 EEPROM & PHY Address Register (0CH) Bit 7:6 Name PHY_ADR Default PH01, RW 5:0 EROA PH0,RW Description PHY Address bit [1:0] or EEPROM Word Address[7:6] If it is in PHY mode operation, the PHY address bit [4:2] is force to 0. Force to 01 if internal PHY is selected. Or EEPROM Word Address[7:6] if EEPROM 93C56/66 is used EEPROM Word Address bit[5:0] or PHY Register Number 4.12 EEPROM & PHY Data Register (EE_PHY_L:0DH Bit 7:0 7:0 Name EE_PHY_L EE_PHY_H Default X,RW X,RW EE_PHY_H:0EH) Description EEPROM or PHY Low Byte Data EEPROM or PHY High Byte Data 4.13 Wake Up Control Register (0FH) Bit 7 Name SMI_EN Default P0,RW 6 SMI_ST P0,RO 5 LINKEN PE0,RW 4 SAMPLEEN PE0,RW 3 MAGICEN PE0,RW 2 LINKST P0,RO 1 SAMPLEST P0,RO 0 MAGICST P0,RO Description SMI_C Event Enable Enable SMI_C as GPIO Wake-up Event. This event occurred in 100ms low state and then 100ms high state in SMI_CK pin SMI_C Even Status Indicate SMI_C Event occurred. Link Change Event Enable Enable Link Status Change Wake-up Event. Sample Frame Match Event Enable Enable Sample Frame Wake-up Event. Magic Packet Event Enable Enable Magic Packet Wake-up Event. Link change Event Status Indicate link change and Link Status Change Event occurred. Sample Frame Mtach Event Status Indicates the sample frame is received and Sample Frame Event occurred. This bit will not be affected after a software reset. Magic Packet Event Status Indicate the Magic Packet is received and Magic packet Event occurred. This bit will not be affected after a software reset. 4.14 Physical Address Register (10H~15H) Bit 7:0 7:0 7:0 7:0 7:0 7:0 Name PAB5 PAB4 PAB3 PAB2 PAB1 PAB0 Default E,RW E,RW E,RW E,RW E,RW E,RW Physical Address Byte 5 Physical Address Byte 4 Physical Address Byte 3 Physical Address Byte 2 Physical Address Byte 1 Physical Address Byte 0 Description (15H) (14H) (13H) (12H) (11H) (10H) Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 20 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.15 Multicast Address Register (16H~1DH) Bit 7:0 Name MAB7 7:0 MAB6 7:0 MAB5 7:0 MAB4 7:0 MAB3 7:0 MAB2 7:0 MAB1 7:0 MAB0 Default P80H, RW P00H, RW P00H, RW P00H, RW P00H, RW P00H, RW P00H, RW P00H, RW Description Multicast Address Byte 7 (1DH) Multicast Address Byte 6 (1CH) Multicast Address Byte 5 (1BH) Multicast Address Byte 4 (1AH) Multicast Address Byte 3 (19H) Multicast Address Byte 2 (18H) Multicast Address Byte 1 (17H) Multicast Address Byte 0 (16H) 4.16 General Purpose Control Register (1EH) Bit 7:4 3:0 Name RESERVED RESERVED Default P0,RO P0111, RW Description Reserved Reserved 4.17 General Purpose Register (1FH) Bit 7:4 3:1 0 Name RESERVED RESERVED GEPIO0 Default P0,RO P0,RW PE1,RW Description Reserved Reserved General Purpose When the correspondent bit of General Purpose Control Register is 1, the value of the bit is output to pin GEPIO0. When the correspondent bit of General Purpose Control Register is 0, the value of the bit be read is reflected from pin GEPIO0. GEPIO0 default output 1 to POWER_DOWN internal PHY. Driver need to clear this POWER_DOWN signal by write “0” when it wants PHY active. If other device need, it also can refer this signal. This default value can be programmed by EEPROM. Please refer EEPROM description. 4.18 Vendor ID Register (28H~29H) Bit 7:0 7:0 Name VIDH VIDL Default 0AH,RO 46H.RO Description Vendor ID high byte (29H) Vendor ID low byte (28H) 4.19 Product ID Register (2AH~2BH) Bit 7:0 7:0 Name PIDH PIDL Default 96H,R 20H.R Description Product ID high byte (2BH) Product ID low byte (2AH) Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 21 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.20 Chip Revision Register (2CH) Bit 7:0 Name CHIPR Default 01H,RO Description CHIP revision 4.21 TX Special Control Register (2DH) Bit 7 6 5 3 3:0 Name RESERVED LCOL_TRY RESERVED RESERVED TX_GAP Default PH0,RW PH0,RW PH0,RW PH0,RW PH0,RW Description Reserved Late Collision Retry Reserved Reserved TX Inter Frame Gap 0XXX = 96-bit 1000 = 64-bit 1001 = 72-bit 1010 = 80-bit 1011 = 88-bit 1100 = 96-bit 1101 = 104-bit 1110 = 112-bit 1111 = 120-bit 4.22 External PHY Force Mode Control Register (2EH) Bit 7:6 5 4 3 2 Name RESERVED EXTERNAL RESERVED RESERVED SPEED Default 0,RO HP0,RW 0,RO PH0,RW HP0,RW 1 DUPLEX HP0,RW 0 LINK HP0,RW Description Reserved Force to external PHY mode Reserved Reserved Force external PHY Speed Mode in MAC register 1 bit 7 1 = Force to 10Mbps mode 0 = Force to 100Mbps mode Force External PHY Duplex Mode in MAC register 0 bit 3 1 = Force to Half-Duplex 0 = Force to Full-Duplex Force External PHY Link Mode in MAC register 1 bit 6 1 = Force to link OFF 0 = Force to link ON 4.23 Transmit Check Sum Control Register (31H) Bit 7:3 2 Name RESERVED UDPCSE 1 TCPCSE 0 IPCSE Default 0,RO HPS0, RW HPS0, RW HPS0, RW Description Reserved UDP Checksum Generation Enable TCP Checksum Generation Enable IP Checksum Generation Enable Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 22 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.24 Receive Check Sum Control Status Register (32H) Bit 7 Name UDPS Default HPS0, RO 6 TCPS HPS0, RO 5 IPS HPS0, RO 4 UDPP 3 TCPP 2 IPP 1 RCSEN HPS0, RO HPS0, RO HPS0, RO HPS0, RW 0 DCSE HPS0, RW Description UDP Checksum Status 1 = UDP packet checksum error 0 = UDP packet checksum OK, or this is not UDP packet TCP Checksum Status 1 = TCP packet checksum error 0 = TCP packet checksum OK, or this is not TCP packet IP Checksum Status 1 = IP packet checksum error 0 = IP packet checksum OK, this is not IP packet UDP Packet TCP Packet IP Packet Receive Checksum Checking Enable The checksum status will store in packet first byte of status header in RX DM9620A(I) mode. Discard Checksum Error Packet If IP/TCP/UDP checksum field is error, this packet will be discarded. 4.25 External PHY Ceiver Address Register (33H) Bit 7 Name ADR_EN Default HPS0, RW 6:5 RESERVED 4:0 EPHYADR HPS0, RO HPS01H, RW Description External PHY Address Enabled When set in external MII mode, the external PHYceiver address is defined at bit 4~0. Reserved External PHY Address Bit 4:0 The PHY address in external MII mode. 4.26 General Purpose Control Register 2 (34H) Bit 7:0 Name GPC2 Default HP0,RW Description General Purpose Control 2 Define the input mode (“0”,) or output mode (“1”) of pins GP_GRP2. Where the GP_GRP2 are pins GPIO2 listed in pin description. 4.27 General Purpose Register 2 (35H) Bit 7:0 Name GPD2 Default HP0,RW Description General Purpose Register 2 Data When the correspondent bit of General Purpose Control Register 2 is set, i.e. output mode, the value of the bit is reflected to pins GP_GPR2. When the correspondent bit of General Purpose Control Register 2 is 0, i.e. input mode, the value of the bit to be read is reflected from correspondent pins GP_GPR2. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 23 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.28 General Purpose Control Register 3 (36H) Bit 7:0 Name GPC3 Default HP0,RW Description General Purpose Control 3 Define the input mode (“0”,) or output mode (“1”) of pins GP_GRP3. Where the GP_GRP3 are pins GPIO3 listed in pin description. 4.29 General Purpose Register 3 (37H) Bit 7:0 Name GPD3 Default HP0,RW Description General Purpose Register 3 Data When the correspondent bit of General Purpose Control Register 3 is set, i.e. output mode, the value of the bit is reflected to pin GP_GRP3. When the correspondent bit of General Purpose Control Register 3 is 0, i.e. input mode, the value of the bit to be read is reflected from correspondent pins GP_GRP3. 4.30 EEPROM and PHY Control Register (3AH) Bit 7 6 5 4:3 Name FORCE_46 DET_46 DET_56 EECK_SPD Default PT0,RW P0,RO P0,RO P0,RW 2 1:0 NO_PRE MDC_SPD P0,RW P0,RW Description Force EEPROM to 93C46 Type Auto-detect EEPROM as 93C46 Auto-detect EEPROM as 93C56 Re-define EEPROM EECK Speed 00=0.2MHz, 01=0.5MHz, 10=1MHz, 11=2MHz Do No Generate Ethernet PHY Preamble in MDIO Re-define Ethernet PHY MDC Speed 00=1MHz, 01=3.1MHz, 10=12.5MHz, 11=0.25MHz 4.31 Pause Packet Control/Status Register (3DH) Bit 7:4 Name PAUSE_CTR Default P0,RO 3:0 PAUSE_MAX PHS4, RW Description Pause Packet Counter The Pause packet counter before RX SRAM flow control low threshold reached. Max. Pause Packet Count The maximum pause packet with timer FFFFH is transmit, when the RX SRAM is still in high threshold when pause timer timeout. 4.32 IEEE802.3az Enter Time Register (3EH) Bit 7 6:0 Name RESERVED ENTER_TIME Default P,RO PHS5,RW Description Reserved Timer to Enter EEE LPI Mode (unit 2us) When the idle time of transmit is greater than this timer, the DM9620A(I) enter Low Power Idle mode. 4.33 IEEE802.3az Leave Time Register (3FH) Bit 7 6:0 Name EEE_EN LEAVE_TIME Default P0,RO PHSF,RW Description EEE Enable Timer to Leave EEE LPI Mode (unit 2us) In Low Power Idle mode, when the TX SRAM have packets to be transmit, the DM9620A(I) enter normal operation mode after this timer timeout. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 24 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.34 Link Up/Down Wakeup Event Register (51H) Bit 7:2 1 Name RESERVED LINK_DW_D Default P,RO PHS0, RW 0 LINK_UP_D PHS1, RW Description Reserved Link Down WOL Control 1 = Enable link down wakeup event 0 = Disable link down wakeup event Link UP WOL Control 1 = Enable link up wakeup event 0 = Disable link up wakeup event 4.35 IPv6 NA/ARP Register (52H) Bit 7:4 3 Name RESERVED IPV6_ND_A Default P,RO PHS0, RW 2 IP_ARP_A PHS0, RW 1 IPV6_NA_E PHS0, RW 0 IP_ARP_E PHS0, RW Description Reserved IPv6 Neighbor Solicitation Remote Address Control 1 = Enable to check remote address field 0 = Disable to check remote address field IP ARP Request Destination IP Address Control 1 = Enable to check DST IP address field 0 = Disable to check DST IP address field IPv6 Neighbor Advertisement Offload Control 1 = Enabled 0 = Disabled IP ARP Offload Control 1 = Enabled 0 = Disabled 4.36 Transmit Packet Counter (81H) Bit 7:0 Name TX_CTR Default PS0,RO Description TX Packet Count The TX packet count in TX SRAM. 4.37 USB Packet Error Counter (82H) Bit 7:0 Name USB_ERR Default PHS0, RW/C Description USB Data Error Count This counter is increased when there has been data CRC error in USB packet. This counter can be cleared by read if register 5 is “0” or by write to this register with any data. 4.38 Ethernet Receive Packet CRC Error Counter (83H) Bit 7:0 Name RX_ERR Default PHS0, RW/C Description Ethernet RX Packet CRC Error Count This counter is increased when there has been CRC error in Ethernet receive packet. This counter can be cleared by read if register 5 is “0” or by write to this register with any data. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 25 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.39 Ethernet Transmit Excessive Collision Counter (84H) Bit 7:0 Name ECOL_CTR Default PHS0, RW/C Description Ethernet TX Packet Excessive Collision Count This counter is increased when there has been excessive collision, i.e. continued 16 collisions, in Ethernet transmit packet. This counter can be cleared by read if register 5 is “0” or by write to this register with any data. 4.40 Ethernet Transmit Collision Counter (85H) Bit 7:0 Name COL_CTR Default PHS0, RW/C Description Ethernet TX Packet Collision Count This counter is increased when there has been collision in Ethernet transmit packet. This counter can be cleared by read if register 5 is “0” or by write to this register with any data. 4.41 Ethernet Transmit Late Collision Counter (86H) Bit 7:0 Name LCOL_CTR Default PHS0, RW/C Description Ethernet TX Packet Late Collision Count This counter is increased when there has been late collision in Ethernet transmit packet. This counter can be cleared by read if register 5 is “0” or by write to this register with any data. 4.42 RX Header Control/Status Register (91H) Bit 7 Name RX Header MODE Default PT,RW 6:2 1:0 RESERVED RESERVED P,RO P0,RW Description RX Header Mode 1 = 4-byte RX header : RX _flag, RX_status, byte_ctr_low, byte_ctr_high 0 = 3-byte RX header : RX_status, byte_ctr_low, byte_ctr_high Reserved Reserved 4.43 USB Squelch Control (95H) Bit 7:2 2:0 Name RESERVED SQUELCH Default P0,RO P101, RW Description Reserved Reference Voltage for USB Squelch Circuit 000 for Reference voltage = 27.5mV 100 for Reference voltage = 137.5mV (default) 111 for Reference voltage = 220mV 4.44 USB Address (96H) Bit 7:0 Name USB_ADR Default P0,RO Description USB Address 4.45 USB Device Address Register (F0H) Bit 7 6:0 Name RESERVED USBFA Default 0,RO 0,RO Description Reserved USB Device Address Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 26 DM9620A(I) USB2.0 to Fast Ethernet Controller 4.46 Receive Packet Counter Register (F1H) Bit 7:0 Name RXC Default 0,RO Description RXC is the packet counter received in SRAM 4.47 USB Status Register (F2H) Bit 7 6 5 4 3 2 1 0 Name RXFAULT SUSFLAG EP1RDY RESERVED BOFAULT TXC2 TXC1 TXC0 Default 0,RC 0,RC 0,RO 0,RO 0,RO 0,RO 0,RO 0,RO Description Indicate RX has unexpected condition Indicate device has suspend condition Indicate there are data ready for read from EP1 pipe Reserved Indicate Bulk Out has unexpected condition Represent there is full in transmit buffer Represent there is almost full in transmit buffer Represent there have packets in transmit buffer 4.48 USB Control Register (F4H) Bit 7:6 5 Name RESERVED EP3ACK Default 0,RW 0,RW 4 3:1 0 EP3NAK RESERVED MEMTST 0,RW 0,RW 0,RW Description Reserved When set and EP3_NAK=0, EP3 will always return 8-byte data to host per interrupt-interval. EP3 will always return NAK Reserved Before any memory-command, this bit must be set to 1. When in MEM_TST, TX/RX fifo controller will be flushed. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 27 DM9620A(I) USB2.0 to Fast Ethernet Controller 5 EEPROM Format Name MAC Address Auto Load Control Word 0 3 Vendor ID Product ID 802.3az Control 4 5 6 Wake-UP Mode Control 7 String1 Address String1 Length String2 Address String2 Length String3 Address String3 Length USB Control 8 8 9 9 10 10 11 Offset Description 0~5 6 byte Ethernet Address 6~7 Bit 1:0 = 01: Update vendor ID and product ID Bit 5:2 = Reserved Bit 7:6 = 01: Accept setting of WORD7[3:0] Bit 9:8 = 01: Accept setting of WORD7[6:4] Bit 11:10 = 01: Accept setting of WORD7[7] Bit 13:12 = 01: Accept setting of WORD7[8] Bit 15:14 = 01: Accept setting of WORD11 8~9 2 byte vendor ID (Default: 0A46h) 10~11 2 byte product ID (Default: 9620h) 12~13 When word 3 bit [5:4] is “01” Bit 6:0 = Load into register 3EH bit [6:0] Bit 14:8 = Load into register 3FH bit [6:0] Bit 15 = Load into register 3FH bit [7] 14~15 Bit0: 1 =WOL active low when set Bit1: 1 = WOL is pulse mode Bit2: 1 = Wakeup event enabled, load into register 0 bit 6. Bit3: Reserved Bit4: Reserved, set to “0” in application Bit5: Reserved, set to “0” in application Bit6: Reserved Bit7: Reserved Bit8: 1 = Internal PHY is enabled after power-on Bit9: 1 = Ethernet PHY in fiber mode Bit10: reserved Bit 11: 1 = WOL SMI event enable, to register 0FH bit 7 Bit 12: Reserved, set to “0” in application Bit 13: Reserved, set to “0” in application Bit 14: 1 = Enable MDIX (default: yes) Bit 15: Reserved, set to “0” in application 16 Vendor describe string from EEPROM start address 17 Vendor describe string length (Note: maximum value is 61) 18 Product describe string from EEPROM start address 19 Product describe string length (Note: maximum value is 61) 20 Product describe string from EEPROM start address 21 Product describe string length (Note: maximum value is 61) 22~23 Bit7:0 = USB maximum power. Unit is 2ma. Bit15:8 = USB class code Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 28 DM9620A(I) USB2.0 to Fast Ethernet Controller 6 PHY Register Description 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: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 29 DM9620A(I) USB2.0 to Fast Ethernet Controller 6.1 Basic Mode Control Register (BMCR) – 00H Bit 15 14 13 Bit Name Reset Default 0,RW/SC Reset 1 = Software reset 0 = Normal operation Loopback 0,RW Speed Selection 1,RW 12 Auto-Negotiation Enable 1,RW 11 Power Down 0,RW 10 Isolate 9 Restart Auto-Negotiation 8 Duplex Mode Description 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 1300ms "dead time" before any valid data appear 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 media 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 0,RW 1 = Isolates the PHY from the MII with the exception of the serial management. (When this bit is asserted, the PHY 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, RX[0:3], COL and CRS outputs. When PHY is isolated from the MII it shall respond to the management transactions) 0 = Normal operation 0,RW/SC 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 a value of 1 until Auto-Negotiation is initiated by the PHY. The operation of the Auto-Negotiation process will not be affected by the management entity that clears this bit 0 = Normal operation Duplex Mode 1,RW 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 Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 30 DM9620A(I) USB2.0 to Fast Ethernet Controller 7 Collision Test 0,RW 6:0 RESERVED 0,RO 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 Write as 0, ignore on read 6.2 Basic Mode Status Register (BMSR) – 01H Bit 15 Bit Name 100BASE-T4 Default 0,RO/P 14 100BASE-TX Full-Duplex 1,RO/P 13 100BASE-TX Half-Duplex 1,RO/P 12 10BASE-T Full-Duplex 1,RO/P 11 10BASE-T Half-Duplex 1,RO/P 10:7 RESERVED 0,RO 6 MF Preamble Suppression 0,RO 5 Auto-Negotiation Complete 0,RO 4 Remote Fault 0,RO/LH 3 Auto-Negotiation Ability 1,RO/P 2 Link Status 0,RO/LL Description 100BASE-T4 Capable 1 = Able to perform in 100BASE-T4 mode 0 = Not able to perform in 100BASE-T4 mode 100BASE-TX Full-Duplex Capable 1 = Able to perform 100BASE-TX in Full-Duplex mode 0 = Not able to perform 100BASE-TX in f Full-Duplex mode 100BASE-TX Half- Duplex Capable 1 = Able to perform 100BASE-TX in Half-Duplex mode 0 = Not able to perform 100BASE-TX in Half-Duplex mode 10BASE-T Full-Duplex Capable 1 = Able to perform 10BASE-T in Full-Duplex mode 0 = Not able to perform 10BASE-TX in Full-Duplex mode 10BASE-T Half- Duplex Capable 1 = Able to perform 10BASE-T in Half-Duplex mode 0 = Not able to perform 10BASE-T in Half-Duplex mode Reserved Write as 0, ignore on read 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 PHY 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 Auto Configuration Ability 1 = Able to perform Auto-Negotiation 0 = 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 Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 31 DM9620A(I) USB2.0 to Fast Ethernet Controller 1 0 Jabber Detect 0,RO/LH Extended Capability 1,RO/P 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 PHY reset. This bit works only in 10Mbps mode Extended Capability 1 = Extended register capable 0 = Basic register capable only 6.3 PHY ID Identifier Register #1 (PHYID1) – 02H The PHY Identifier Registers #1 and #2 work together in a single identifier of the DM9620A(I). 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 OUI Most Significant Bits 15.0 OUI_MSB <0181h> 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) 6.4 PHY Identifier Register #2 (PHYID2) – 03H Bit 15:10 Bit Name OUI_LSB Default <101110>, RO/P 9:4 VNDR_MDL <001010>, RO/P 3:0 MDL_REV <0000>, RO/P 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 Six bits of vendor model number mapped to bit 9 to 4 (most significant bit to bit 9) Model Revision Number Four bits of vendor model revision number mapped to bit 3 to 0 (most significant bit to bit 3) Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 32 DM9620A(I) USB2.0 to Fast Ethernet Controller 6.5 Auto-Negotiation Advertisement Register(ANAR) – 04H This register contains the advertised abilities of this DM9620A(I) device as they will be transmitted to its link partner during Auto-Negotiation. Bit Bit Name Default Description Next Page Indication 15 NP 0,RO/P 0 = No next page available 1 = Next page available The PHY has no next page, so this bit is permanently set to 0 Acknowledge 14 ACK 0,RO 1 = Link partner ability data reception acknowledged 0 = Not acknowledged 13 RF 0,RW 12:11 RESERVED X,RW 10 FCS 0,RW 9 T4 0,RO/P 8 TX_FDX 7 TX_HDX 6 10_FDX 5 10_HDX 4:0 Selector The PHY'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. Remote Fault 1 = Local device senses a fault condition 0 = No fault detected Reserved Write as 0, ignore on read Flow Control Support 1 = Controller chip supports flow control ability 0 = Controller chip doesn’t support flow control ability 100BASE-T4 Support 1 = 100BASE-T4 is supported by the local device 0 = 100BASE-T4 is not supported The PHY does not support 100BASE-T4 so this bit is permanently set to 0 100BASE-TX Full-Duplex Support 1,RW 1 = 100BASE-TX Full-Duplex is supported by the local device 0 = 100BASE-TX Full-Duplex is not supported 100BASE-TX Support 1 RW 1 = 100BASE-TX is supported by the local device 0 = 100BASE-TX is not supported 10BASE-T Full-Duplex Support 1,RW 1 = 10BASE-T Full-Duplex is supported by the local device 0 = 10BASE-T Full-Duplex is not supported 10BASE-T Support 1,RW 1 = 10BASE-T is supported by the local device 0 = 10BASE-T is not supported <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: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 33 DM9620A(I) USB2.0 to Fast Ethernet Controller 6.6 Auto-Negotiation Link Partner Ability Register (ANLPAR) – 05H This register contains the advertised abilities of the link partner when received during Auto-Negotiation. Bit Bit Name Default Description Next Page Indication 15 NP 0,RO 1 = Link partner, next page available 0 = Link partner, no next page available Acknowledge 14 ACK 0,RO 1 = Link partner ability data reception acknowledged 0 = Not acknowledged 13 RF 12:11 RESERVED 10 FCS 9 T4 8 TX_FDX 7 TX_HDX 6 10_FDX 5 10_HDX 4:0 Selector The PHY's Auto-Negotiation state machine will automatically control this bit from the incoming FLP bursts. Software should not attempt to write to this bit. Remote Fault 0,RO 1 = Remote fault indicated by link partner 0 = No remote fault indicated by link partner Reserved: X,RO Write as 0, ignore on read Flow Control Support 0,RW 1 = Controller chip supports flow control ability by link partner 0 = Controller chip doesn’t support flow control ability by link partner 100BASE-T4 Support 0,RO 1 = 100BASE-T4 is supported by the link partner 0 = 100BASE-T4 is not supported by the link partner 100BASE-TX Full-Duplex Support 0,RO 1 = 100BASE-TX Full-Duplex is supported by the link partner 0 = 100BASE-TX Full-Duplex is not supported by the link partner 100BASE-TX Support 0,RO 1 = 100BASE-TX Half-Duplex is supported by the link partner 0 = 100BASE-TX Half-Duplex is not supported by the link partner 10BASE-T Full-Duplex Support 0,RO 1 = 10BASE-T Full-Duplex is supported by the link partner 0 = 10BASE-T Full-Duplex is not supported by the link partner 10BASE-T Support 0,RO 1 = 10BASE-T Half-Duplex is supported by the link partner 0 = 10BASE-T Half-Duplex is not supported by the link partner <00000>,RO Protocol Selection Bits Link partner’s binary encoded protocol selector Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 34 DM9620A(I) USB2.0 to Fast Ethernet Controller 6.7 Auto-Negotiation Expansion Register (ANER)- 06H Bit 15:5 Bit Name RESERVED Default X,RO 4 PDF 0,RO/LH 3 LP_NP_ABLE 0,RO 2 NP_ABLE 0,RO/P 1 PAGE_RX 0,RO/LH 0 LP_AN_ABLE 0,RO Description Reserved Write as 0, ignore on read Local Device Parallel Detection Fault 1 = A fault detected via parallel detection function 0 = No fault detected via parallel detection function Link Partner Next Page Able 1 = Link partner, next page available 0 = Link partner, no next page Local Device Next Page Able 1 = Next page available 0 = No next page 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. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 35 DM9620A(I) USB2.0 to Fast Ethernet Controller 6.8 DAVICOM Specified Configuration Register (DSCR) – 10H Bit 15 Bit Name BP_4B5B Default 0,RW 14 BP_SCR 0,RW 13 BP_ALIGN 0,RW 12 BP_ADPOK 0,RW 11 RESERVED 0,RO 10 TX 1,RW 9 8 RESERVED RESERVED 0,RO 0,RO 7 F_LINK_100 0,RW 6 RESERVED 0,RO 5 RESERVED 0,RO 4 RPDCTR-EN 1,RW 3 SMRST 0,RW 2 MFPSC 1,RW 1 0 SLEEP RSERVED 0,RW 0,RW 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 Force signal detector (SD) active. This register is for debug only, not release to customer. 1 = Force SD is OK, 0 = Normal operation Reserved Write as 0, ignore on read. 100BASE-TX or FX Mode Control 1 = 100BASE-TX operation 0 = 100BASE-FX operation Reserved Reserved Write as 0, ignore on read. Force Good Link in 100Mbps 0 = Normal 100Mbps operation 1 = Force 100Mbps good link status This bit is useful for diagnostic purposes. Reserved Write as 0, ignore on read. Reserved Write as 0, ignore on read. 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 Reserved Force to 0 in application. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 36 DM9620A(I) USB2.0 to Fast Ethernet Controller 6.9 DAVICOM Specified Configuration and Status Register (DSCSR) – 11H Bit 15 Bit Name 100FDX Default 1,RO 14 100HDX 1,RO 13 10FDX 1,RO 12 10HDX 1,RO 11:9 RESERVED 0,RO 15 100FDX 1,RO 14 100HDX 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. 100M Half-Duplex Operation Mode After Auto-Negotiation 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. 10M Full-Duplex Operation Mode After Auto-Negotiation 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. 10M Half-Duplex Operation Mode After Auto-Negotiation 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. Reserved Write as 0, ignore on read PHY Address Bit 4:0 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. 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 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 In IDLE state Ability match Acknowledge match Acknowledge match fail Consistency match Consistency match fail Parallel detects signal_link_ready Parallel detects signal_link_ready fail Auto-Negotiation completed successfully Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 37 DM9620A(I) USB2.0 to Fast Ethernet Controller 6.10 10BASE-T Configuration/Status (10BTCSR) – 12H Bit 15 Bit Name RESERVED Default 0,RO 14 LP_EN 1,RW 13 HBE 1,RW 12 SQUELCH 1,RW 11 JABEN 1,RW 10:1 RESERVED 0,RO 0 POLR 0,RO Description Reserved Write as 0, ignore on read 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 PHY 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 PHY is in 10BASE-T Full-Duplex or 10BASE-T transceiver loopback mode. 1 = Jabber function enabled 0 = Jabber function disabled Reserved Write as 0, ignore on read Polarity Reversed When this bit is set to 1, it indicates that the 10Mbps cable polarity is reversed. This bit is set and cleared by 10BASE-T module automatically. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 38 DM9620A(I) USB2.0 to Fast Ethernet Controller 6.11 Power down Control Register (PWDOR) – 13H Bit 15:9 Bit Name RESERVED Default 0,RO Description Reserved Read as 0, ignore on write 8 PD10DRV 0,RW Vendor power down control test 7 PD100DL 0,RW Vendor power down control test 6 PDchip 0,RW Vendor power down control test 5 PDcom 0,RW Vendor power down control test 4 PDaeq 0,RW Vendor power down control test 3 PDdrv 0,RW Vendor power down control test 2 PDedi 0,RW Vendor power down control test 1 PDedo 0,RW Vendor power down control test 0 PD10 0,RW Vendor power down control test * When selected, the power down value is control by Register 14H Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 39 DM9620A(I) USB2.0 to Fast Ethernet Controller 6.12 (Specified Config) Register – 14H Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit Name TSTSE1 TSTSE2 FORCE_ TXSD Default 0,RW 0,RW 0,RW Description Vendor test select control Vendor test select control Force Signal Detect 1 = Force SD signal OK in 100M 0 = Normal SD signal. FORCE_FEF 0,RW Vendor test select control Preamble Saving Control PREAMBLEX 1,RW 0 = When bit 10 is set, the 10BASE-T transmit preamble count is reduced. When bit 11 of register 1DH is set, 12-bit preamble is reduced; otherwise 22-bit preamble is reduced. 1 = Transmit preamble bit count is normal in 10BASE-T mode 10BASE-T Mode Transmit Power Saving Control TX10M_PWR 1,RW 1 = Enable transmit power saving in 10BASE-T mode 0 = Disable transmit power saving in 10BASE-T mode Auto-Negotiation Power Saving Control NWAY_PWR 0,RW 1 = Disable power saving during Auto-Negotiation period 0 = Enable power saving during Auto-Negotiation period RESERVED 0,RW Reserved MDIX_CNTL MDI/MDIX,RO The Polarity of MDI/MDIX Value 1 = MDIX mode 0 = MDI mode Auto-Negotiation Loop-back AutoNeg_lpbk 0,RW 1 = Test internal digital Auto-Negotiation Loop-back 0 = Normal MDIX_CNTL Force Value Mdix_fix Value 0, RW When Mdix_down = 1, MDIX_CNTL value depend on the register value. HP Auto-MDIX Down Mdix_down 0,RW Manual force MDI/MDIX. 1 = Disable HP Auto-MDIX , MDIX_CNTL value depend on Bit5 0 = Enable HP Auto-MDIX MonSel1 0,RW Vendor monitor select MonSel0 0,RW Vendor monitor select Reserved RESERVED 0,RW Force to 0, in application. Power Down Control Value PD_value 0,RW Decision the value of each field Register 19. 1 = Power down 0 = Normal Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 40 DM9620A(I) USB2.0 to Fast Ethernet Controller 6.13 DSP Control (DSP_CTRL) – 1BH Bit 15:0 Bit Name DSP_CTRL Default 0,RW Description DSP Control For internal testing only 6.14 Power Saving Control Register (PSCR) – 1DH Bit 15:13 12 11 Bit Name RESERVED LPI PREAMBLEX Default 0,RO 0,RO 0,RW 10 AMPLITUDE 0,RW 9 TX_PWR 0,RW 8:0 RESERVED 0,RO Description Reserved Low power idle mode Preamble Saving Control When both bit 10and 11 of register 14H are set, the 10BASE-T transmit preamble count is reduced. 1 = 12-bit preamble is reduced. 0 = 22-bit preamble is reduced. Transmit Amplitude Control Disabled 1 = When cable is unconnected with link partner, the TX amplitude is reduced for power saving. 0 = Disable Transmit amplitude reduce function Transmit Power Saving Control Disabled 1 = When cable is unconnected with link partner, the driving current of transmit is reduced for power saving. 0 = Disable transmit driving power saving function Reserved Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 41 DM9620A(I) USB2.0 to Fast Ethernet Controller 7 Functional Description 7.1 USB Functional Description 7.1.1 USB Functional Description 1. Support Standard Command BmReqType 00000000B 00000001B 00000010B 10000000B GET_CONFIGURATION 10000000B GET_DESCRIPTOR 10000001B 10000000B 10000001B 10000010B 00000000B GET_INTERFACE Zero Descriptor type/index Zero GET_STATUS Zero 00000000B 00000000B BRequest Setup Stage WValue CLEAR_FEATURE Feature Selector SET_ADDRESS Device address Configuration SET_CONFIGURATION value Descriptor SET_DESCRIPTOR type/index 00000000B 00000001B 00000010B SET_FEATURE 00000001B SET_INTERFACE 10000010B SYNCH_FRAME Feature Selector Alternate setting Zero WIndex Zero Interface Endpoint Zero WLength Data Stage Data Zero None One Configuration value Zero/LID Length Descriptor Interface Zero Interface Endpoint Zero One Alternate Interface Two Status Zero None Zero Zero None Zero/LID Length Descriptor Zero Interface Endpoint Zero None Interface Zero None Endpoint Two Frame Number 2. Not Supported Standard Commands l Clear_Feature (Interface) l Set_Feature (Interface) l Set_Descriptor ( ) l Sync_Frame ( ) Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 42 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.1.2 Vender Commands There are two types of vendor’s command. We can access internal register maximum 64 bytes, and can access internal memory. 7.1.2.1 Register Type READ_REGISTER ( ) Setup Stage BmReqType BReq Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 C0H 00H 00H 00H RegOffset[7:0] 00H BC[7:0] 00H WRITE_REGISTER ( ) Setup Stage BmReqType BReq WValue WValue WIndex WLength WIndex WLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 40H 01H 00H 00H RegOffset[7:0] 00H BC[7:0] 00H WRITE1_REGISTER ( ) Setup Stage BmReqType BReq WValue WIndex WLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 40H 03H Data[7:0] 00H RegOffset[7:0] 00H Byte 6 Byte 7 0000H 7.1.2.2 Memory Type These kind of commands are valid when the bit “MEM_MODE “ is set, otherwise device will respond with request error when receiving these commands. READ_MEMORY ( ) Setup Stage BmReqType BReq Byte 0 Byte 1 Byte 2 Byte 3 C0H 02H 00H 00H WRITE_MEMORY ( ) Setup Stage BmReqType BReq WValue Byte 4 Byte 1 Byte 2 Byte 3 40H 05H 00H 00H WIndex Byte 4 Byte 1 Byte 2 Byte 3 40H 07H Data[7:0] 00H Byte 6 Byte 5 WIndex Byte 4 Byte 5 MemOff[7:0] MemOff[15:8] Byte 7 00H WLength Byte 6 MemOff[7:0] MemOff[15:8] BC[7:0] WValue Byte 0 Byte 5 WLength MemOff[7:0] MemOff[15:8] BC[7:0] WValue Byte 0 WRITE1_MEMORY ( ) Setup Stage BmReqType BReq WIndex Byte 7 00H WLength Byte 6 Byte 7 0000H Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 43 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.1.3 Interface 0 Configuration Definition: len-byte is 64-byte in full speed mode and 256-byte in high speed mode. 7.1.3.1 Endpoint 1 Type: Bulk In Packet Padload: len-byte When host accessing EP1. If IN-FIFO is full, device will send len-byte data. If IN-FIFO isn’t full and Ethernet packet isn’t end, device will send a NAK. If IN-FIFO isn’t full and Ethernet packet is end, device will send the surplus data in IN-FIFO. Data Format For 3-byte header mode Fist byte Ethernet Receive Packet Status, the bit format is same as register 6 (RSR) Second byte Ethernet Receive Packet byte count low Third byte Ethernet Receive Packet byte count high The others Ethernet Receive Packet Data For 4-byte header mode (if pin TXD0 is pull-high) Fist byte Ethernet Receive Packet Checksum Status, the bit format is same as register 6 (RSR) Second byte Ethernet Receive Packet Status, the bit[7:2] format is same as register 32 (RCSCSR) Third byte Ethernet Receive Packet byte count low Fourth byte Ethernet Receive Packet byte count high The others Ethernet Receive Packet Data 7.1.3.2 Endpoint 2 Type: Bulk Out Packet Padload: len-byte When host accessing EP2. If OUT-FIFO isn’t full, host sends data, device response ACK. If OUT-FIFO is full, host sends data, device response NAK. If host sends data less len-byte or zero byte, it means Ethernet packet end. Data Format Fist byte Second byte The others Ethernet Transmit Packet byte count low Ethernet Transmit Packet byte count high Ethernet Transmit Packet data Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 44 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.1.3.3 Endpoint 3 Type: Interrupt In Packet Load: 8-byte When host accessing EP3. If no interrupt condition, device response NAK. If interrupt condition, device will send content back to host. Data Format Offset Name Byte 0 NSR Byte 1 TSR1 Byte 2 TSR2 Byte 3 RSR Byte 4 ROCR Byte 5 RXC Byte 6 TXC Byte 7 GPR Description Network status register Reserved Reserved RX status register Received overflow counter register Received packet counter Transmit packet counter Reserved Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 45 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.1.4 Descriptor Values All descriptors are stored in its default values. Device Descriptor/18-Byte Offset Field Size Value 0 bLength 1 12H 1 bDescriptorType 1 01H 2 bcdUSB 2 0200H 4 bDeviceClass 1 00H 5 6 7 8 10 12 14 15 16 17 bDeviceSubClass bDeviceProtocol bMaxPacketSize0 idVender idProduce bcdDevice iManufacturer iProduct iSerialNumber bNumConfigurations Configuration0 Descriptor/9-Byte Offset Field 0 bLength 1 bDescriptorType 2 wTotalLength 4 bNumInterfaces 5 bConfigurationValue 6 iConfiguration 7 bmAttributes 8 MaxPower Interface0 Descriptor/9-Byte Offset Field 0 bLength 1 bDescriptorType 2 bInterfaceNumber 3 bAlternateSetting 4 bNumEndpoints 5 bInterfaceClass 6 bInterfaceSubClass 7 bInterfaceProtocol 8 iInterface 1 1 1 2 2 2 1 1 1 1 00H 00H 08H 0A46H 9620H 0101H 01H 02H 03H 01H Size 1 1 2 1 1 1 1 Value 09H 02H 0027H 01H 01H 00H A(8)0H 1 3CH Size 1 1 1 1 1 1 1 1 1 Value 09H 04H 00H 00H 03H 00H 00H 00H 00H Description Size of descriptor in bytes DEVICE Descriptor Type USB BCD version Class code, assign by USB Zero: No device level class 01H~FEH : Valid device class FFH : Vender-specific SubClass code, assign by USB Protocol code, assign by USB Maximum PL for EP0(8,16,32,64) Vendor ID(0A46) (fm EEP) Product ID (fm EEP) Device release number Index of string descriptor for manufacturer Index of string descriptor for product Index of string descriptors for serial number Number of configurations Description Size of descriptors CONFIGURATION Descriptor Type Total descriptor length Number of interfaces Value of this configuration Index of string descriptor for configuration Configuration characteristics D7:Reserved (set to 1) D6: Self-powered D5: Remote WakeUp 1 = If REG00H bit 6 is “1” 0 = If REG00H bit 6 is “0” D4: Reserved ( reset to 0) Maximum power, 2mA units (fm EEP) Description Size of this descriptor INTERFACE Descriptor Type Number of interface Value used to select alternate setting Number of ednpoints Class code SunClass code Protocol code Index of string for this interface Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 46 DM9620A(I) USB2.0 to Fast Ethernet Controller Endpoint1 Descriptor/6-Byte Offset Field 0 bLength 1 bDescriptorType 2 bEndpointAddress Size 1 1 1 Value 07H 05H 81H 3 bmAttributes 1 02H 4 wMaxPacketSize 2 0040H 6 bInterval 1 00H Size 1 1 1 Value 07H 05H 02H 02H Endpoint 2 Descriptor/6-Byte Offset Field 0 bLength 1 bDescriptorType 2 bEndpointAddress 3 bmAttributes 1 4 wMaxPacketSize 2 6 bInterval 1 0040H 00H Description Size of this descriptor ENDPOINT Descriptor Type Address of the endpoint Bit3~0: The endpoint number Bit 6~4: Reserved(0) Bit7 : Direction(Control EP exclude) 1 = IN endpoint 0 = OUT endpoint EP's attributes Bit1~0: Transfer Type 00 = Control 01 = Isochronous 10 = Bulk 11 = Interrupt Maximum packet size of this EP (0200H for high speed) Interval for polling (periodical pipe) (fm EEP) Interrupt Tpye = 1 ~ 255 (ms) Isochronoous Type = 1 (ms) Description Size of this descriptor ENDPOINT Descriptor Type Address of the endpoint Bit3~0: The endpoint number Bit 6~4: Reserved(0) Bit7: Direction(Control EP exclude) 1 = IN endpoint 0 = OUT endpoint EP's attributes Bit1~0: Transfer Type 00 = Control 01 = Isochronous 10 = Bulk 11 = Interrupt Maximum packet size of this EP (0200H for high speed) Interval for polling (periodical pipe) (fm EEP) Interrupt Tpye = 1 ~ 255 (ms) Isochronoous Type = 1 (ms) Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 47 DM9620A(I) USB2.0 to Fast Ethernet Controller Endpoint3 Descriptor/6-Byte Offset Field 0 bLength 1 bDescriptorType 2 bEndpointAddress Size 1 1 1 Value 07H 05H 83H 3 bmAttributes 1 03H 4 6 wMaxPacketSize bInterval 2 1 0008H 01H Size 1 1 2 Value 04H 03H 0409H String0 Descriptor/Code array Offset Field 0 bLength 1 bDescriptorType 2 wLANGID[1] Description Size of this descriptor ENDPOINT Descriptor Type Address of the endpoint Bit3~0: The endpoint number Bit 6~4: Reserved(0) Bit7: Direction(Control EP exclude) 1 = IN endpoint 0 = OUT endpoint EP's attributes Bit1~0: Transfer Type 00 = Control 01 = Isochronous 10 = Bulk 11 = Interrupt Maximum packet size of this EP Interval for polling (periodical pipe) Interrupt Tpye = 1 ~ 255 (ms) Isochronoous Type = 1 (ms) Description Size of this descriptor STRING Descriptor Type LANGID code(Eng.) Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 48 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.1.5 Descriptors of String/1/2/3 Are Loaded From EEPROM String1 Descriptor/UNICODE String Offset Field Size 0 bLength 1 1 bDescriptorType 1 2 bString n String2 Descriptor/UNICODE String Offset Field 0 bLength 03H Size 1 Value 03H 1 bDescriptorType 1 2 bString n String3 Descriptor/UNICODE String Offset Field 0 bLength Value Size 1 Value 03H 1 bDescriptorType 1 2 bString n Description Descriptor length In the EEPROM, data is loaded from the low byte address position indexed by the word address position at low byte: 8. STRING Descriptor Type In the EEPROM, data is loaded from the high byte address position indexed by the word address position at low byte: 8 Manufacture data Data is loaded from the next word address position indexed by the word address position at low byte: 8 Description Descriptor length In the EEPROM, data is loaded from the low byte address position indexed by the word address position at low byte: 9. STRING Descriptor Type In the EEPROM, data is loaded from the high byte address position indexed by the word address position at low byte: 9 Product Data is loaded from the next word address position indexed by the word address position at low byte: 9 Description Descriptor length In the EEPROM, data is loaded from the low byte address position indexed by the word address position at low byte: 10. STRING Descriptor Type In the EEPROM, data is loaded from the high byte address position indexed by the word address position at low byte: 10. Serial Number Data is loaded from the next word address position indexed by the word address position at low byte: 10. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 49 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.1.6 Descriptors of String/1/2/3 If No EEPROM Exist String1 Descriptor/UNICODE String Offset Field 0 bLength 1 bDescriptorType 2 bString Size 1 1 2 Value 04H 03H 0020H Description Descriptor length STRING Descriptor Type Manufacture String2 Descriptor/UNICODE String Offset Field 0 bLength 1 bDescriptorType 2 bString Size 1 1 14 Value 10H 03H Description Descriptor length STRING Descriptor Type 55 00 53 00 42 00 20 00 45 00 74 00 68 00 U S B E t h String3 Descriptor/UNICODE String Offset Field 0 bLength 1 bDescriptorType 2 bString Size 1 1 2 Value 04H 03H 0031H Description Descriptor length STRING Descriptor Type Serial Number Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 50 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.2 Ethernet Functional Description 7.2.1 Serial Management Interface DM9620A/ DM9620AI MDC MDIO MDC MDIO PHY External PHY can be accessed via the MDC, MDIO Management Interface - Read Frame Structure MDC MDIO Read 32 "1"s Idle 0 Preamble 1 SFD 1 0 A4 Op Code A3 A0 PHY Address R4 R3 R0 Register Address // // 0 Z D15 D14 Turn Around D1 D0 Data Read Write Idle Management Interface - Write Frame Structure MDC MDIO Write 32 "1"s Idle Preamble 0 1 SFD 0 1 Op Code A4 A3 PHY Address A0 R4 R3 R0 Register Address Write 1 0 Turn Around D15 D14 Data D1 D0 Idle Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 51 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.2.2 100Base-TX Operation The block diagram in figure 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 Converter - NRZI to MLT-3 - MLT-3 Driver 7.2.3 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, reference Table 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 DM9620A(I) 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.4 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.5 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.6 NRZ to NRZI Encoder After 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.7 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. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 52 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.2.8 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 transformer primary winding resulting in a minimal current MLT-3 signal. Refer to figure 4 for the block diagram of the MLT-3 converter. 7.2.9 4B5B Code Group Symbol Meaning 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 0 1 2 3 4 5 6 7 8 9 A B C D E F 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 Table 1 00000 00001 00010 00011 00101 00110 01000 01100 10000 11001 Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 53 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.2.10 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 that is then provided to the MII. The receive section contains the following functional blocks: - Signal Detect - Digital Adaptive Equalization - MLT-3 to Binary Decoder - Clock Recovery Module - NRZI to NRZ Decoder - Serial to Parallel - Descrambler - Code Group Alignment - 4B5B Decoder 7.2.11 Signal Detect The signal detect function meets the specifications mandated by the ANSI XT12 TP-PMD 100Base-TX Standards for both voltage thresholds and timing parameters. 7.2.12 Adaptive Equalization When transmitting data at high speed 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.13 MLT-3 to NRZI Decoder The DM9620A(I) decodes the MLT-3 information from the Digital Adaptive Equalizer into NRZI data. The relationship between NRZI and MLT-3 data is shown in figure 4. 7.2.14 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.15 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: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 54 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.2.16 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.17 Descrambler Because of the scrambling process required 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.18 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.19 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.20 10Base-T Operation The 10Base-T transceiver is IEEE 802.3u compliant. When the DM9620A(I) 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.21 Collision Detection For Half-Duplex operation, a collision is detected when the 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.22 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. 7.2.23 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. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 55 DM9620A(I) USB2.0 to Fast Ethernet Controller 7.2.24 Auto-Negotiation (continued) 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 that the receiving device supports, a connection will be automatically established using that technology. This allows devices that do not support Auto-Negotiation but support a common mode of operation to establish a link. 7.2.25 Energy-Efficient Ethernet (EEE) DM9620A(I) support IEEE 802.3az Energy-Efficient Ethernet (EEE) for 100Base-TX transmission. When DM9620A(I) detects low link utilization, it requests the transmitter to enter the Low Power Idle (LPI) mode and send appropriate symbols over the link. Upon receiving and decoding those symbols, the receiver can enter the LPI mode. The transmitter and receiver can enter and exit low power states independently. Energy is conserved by deactivating the corresponding functional blocks. Auto-Negotiation function is used to determine whether both link partners support EEE. If both link partners support EEE capability of 100Base-TX, DM9620A(I) enables the EEE function to save power when no packets are being transmitted. PHY register 1D bit 12 is high to indicate the status. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 56 DM9620A(I) USB2.0 to Fast Ethernet Controller 8 DC and AC Electrical Characteristics 8.1 Absolute Maximum Ratings (-40°C ~ +85°C for DM9620AI) Symbol DVDD VIN VOUT TSTG TA TA LT Parameter Min. -0.3 -0.5 -0.3 -65 0 -40 - Supply Voltage DC Input Voltage (VIN) DC Output Voltage(VOUT) Storage Temperature range Ambient Temperature Ambient Temperature Lead Temperature (LT, soldering, 10 sec.). Max. 3.6 5.5 3.6 +150 +70 +85 +260 Unit V V V °C °C °C °C Conditions *1 *2 *2 For DM9620AI *1: Power pin *2: IO pin 8.1.1 Operating Conditions Symbol Parameter DVDD Supply Voltage PD 100BASE-TX (Power 10BASE-T Dissipation) 10BASE-T idle *1 USB suspend mode *1: demo board testing result Min. 3.135 --------- Typ. 3.300 180 200 110 2.48 Max. 3.465 --------- Unit V mA mA mA mA Conditions 3.3V 3.3V 3.3V 3.3V Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 57 DM9620A(I) USB2.0 to Fast Ethernet Controller 8.2 DC Electrical Characteristics (VDD = 3.3V) Symbol Inputs VIL VIH IIL IIH Outputs VOL VOH Receiver VICM Parameter Min. Typ. Max. Unit Conditions Input Low Voltage Input High Voltage Input Low Leakage Current Input High Leakage Current 2.0 -1 - - 0.8 1 V V uA uA VIN = 0.0V VIN = 3.3V Output Low Voltage Output High Voltage 2.4 - 0.4 - V V IOL = 4mA IOH = -4mA - 1.8 - V 100 W Termination Across 1.9 2.0 2.1 V Peak to Peak 4.4 │19│ 5 │20│ 5.6 │21│ V mA Peak to Peak Absolute Value │44│ │50│ │56│ mA Absolute Value RX+/RX- Common Mode Input Voltage Transmitter VTD100 100TX+/- Differential Output Voltage VTD10 10TX+/- Differential Output Voltage ITD100 100TX+/- Differential Output Current ITD10 10TX+/- Differential Output Current Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 58 DM9620A(I) USB2.0 to Fast Ethernet Controller 8.3 AC Electrical Characteristics & Timing Waveforms 8.3.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 8.3.2 Oscillator/Crystal Timing (25°C) Symbol Parameter TCKC OSC Clock Cycle TPWH OSC Pulse Width High TPWL OSC Pulse Width Low Min. 3.0 0 Typ. - Max. 5.0 0.5 Unit ns ns 0 - 0.5 ns 0 - 1.4 ns 0 - 5 % Min. 39.9988 - Typ 40 20 20 Max. 40.0012 - Unit ns ns ns Conditions Conditions 30ppm Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 59 DM9620A(I) USB2.0 to Fast Ethernet Controller 9 AC Timing Waveform 9.1 Power On Reset Timing T1 Power on T2 PWRST# T3 T6 Strap pins T4 EECS T5 Symbol T1 T2 T3 T4 T5 T6 Parameter Power on reset time RSTB Low Period Strap pin setup time with RSTB Strap pin hold time with RSTB RSTB high to EECS high RSTB high to EECS burst end Min. 15 5 40 40 - Typ. 1 -- Max. 1.85 Unit ms ms ns ns us ms Conditions - Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 60 DM9620A(I) USB2.0 to Fast Ethernet Controller 9.2 EEPROM Timing T1 EECS T2 EECK T4 EEDIO T5 T3 Symbol T1 T2 T3 T4 T5 Parameter Min. EECS Hold Time EECK cycle time EEDIO Hold Time in output state EEDIO Setup Time in input state EEDIO Hold Time in input state Typ. 4.2 5.12 4.2 Max. Unit us us us ns ns Max. Unit MHz ns ns ns 8 1 9.3 MII Management Timing T1 MDC MDIO (from DM9620) T3 T2 MDIO (to DM9620) T4 Symbol T1 T2 T3 T4 Parameter MDC Frequency MDIO Output Delay Time MDIO by External MII Setup Time MDIO by External MII Hold Time Min. 368 1 Typ. 1.04 600 Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 61 DM9620A(I) USB2.0 to Fast Ethernet Controller 9.4 MII TX Timing TXC TXE T1 TXD_3~0 Symbol Parameter T1 TXE,TXD_3~0 Delay Time Min. 3 Typ. 8 Max. 13 Unit ns Max. Unit ns ns 9.5 MII RX Timing RXC RXER,RXDV T1 T2 RXD_3~0 Symbol Parameter T1 RXDV,RXD_3~0 Setup Time T2 RXDV,RXD_3~0 Hold Time Min. 2 2 Typ. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 62 DM9620A(I) USB2.0 to Fast Ethernet Controller 9.6 RMII TX timing CLK50M TXE T1 TXD_1~0 Symbol Parameter T1 TXE,TXD_1~0 Delay Time Min. Typ. 7 Max. Unit ns Max. Unit ns ns 9.7 RMII RX timing CLK50M RXDV T1 T2 RXD_1~0 Symbol Parameter T1 RXDV,RXD_1~0 Setup Time T2 RXDV,RXD_1~0 Hold Time Min. 3 2 Typ. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 63 DM9620A(I) USB2.0 to Fast Ethernet Controller 9.8 RevMII TX timing TXC TXE T1 TXD_3~0 Symbol Parameter T1 TXE,TXD_3~0 Delay Time Min. 3 Typ. 8 Max. 13 Unit ns Max. Unit ns ns 9.9 RevMII RX timing RXC RXDV T1 T2 RXD_3~0 Symbol Parameter T1 RXDV,RXD_3~0 Setup Time T2 RXDV,RXD_3~0 Hold Time Min. 2 2 Typ. Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 64 DM9620A(I) USB2.0 to Fast Ethernet Controller 10 Magnetic and Crystal Selection Guide 10.1 Magnetic Selection Guide Refer to Table 1 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 1 are electrical equivalents, but may not be pin-to-pin equivalents. Designers should test and qualify all magnetic specifications before using them in an application. RoHS regulations, please contact with your magnetic vendor, this table only for you reference Manufacturer DELTA MAGCOM Halo Bel Fuse Part Number LFE8505-DC, LFE8563-DC, LFE8583-DC HS9016, HS9024 TG110-S050N2, TG110-LC50N2 S558-5999-W2 Table 1 10.2 Crystal Selection Guide A crystal can be used to generate the 25MHz reference clock instead of an oscillator. The crystal must be a fundamental type, and series-resonant. Connects to pins X1 and X2, and shunts each crystal lead to ground with a 15pf capacitor (see figure 10-1). PARAMETER SPEC Type Frequency Equivalent Series Resistance Load Capacitance Case Capacitance Power Dissipation Fundamental, series-resonant 25.000 MHz +/- 30ppm 25 ohms max 22 pF typ. 7 pF max. 1mW max. X1 X2 60 61 25MHz 15pf GND 15pf GND Figure 10-1 Crystal Circuit Diagram Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 65 DM9620A(I) USB2.0 to Fast Ethernet Controller 11 Application Circuit DM9620A(I) Reverse MII Block Diagram Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 66 DM9620A(I) USB2.0 to Fast Ethernet Controller DM9620A(I) Reduce MII Block Diagram Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 67 DM9620A(I) USB2.0 to Fast Ethernet Controller 12 Package Information 64 Pins LQFP Package Outline Information: Dimension in mm Dimension in inch Min Nom Max Min Nom Max A 1.60 0.063 A1 0.05 0.15 0.002 0.006 A2 1.35 1.40 1.45 0.053 0.055 0.057 b 0.17 0.22 0.27 0.007 0.009 0.011 b1 0.17 0.20 0.23 0.007 0.008 0.009 c 0.09 0.20 0.004 0.008 c1 0.09 0.16 0.004 0.006 D 12.00 BSC 0.472 BSC D1 10.00 BSC 0.394 BSC E 12.00 BSC 0.472 BSC E1 10.00 BSC 0.394 BSC e 0.50 BSC 0.020 BSC L 0.45 0.60 0.75 0.018 0.024 0.030 L1 1.00 REF 0.039 REF R1 0.08 0.003 R2 0.08 0.20 0.003 0.008 S 0.20 0.008 o o o o o o θ 0 3.5 7 0 3.5 7 o o θ1 0 0 o o θ2 12 TYP 12 TYP o o θ3 12 TYP 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. Symbol Final Doc No: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 68 DM9620A(I) USB2.0 to Fast Ethernet Controller 13 Ordering Information Part Number DM9620AEP DM9620AIEP Pin Count 64 64 Package LQFP (Pb-Free) LQFP (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: DM9620A(I)-13-MCO-DS-F01 June 30, 2015 69