DAVICOM DM9621NP

DM9621
USB2.0 to Fast Ethernet Controller
DAVICOM Semiconductor, Inc.
DM9621
USB2.0 to 10/100M Fast Ethernet Controller
DATA SHEET
Version: DM9621-DS-P02
February 23, 2011
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
1
DM9621
USB2.0 to Fast Ethernet Controller
CONTENT
1. Features: ............................................................................................................................. 6
1.1 System Description..................................................................................................... 7
2. Block Diagram and Block Description.................................................................................. 8
3. Pin Configuration: ................................................................................................................ 9
3.1 48- Pin QFN................................................................................................................ 9
3.2 48-pin description ..................................................................................................... 10
3.3 strap pins table ......................................................................................................... 12
4. Vendor Control and Status Register Set............................................................................ 13
4.1 Network Control Register (00H)................................................................................ 14
4.2 Network Status Register (01H) ................................................................................. 15
4.3 TX Control Register (02H) ........................................................................................ 16
4.4 RX Control Register ( 05H )...................................................................................... 16
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)................................................................................. 21
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 PHYceiver Address Register (33H) .......................................................... 23
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
2
DM9621
USB2.0 to Fast Ethernet Controller
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 Transmit Packet Counter (81H) .............................................................................. 24
4.33 USB Packet Error Counter (82H)............................................................................ 25
4.34 Ethernet Receive Packet CRC Error Counter (83H)............................................... 25
4.35 Ethernet Transmit Excessive Collision Counter (84H) ............................................ 25
4.36 Ethernet Transmit Collision Counter (85H) ............................................................. 25
4.37 Ethernet Transmit Late Collision Counter (86H) ..................................................... 25
4.38 RX Header Control/Status Register (91H) .............................................................. 25
4.39 USB Squelch Control (95H).................................................................................... 26
4.40 USB Address (96H) ................................................................................................ 26
4.41 USB Device Address Register (F0H)...................................................................... 26
4.42 Receive Packet Counter Register (F1H)................................................................. 26
4.43 Transmit Packet Counter/USB Status Register (F2H) ............................................ 26
4.44 USB Control Register (F4H) ................................................................................... 26
5. EEPROM Format:.............................................................................................................. 27
6. PHY Register Description .................................................................................................. 28
6.1 Basic Mode Control Register (BMCR) – 00H............................................................ 29
6.2 Basic Mode Status Register (BMSR) – 01H ............................................................. 30
6.3 PHY ID Identifier Register #1 (PHYID1) – 02H......................................................... 31
6.4 PHY Identifier Register #2 (PHYID2) – 03H ............................................................. 31
6.5 Auto-negotiation Advertisement Register(ANAR) – 04H .......................................... 31
6.6 Auto-negotiation Link Partner Ability Register (ANLPAR) – 05H .............................. 32
6.7 Auto-negotiation Expansion Register (ANER)- 06H ................................................. 33
6.8 DAVICOM Specified Configuration Register (DSCR) – 10H..................................... 33
6.9 DAVICOM Specified Configuration and Status Register (DSCSR) – 11H ................ 35
6.10 10BASE-T Configuration/Status (10BTCSR) – 12H ............................................... 36
6.11 Power down Control Register (PWDOR) – 13H ..................................................... 36
6.12 (Specified config) Register – 14H ........................................................................... 37
6.13 DSP Control (DSP_CTRL) – 1BH........................................................................... 38
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
3
DM9621
USB2.0 to Fast Ethernet Controller
6.14 Power Saving Control Register (PSCR) – 1DH ...................................................... 38
7. Functional description........................................................................................................ 39
7.1 USB Functional description ...................................................................................... 39
7.1.1 USB Standard Command ............................................................................... 39
7.1.2 Vendor commands ......................................................................................... 40
7.1.2.1 Register Type .............................................................................................. 40
7.1.2.2 Memory Type............................................................................................... 41
7.1.3 Interface 0 Configuration ................................................................................ 42
7.1.4 Descriptor Values ........................................................................................... 43
7.1.5 Descriptors of string/1/2/3 are loaded from EEPROM .................................... 48
7.2 Ethernet Functional Description................................................................................ 49
7.2.1 Serial Management Interface ......................................................................... 49
7.2.2 100Base-TX Operation................................................................................... 50
7.2.3 4B5B Encoder ................................................................................................ 50
7.2.4 Scrambler ....................................................................................................... 50
7.2.5 Parallel to Serial Converter............................................................................. 50
7.2.6 NRZ to NRZI Encoder .................................................................................... 50
7.2.7 MLT-3 Converter ............................................................................................ 50
7.2.8 MLT-3 Driver .................................................................................................. 50
7.2.9 4B5B Code Group .......................................................................................... 51
7.2.10 100Base-TX Receiver .................................................................................. 52
7.2.11 Signal Detect ................................................................................................ 52
7.2.12 Adaptive Equalization ................................................................................... 52
7.2.13 MLT-3 to NRZI Decoder ............................................................................... 52
7.2.14 Clock Recovery Module................................................................................ 52
7.2.15 NRZI to NRZ................................................................................................. 52
7.2.16 Serial to Parallel ........................................................................................... 52
7.2.17 Descrambler ................................................................................................. 52
7.2.18 Code Group Alignment ................................................................................. 53
7.2.19 4B5B Decoder .............................................................................................. 53
7.2.20 10Base-T Operation ..................................................................................... 53
7.2.21 Collision Detection........................................................................................ 53
7.2.22 Carrier Sense ............................................................................................... 53
7.2.23 Auto-Negotiation........................................................................................... 53
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
4
DM9621
USB2.0 to Fast Ethernet Controller
7.2.24 Auto-Negotiation (continued) ........................................................................ 53
8. DC and AC Electrical Characteristics ................................................................................ 54
8.1 Absolute Maximum Ratings ( 25°C )......................................................................... 54
8.1.1 Operating Conditions...................................................................................... 54
8.2 DC Electrical Characteristics (VDD = 3.3V).............................................................. 55
8.3 AC Electrical Characteristics & Timing Waveforms .................................................. 55
8.3.1 TP Interface .................................................................................................... 55
8.3.2 Oscillator/Crystal Timing................................................................................. 56
9. AC Timing waveform: ........................................................................................................ 57
9.1 Power On Reset Timing............................................................................................ 57
9.2 EEPROM timing ....................................................................................................... 58
9.3 RMII TX timing.......................................................................................................... 59
9.4 RMII RX timing ......................................................................................................... 59
10. Magnetic and Crystal Selection Guide............................................................................. 60
10.1 Magnetic Selection Guide....................................................................................... 60
10.2 Crystal Selection Guide .......................................................................................... 60
11. Application Circuit ............................................................................................................ 62
12. Package Information........................................................................................................ 65
13. Ordering Information........................................................................................................ 66
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
5
DM9621
USB2.0 to Fast Ethernet Controller
1. Features:
z
USB Interface
ƒ
USB2.0 Device
ƒ
Supports 12Mbps Full-Speed operation
ƒ
Supports 480Mbps High-Speed operation
ƒ
Supports suspend mode and remote wake-up Resume
ƒ
Supports USB standard commands
ƒ
Supports vendor specific commands
ƒ
Efficient TX/RX FIFO auto management.
ƒ
Supports 4 endpoints (Control, Interrupt, Bulk_IN, Bulk_OUT)
ƒ
Supported Classes: USB Common Class / USB Communications Class –
z
Ethernet
ƒ
Support IEEE802.3u 100BASE-TX and with IEEE802.3 10BASE-T standards
ƒ
Support IEEE802.3x flow control function for 100BASE-TX and 10BASET.
ƒ
Built-in 10/100Mbps Fast-Ethernet PHY with Auto-MDIX
ƒ
Supports 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
ƒ
Supports GPIO, wakeup frame, link status change and Magic packet events for
remote wake-up
ƒ
Support TCP / UDP / IP checksum offload checking and generating
z
EEPROM Interface
ƒ
Supports 128/256/512 bytes (93C46/93C56/93C66) of serial EEPROM(for
storing USB Descriptors)
ƒ
93C46/93C56/93C66 auto-detection
z
LED Indications
ƒ
Ethernet – Link / Act indication
ƒ
Ethernet – Speed (10M / 100M) indication
ƒ
USB speed indication (full / high speed + traffic modes)
z
Clock
ƒ
Single 25MHz / 30 ppm crystal or oscillator
ƒ
Optional 12MHz crystal for USB
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
6
DM9621
USB2.0 to Fast Ethernet Controller
z
Power Input
ƒ
Low-Power, Single-Supply 3.3V, 0.18um CMOS Technology
ƒ
Built in 3.3V to 1.8V regulator
z
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 System Description
The DM9621 USB to 10/100Mbps Fast Ethernet controller is a high performance and highly
integrated ASIC with embedded SSRAM 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.
DM9621 integrates an on-chip 10/100Mbps Ethernet PHY to simplify system design and
provides an optional Reduce media-independent interface (RMII).
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
7
DM9621
USB2.0 to Fast Ethernet Controller
2. Block Diagram and Block Description
EP1
Bulk
RX
IN
FIFO
FIFO
MII
SIE
USB
PHY
SRAM
Ethernet
Bulk
TX
OUT
FIFO
MAC
PHY
UTMI
FIFO
EP2
Register
Control table data
EEPROM interface
EEPROM
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
8
DM9621
USB2.0 to Fast Ethernet Controller
3. Pin Configuration:
X1_12M
RSTB
WOL
VBUS_IN
TEST2
TEST1
LNK_LED
SPD_LED
USB_LED
SMI_CK
SMI_D
35
34
33
32
31
30
29
28
27
26
25
X2_12M
36
3.1 48- Pin QFN
VCC3A
37
24
VCC3
GND
38
23
CLK50M
RREF
39
22
EECS
DM
40
21
EECK
DP
VCC33_PLL
41
20
EEDIO
19
MDIO
GND_PLL
43
18
MDC
VCCOUT
44
17
RXDV
VCC3
45
16
GND
X2
X1
46
15
RXD0
47
14
RXD1
GND
48
13
TXD0
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
42
1
2
3
4
5
6
7
8
9
10
11
12
BGGND
BGRES
RXVDDOUT
RX+
RX-
RXGND
TXGND
TX+
TX-
TXVDDOUT
TXE
TXD1
DM9621NP
9
DM9621
USB2.0 to Fast Ethernet Controller
3.2 48-pin description
I = Input, O = Output, I/O = Input / Output, O/D = Open Drain, P = Power.
Pin No.
Pin Name
Type
Description
RMII Interface
11
TX_EN
O
12,13
TXD[1:0]
O
14,15
RXD[1:0]
I
17
RXDV
I
18
MDC
O
19
MDIO
I/O
23
CLK50M
I
External RMII Transmit Enable
GPIO2_0 in GPIO mode
External RMII Transmit Data
TXD[1] as GPIO2_1 in GPIO mode
TXD[0] as GPIO2_2 in GPIO mode
External RMII Receive Data
RXD[1] as GPIO2_3 in GPIO mode
RXD[0] as GPIO2_4 in GPIO mode
External RMII Receive Data Valid
GPIO2_5 in GPIO mode
MII Serial Management Data Clock
MII Serial Management Data
GPIO2_6 in GPIO mode
RMII 50MHz Clock
GPIO2_7 in GPIO mode
EEPROM Interface
20
EEDIO
I/O
Data to/from EEPROM
21
EECK
O
Clock to EEPROM
22
EECS
O
Chip Select to EEPROM
USB Interface
37
VCC3A
P
3.3V for USB
38
GND
P
Ground for USB
39
RREF
I
Reference resistor to analog USB ground (12K 1% for USB)
40
DM
I/O
USB Data Minus
41
DP
I/O
USB Data Plus
42
VCC33_PLL
P
3.3V for USB PLL
43
GND_PLL
P
Ground for USB PLL
44
VCCOUT
O
1.8V power out for USB
Clock Interface
46
X2
O
Crystal 25MHz Out for Ethernet
47
X1
I
35
X1_12M
I
36
X2_12M
O
Crystal 25MHz In for Ethernet
Crystal 12MHz In for USB (Option, used when strap pin 22 EECS
pull-high), Normal N.C. * Note1
Crystal 12MHz out for USB (Option, used when strap pin 22 EECS
pull-high), Normal N.C. * Note1
* Note1: When strap pin 22 EECS pull-low, 12MHz clock from
internal PLL, detail see 3.3 strap pins table(Page 12)
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
10
DM9621
USB2.0 to Fast Ethernet Controller
LED Interface
USB LED
Active low for USB HS mode
Floating for USB FS mode
Flash if traffic on USB
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
27
USB_LED
O
28
SPD_LED
O
29
LNK_LED
O
1
BGGND
P
2
BGRES
I/O
Bandgap pin. Connect 6.98K 1% resister to GND
3
RXVDDOUT
O
1.8V power out for RX
4
RX+
I
TP RX input
5
RX-
I
TP RX input
6
RXGND
P
RX ground
7
TXGND
P
TX ground
8
TX+
O
TP TX output
9
TX-
O
TP TX output
10
TXVDDOUT
O
1.8V power out for TX power
10/100 PHY
Band gap ground.
Miscellaneous
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.
VBUS input
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 DM9621
Test Mode 2, tie to ground in application.
Define Pin11-15, 17-19 mode
0: RMII
1: GPIO controlled by registers 34H~35H
25
SMI_D
I/O
26
SMI_CK
I/O
32
VBUS_IN
I
33
WOL
O
34
RSTB
I
31
TEST2
I
30
TEST1
I
24,45
VCC3
P
Digital VCC 3.3V
16,48
GND
P
Digital GND
Power
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
11
DM9621
USB2.0 to Fast Ethernet Controller
3.3 strap pins table
1: pull-high 1K~10K, 0: default floating.
Pin No.
Pin Name
12
TXD[1]
13
TXD[0]
22
EECS
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Description
0: EEPROM type auto-detection
1: EEPROM force to 93C46 type
RX packet header format
0: 3-byte Ethernet RX packet header mode:
The 3 bytes in Ethernet RX packet header are RX_status, byte_ctr_low,
and byte_ctr_high respectively.
1: 4-byte Ethernet RX header mode :
The 4 bytes in Ethernet RX packet header are RX _flag, RX_status,
byte_ctr_low, and byte_ctr_high respectively.
0: 12MHz clock from internal PLL
1: 12MHz clock from external crystal
12
DM9621
USB2.0 to Fast Ethernet Controller
4. Vendor Control and Status Register Set
The DM9621 implements several control and status
registers, which can be accessed by the USB vendor
register type commands. All CRs are set to their default
Register
NCR
NSR
TCR
RCR
RSR
ROCR
BPTR
FCTR
FCR
EPCR
EPAR
EPDRL
EPDRH
WCR
PAR
MAR
GPCR
GPR
VID
PID
CHIPR
TSCR
TCSCR
RCSCSR
GPCR2
GPR2
EEP_CTRL
PPCSR
TX_CTR
UPERR
CRC_CTR
EXCOL_CTR
COL_CTR
LCOL_CTR
MODE_CTL
SQUELCH
USB_ADR
Description
values by hardware or software reset unless otherwise
specified.
Offset
Network Control Register
Network Status Register
TX Control Register
RX Control Register
RX Status Register
Receive Overflow Counter Register
Back Pressure Threshold Register
Flow Control Threshold Register
RX Flow Control Register
EEPROM & PHY Control Register
EEPROM & PHY Address Register
EEPROM & PHY Low Byte Data Register
EEPROM & PHY High Byte Data Register
Wake Up Control Register
Physical Address Register
00H
01H
02H
05H
06H
07H
08H
09H
0AH
0BH
0CH
0DH
0EH
0FH
10H-15H
Multicast Address Register
16H-1DH
General Purpose Control Register
General Purpose Register
Vendor ID
Product ID
CHIP revision
TX Special Control Register
Transmit Check Sum Control Register
Receive Check Sum Control Status Register
General Purpose Control Register 2
General Purpose Register 2
EEPROM and PHY Control Register
Pause Packet Control Status Register
Transmit Packet Counter
USB Packet Error Counter
Ethernet Receive Packet CRC Error Counter
Ethernet Transmit Excessive Collision Counter
Ethernet Transmit Collision Counter
Ethernet Transmit Late Collision Counter
Mode Control
USB squelch Control
USB Address
1EH
1FH
28H-29H
2AH-2BH
2CH
2DH
31H
32H
34H
35H
3AH
3DH
81H
82H
83H
84H
85H
86H
91H
95H
96H
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Default value
after reset
00H
00H
00H
00H
00H
00H
37H
38H
00H
00H
40H
Unknown
Unknown
00H
Determined by
EEPROM
0000000000000
080
01H
Unknown
0A46H
9621H
01H
00H
00H
00H
00H
00H
00H
04H
00H
00H
00H
00H
00H
00H
00H
04H
00H
13
DM9621
USB2.0 to Fast Ethernet Controller
USBDA
RXC
TXC/USBS
USBC
USB device address register
Received packet counter register
Transmit packet counter/USB status register
USB control register
F0H
F1H
F2H
F4H
00H
00H
10H
00H
Key to Default
In the register description that follows, the default column
takes the form:
<Reset Value>, <Access Type>
Where:
<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.
4.1 Network Control Register (00H)
Bit
7
Name
EXT_PHY
Default
PT0,RW
6
WAKEEN
PE0,RW
5
WCR_MODE
PHS,RW
4
FCOL
PHS0,RW
3
FDX
PHS0,RW
2:1
LBK
PH00,RW
0
RST
PH0,RW
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Description
External PHY mode (valid when pin TEST1 tie to ground)
1: Select external PHY
0: select Internal PHY.
This bit can be forced by register 2DH bit 5.
Wakeup event enable
When set, it enables the wakeup function.
Clearing this bit will also clear all wakeup event status.
Write To Clear Mode
When set, 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
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
Bit 2 1
0 0
normal
0 1
MAC internal loopback
1 0
internal PHY digital loopback
1 1
internal PHY analog loopback
Software Reset
When write “1” to this bit, DM9621 enters software reset mode and will be
automatically cleared after 10us.
Write “0” to this bit can end the software reset mode.
14
DM9621
USB2.0 to Fast Ethernet Controller
4.2 Network Status Register (01H)
Bit
7
Name
SPEED
Default
PHS0,R
W
6
LINKST
PHS0,R
O
5
WAKEST
P0,W/C
1
4
RESERVED
3
RESERVED
2
RESERVED
1
RXOV
PHS0,R
O
PHS0,
RW/C1
PHS0,
RW/C1
PHS0,R
O
0
RXRDY
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
PHS0,R
O
Description
Media Speed Status
0:100Mbps
1:10Mbps
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
0:link failed
1:link OK
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.
15
DM9621
USB2.0 to Fast Ethernet Controller
4.3 TX Control Register (02H)
Bit
7
6
Name
RESERVED
TJDIS
Default
0,RO
PHS0,RW
5
EXCECM
PHS0,RW
4
3
RESERVED
Description
PHS0,RW
Reserved
Transmit Jabber Disable
When set, the transmit Jabber Timer(2048 bytes) is disabled. Otherwise the
transmit packet size can more than 2048-byte.
Excessive Collision Mode Control :
0:abort this packet when excessive collision count more than 15,
1: still try to transmit this packet
Reserved
PHS0,RW
Reserved
PHS0,RW
TX Packet PAD Append Control:
0: the transmit packet size is appended to at least 64-byte.
1: the transmit packet size is unchanged from original setting.
TX Packet Index II CRC Appends Control:
0: the CRC field is appended automatically.
1: the CRC field is not appended.
Reserved
2
RESERVED
PAD_DIS1
1
CRC_DIS1
PHS0,RW
0
RESERVED
PHS0,RW
4.4 RX Control Register ( 05H )
Bit
7
6
Name
HASHALL
WTDIS
5
DIS_LONG
4
DIS_CRC
3
ALL
2
RUNT
1
PRMSC
0
RXEN
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Default
Description
PHS0,RW Filter All address in Hash Table
PHS0,RW Watchdog Timer Disable
When set, 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
PHS0,RW Discard Long Packet
When set, the packets with length over 1522-byte are discarded from RX memory.
PHS0,RW Discard CRC Error Packet
When set, the packets with CRC error are discarded from RX memory.
PHS0,RW Pass All Multicast
When set, the packets with multicast destination address are stored to RX memory.
PHS0,RW Pass Runt Packet
When set, the packets with size less than 64-byte are stored to RX memory.
PHS0,RW Promiscuous Mode
When set, the destination address is do not be checked.
PHS0,RW RX Enable
When set, the received accepted packets can be stored to RX memory.
16
DM9621
USB2.0 to Fast Ethernet Controller
4.5 RX Status Register ( 06H )
Bit
7
Name
RF
Default
PHS0,RO
6
MF
PHS0,RO
5
LCS
PHS0,RO
4
RWTO
PHS0,RO
3
PLE
PHS0,RO
2
AE
PHS0,RO
1
CE
PHS0,RO
0
FOE
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 )
This register can be cleared by writing any data this byte. Or they also can be cleared by read this byte if register 0H bit 5 is 0”.
Bit
7
Name
RXFU
Default
PHS0,RW/C
6:0
ROC
PHS0,RW/C
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Description
Receive Overflow Counter Overflow
This bit is set when the ROC has an overflow condition.
Receive Overflow Counter
This is a statistic counter to indicate the received packet count upon FIFO
overflow.
17
DM9621
USB2.0 to Fast Ethernet Controller
4.7 Back Pressure Threshold Register (08H)
Bit
7:4
Name
BPHW
Default
PHS3h, RW
3:0
JPT
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 bit2 bit1 bit0
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
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 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
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
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)
18
DM9621
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
1
RXPCS
PHS0,RO
0
FLCE
PHS0,RW
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.
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.
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:
When set, it indicated that the pause timer is not down count to “0” yet.
Flow Control Enable
When set, it enable the flow control mode(i.e. can to disable TX function).
4.10 EEPROM & PHY Control Register ( 0BH )
Bit
7
Name
NO_EEP
Default
P0,RO
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
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Description
EEPROM Absent
When set, it indicates the EEPROM 93C46 or 93C56/66 is not detected.
EEPROM type
0: 93C46
1: 93C56/66
Reload EEPROM.
When set, the EEPROM is re-loaded.
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.
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.
This bit will be cleared after the completion of write operation
19
DM9621
USB2.0 to Fast Ethernet Controller
0
ERRE
PH0,RO
EEPROM Access Status or PHY Access Status
When set, it indicates that the EEPROM or PHY access is in progress.
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[5:0] or PHY Register Number
4.12 EEPROM & PHY Data Register (
Bit
7:0
7:0
Name
EE_PHY_L
EE_PHY_H
Default
X,RW
X,RW
EE_PHY_L:0DH
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
Type
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
When set, enable SMI_C as GPIO Wake-up Event.
This event occurred in 100ms low state and then 100ms high state in SMI_C pin
SMI_C Even Status
When set, indicates SMI_C Event occurred.
Link Change Event Enable
When set, enable Link Status Change Wake-up Event.
Sample Frame Match Event Enable
When set, enable Sample Frame Wake-up Event.
Magic Packet Event Enable
When set, enable Magic Packet Wake-up Event.
Link change Event Status
When set, indicates link change and Link Status Change Event occurred.
Sample Frame Mtach Event Status
When set, 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
When set, indicates 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
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Default
E,RW
E,RW
E,RW
E,RW
E,RW
E,RW
Description
Physical Address Byte 5
Physical Address Byte 4
Physical Address Byte 3
Physical Address Byte 2
Physical Address Byte 1
Physical Address Byte 0
(15H)
(14H)
(13H)
(12H)
(11H)
(10H)
20
DM9621
USB2.0 to Fast Ethernet Controller
4.15 Multicast Address Register ( 16H~1DH )
Bit
7:0
7:0
7:0
7:0
7:0
7:0
7:0
7:0
Name
MAB7
MAB6
MAB5
MAB4
MAB3
MAB2
MAB1
MAB0
Default
P80,RW
P00,RW
P00,RW
P00,RW
P00,RW
P00,RW
P00,RW
P00RW
Description
Multicast Address Byte 7
Multicast Address Byte 6
Multicast Address Byte 5
Multicast Address Byte 4
Multicast Address Byte 3
Multicast Address Byte 2
Multicast Address Byte 1
Multicast Address Byte 0
4.16 General purpose control Register
Bit
7:4
3:0
Name
RESERVED
RESERVED
Default
P0,RO
P0111,RW
(1DH)
(1CH)
(1BH)
(1AH)
(19H)
(18H)
(17H)
(16H)
( 1EH )
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)
4.20 Chip Revision Register (2CH)
Bit
7:0
Name
CHIPR
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Default
01H,RO
Description
CHIP revision
21
DM9621
USB2.0 to Fast Ethernet Controller
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
0: force to 100Mbps mode
1: force to 10Mbps mode
Force external PHY duplex mode in MAC register 0 bit 3
0: force to full-duplex
1: force to half-duplex
Force external PHY link mode in MAC register 1 bit 6
0: force to link ON
1: force to link OFF
4.23 Transmit Check Sum Control Register (31H)
Bit
7~3
2
1
0
Name
RESERVED
UDPCSE
TCPCSE
IPCSE
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Default
0,RO
HPS0,RW
HPS0,RW
HPS0,RW
Description
Reserved
UDP Checksum Generation Enable
TCP Checksum Generation Enable
IP Checksum Generation Enable
22
DM9621
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
3
2
1
UDPP
TCPP
IPP
RCSEN
HPS0,RO
HPS0,RO
HPS0,RO
HPS0,RW
0
DCSE
HPS0,RW
Description
UDP Checksum Status
0: UDP packet checksum OK, or this is not UDP packet
1: UDP packet checksum error
TCP Checksum Status
0: TCP packet checksum OK, or this is not TCP packet
1: TCP packet checksum error
IP Checksum Status
0: IP packet checksum OK, this is not IP packet
1: IP packet checksum error
UDP Packet
TCP Packet
IP Packet
Receive Checksum Checking Enable
When set, the checksum status will store in packet first byte of status header in RX
DM9621 mode.
Discard Checksum Error Packet
When set, if IP/TCP/UDP checksum field is error, this packet will be discarded.
4.25 External PHYceiver Address Register (33H)
Bit
7
Name
ADR_EN
Default
HPS0,RW
6~5
4~0
Reserved
EPHYADR
HPS0,RO
HPS01,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
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
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
23
DM9621
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/66
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 Transmit Packet Counter (81H)
Bit
7-0
Name
TX_CTR
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Default
PS0,RO
Description
TX Packet Count
The TX packet count in TX SRAM.
24
DM9621
USB2.0 to Fast Ethernet Controller
4.33 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.34 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.
4.35 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.36 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.37 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.38 RX Header Control/Status Register (91H)
Bit
7
Name
MODE9620
Default
PT0,RW
6~1
1
0
RESERVED
RESERVED
RESERVED
P,RO
P0,RW
P0,RW
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Description
RX header mode
0: DM9601 compatiable, 3-byte RX header : RX_status, byte_ctr_low,
byte_ctr_high
1: DM9621 mode, 4-byte RX header : RX _flag, RX_status, byte_ctr_low,
byte_ctr_high
Reserved
Reserved
Reserved
25
DM9621
USB2.0 to Fast Ethernet Controller
4.39 USB Squelch Control (95H)
Bit
7~2
2~0
Name
RESERVED
SQUELCH
Default
P0,RO
P100,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.40 USB Address (96H)
Bit
7~0
Name
USB_ADR
Default
P0,RO
Description
USB Address
4.41 USB Device Address Register (F0H)
Bit
7
6:0
Name
RESERVED
USBFA
Default
0,RO
0,RO
Description
Reserved
USB device address
4.42 Receive Packet Counter Register (F1H)
Bit
7:0
Name
RXC
Default
0,RO
Description
RXC is the packet counter received in SRAM
4.43 Transmit Packet Counter/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.44 USB Control Register (F4H)
Bit
7
6
5
Name
Reserved
Reserved
EP3ACK
Default
0,RW
0,RW
0,RW
4
3
2
1
0
EP3NAK
Reserved
Reserved
Reserved
MEMTST
0,RW
0,RW
0,RW
0,RW
0,RW
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Description
Reserved
Reserved
When set and EP3_NAK=0, EP3 will always return 8-byte data to host per
interrupt-interval
When set, EP3 will always return NAK.
Reserved
Reserved
Reserved
Before any memory-command, this bit must be set to 1. When in MEM_TST,
TX/RX fifo controller will be flushed.
26
DM9621
USB2.0 to Fast Ethernet Controller
5. EEPROM Format:
name
MAC address
Auto Load Control
Word
0
3
Vendor ID
Product ID
Reserved
Wake-UP mode
control
4
5
6
7
String1 address
String1 length
String2 address
String2 length
String3 address
String3 length
USB control
8
8
9
9
10
10
11
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
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 WORD7[14] and WORD 11
8-9
2 byte vendor ID (Default: 0A46h)
10-11 2 byte product ID (Default: 9621h)
12-13 reserved
14-15 Bit0: WOL active low when set (default: active high)
Bit1: WOL is pulse mode (default: level mode)
Bit2: magic wakeup event enabled when set. (default: no)
Bit3: link_change wakeup event enabled when set (default: no)
Bit4: magic wakeup event enabled if USB in suspend state (default: yes)
Bit5: link_change wakeup event enabled if USB in suspend state (default: yes)
Bit6: sample frame wakeup event enabled if USB in suspend state (default: yes)
Bit7: reserved
Bit8: internal PHY is enabled after power-on (default: no)
Bit13:9: reserved
Bit14: 1:AUTO-MDIX ON, 0:AUTO-MDIX OFF
Bit15: reserved
16
Vendor describe string start address
17
Vendor describe string length
18
Product describe string start address
19
Product describe string length
20
Product describe string start address
21
Product describe string length
22-23 Bit7: 0: USB maximum power. Unit is 2ma.
Bit15:8: USB class code
27
DM9621
USB2.0 to Fast Ethernet Controller
6. PHY Register Description
ADD Name
15
00H CONTR Reset
OL
0
01H STATUS T4
Cap.
0
02H PHYID1
0
03H PHYID2
1
14
Loop
back
0
TX FDX
Cap.
1
0
0
13
12
11
Speed Auto-N Power
select
Enable Down
1
1
0
TX HDX 10 FDX 10 HDX
Cap.
Cap.
Cap.
1
1
1
0
0
0
1
1
1
04H Auto-Neg. Next
Advertise Page
05H Link Part. LP
Ability
Next
Page
06H Auto-Neg.
Expansio
n
10H Specifie BP
4B5B
d
Config.
11H Specifie 100
FDX
d
Conf/Stat
12H
10T
Rsvd
Conf/Stat
FLP Rcv
Ack
LP
Ack
Remote
Fault
LP
RF
Reserved
Reserved
10
Isolate
0
0
0
FC
Adv
LP
FC
9
8
Restart
Full
Auto-N Duplex
0
1
Reserved
7
Coll.
Test
0
6
5
Pream. Auto-N
Supr.
Compl.
0000
1
0
0
1
1
0
0
Model No.
01011
T4
TX FDX TX HDX 10 FDX 10 HDX
Adv
Adv
Adv
Adv
Adv
LP
LP
LP
LP
LP
T4
TX FDX TX HDX 10 FDX 10 HDX
Reserved
BP
SCR
BP
BP_ADP Reserve
ALIGN
OK
dr
100
HDX
10
FDX
LP
Enable
HBE
Enable
13H PWDOR
TX
JAB
Enable
Remote
Fault
0
0
3
Reserved
2
Next Pg
Able
Reserve Reserve Force Reserve Reserve RPDCTR Reset
d
d
100LNK
d
d
-EN
St. Mch
Pream.
Supr.
Reserved
PHY ADDR [4:0]
PDchip
Extd
Cap.
1
1
New Pg LP AutoN
Rcv
Cap.
Sleep
mode
Reserved
Auto-N. Monitor Bit [3:0]
Reserved
PD10DR PD100l
V
0
Link Partner Protocol Selector Field
LP Next
Pg Able
Reserve
d
1
000_0000
Auto-N
Link
Jabber
Cap.
Status
Detect
1
0
0
0
0
0
Version No.
0000
Advertised Protocol Selector Field
Pardet
Fault
10 HDX Reserve Reverse Reverse
d
d
d
SQUE
Enable
4
PDcrm
Polarity
Reverse
PDaeq
PDdrv
PDecli
PDeclo
PD10
14H Specified TSTSE1 TSTSE FORCE_ FORCE_ PREA TX10M NWAY_ Reserved MDIX_C AutoNeg Mdix_fix Mdix_do MonSel1 MonSel0 Reserve PD_valu
config
2
TXSD
FEF
NTL
_dlpbk
Value
wn
d
e
MBLE _PWR PWR
X
1BH DSP_CT
RL
1DH PSCR
DSP Control
Reversed
PREA AMPLIT TX_PW
MBLEX UDE
R
Reversed
Key to Default
In the register description that follows, the default
column takes the form:
<Reset Value>, <Access Type> / <Attribute(s)>
<Access Type>:
RO = Read only
RW = Read/Write
Where:
<Reset Value>:
1
Bit set to logic one
0
Bit set to logic zero
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
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
28
DM9621
USB2.0 to Fast Ethernet Controller
6.1 Basic Mode Control Register (BMCR) – 00H
Bit
Bit Name
15
Reset
14
Loopback
13
Speed selection
12
Auto-negotiation
enable
11
Power down
10
Isolate
9
Restart
auto-negotiation
8
Duplex mode
7
Collision test
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Default
Description
Reset:
1=Software reset
0=Normal operation
0, RW/SC
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, RW
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
1, RW
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, RW
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
0, RW
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 (Reserved)
0 = Normal operation
Restart auto-negotiation:
1 = Restart auto-negotiation. Re-initiates the auto-negotiation
process. When auto-negotiation is disabled (bit 12 of this register
cleared), this bit has no function and it should be cleared. This bit is
0,RW/SC 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 = Full duplex operation. Duplex selection is allowed when
Auto-negotiation is disabled (bit 12 of this register is cleared). With
1,RW
auto-negotiation enabled, this bit reflects the duplex capability
selected by auto-negotiation
0 = Normal operation
Collision test:
0,RW
1 = Collision test enabled. When set, this bit will cause the COL
signal to be asserted in response to the assertion of TX_EN
29
DM9621
USB2.0 to Fast Ethernet Controller
6-0
RESERVED
0,RO
0 = Normal operation
Reserved:
Write as 0, ignore on read
6.2 Basic Mode Status Register (BMSR) – 01H
Bit
Bit Name
Default
15
100BASE-T4
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
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
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 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
30
DM9621
USB2.0 to Fast Ethernet Controller
1
0
Jabber detect
Extended
capability
0,RO/LH
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 DM9621. 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
15.0
OUI_MSB
<0181h>
Description
OUI most significant bits:
This register stores bit 3 to 18 of the OUI (00606E) to bit 15 to 0 of
this register respectively. The most significant two bits of the OUI
are ignored (the IEEE standard refers to these as bit 1 and 2)
6.4 PHY Identifier Register #2 (PHYID2) – 03H
Bit
Bit Name
Default
15-10
OUI_LSB
<101110>,
RO/P
9-4
VNDR_MDL
<001011>,
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)
6.5 Auto-negotiation Advertisement Register(ANAR) – 04H
This register contains the advertised abilities of this DM9621 device as they will be transmitted to its link partner
during Auto-negotiation.
Bit
Bit Name
Default
15
NP
0,RO/P
14
ACK
0,RO
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Description
Next page indication:
0 = No next page available
1 = Next page available
The PHY has no next page, so this bit is permanently set to 0
Acknowledge:
1 = Link partner ability data reception acknowledged
0 = Not acknowledged
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.
31
DM9621
USB2.0 to Fast Ethernet Controller
13
RF
12-11
RESERVED
10
FCS
9
T4
8
TX_FDX
7
TX_HDX
6
10_FDX
5
10_HDX
4-0
Selector
Remote fault:
1 = Local device senses a fault condition
0 = No fault detected
Reserved:
X, RW
Write as 0, ignore on read
Flow control support:
0, RW
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, RO/P
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
Protocol selection bits:
These bits contain the binary encoded protocol selector supported
<00001>, RW by this node.
<00001> indicates that this device supports IEEE 802.3
CSMA/CD.
0, RW
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
15
NP
0, RO
14
ACK
0, RO
13
RF
0, RO
12-11
RESERVED
X, RO
10
FCS
0, RW
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Description
Next page indication:
0 = Link partner, no next page available
1 = Link partner, next page available
Acknowledge:
1 = Link partner ability data reception acknowledged
0 = Not acknowledged
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:
1 = Remote fault indicated by link partner
0 = No remote fault indicated by link partner
Reserved:
Write as 0, ignore on read
Flow control support:
1 = Controller chip supports flow control ability by link partner
32
DM9621
USB2.0 to Fast Ethernet Controller
9
T4
8
TX_FDX
7
TX_HDX
6
10_FDX
5
10_HDX
4-0
Selector
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
Protocol selection bits:
<00000>, RO
Link partner’s binary encoded protocol selector
6.7 Auto-negotiation Expansion Register (ANER)- 06H
Bit
Bit Name
Default
15-5
RESERVED
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:
PDF = 1 : A fault detected via parallel detection function.
PDF = 0 : No fault detected via parallel detection function
Link partner next page able:
LP_NP_ABLE = 1 : Link partner, next page available
LP_NP_ABLE = 0 : Link partner, no next page
Local device next page able:
NP_ABLE = 1 : next page available
NP_ABLE = 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.
6.8 DAVICOM Specified Configuration Register (DSCR) – 10H
Bit
Bit Name
Default
15
BP_4B5B
0, RW
14
BP_SCR
0, RW
13
BP_ALIGN
0, RW
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
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
33
DM9621
USB2.0 to Fast Ethernet Controller
12
BP_ADPOK
0, RW
11
RESERVED
0, RO
10
TX
1, RW
9
RESERVED
0, RO
8
RESERVED
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
SLEEP
0, RW
0
Reserved
0, RW
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
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.
0 : Disable automatic reduced power down.
1 : Enable 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.
34
DM9621
USB2.0 to Fast Ethernet Controller
6.9 DAVICOM Specified Configuration and Status Register (DSCSR) – 11H
Bit
Bit Name
Default
15
100FDX
1, RO
14
100HDX
1, RO
13
10FDX
1, RO
12
10HDX
1, RO
11-9
RESERVED
0, RO
8-4
PHYADR[4:0]
(PHYADR),
RW
3-0
ANMB[3:0]
0, 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 is completed, results will be written to this bit.
If this bit is 1, it means the operation 1 mode is a 100M half duplex
mode. The software can read bit[15:12] to see which mode is
selected after auto-negotiation. This bit is invalid when it is not in
the auto-negotiation mode.
10M full duplex operation mode:
After auto-negotiation is completed, results will be written to this bit.
If this bit is 1, it means the operation 1 mode is a 10M Full Duplex
mode. The software can read bit[15:12] to see which mode is
selected after auto-negotiation. This bit is invalid when it is not in
the auto-negotiation mode.
10M half duplex operation mode:
After auto-negotiation is completed, results will be written to this bit.
If this bit is 1, it means the operation 1 mode is a 10M half duplex
mode. The software can read bit[15:12] to see which mode is
selected after auto-negotiation. This bit is invalid when it is not in
the auto-negotiation mode.
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
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
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
35
DM9621
USB2.0 to Fast Ethernet Controller
6.10 10BASE-T Configuration/Status (10BTCSR) – 12H
Bit
Bit Name
Default
15
RESERVED
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.
6.11 Power down Control Register (PWDOR) – 13H
Bit
Bit Name
Default
15
Reserved
0, RO
-9
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
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
36
DM9621
USB2.0 to Fast Ethernet Controller
6.12 (Specified config) Register – 14H
Bit
Bit Name
Default
Description
15
TSTSE1
0,RW
Vendor test select control
14
TSTSE2
0,RW
Vendor test select control
13
FORCE_TXSD
0,RW
Force Signal Detect
1: force SD signal OK in 100M
0: normal SD signal.
12
FORCE_FEF
0,RW
11
PREAMBLEX
1,RW
10
TX10M_PWR
1,RW
9
NWAY_PWR
0,RW
8
Reserved
0, RW
7
MDIX_CNTL
Vendor test select control
Preamble Saving Control
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
1: enable transmit power saving in 10BASE-T mode
0: disable transmit power saving in 10BASE-T mode
Auto-negotiation Power Saving Control
1: disable power saving during auto-negotiation period
0: enable power saving during auto-negotiation period
Reserved
MDI/MDIX,RO The polarity of MDI/MDIX value
1: MDIX mode
0: MDI mode
6
AutoNeg_lpbk
0,RW
Auto-negotiation Loop-back
1: test internal digital auto-negotiation Loop-back
0: normal.
5
Mdix_fix Value
0, RW
MDIX_CNTL force value:
When Mdix_down = 1, MDIX_CNTL value depend on the register
value.
4
Mdix_do wn
0,RW
MDIX Down
Manual force MDI/MDIX.
1: Disable HP Auto-MDIX , MDIX_CNTL value depend
on 20.5
0: Enable HP Auto-MDIX
3
MonSel1
0,RW
Vendor monitor select
2
MonSel0
0,RW
Vendor monitor select
1
Reserved
0,RW
Reserved
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
37
DM9621
USB2.0 to Fast Ethernet Controller
Force to 0, in application.
0
PD_value
0,RW
Power down control value
Decision the value of each field Register 13H
1: power down
0: normal
6.13 DSP Control (DSP_CTRL) – 1BH
Bit
Bit Name
Default
15~0
DSP_CTRL
0, RW
Description
DSP CONTROL
For internal testing only
6.14 Power Saving Control Register (PSCR) – 1DH
Bit
15-12
11
Bit Name
RESERVED
PREAMBLEX
Default
0,RO
0,RW
10
AMPLITUDE
0,RW
9
TX_PWR
0.RW
8-0
RESERVED
0,RO
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Description
RESERVED
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
38
DM9621
USB2.0 to Fast Ethernet Controller
7. Functional description
7.1 USB Functional description
7.1.1 USB Standard Command
1. Supported Standard Command
Setup Stage
BmReqType
BRequest
00000000B
00000001B
CLEAR_FEATURE
00000010B
10000000B
GET_CONFIGURATION
10000000B
GET_DESCRIPTOR
10000001B
GET_INTERFACE
wValue
Feature
Selector
Zero
Descriptor
type/index
Zero
10000000B
wIndex
wLength
Data
Zero
None
Zero
One
Configuration value
Zero/LID
Length
Descriptor
Interface
One
Alternate Interface
Two
Status
Zero
Zero
None
Zero
Zero
None
Zero/LID
Length
Descriptor
Zero
None
Interface
Zero
None
Endpoint
Two
Frame Number
Zero
Interface
Endpoint
Zero
GET_STATUS
10000001B
Zero
10000010B
Interface
Endpoint
00000000B
SET_ADDRESS
00000000B
SET_CONFIGURATION
00000000B
SET_DESCRIPTOR
00000000B
00000001B
Data Stage
SET_FEATURE
00000010B
00000001B
SET_INTERFACE
10000010B
SYNCH_FRAME
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Device address
Configuration
value
Descriptor
type/index
Feature
Selector
Alternate
setting
Zero
Zero
Interface
Endpoint
39
DM9621
USB2.0 to Fast Ethernet Controller
2. Not Supported Standard Commands
• Clear_Feature (Interface)
• Set_Feature (Interface)
• Set_Descriptor ( )
• Sync_Frame ( )
7.1.2 Vendor 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
WValue
WIndex
wLength
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
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
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
40H
03H
Data[7:0]
00H
RegOffset[7:0]
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Wvalue
wIndex
wLength
Byte 5 Byte 6
00H
Byte 7
0000H
40
DM9621
USB2.0 to Fast Ethernet Controller
7.1.2.2 Memory Type
Theses 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
Wvalue
Windex
wLength
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
C0H
02H
00H
00H
MemOff[7:0]
MemOff[15:8]
BC[7:0]
00H
WRITE_MEMORY( )
Setup Stage
BmReqType BReq
WValue
Windex
wLength
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
40H
05H
00H
00H
MemOff[7:0]
MemOff[15:8]
BC[7:0]
00H
WRITE1_MEMORY( )
Setup Stage
BmReqType Breq
WValue
Windex
wLength
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
40H
07H
Data[7:0]
00H
MemOff[7:0]
MemOff[15:8]
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Byte 6
Byte 7
0000H
41
DM9621
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.
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 GPIO2_2 is pull-high)
Fist byte
: Ethernet Receive Packet Checksum Status, the bit[7:2] format is same as register 32H
(RCSCSR)
Second byte : Ethernet Receive Packet Status, the bit format is same as register 6 (RSR)
Third byte
: Ethernet Receive Packet byte count low
Fourth byte : Ethernet Receive Packet byte count high
The others
: Ethernet Receive Packet Data
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
First byte
Second byte
The others
: Ethernet Transmit Packet byte count low
: Ethernet Transmit Packet byte count high
: Ethernet Transmit Packet data
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.
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
42
DM9621
USB2.0 to Fast Ethernet Controller
Data Format
Offset
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Name
NSR
TSR1
TSR2
RSR
ROCR
RXC
TXC
GPR
Description
Network status register
Reserved
Reserved
RX status register
Received overflow counter register
Received packet counter
Transmit packet counter
Reserved
7.1.4 Descriptor Values
All descriptors are stored in it’s default values. Values which are “?” in the table below are under define.
Device Descriptor/18-Byte
Offset
Field
Size
Value
Description
0
bLength
1
12H
Size of descriptor in bytes
1
bDescriptorType
1
01H
DEVICE Descriptor Type
2
bcdUSB
2
4
bDeviceClass
1
0200H USB BCD version
00H
Class code, assign by USB
Zero: No device level class
01H~FEH : Valid device class
FFH : Vender-specific
5
bDeviceSubClass
1
00H
SubClass code, assign by USB
6
bDeviceProtocol
1
00H
Protocol code, assign by USB
7
bMaxPacketSize0
1
08H
Maximum PL for EP0(8,16,32,64)
8
idVender
2
0A46H Vendor ID(0A46) (fm EEP)
10
idProduce
2
9621H
12
bcdDevice
2
0101H Device release number
14
iManufacturer
1
01H
Index of string descriptor for manufacturer
15
iProduct
1
02H
Index of string descriptor for product
16
iSerialNumber
1
03H
Index of string descriptors for serial number
17
bNumConfigurations
1
01H
Number of configurations
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Product ID
9621H, RX header is 4-byte mode
43
DM9621
USB2.0 to Fast Ethernet Controller
Configuration0 Descriptor/9-Byte
Offset
Field
Size
Value
Description
0
bLength
1
09H
Size of descriptors
1
bDescriptorType
1
02H
CONFIGURATION Descriptor Type
2
wTotalLength
2
4
bNumInterfaces
1
01H
Number of interfaces
5
bConfigurationValue
1
01H
Value of this configuration
6
iConfiguration
1
00H
Index of string descriptor for configuration
7
bmAttributes
1
0027H Total descriptor length
A(8)0H Configuration characteristics
D7:Reserved (set to 1)
D6: Self-powered
D5: Remote WakeUp
0: if REG00H bit 6 is “0”
1: if REG00H bit 6 is “1”
D4: Reserved ( reset to 0)
8
MaxPower
1
3CH
Maximum power, 2mA units (fm EEP)
Interface0 Descriptor/9-Byte
Offset
Field
Size
Value
Description
0
bLength
1
09H
Size of this descriptor
1
bDescriptorType
1
04H
INTERFACE Descriptor Type
2
bInterfaceNumber
1
00H
Number of interface
3
bAlternateSetting
1
00H
Value used to select alternate setting
4
bNumEndpoints
1
03H
Number of ednpoints
5
bInterfaceClass
1
00H
Class code
6
bInterfaceSubClass
1
00H
SunClass code
7
bInterfaceProtocol
1
00H
Protocol code
8
iInterface
1
00H
Index of string for this interface
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
44
DM9621
USB2.0 to Fast Ethernet Controller
Endpoint1 Descriptor/6-Byte
Offset
Field
Size
Value
Description
0
bLength
1
07H
Size of this descriptor
1
bDescriptorType
1
05H
ENDPOINT Descriptor Type
2
bEndpointAddress
1
81H
Address of the endpoint
Bit3~0: The endpoint number
Bit 6~4: Reserved(0)
Bit7 : Direction(Control EP exclude)
0 = OUT endpoint
1 = IN endpoint
3
bmAttributes
1
02H
EP's attributes
Bit1~0: Transfer Type
00 = Control
01 = Isochronous
10 = Bulk
11 = Interrupt
4
wMaxPacketSize
2
0040H
6
bInterval
1
00H
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)
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
45
DM9621
USB2.0 to Fast Ethernet Controller
Endpoint 2 Descriptor/6-Byte
Offset
Field
Size
Value
Description
0
bLength
1
07H
Size of this descriptor
1
bDescriptorType
1
05H
ENDPOINT Descriptor Type
2
bEndpointAddress
1
02H
Address of the endpoint
Bit3~0: The endpoint number
Bit 6~4: Reserved(0)
Bit7 : Direction(Control EP exclude)
0 = OUT endpoint
1 = IN endpoint
3
bmAttributes
1
02H
EP's attributes
Bit1~0: Transfer Type
00 = Control
01 = Isochronous
10 = Bulk
11 = Interrupt
4
wMaxPacketSize
2
0040H
6
bInterval
1
00H
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)
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
46
DM9621
USB2.0 to Fast Ethernet Controller
Endpoint3 Descriptor/6-Byte
Offset
Field
Size
Value
Description
0
bLength
1
07H
Size of this descriptor
1
bDescriptorType
1
05H
ENDPOINT Descriptor Type
2
bEndpointAddress
1
83H
Address of the endpoint
Bit3~0: The endpoint number
Bit 6~4: Reserved(0)
Bit7 : Direction(Control EP exclude)
0 = OUT endpoint
1 = IN endpoint
3
bmAttributes
1
03H
EP's attributes
Bit1~0: Transfer Type
00 = Control
01 = Isochronous
10 = Bulk
11 = Interrupt
4
wMaxPacketSize
2
6
bInterval
1
0008H Maximum packet size of this EP
01H
Interval for polling (periodical pipe)
Interrupt Tpye = 1 ~ 255 (ms)
Isochronoous Type = 1 (ms)
String0 Descriptor/Code array
Offset
Field
Size
Value
Description
0
bLength
1
04H
Size of this descriptor
1
bDescriptorType
1
03H
STRING Descriptor Type
2
wLANGID[1]
2
0409H
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
LANGID code(Eng.)
47
DM9621
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
Value
Description
Descriptor length loading from EEPROM
03H
STRING Descriptor Type
Manufacture
String2 Descriptor/UNICODE String
Offset
Field
Size
0
bLength
1
1
bDescriptorType
1
2~
bString
n
Value
Description
Descriptor length loading from EEPROM
03H
STRING Descriptor Type
Product
String3 Descriptor/UNICODE String
Offset
Field
Size
0
bLength
1
1
bDescriptorType
1
2~
bString
n
Value
Description
Descriptor length loading from EEPROM
03H
STRING Descriptor Type
Serial Number
Descriptors of string/1/2/3 if no EEPROM exist.
String1 Descriptor/UNICODE String
Offset
Field
Size
Value
Description
0
bLength
1
04H
Descriptor length
1
bDescriptorType
1
03H
STRING Descriptor Type
2~
bString
2
0020H Manufacture
String2 Descriptor/UNICODE String
Offset
Field
Size
Value
Description
0
bLength
1
10H
Descriptor length
1
bDescriptorType
1
03H
STRING Descriptor Type
2~
bString
14
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
55 00 53 00 42 00 20 00 45 00 74 00 68 00
48
DM9621
USB2.0 to Fast Ethernet Controller
String3 Descriptor/UNICODE String
Offset
Field
Size
Value
Description
0
bLength
1
04H
Descriptor length
1
bDescriptorType
1
03H
STRING Descriptor Type
2~
bString
2
0031H Serial Number
7.2 Ethernet Functional Description
7.2.1 Serial Management Interface
DM9621
MII SMI
MDC
MDIO
MDC
MDIO
PHY
External PHY can be accessed via the MDC, MDIO
SMI - Read Frame Structure
SMI_C
SMI_D read
32 "1"s
Idle
0
Preamble
1
SFD
1
0
A1
A0
R7
Device Address
Op Code
R6
R5
R0
Register Address
//
//
0
Z
D15
D14
Turn Around
D1
D0
Idle
Data
Read
Write
SMI_R_8203
SMI - Write Frame Structure
SMI_C
SMI_D write
32 "1"s
Idle
Preamble
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
0
1
SFD
0
1
Op Code
A1
A0
Device Address
R7
R6
R5
R0
Register Address
Write
1
0
Turn Around
D15
D14
Data
D1
D0
Idle
SMI_W_8203
49
DM9621
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 DM9621 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
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
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.
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.
50
DM9621
USB2.0 to Fast Ethernet Controller
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
00000
00001
00010
00011
00101
00110
01000
01100
10000
11001
Table 1
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
51
DM9621
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
conditioning of the received signal independent of the
cable length.
7.2.13 MLT-3 to NRZI Decoder
The DM9621 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.11 Signal Detect
7.2.15 NRZI to NRZ
The signal detect function meets the specifications
mandated by the ANSI XT12 TP-PMD 100Base-TX
Standards for both voltage thresholds and timing
parameters.
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.
7.2.12 Adaptive Equalization
When transmitting data at high speeds over copper
twisted pair cable, attenuation based on frequency
becomes a concern. In high speed twisted pair
signaling, the frequency content of the transmitted
signal can vary greatly during normal operation based
on the randomness of the scrambled data stream.
This variation in signal attenuation caused by
frequency variations must be compensated for to
ensure the integrity of the received data. In order to
ensure quality transmission when employing MLT-3
encoding, the compensation must be able to adapt to
various cable lengths and cable types depending on
the installed environment. The selection of long cable
lengths for a given implementation, requires
significant compensation which will be over-kill in a
situation that includes shorter, less attenuating cable
lengths. Conversely, the selection of short or
intermediate cable lengths requiring less
compensation will cause serious under-compensation
for longer length cables. Therefore, the compensation
or equalization must be adaptive to ensure proper
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
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.
52
DM9621
USB2.0 to Fast Ethernet Controller
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.22 Carrier Sense
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.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.
7.2.24 Auto-Negotiation (continued)
7.2.20 10Base-T Operation
The 10Base-T transceiver is IEEE 802.3u compliant.
When the DM9621 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.
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
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.
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.
53
DM9621
USB2.0 to Fast Ethernet Controller
8. DC and AC Electrical Characteristics
8.1 Absolute Maximum Ratings ( 25°C )
Symbol
DVDD
VIN
VOUT
TSTG
TA
LT
Parameter
Supply Voltage
DC Input Voltage (VIN)
DC Output Voltage(VOUT)
Storage Temperature range
Ambient Temperature
Lead Temperature
(LT, soldering, 10 sec.).
Min.
-0.3
-0.5
-0.3
-65
0
-
Max.
3.6
5.5
3.6
+150
+70
+260
Unit
V
V
V
°C
°C
°C
Conditions
*1
*2
*2
-
*1: Power pin
*2: IO pin
8.1.1 Operating Conditions
Symbol
DVDD
Parameter
Supply Voltage
Min.
Typ.
Max.
Unit
3.135
3.300
3.465
V
Conditions
PD
100BASE-TX
---
170
---
mA
3.3V
(Power
10BASE-T TX
---
190
---
mA
3.3V
Dissipation)
10BASE-T idle
---
100
---
mA
3.3V,power
saving
USB suspend mode
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
---
2.48
---
mA
3.3V
54
DM9621
USB2.0 to Fast Ethernet Controller
8.2 DC Electrical Characteristics (VDD = 3.3V)
Symbol
Parameter
Min.
Typ.
Max.
Unit
Conditions
Inputs
VIL
Input Low Voltage
-
-
0.8
V
VIH
Input High Voltage
2.0
-
-
V
IIL
Input Low Leakage Current
-1
-
-
uA
VIN = 0.0V
IIH
Input High Leakage Current
-
-
1
uA
VIN = 3.3V
VOL
Output Low Voltage
-
-
0.4
V
IOL = 4mA
VOH
Output High Voltage
2.4
-
-
V
IOH = -4mA
-
1.8
-
V
100 Ω Termination
Outputs
Receiver
VICM
RX+/RX- Common Mode Input
Voltage
Across
Transmitter
VTD100
100TX+/- Differential Output
1.9
2.0
2.1
V
Peak to Peak
4.4
5
5.6
V
Peak to Peak
│19│
│20│
│21│
mA
Absolute Value
│44│
│50│
│56│
mA
Absolute Value
Min.
Typ.
Max.
Unit
Voltage
VTD10
10TX+/- Differential Output Voltage
ITD100
100TX+/- Differential Output
Current
ITD10
10TX+/- Differential Output Current
8.3 AC Electrical Characteristics & Timing Waveforms
8.3.1 TP Interface
Symbol
Parameter
tTR/F
100TX+/- Differential Rise/Fall Time
3.0
-
5.0
ns
tTM
100TX+/- Differential Rise/Fall Time
0
-
0.5
ns
0
-
0.5
ns
0
-
1.4
ns
Conditions
Mismatch
tTDC
100TX+/- Differential Output Duty Cycle
Distortion
Tt/T
100TX+/- Differential Output Peak-to-Peak
Jitter
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
55
DM9621
USB2.0 to Fast Ethernet Controller
XOST
100TX+/- Differential Voltage Overshoot
8.3.2 Oscillator/Crystal Timing
Symbol
Parameter
TCKC
TPWH
TPWL
OSC Clock Cycle
OSC Pulse Width High
OSC Pulse Width Low
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
0
-
Min.
Typ
.
40
20
20
39.9988
-
5
%
Max.
Unit
Conditions
40.0012
-
ns
ns
ns
30ppm
56
DM9621
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
PWRST# Low Period
Strap pin setup time with PWRST#
Strap pin hold time with PWRST#
PWRST# high to EECS high
PWRST# high to EECS burst end
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Min.
15
5
Typ.
-
Max.
-
Unit
ms
ms
Conditions
-
40
40
-
1
--
1.85
ns
ns
us
ms
-
57
DM9621
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
EECS Hold Time
EECK Frequency
EEDIO Hold Time in output state
EEDIO Setup Time in input state
EEDIO Hold Time in input state
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Min.
8
1
Typ.
4.2
5.12
4.2
Max.
Unit
us
us
us
ns
ns
58
DM9621
USB2.0 to Fast Ethernet Controller
9.3 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.4 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
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
Min.
3
2
Typ.
59
DM9621
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
Part Number
DELTA
LFE8505-DC , LFE8563-DC, LFE8583-DC
MAGCOM
HS9016, HS9024
Halo
TG110-S050N2, TG110-LC50N2
Bel Fuse
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
Fundamental, series-resonant
Frequency
25.000 MHz +/- 30ppm
Equivalent Series Resistance
25 ohms max
Load Capacitance
22 pF typ.
Case Capacitance
7 pF max.
Power Dissipation
1mW max.
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
60
DM9621
USB2.0 to Fast Ethernet Controller
X1
X2
46
47
25MHz
15pf
GND
15pf
G ND
Figure 10-1
Crystal Circuit Diagram
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
61
DM9621
USB2.0 to Fast Ethernet Controller
11. Application Circuit
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
62
DM9621
USB2.0 to Fast Ethernet Controller
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
63
DM9621
USB2.0 to Fast Ethernet Controller
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
64
DM9621
USB2.0 to Fast Ethernet Controller
12. Package Information
QFN 48L Outline Dimension
unit: inch/mm
Symbol
Dimension in mm
MIN
NOM
MAX
0.80
0.85
0.90
0.00
0.02
0.05
0.60
0.65
0.70
0.02 REF
0.18
0.25
0.30
6.90
7.00
7.10
6.75 BSC
4.90
5.05
5.20
0.50 BSC
0.30
0.40
0.50
o
o
0
--14
0.09
----0.20
----0.15
0.10
0.10
0.05
0.08
0.10
Dimension in inch
MIN
NOM
MAX
0.031
0.033
0.035
0.000
0.001
0.002
0.024
0.026
0.028
0.008 REF
0.007
0.010
0.012
0.272
0.276
0.280
0.266 BSC
0.193
0.199
0.205
0.020 BSC
0.012
0.016
0.020
o
o
0
--14
0.004
----0.008
----0.006
0.004
0.004
0.002
0.003
0.004
A
A1
A2
A3
B
D/E
D1/E1
D2/E2
e
L
Θ
R
K
aaa
bbb
ccc
ddd
eee
fff
NOTE:
1.
CONTROLLING DIMENSION: MILLIMETER
2.
REFERENCE DOCUMENT: JEDEC MO-220
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
65
DM9621
USB2.0 to Fast Ethernet Controller
application circuits illustrated in this document are for
reference purposes only.
13. Ordering Information
Part Number
Pin Count
DM9621NP
48
Package
QFN
(Pb-Free)
Disclaimer
The information appearing in this publication is
believed to be accurate. Integrated circuits sold by
DAVICOM Semiconductor are covered by the
warranty and patent indemnification provisions
stipulated in the terms of sale only. DAVICOM makes
no warranty, express, statutory, implied or by
description regarding the information in this
publication or regarding the information in this
publication or regarding the freedom of the described
chip(s) from patent infringement.
FURTHER,
DAVICOM
MAKES
NO
WARRANTY
OF
MERCHANTABILITY OR FITNESS FOR ANY
PURPOSE. DAVICOM reserves the right to halt
production or alter the specifications and prices at
any time without notice. Accordingly, the reader is
cautioned to verify that the data sheets and other
information in this publication are current before
placing orders. Products described herein are
intended for use in normal commercial applications.
Applications involving unusual environmental or
reliability requirements, e.g. military equipment or
medical life support equipment, are specifically not
recommended without additional processing by
DAVICOM for such applications. Please note that
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 Rd. VI,
Science-based Industrial Park,
Hsin-chu City, 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.
Preliminary
Version: DM9621 -14-DS-P02
February 23, 2011
66