ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
The DM9000 is a fully integrated and cost-effective
single chip Fast Ethernet MAC controller with a
general processor interface, a 10/100M PHY and 4K
Dword SRAM. It is designed with low power and high
performance process that support 3.3V with 5V
tolerance.
The DM9000 also provides a MII int erface to connect
HPNA device or other transceivers that support MII
interface. The DM9000 supports 8-bit, 16-bit and 32bit uP interfaces to internal memory accesses for
2. Block Diagram
LED
PHYceiver
different processors. The PHY of the DM9000 can
interface to the UTP3, 4, 5 in 10Base-T and UTP5 in
100Base-TX. It is fully compliant with the IEEE 802.3u Spec.
Its auto-negotiation function will automatically configure the
DM9000 to take the maximum advantage of its abilities. The
DM9000 also supports IEEE 802.3x full- duplex flow control.
This programming of the DM9000 is very simple, so user
can port the software drivers to any system easily.
External MII
Interface
EEPROM
Interface
MAC
TX+/-
RX+/-
100 Base-TX
transceiver
100 Base-TX
10 Base-T
Tx/Rx
Autonegotiation
PCS
MII Management
Control
& MII Register
MII
TX Machine
Control &Status
Registers
RX Machine
Memory
Management
Internal
SRAM
Interface
Processor
Final1
Version: DM9000-DS-F02
June 26, 2002
Page 2
Table of Contents
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
1. General Description ..............................................1
2. Block Diagram……………………………………… 1
3. Features ................................................................4
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
5. Pin Description
I= Input, O=Output, I/O= Input/Output, O/D= Open Drain, P= Power,
LI= reset Latch Input, #= asserted low
5.1 MII Interface
Pin No.Pin NameI/ODescription
37LINK_IIExternal MII device link status
41,40,39,
38
43CRSI/OExternal MII Carrier Sense
44COLI/OExternal MII Collision Detect. This pin is output in reverse MII interface.
45RX_DVIExternal MII Receive Data Valid
46RX_ERIExternal MII Receive Error
47RX_CLKIExternal MII Receive Clock
49TX_CLKI/OExternal MII Transmit Clock. This pin is output in reverse MII interface.
53,52,51,
50
54TX_ ENOExternal MII Transmit Enable
56MDIOI/OMII Serial Management Data
57MDCOMII Serial Management Data Clock
RXD [3:0]IExternal MII Receive Data
4-bit nibble data input (synchronous to RXCLK) when in 10/100 Mbps. MII mode
Active high to indicate the pressure of carrier, due to receive or transmit activities
in 10 Base-T or 100 Base-TX mode. This pin is output in reverse MII interface.
TXD [3:0]OExternal MII Transmit Data
4-bit nibble data outputs (synchronous to the TX_CLK) when in 10/100Mbps
nibble mode
TXD [2:0] is also used as the strap pins of IO base address.
IO base = (strap pin value of TXD [2:0]) * 10H + 300H
This pin is also used as the strap pin of the polarity of the INT pin
When the MDC pin is pulled high, the INT pin is low active; otherwise the INT pin
is high active
Note: The pins of MII interface are all have a pulled down resistor about 60k ohm internally
5.2 Processor Interface
1IOR#IProcessor Read Command
This pin is low active at default, its polarity can be modified by EEPROM setting.
See the EEPROM content description for detail
2IOW#IProcessor Write Command
This pin is low active at default, its polarity can be modified by EEPROM setting.
See the EEPROM content description for detail
3AENIAddress Enable
A low active signal used to select the DM9000.
4IOWAITOProcessor Command Ready
When a command is issued before last command is completed, the IOWAIT will
be pulled low to indicate the current command is waited
Final7
Version: DM9000-DS-F02
June 26, 2002
Page 8
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
14RSTIHardware Reset Command, active high to reset the DM9000
6,7,8,9,10,
11,12,13,
89,88,87,
86,85,84,
83,82
93,94,95,
96,97,98
92CMDICommand Type
91IO16OWord Command Indication
100INTOInterrupt Request
56,53,52,
51,50,49,
47,46,45,
44,43,41,
40,39,38
37
57IO32 (in double
SD0~15I/OProcessor Data Bus bit 0~15
SA4~9IAddress Bus 4~9
These pins are used to select the DM9000.
When SA9 and SA8 are in high states, and SA7 and AEN are in low
states, and SA6~4 are matched with strap pins TXD2~0, the DM9000 is
selected.
When high, the access of this command cycle is DATA port
When low, the access of this command cycle is ADDRESS port
When the access of internal memory is word or dword width, this pin will
be asserted
This pin is low active at default
This pin is high active at default, its polarity can be modified by EEPROM
setting or strap pin MDC. See the EEPROM content description for detail
SD16~31 (in
double word
mode)
I/OProcessor Data Bus bit 16~31
These pins are used as data bus bits 16~31 when the DM9000 is set to
double word mode (the straps pin EEDO is pulled high and WAKEUP is
not pull-high)
ODouble Word Command Indication
word mode)
This pins is used as the double word command indication when the
DM9000 is set to double data word mode, and this pin will be asserted
when the access of internal memory is double word width
This pin is low active at default
Note: The pins of processor interface except SD8,SD9 and IO16 are all have a pulled down resistor about 60k ohm
internally
5.3 EEPROM Interface
64EEDIIData from EEPROM
65EEDOI/OData to EEPROM
This pin is also used as a strap pin. It combines with strap pin WAKEUP,
and it can set the data width of the internal memory access
The decoder table is the following, where the logic 1 means the strap pin
is pulled high
WAKEUP EEDO data width
0 0 16-bit
0 1 32-bit
1 0 8-bit
1 1 reserved
8Final
Version: DM9000-DS-F02
June 26, 2002
Page 9
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
66EECKOClock to EEPROM
67EECSI/OChip Select to EEPROM
This pin is also used as a strap pin to define the LED modes.
When it is pulled high, the LED mode is mode 1; Otherwise it is mode 0
Note: The pins EECS,EECK and EEDO are all have a pulled down resistor about 60k ohm internally
5.4 Clock Interface
21X2_25MOCrystal 25MHz Out
22X1_25MICrystal 25MHz In
59CLK20MOO20Mhz Clock Output
It is used as the clock signal for the external MII device’s clock is 20MHz
This pin has a pulled down resistor about 60k ohm internally.
5.5 LED Interface
60SPEED100#OSpeed LED
Its low output indicates that the internal PHY is operated in 100M/S, or it
is floating for the 10M mode of the internal PHY
61DUP#OFull-duplex LED
In LED mode 1, Its low output indicates that the internal PHY is operated
in full-duplex mode, or it is floating for the half-duplex mode of the internal
PHY
In LED mode 0, Its low output indicates that the internal PHY is operated
in 10M mode, or it is floating for the 100M mode of the internal PHY
62LINK&ACT#OLink LED
In LED mode 1, it is the combined LED of link and carrier sense signal of
the internal PHY
In LED mode 0, it is the LED of the carrier sense signal of the internal
PHY only
5.6 10/100 PHY/Fiber
24SDIFiber-optic Signal Detect
PECL signal, which indicates whether or not the fiber-optic receive pair is
receiving valid levels
25BGGNDPBandgap Ground
26BGRESI/OBandgap Pin
27AVDDPBandgap and Guard Ring Power
28AVDDPRX Power
29RXI+ITP RX Input
30RXI-ITP RX Input
31AGNDPRX Ground
32AGNDPTX Ground
33TXO+OTP TX Output
Final9
Version: DM9000-DS-F02
June 26, 2002
Page 10
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
34TXO-OTP TX Output
35AVDDPTX Power
5.7 Miscellaneous
16,17,18,19TEST1~TEST4IOperation Mode
Test 1, 2, 3, 4 = (1, 1, 0, 0) in normal application
48TEST5IIt must be ground.
68,69,70,
71
GPIO0~3I/OGeneral I/O Ports
Registers GPCR and GPR can program these pins
The GPIO0 is an output mode, and output data high at default is to power
down internal PHY and other external MII device
GPIO1~3 defaults are input ports
78LINK_OOCable Link Status Output. Active High
This pin is also used as a strap pin to define whether the MII interface is a
reversed MII interface (pulled high) or a normal MII interface (not pulled
high). This pin has a pulled down resistor about 60k ohm internally.
79WAKEUPOIssue a wake up signal when wake up event happens
This pin has a pulled down resistor about 60k ohm internally.
80PW_RST#IPower on Reset
Active low signal to initiate the DM9000
The DM9000 is ready after 5us when this pin deasserted
74,75,77NCNot Connect
5.8 Power Pins
5,20,36,
DVDDPDigital VDD
55,72,90,
73
15,23,42,
DGNDPDigital GND
58,63,81,
99,76
10Final
Version: DM9000-DS-F02
June 26, 2002
Page 11
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
6. Vendor Control and St atus Register Set
The DM9000 implements several control and status
registers, which can be accessed by the host. These CSRs
are byte aligned. All CSRs are set to their default values by
hardware or software reset unless they are specified
RegisterDescriptionOffsetDefault value
after reset
NCRNetwork Control Register00H00H
NSRNetwork Status Register01H00H
TCRTX Control Register02H00H
TSR ITX Status Register I03H00H
TSR IITX Status Register II04H00H
RCRRX Control Register05H00H
RSRRX Status Register06H00H
ROCRReceive Overflow Counter Register07H00H
BPTRBack Pressure Threshold Register08H37H
FCTRFlow Control Threshold Register09H38H
FCRRX Flow Control Register0AH00H
EPCREEPROM & PHY Control Register0BH00H
EPAREEPROM & PHY Address Register0CH40H
RWPAHRX SRAM Write Pointer Address High Byte25H0CH
VIDVendor ID28H-29H0A46H
PIDProduct ID2AH-2BH9000H
CHIPRCHIP Revision2CH00H
SMCRSpecial Mode Control Register2FH00H
MRCMDXMemory Data Read Command Without Address Increment
F0HXXH
Register
MRCMDMemory Data Read Command With Address Increment
F2HXXH
Register
MRRLMemory Data Read_ address Register Low ByteF4H00H
MRRHMemory Data Read_ address Register High ByteF5H00H
MWCMDXMemory Data Write Command Without Address Increment
F6HXXH
Register
MWCMDMemory Data Write Command With Address Increment
F8HXXH
Register
MWRLMemory Data Write_ address Register Low ByteFAH00H
Final11
Version: DM9000-DS-F02
June 26, 2002
Page 12
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
MWRHMemory Data Write _ address Register High ByteFBH00H
TXPLLTX Packet Length Low Byte RegisterFCHXXH
TXPLHTX Packet Length High Byte RegisterFDHXXH
ISRInterrupt Status RegisterFEH00H
IMRInterrupt Mask RegisterFFH00H
Key to Default
In the register description that follows, the default column
takes the form:
<Reset Value>, <Access Type>
Where:
<Reset Value>:
1Bit set to logic one
0Bit set to logic zero
XNo default value
<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.
12Final
Version: DM9000-DS-F02
June 26, 2002
Page 13
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
6.1 Network Control Register (00H)
BitNameDefaultDescription
7EXT_PHY0,RWSelects external PHY when set. Selects Internal PHY when clear. This bit will not
be affected after software reset
6WAKEEN0,RWWakeup Event Enable
When set, it enables the wakeup function. Clearing this bit will also clears all
wakeup event status
This bit will not be affected after a software reset
5RESERVED0,ROReserved
4FCOL0,RWForce Collision Mode, used for testing
3FDX0,RWFull-Duplex Mode. Read only on Internal PHY mode. R/W on External PHY mode
2:1LBK00,RWLoopback Mode
Bit 2 1
0 0 Normal
0 1 MAC Internal loopback
1 0 Internal PHY 100M mode digital loopback
1 1 (Reserved)
0RST0,RWSoftware reset and auto clear after 10us
6.2 Network Status Register (01H)
BitNameDefaultDescription
7SPEED0,ROMedia Speed 0:100Mbps 1:10Mbps, when Internal PHY is used. This bit has no
meaning when LINKST=0
6LINKST0,ROLink Status 0:link failed 1:link OK, when Internal PHY is used
5WAKEST0,RW/C1
4RESERVED0,ROReserved
3TX2END0,RW/C1TX Packet 2 Complete Status. Clears by read or write 1
2TX1END0,RW/C1TX Packet 1 Complete status. Clears by read or write 1
1RXOV0,RORX FIFO Overflow
0RESERVED0,ROReserved
Wakeup Event Status. Clears by read or write 1
This bit will not be affected after software reset
Transmit completion of packet index 2
Transmit completion of packet index 1
6.3 TX Control Register (02H)
BitNameDefaultDescription
7RESERVED0,ROReserved
6TJDIS0,RW
5EXCECM0,RW
Transmit Jabber Disable
When set, the transmit Jabber Timer (2048 bytes) is disabled. Otherwise it is Enable
Excessive Collision Mode Control : 0:aborts this packet when excessive collision
counts more than 15, 1: still tries to transmit this packet
4PAD_DIS20,RW
3CRC_DIS20,RW
PAD Appends Disable for Packet Index 2
CRC Appends Disable for Packet Index 2
2PAD_DIS10,RWPAD Appends Disable for Packet Index 1
1CRC_DIS10,RW
CRC Appends Disable for Packet Index 1
0TXREQ0,RWTX Request. Auto clears after sending completely
Final13
Version: DM9000-DS-F02
June 26, 2002
Page 14
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
6.4 TX Status Register I ( 03H ) for packet index I
BitNameDefaultDescription
7TJTO0,ROTransmit Jabber Time Out
It is set to indicate that the transmitted frame is truncated due to more than 2048
bytes are transmitted
6LC0,ROLoss of Carrier
It is set to indicate the loss of carrier during the frame transmission. It is not valid in
internal loopback mode
5NC0,RONo Carrier
It is set to indicate that there is no carrier signal during the frame transmission. It is
not valid in internal loopback mode
4LC0,ROLate Collision
It is set when a collision occurs after the collision window of 64 bytes
3COL0,ROCollision Packet
It is set to indicate that the collision occurs during transmission
2EC0,ROExcessive Collision
It is set to indicate that the transmission is aborted due to 16 excessive collisions
1:0RESERVED0,ROReserved
6.5 TX Status Register II ( 04H ) for packet index I I
BitNameDefaultDescription
7TJTO0,ROTransmit Jabber Time Out
It is set to indicate that the transmitted frame is truncated due to more than 2048
bytes are transmitted
6LC0,ROLoss of Carrier
It is set to indicate the loss of carrier during the frame transmission. It is not valid in
internal loopback mode
5NC0,RONo Carrier
It is set to indicate that there is no carrier signal during the frame transmission. It is
not valid in internal loopback mode
4LC0,ROLate Collision
It is set when a collision occurs after the collision window of 64 bytes
3COL0,ROCollision packet, collision occurs during transmission
2EC0,ROExcessive Collision
It is set to indicate that the transmission is aborted due to 16 excessive collisions
1:0RESERVED0,ROReserved
6.6 RX Control Register ( 05H )
BitNameDefaultDescription
7RESERVED0,ROReserved
6
WTDIS0,RWWatchdog Timer Disable
When set, the Watchdog Timer (2048 bytes) is disabled. Otherwise it is enabled
5DIS_LONG0,RWDiscard Long Packet
Packet length is over 1522byte
4DIS_CRC0,RWDiscard CRC Error Packet
3ALL0,RWPass All Multicast
2RUNT0,RWPass Runt Packet
1PRMSC0,RWPromiscuous Mode
0RXEN0,RWRX Enable
14Final
Version: DM9000-DS-F02
June 26, 2002
Page 15
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
6.7 RX Status Register ( 06H )
BitNameDefaultDescription
7RF0,RORunt Frame
It is set to indicate that the size of the received frame is smaller than 64 bytes
6MF0,ROMulticast Frame
It is set to indicate that the received frame has a multicast address
5LCS0,ROLate Collision Seen
It is set to indicate that a late collision is found during the frame reception
4RWTO0,ROReceive Watchdog Time-Out
It is set to indicate that it receives more than 2048 bytes
3PLE0,ROPhysical Layer Error
It is set to indicate that a physical layer error is found during the frame reception
2AE0,ROAlignment Error
It is set to indicate that the received frame ends with a non-byte boundary
1CE0,ROCRC Error
It is set to indicate that the received frame ends with a CRC error
0FOE0,ROFIFO Overflow Error
It is set to indicate that a FIFO overflow error happens during the frame reception
6.8 Receive Overflow Counter Register ( 07H )
BitNameDefaultDescription
7RXFU0,R/CReceive Overflow Counter Overflow
This bit is set when the ROC has an overflow condition
6:0ROC0,R/CReceive Overflow Counter
This is a statistic counter to indicate the received packet count upon FIFO overflow
6.9 Back Pressure Threshold Register (08H)
BitNameDefaultDescription
7:4BPHW3H, RWBack 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 do not exceed SRAM size
(1 unit=1K bytes)
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
6.10 Flow Control Threshold Register ( 09H )
BitNameDefaultDescription
7:4HWOT3H, RWRX 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 means no free RX SRAM space.
Default is 3K-byte free space. Please do not exceed SRAM size (1 unit=1K bytes)
3:0LWOT8H, RWRX FIFO Low Water Overflow Threshold
Send a pause packet with pause_time=0000 when RX SRAM free space is larger
than this value. This pause packet is enabled after the high water pause packet is
transmitted. Default SRAM free space is 8K-byte. Please do not exceed SRAM size
(1 unit=1K bytes)
6.11 RX/TX Flow Control Register ( 0AH )
BitNameDefaultDescription
7TXP00,RWTX Pause Packet
Auto clears after pause packet transmission completion. Set to TX pause packet
with time = 0000h
6TXPF0,RWTX Pause packet
Auto clears after pause packet transmission completion. Set to TX pause packet
with time = FFFFH
5TXPEN0,RWForce TX Pause Packet Enable
Enables the pause packet for high/low water threshold control
4BKPA0,RW
3BKPM0,RWBack Pressure Mode
2RXPS0,R/CRX Pause Packet Status, latch and read clearly
1RXPCS0,RORX Pause Packet Current Status
0FLCE0,RW
Back Pressure Mode
This mode is for half duplex mode only. It generates a jam pattern when any packet
comes and RX SRAM is over BPHW
This mode is for half duplex mode only. It generates a jam pattern when a packet’s
DA matches and RX SRAM is over BPHW
Flow Control Enable
Set to enable the flow control mode (i.e. to disable TX function)
6.12 EEPROM & PHY Control Register ( 0BH )
BitNameDefaultDescription
7:6RESERVED0,ROReserved
5REEP0,RWReload EEPROM. Driver needs to clear it up after the operation completes
4WEP0,RWWrite EEPROM Enable
3EPOS0,RWEEPROM or PHY Operation Select
When reset, select EEPROM; when set, select PHY
2ERPRR0,RWEEPROM Read or PHY Register Read Command. Driver needs to clear it up after
the operation completes.
1ERPRW0,RWEEPROM Write or PHY Register Write Command. Driver needs to clear it up after
the operation completes.
0ERRE0,ROEEPROM Access Status or PHY Access Status
When set, it indicates that the EEPROM or PHY access is in progress
16Final
Version: DM9000-DS-F02
June 26, 2002
Page 17
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
7:4RESERVED0,ROReserved
3:0GEP_CNTL0001,RWGeneral Purpose Control
Define the input/output direction of General Purpose Register
When a bit is set 1, the direction of correspondent bit of General Purpose Register
is output. GPIO0 default is output for POWER_DOWN function. Other defaults are
input
6.19 General purpose Register ( 1FH )
BitNameDefaultDescription
When the correspondent bit of General Purpose Control Register is 1, the value of
the bit is reflected to pin GEPIO3-1
When the correspondent bit of General Purpose Control Register is 0, the value of
the bit to be read is reflected from correspondent pins of GEPIO3-1
The GEPIOs are mapped to pins GEPIO3 to GEPIO1 respectively
0GEPIO01,RWGeneral Purpose
When the correspondent bit of General Purpose Control Register is 1, the value of
the bit is the output to pin GEPIO0
When the correspondent bit of General Purpose Control Register is 0, the value of
the bit to be read is reflected from pin GEPIO0. GEPIO0 default output 1 to
POWER_DOWN Internal PHY. Driver needs to clear this POWER_DOWN signal
by writing “0” when it wants PHY to be active. This default value can be
programmed by EEPROM. Please refer to the EEPROM description
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
7. EEPROM Format
nameWordoffsetDescription
MAC address00~56 Byte Ethernet Address
Auto Load Control36-7Bit 1:0=01: Update vendor ID and product ID
Bit 3:2=01: Accept setting of WORD6 [8:0]
Bit 5:4=01: Accept setting of WORD6 [11:9]
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: reserved
Vendor ID48-92 byte vendor ID (Default: 0A46H)
Product ID510-112 byte product ID (Default: 9000H)
pin control612-13When word 3 bit [3:2]=01, these bits can control the IOR, IOW and INT pins
polarity.
Bit0: Reserved
Bit1: IOR pin is active low when set (default: active low)
Bit2: IOW pin is active low when set (default: active low)
Bit3: INT pin is active low when set (default: active high)
Bit4: INT pin s open-collected (default: force output)
Bit5: Reserved
Bit6: Reserved
Bit7: Reserved
Bit8: Reserved
When word 3 bit [5:4]=01, the I/O base can be re-configured.
Bit11:09: I/O base (default: 300H)
Wake-up mode control714-15Depend on the setting of word 3:
Bit0: The WAKEUP pin is active low when set (default: active high)
Bit1: The WAKEUP pin is in pulse mode when set (default: level mode)
Bit2: magic wakeup event is enabled when set. (default: no))
Bit3: link_change wakeup event is enabled when set (default: no)
Bit6:4: reserved
Bit7: LED mode 1 (default: 0)
Bit8: internal PHY is enabled after power-on (default: no)
The GPR bit 0 and the GPIO0 pin are modified from this bit.
Bit15:9: reserved
RESERVED816-17
RESERVED918-19
Final21
Version: DM9000-DS-F02
June 26, 2002
Page 22
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
10 HDXReservedPHY ADDR [4:0]Auto-N. Monitor Bit [3:0]
SQUE
Enable
IsolateRestart
Down
Cap.
ReservedPardet
RsvdTXRsvdRsvdForce
JAB
Enable
Auto-N
AdvT4Adv
FC
10T
Serial
Full
Adv
Coll.
Test
TX HDX
Adv
100LNK
10 FDX
Duplex
ReservedPream.
TX FDX
LPT4LP
TX FDXLPTX HDXLP10 FDXLP10 HDX
Reserved
Auto-N
Supr.
Adv
ReservedRPDCTR
Remote
Compl.
10 HDX
Adv
ReservedPolarity
Auto-N
Fault
Cap.
Advertised Protocol Selector Field
Link Partner Protocol Selector Field
LP Next
Fault
Pg Able
Reset
-EN
St. Mch
Link
Status
Next Pg
Able
Pream.
Supr.
Jabber
Detect
New Pg
RcvLPAutoN
Sleep
mode
Remote
LoopOut
Reverse
Extd
Cap.
Cap.
Key to Default
In the register description that follows, the default
column takes the form:
<Reset Value>, <Access Type> / <Attribute(s)>
Where:
<Reset Value>:
1Bit set to logic one
0Bit set to logic zero
XNo default value
(PIN#)Value latched from pin # at reset
<Access Type>:
RO = Read Only
RW = Read/Write
<Attribute (s)>:
SC = Self Clearing
P = Value Permanently Set
LL = Latching Low
LH = Latching High
22Final
Version: DM9000-DS-F02
June 26, 2002
Page 23
DM9000
ISA to Ethern et MAC c ontroll er with i ntegr ated 10/1 00 PHY
8.1 Basic Mode Control Register (BMCR) - 00
BitBit NameDefaultDescription
0.15Reset0, RW/SCReset
1=Software reset
0=Normal operation
This bit sets the status and controls the PHY registers to their default
states. This bit, which is self-clearing, will keep returning a value of
one until the reset process is completed
0.14Loopback0, RWLoopback
Loop-back control register
1 = Loop-back enabled
0 = Normal operation
In 100Mbps operation mode, setting this bit may cause the
descrambler to lose synchronization and produce a 720ms "dead
time" before any valid data appears at the MII receive outputs
0.13Speed selection1, RWSpeed Select
1 = 100Mbps
0 = 10Mbps
Link speed may be selected either by this bit or by auto-negotiation.
When auto-negotiation is enabled and bit 12 is set, this bit will return
to the auto-negotiation selected media type
0.12Auto-
negotiation
enable
0.11Power down0, RWPower Down
0.10Isolate0,RWIsolate
0.9Restart autonegotiation
1, RWAuto-negotiation Enable
1 = Auto-negotiation is enabled, bit 8 and 13 will be in autonegotiation status
While in the power-down state, the PHY should respond to the
management transactions. During the transition to power-down state
and while in the power-down state, the PHY should not generate
spurious signals on the MII
1=Power down
0=Normal operation
1 = Isolates the PHY from the MII with the exception of the serial
management. (When this bit is asserted, the PHY does not respond
to the TXD [0:3], TX_EN, and TX_ER inputs, and it shall present a
high impedance on its TX_CLK, RX_CLK, RX_DV, RX_ER,
RXD[0:3], COL and CRS outputs. When PHY is isolated from the MII
it shall respond to the management transactions)
0 = Normal operation
0,RW/SCRestart Auto-negotiation
1 = Restart auto-negotiation. Re-initiates the auto-negotiation
process. When auto-negotiation is disabled (bit 12 of this register
cleared), this bit has no function and it should be cleared. This bit is
self-clearing and it will keep returning a value of 1 until autonegotiation is initiated by the PHY. The operation of the autonegotiation process will not be affected by the management entity
that clears this bit
0 = Normal operation
Final23
Version: DM9000-DS-F01
April 12, 2002
Page 24
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
0.8Duplex mode1,RWDuplex Mode
1 = Full duplex operation. Duplex selection is allowed when Autonegotiation is disabled (bit 12 of this register is cleared). With
enabled auto-negotiation, this bit reflects the duplex capability
selected by auto-negotiation
0 = Normal operation
0.7Collision test0,RWCollision Test
1 = Collision test is enabled. When set, this bit will cause the COL
signal to be asserted in response to the assertion of TX_EN
0 = Normal operation
0.6-0.0RESERVED0,ROReserved
Write as 0, ignore on read
8.2 Basic Mode Status Register (BMSR) - 01
BitBit NameDefaultDescription
1.15100BASE-T40,RO/P100BASE-T4 Capable
1 = Able to perform in 100BASE-T4 mode
0 = Not able to perform in 100BASE-T4 mode
1.14100BASE-TX
full duplex
1.13100BASE-TX
half duplex
1.1210BASE-T
full duplex
1.1110BASE-T
half duplex
1.10-1.7RESERVED0,ROReserved
1.6MF preamble
suppression
1.5Auto-
negotiation
Complete
1.4Remote fault0,
1.3Auto-
negotiation
Ability
1.2Link status0,RO/LLLink Status
1,RO/P100BASE-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
1,RO/P100BASE-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
1,RO/P10BASE-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
1,RO/P10BASE-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
Write as 0, ignore on read
0,ROMII Frame Preamble Suppression
1 = PHY will accept management frames with preamble suppressed
0 = PHY will not accept management frames with preamble
suppressed
0,ROAuto-negotiation Complete
1 = Auto-negotiation process completed
0 = Auto-negotiation process not completed
Remote Fault
0,RO/LH
1 = Remote fault condition detected (cleared on read or by a chip
reset). Fault criteria and detection method is specific PHY
implementation. This bit will set after the RF bit in the ANLPAR (bit
13, register address 05) is set
0 = No remote fault condition detected
1,RO/PAuto Configuration Ability
1 = Able to perform auto-negotiation
0 = Not able to perform auto-negotiation
1 = Valid link is established (for either 10Mbps or 100Mbps
24Final
Version: DM9000-DS-F02
June 26, 2002
Page 25
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
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,
and remain cleared until it is read via the management interface
1.1Jabber detect0,
RO/LH
1.0Extended
1,RO/P
capability
8.3 PHY ID Identifier Register #1 (PHYID1) - 02
The PHY Identifier Registers #1 and #2 work together in a single identifier of the DM9000. 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
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
BitBit NameDefaultDescription
2.15-2.0OUI_MSB<0181H>OUI Most Significant Bits
Bit 3 to 18 of the OUI (00606E) are mapped 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)
This register contains the advertised abilities of this DM9000 device as they will be transmitted to its link partner
during Auto-negotiation.
BitBit NameDefaultDescription
4.15NP0,RO/PNext 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
4.14ACK0,ROAcknowledge
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
4.13RF0, RWRemote Fault
1 = Local device senses a fault condition
0 = No fault detected
4.12-4.11RESERVEDX, RWReserved
Write as 0, ignore on read
4.10FCS0, RWFlow Control Support
1 = Controller chip supports flow control ability
0 = Controller chip doesn’t support flow control ability
4.9T40, RO/P100BASE-T4 Support
1 = 100BASE-T4 is supported by the local device
0 = 100BASE-T4 is not supported
The PHY does not support 100BASE-T4 so this bit is permanently
set to 0
4.8TX_FDX1, RW100BASE-TX Full Duplex Support
1 = 100BASE-TX full duplex is supported by the local device
0 = 100BASE-TX full duplex is not supported
4.7TX_HDX1, RW100BASE-TX Support
1 = 100BASE-TX is supported by the local device
0 = 100BASE-TX is not supported
4.610_FDX1, RW10BASE-T Full Duplex Support
1 = 10BASE-T full duplex is supported by the local device
0 = 10BASE-T full duplex is not supported
4.510_HDX1, RW10BASE-T Support
1 = 10BASE-T is supported by the local device
0 = 10BASE-T is not supported
4.4-4.0Selector<00001>, RW Protocol Selection Bits
These bits contain the binary encoded protocol selector supported
by this node
<00001> indicates that this device supports IEEE 802.3 CSMA/CD
26Final
Version: DM9000-DS-F02
June 26, 2002
Page 27
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
8.6 Auto-negotiation Link Partner Ability Register (ANLPAR) – 05
This register contains the advertised abilities of the link partner when received during Auto-negotiation
BitBit NameDefaultDescription
5.15NP0, RONext Page Indication
0 = Link partner, no next page available
1 = Link partner, next page available
5.14ACK0, ROAcknowledge
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
5.13RF0, RORemote Fault
1 = Remote fault indicated by link partner
0 = No remote fault indicated by link partner
5.12-5.11RESERVEDX, ROReserved
Write as 0, ignore on read
5.10FCS0, RWFlow Control Support
1 = Controller chip supports flow control ability by link partner
0 = Controller chip doesn’t support flow control ability by link
partner
5.9T40, RO100BASE-T4 Support
1 = 100BASE-T4 is supported by the link partner
0 = 100BASE-T4 is not supported by the link partner
5.8TX_FDX0, RO100BASE-TX Full Duplex Support
1 = 100BASE-TX full duplex is supported by the link partner
0 = 100BASE-TX full duplex is not supported by the link partner
5.7TX_HDX0, RO100BASE-TX Support
1 = 100BASE-TX half duplex is supported by the link partner
0 = 100BASE-TX half duplex is not supported by the link partner
5.610_FDX0, RO10BASE-T Full Duplex Support
1 = 10BASE-T full duplex is supported by the link partner
0 = 10BASE-T full duplex is not supported by the link partner
5.510_HDX0, RO10BASE-T Support
1 = 10BASE-T half duplex is supported by the link partner
0 = 10BASE-T half duplex is not supported by the link partner
6.15-6.5RESERVEDX, ROReserved
Write as 0, ignore on read
6.4PDF0, RO/LHLocal Device Parallel Detection Fault
PDF = 1: A fault detected via parallel detection function.
PDF = 0: No fault detected via parallel detection function
6.3LP_NP_ABLE0, ROLink Partner Next Page Able
LP_NP_ABLE = 1: Link partner, next page available
LP_NP_ABLE = 0: Link partner, no next page
6.2NP_ABLE0,RO/PLocal Device Next Page Able
Final27
Version: DM9000-DS-F02
June 26, 2002
Page 28
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
NP_ABLE = 1: next page available
NP_ABLE = 0: no next page
6.1PAGE_RX0, RO/LHNew Page Received
A new link of code-word page received. This bit will be
automatically cleared when the register (register 6) is read by
management
6.0LP_AN_ABLE0, ROLink Partner Auto-negotiation Able
A “1” in this bit indicates that the link partner supports Autonegotiation
16.15BP_4B5B0, RWBypass 4B5B Encoding and 5B4B Decoding
1 = 4B5B encoder and 5B4B decoder function bypassed
0 = Normal 4B5ccccccccB and 5B4B operation
16.14BP_SCR0, RWBypass Scrambler/Descrambler Function
1 = Scrambler and descrambler function bypassed
0 = Normal scrambler and descrambler operation
16.13BP_ALIGN0, RWBypass Symbol Alignment Function
1 = Receive functions (descrambler, symbol alignment and symbol
decoding functions) bypassed. Transmit functions
(symbol encoder and scrambler) bypassed
0 = Normal operation
16.12BP_ADPOK0, RWBypass ADPOK
Force signal detector (SD) active. This register is for debug only,
not release to customers.
1=Force SD is OK
0=Normal operation
16.11RESERVED0, ROReserved
Write as 0, ignore on read
16.8RESERVED0, ROReserved
Write as 0, ignore on read
16.7F_LINK_1000, RWForce Good Link in 100Mbps
0 = Normal 100Mbps operation
1 = Force 100Mbps good link status
This bit is useful for diagnostic purposes
16.6RESERVED0, RO
16.5RESERVED0, RO
16.4RPDCTR-EN1, RW
16.3SMRST0, RW
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.
28Final
Version: DM9000-DS-F02
June 26, 2002
Page 29
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
This bit is self-clear after reset is completed
16.2MFPSC0, RW
16.1SLEEP0, RWSleep Mode
16.0RLOUT0, RW
8.9 DAVICOM Specified Configuration and Status Register (DSCSR) - 17
BitBit NameDefaultDescription
17.15100FDX1, RO100M Full Duplex Operation Mode
17.14100HDX1, RO100M Half Duplex Operation Mode
17.1310FDX1, RO10M Full Duplex Operation Mode
17.1210HDX1, RO10M Half Duplex Operation Mode
17.11-
RESERVED0, ROReserved
17.9
17.8-17.4PHYADR[4:0](PHYADR),RWPHY Address Bit 4:0
MF Preamble Suppression Control
MII frame preamble suppression control bit
1 = MF preamble suppression bit on
0 = MF preamble suppression bit off
Writing a 1 to this bit will cause PHY to enter the Sleep mode and
power down all circuit except oscillator and clock generator circuit.
When waking up from Sleep mode (write this bit to 0), the
configuration will go back to the state before sleep; but the state
machine will be reset
Remote Loopout Control
When this bit is set to 1, the received data will loop out to the
transmit channel. This is useful for bit error rate testing
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
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
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
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
Write as 0, ignore on read
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
These bits are for debug only. The auto-negotiation status will be
written to these bits
Final29
Version: DM9000-DS-F02
June 26, 2002
Page 30
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
B3 b2 b1 b0
0000In IDLE State
0001Ability Match
0010Acknowledge Match
0011Acknowledge Match Fail
0100Consistency Match
0101Consistency Match Fail
0110Parallel Detects Signal_ link_ ready
0111Parallel Detects Signal_ link_ ready Fail
1000Auto-negotiation Completed Successfully
18.15RESERVED0, ROReserved
Write as 0, ignore on read
18.14LP_EN1, RWLink Pulse Enable
1 = Transmission of link pulses enabled
0 = Link pulses disabled, good link condition forced
This bit is valid only in 10Mbps operation
18.13HBE1,RWHeartbeat 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)
18.11JABEN1, RWJabber 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
18.10-
18.1
18.0POLR0, ROPolarity reversed
RESERVED0, ROReserved
Write as 0, ignore on read
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
30Final
Version: DM9000-DS-F02
June 26, 2002
Page 31
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
9. Functional Description
9.1 Host Interface
The host interface is the ISA BUS compatible mode.
There are eight IO bases, which are 300H, 310H,
320H, 330H, 340H, 350H, 360H, and 370H. The IO
base is latched from strap pins or loaded from the
EEPROM.
There are only two addressing ports through the
access of the host interface. One port is the INDEX
port and the other is the DATA port. The INDEX port is
decoded by the pin CMD =0 and the DATA port by the
pin CMD =1. The contents of the INDEX port are the
register address of the DATA port. Before the access
of any register, the address of the register must be
saved in the INDEX port.
9.2 Direct Memory Access Control
The DM9000 provides DMA capability to simplify the
access of the internal memory. After the programming
of the starting address of the internal memory and
then issuing a dummy read/write command to load the
current data to internal data buffer, the desired
location of the internal memory can be accessed by
the read/write command registers. The memory’s
address will be increased with the size that equals to
the current operation mode (i.e. the 8-bit, 16-bit or 32bit mode) and the data of the next location will be
loaded into internal data buffer automatically. It is
noted that the data of the first access (the dummy
read/write command) in a sequential burst should be
ignored because that the data was the contents of the
last read/write command.
The internal memory size is 16K bytes. The first
location of 3K bytes is used for the data buffer of the
packet transmission. The other 13K bytes are used for
the buffer of the receiving packets. So in the write
memory operation, when the bit 7 of IMR is set, the
memory address increment will wrap to location 0 if
the end of address (i.e. 3K) is reached. In a similar
way, in the read memory operation, when the bit 7 of
IMR is set, the memory address increment will wrap to
location 0x0C00 if the end of address (i.e. 16K) is
reached.
9.3 Packet Transmission
There are two packets, sequentially named as index I
and index II, can be stored in the TX SRAM at the
same time. The TX Control Register (02h) controls the
insertion of CRC and pads. Their statuses are
recorded at TX Status Register I (03h) and TX Status
Register II (04h) respectively.
The start address of transmission is 00h and the
current packet is index I after software or hardware
reset. Firstly write data to the TX SRAM using the
DMA port and then write the byte count to byte_ count
register at TX Packet Length Register (0fch/0fdh). Set
the bit 0 of TX Control Register (02h). The DM9000
starts to transmit the index I packet. Before the
transmission of the index I packet ends, the data of
the next (index II) packet can be moved to TX SRAM.
After the index I packet ends the transmission, write
the byte count data of the index II to BYTE_COUNT
register and then set the bit 0 of TX Control Register
(02h) to transmit the index II packet. The following
packets, named index I, II, I, II,…, use the same way
to be transmitted.
9.4 Packet Reception
The RX SRAM is a ring data structure. The start
address of RX SRAM is 0C00h after software or
hardware reset. Each packet has a 4-byte header
followed with the data of the reception packet which
CRC field is included. The format of the 4-byte header
is 01h, status, BYTE_COUNT low, and
BYTE_COUNT high. It is noted that the start address
of each packet is in the proper address boundary
which depends on the operation mode (the 8-bit, 16bit or 32-bit mode ).
Final31
Version: DM9000-DS-F02
June 26, 2002
Page 32
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
9.5 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
9.5.1 4B5B Encoder
The 4B5B encoder converts 4-bit (4B) nibble data
generated by the MAC Reconciliation Layer into a 5bit (5B) code group for transmission, see 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 the 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.
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 the repeated 5B sequences,
like the 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.
9.5.3 Parallel to Serial Converter
The Parallel to Serial Converter receives parallel 5B
scrambled data from the scrambler, and serializes it
(converts it from a parallel to a serial data stream).
The serialized data stream is then presented to the
NRZ to NRZI encoder block
9.5.4 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.
9.5.5 MLT-3 Converter
The MLT-3 conversion is accomplished by converting
the data stream output, from the NRZI encoder into
two binary data streams, with alternately phased logic
one event.
The DM9000 includes a Bypass 4B5B conversion
9.5.6 MLT-3 Driver
option within the 100Base-TX Transmitter for support
of applications like 100 Mbps repeaters which do not
require 4B5B conversion.
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
9.5.2 Scrambler
The scrambler is required to control the radiated
emissions (EMI) by spreading the transmit energy
across the frequency spectrum at the media
alternately drives either side of the transmit
transformer’s primary winding, resulting in a minimal
current MLT-3 signal. Refer to figure 4 for the block
diagram of the MLT-3 converter.
connector and on the twisted pair cable in 100BaseTX operation.
32Final
Version: DM9000-DS-F02
June 26, 2002
Page 33
9.5.7 4B5B Code Group
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
9.6 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
signal independent of the
9.6.3 MLT-3 to NRZI Decoder
The DM9000 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.
9.6.4 Clock Recovery Module
The Clock Recovery Module accepts NRZI data from
the MLT-3 to NRZI decoder. The Clock Recovery
Module locks onto the data stream and extracts the
125Mhz reference clock. The extracted and
synchronized clock and data are presented to the
NRZI to NRZ decoder.
cable length.
9.6.1 Signal Detect
The signal detect function meets the specifications
mandated by the ANSI XT12 TP-PMD 100Base-TX
standards for both voltage thresholds and timing
parameters.
9.6.2 Adaptive Equalization
When transmitting data over copper twisted pair cable
at high speed, 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-killed in a situation
that includes shorter, less attenuating cable lengths.
Conversely, the selection of short or intermediate
cable lengths requiring less compensation will cause
serious under-compensation for longer length cables.
Therefore, the compensation or equalization must be
adaptive to ensure proper conditioning of the received
9.6.5 NRZI to NRZ
The transmit data stream is required to be NRZI
encoded 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.
9.6.6 Serial to Parallel
The Serial to Parallel Converter receives a serial
data stream from the NRZI to NRZ converter. It
converts the data stream to parallel data to be
presented to the descrambler.
9.6.7 Descrambler
Because of the scrambling process requires to control
the radiated emissions of transmit data streams, the
receiver must descramble the receive data streams.
The descrambler receives scrambled parallel data
streams from the Serial to Parallel converter, and it
descrambles the data streams, and presents the data
streams to the Code Group alignment block.
34Final
Version: DM9000-DS-F02
June 26, 2002
Page 35
DM9000
ISA to Ethern et MAC c ontroll er with i ntegr ated 10/1 00 PHY
9.6.8 Code Group Alignment
The Code Group Alignment block receives un-aligned
5B data from the descrambler and converts it into 5B
code group data. Code Group Alignment occurs after
the J/K is detected, and subsequent data is aligned on
a fixed boundary.
9.6.9 4B5B Decoder
Collision detection is disabled in Full Duplex
operation.
9.9 Carrier Sense
Carrier Sense (CRS) is asserted in half-duplex
operation during transmission or reception of data.
During full-duplex mode, CRS is asserted only during
receive operations.
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 receive 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.
9.7 10Base-T Operation
The 10Base-T transceiver is IEEE 802.3u compliant.
When the DM9000 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 the
Manchester encoded. When receiving, the bit stream,
encoded by the Manchester, is decoded and
converted into nibble format to present to the MII
interface.
9.8 Collision Detection
For half-duplex operation, a collision is detected when
the transmit and receive channels are active
simultaneously. When a collision is detected, it will be
reported by the COL signal on the MII interface.
9.10 Auto-Negotiation
The objective of Auto-negotiation is to provide a
means to exchange information between 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 characteristics of the linked segment. The AutoNegotiation function provides a means for a device to
advertise supported modes of operation to a remote
link partner, acknowledge the receipt and
understanding of common modes of operation, and to
reject un-shared modes of operation. This allows
devices on both ends of a segment to establish a link
at the best common mode of operation. If more than
one common mode exists between the two devices, a
mechanism is provided to allow the devices to resolve
to a single mode of operation using a predetermined
priority resolution function.
Auto-negotiation also provides a parallel detection
function for devices that do not support the Autonegotiation feature. During Parallel detection there is
no exchange of information of configuration. Instead,
the receive signal is examined. If it is discovered that
the signal matches a technology, which the receiving
device supports, a connection will be automatically
established using that technology. This allows devices
not to support Auto-negotiation but support a common
mode of operation to establish a link.
Final35
Version: DM9000-DS-F01
April 12, 2002
Page 36
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
9.11 Power Reduced Mode
The Signal detect circuit is always turned to monitor whether
there is any signal on the media (cable disconnected). The
DM9000 automatically turns off the power and enters the
Power Reduced mode, whether its operation mode is Nway or force mode. When enters the Power Reduced
mode, the transmit circuit still sends out fast link pules with
minimum power consumption. If a valid signal is detected
from the media, which might be N-ways fast link pules,
10Base-T normal link pules, or 100Base-TX MLT3 signals,
the device will wake up and resume a normal
operation mode.
That can be writing Zero to Reg.16.4 of MII register to
disable Power Reduced mode.
9.11.1 Power Down Mode
The Reg.0.11 of MII register can be set high to enter the
Power Down mode, which disables all transmit, receive
functions and MII interface functions, except the MDC/MDIO
management interface.
9.11.2 Reduced Transmit Power Mode
The additional Transmit power reduction can be
gained by designing with 1.25:1 turns ration magnetic
on its TX side and using a 8.5KΩ resistor on BGRES
and AGND pins, and the TXO+/TXO- pulled high
resistors should be changed from 50 Ω to 78 Ω.
This configuration could be reduced about 20%
transmit power.
36Final
Version: DM9000-DS-F02
June 26, 2002
Page 37
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
100BASE-TX---100mA3.3V
10BASE-T TX---85mA3.3V
10BASE-T idle---44mA3.3V
Auto-negotiation---60mA3.3V
Power Reduced Mode(without cable)---20mA3.3V
Power Down Mode---10mA3.3V
°C
°C
°C
Air Flow = 0m/min
EIAJ-4701
J-STD-020A
Comments
Stresses above, which are listed under “Absolute
Maximum Ratings”, may cause permanent damage to
the device. These are stress ratings only. Functional
operation of this device at these or any other
conditions above, which indicated in the operational
sections of this specification, is not implied. Exposure
to absolute maximum rating conditions for extended
periods may affect the reliability of the device.
Final37
Version: DM9000-DS-F02
June 26, 2002
Page 38
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
T1System address valid to IOR valid5ns
T2IOR width22ns
T3SD Setup time10ns
T4IOR invalid to SD invalid4ns
T5IOR invalid to system address invalid5ns
T6
IOR invalid to next IOR valid (access DM9000)
80ns
T7System address valid to IO16,IO32 valid5ns
T8System address invalid to IO16, IO32 invalid5ns
Final39
Version: DM9000-DS-F02
June 26, 2002
Page 40
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
Note:
:
::
1. The IO16 is valid when the SD bus width is 16-bit or
32-bit, and the system address is data port (i.e.
CMD is high) and the value of address port is
memory data register index.(ex. F0H, F2H, F6H or
F8H)
10.4.4 Processor Register Write Timing
2. The IO32 is valid when the SD bus width is 32-bit,
the system address is data port (i.e. CMD is high)
and the value of address port is memory data
register index(ex. F0H, F2H, F6H or F8H)
←→
←
T6
T5
→
T4
AEN,SA
IOW
,CMD
→
T1
←
←
T2
←
∫∫
→
→
SD
IO16,IO32
←
→→←
SymbolParameterMin.Typ.Max.Unit
T1System Address Valid to IOW Valid5ns
T2IOW Width22ns
T3SD Setup Time22ns
T4SD Hold Time5ns
T5IOW Invalid to System Address Invalid5ns
T6
T7System Address Valid to IO16, IO32 Valid5ns
T8System Address Invalid to IO16, IO32 Invalid5ns
IOW Invalid to Next IOW validaccess DM9000)
T7
T3
→
Note1.2
T8
←
84ns
Note:
:
::
1. The IO16 is valid when the SD bus width is 16-bit or
32-bit and system address is data port (i.e. CMD is
high) and the value of address port is memory data
register index (ex. F0H, F2H, F6H or F8H)
40Final
2. The IO32 is valid when the SD bus width is 32-bit
and system address is data port (i.e. CMD is high)
and the value of address port is memory data
register index (ex. F0H, F2H, F6H or F8H)
Version: DM9000-DS-F02
June 26, 2002
Page 41
DM9000
10.4.5 External MII Interface Transmit Timing
TXCK
TXEN
T1
←
→
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
T2
∫
←
∫
∫∫
→
TXD[3:0]
SymbolParameterMin.Typ.Max.Unit
T1
T2
10.4.6 External MII Interface Receive Timing
TXEN,TXD[3:0] Setup Time
TXEN,TXD[3:0] Hold Time
∫∫
32ns
8ns
RXCK
∫∫
RXER,RXDV
T1
T2
←←→→
RXD[3:0]
SymbolParameterMin.Typ.Max. Unit
T1
T2
Final41
Version: DM9000-DS-F02
June 26, 2002
RXER, RXDV,RXD[3:0] Setup Time
RXER, RXDV,RXD[3:0] Hold Time
∫∫
5ns
5ns
Page 42
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
10.4.7 MII Management Interface Timing
T1
←
→
MDC
MDIO (drive by DM9601)
→
T2
→
←
←
T3
MDIO (drive by externcl MII)
→
T4
SymbolParameterMin.Typ.Max.Unit
T1MDC Frequency2Mhz
T2MDIO by DM9000 Setup Time187ns
T3MDIO by DM9000 Hold Time313ns
T4MDIO by External MII Setup Time40ns
T5MDIO by External MII Hold Time40ns
→
←
←
T5
10.4.8 EEPROM Interface Timing
→
←
T2
EESS
EECK
EEDO
→
T4
←
→
T1
∫∫
T5
←→
→
T6
←
←
EEDI
T7
→
SymbolParameterMin.Typ.Max.Unit
T1EECK Frequency0.375Mhz
T2EECS Setup Time500ns
T3EECS Hold Time2166ns
T4EEDO Setup Time480ns
T5EEDO Hold Time2200ns
T6EEDI Setup Time80ns
T7EEDI Hold Time80ns
←
42Final
Version: DM9000-DS-F02
June 26, 2002
Page 43
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
Final43
Version: DM9000-DS-F02
June 26, 2002
Page 44
DM9000
11. Application Not es
11.1 Network Interface Signal Routing
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
Place the transformer as close as possible to the RJ-45
connector. Place all the 50 Ω resistors as close as
possible to the DM9000 RXI± and TXO± pins. Traces
routed from RXI± and TXO± to the transformer should run
in close pairs directly to the transformer. The designer
should be careful not to cross the transmit and receive pairs.
As always, vias should be avoided as much as possible.
The network interface should be void of any signals other
than the TXO± and RXI± pairs between the RJ-45 to the
transformer and the transformer to the DM9000.. There
should be no power or ground planes in the area under the
11.2 10Base-T/100Base-TX Application
RXI+
RXI-
DM9000
TX0+
TX0-
29
30
50Ω
1%
33
34
50
Ω
1%
50
Ω
1%
3.3V AVDD
50Ω
1%
AGND
0.1µF
AGND
0.1µF
0.1µF
3.3V AVCC
AGND
network side of the transformer to include the area under the
RJ-45 connector. (Refer to Figure 4 and 5) Keep chassis
ground away from all active signals. The RJ-45 connector
and any unused pins should be tied to chassis ground
through a resistor divider network and a 2KV bypass
capacitor.
The Band Gap resistor should be placed as physically close
as pins 25 and 26 as possible (refer to Figure 1 and 2).
The designer should not run any high-speed signal near the
Band Gap resistor placement.
Transformer
1:1
1:1
RJ45
3
6
1
4
5
2
7
8
BGRES
BGGND
0.1µF
26
25
AGND
AGND
6.8KΩ, 1%
75Ω
1%
75
1%
Ω
75
1%
Ω
Chasis GND
0.1µF/2KV
1%
75
Ω
Figure 11-1
44Final
Version: DM9000-DS-F02
June 26, 2002
Page 45
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
Davicom Semiconductor recommends placing all the
decoupling capacitors for all power supply pins as close as
possible to the power pads of the DM9000 (The best placed
distance is < 3mm from pin). The recommended
5
DM9000
decoupling capacitor is 0.1μF or 0.01μF, as required by
the design layout.
90
73
72
20
55
36
352827
Figure 11-3
46Final
Version: DM9000-DS-F02
June 26, 2002
Page 47
11.5 Ground Plane Lay out
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
Davicom Semiconductor recommends a single ground
plane approach to minimize EMI. Ground plane partitioning
can cause increased EMI emissions that could make the
network interface card not comply with specific FCC
regulations (part 15). Figure 4 shows a recommended
ground layout scheme.
Figure 11-4
Final47
Version: DM9000-DS-F02
June 26, 2002
Page 48
DM9000
11.6 Power Plane Partitionin g
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
The power planes should be approximately illustrated in
Figure 5. The ferrite bead used should perform an
impedance at least 75Ω at 100MHz. A suitable bead is
the Panasonic surface mound bead, part number
EXCCL4532U or equivalent. A 10μF electrolytic bypass
capacitors should be connected between VDD and Ground
at the device side of each of the ferrite bead.
Figure 11-5
48Final
Version: DM9000-DS-F02
June 26, 2002
Page 49
DM9000
11.7 Magnetics Selection Guide
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
Refer to Table 2 for transformer requirements.
Transformers, meeting these requirements, are
available from a variety of magnetic manufacturers.
Designers should test and qualify all magnetics before
A crystal can be used to generate the 25MHz
reference clock instead of a oscillator. The crystal
must be a fundamental type, and series-resonant.
using them in an application. The transformers listed
in Table 2 are electrical equivalents, but may not be
pin-to-pin equivalents.
Connects to X1_25M and X2_25M, and shunts each
crystal lead to ground with a 22pf capacitor (see figure
6).
X2_25M
2122
Y1 25M
22pf
AGNDAGND
X1_25M
C19
22pf
Figure 11-6
Crystal Circuit Diagram
Final49
Version: DM9000-DS-F02
June 26, 2002
Page 50
DM9000
11.9 Application of reverse MII
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
RXCLK
TXCLK
RXD0
RXD1
RXD2
RXD3
TXD0
TXD1
DM9000
TXD2
TXD3
RXDV
TXEN
CRS
COL
RXER
MDC
MDIO
Reverse MII
Link Full Mode (Reverse MII
TXCLK
RXCLK
TXD0
TXD1
TXD2
TXD3
RXD0
RXD1
SWITCH
RXD2
RXD3
TXEN
RXDV
CRS
COL
RXER
TXER
MDC
MDIO
HUB
Normal MII
Normal MII)
Figure 11-7
Note: When operating DM9000 at Reverse MII mode, pin 87 is pulled high . At this application, the txclk , col and crs
pins will be changed from input to output.
50Final
Version: DM9000-DS-F02
June 26, 2002
Page 51
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
4BKPM0,RWBack pressure mode. This mode is for half duplex mode only. Generate a jam
pattern when a packet’s DA match and RX SRAM over BPHW
3BKPA0,RW
After Modification
4BKPA0,RW
3BKPM0,RWBack pressure mode. This mode is for half duplex mode only. Generate a jam
Before Modification
16,17,18,19TEST1~TEST4IOperation Mode
Back pressure mode. This mode is for half duplex mode only. Generate a jam
pattern when any packet coming and RX SRAM over BPHW
Table A-1-A
Back pressure mode. This mode is for half duplex mode only. Generate a jam
pattern when any packet coming and RX SRAM over BPHW
pattern when a packet’s DA match and RX SRAM over BPHW
Table A-1-B
Test1,2,3,4=(1,1,0,0) : the processor interface is ISA compatible
Test1,2,3,4=(1,1,0,1) : the processor interface is for general processor
Table A-2-A
After Modification
16,17,18,19TEST1~TEST4IOperation Mode
Test1,2,3,4=(1,1,0,0) in normal application
Table A-2-B
Before Modification
BitNameDefaultDescription
2:1LBK00,RWLoopback mode
Bit 2 1
0 0 normal
0 1 MAC internal loopback
1 0 internal PHY digital loopback
1 1 internal PHY analog loopback
Table A-3-A
52Final
Version: DM9000-DS-F02
June 26, 2002
Page 53
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
After Modification
BitNameDefaultDescription
2:1LBK00,RWLoopback mode
Bit 2 1
0 0 normal
0 1 MAC internal loopback
1 0 internal PHY 100M mode digital loopback
1 1 (Reserved)
Table A-3-B
Before Modification
SymbolParameterMin.Typ.Max.Unit
T3SD Setup time5ns
T6
After Modification
SymbolParameterMin.Typ.Max.Unit
T3SD Setup time22ns
T6
IOW invalid to next IOW (access DM9000)
TableA-4-A
IOW invalid to next IOW (access DM9000)
Table A-4-B
80ns
84ns
Final53
Version: DM9000-DS-F02
June 26, 2002
Page 54
DM9000
ISA to Ethern et MAC C ontroll er with In tegrat ed 10/10 0 PHY
14. Order Information
Part NumberPin CountPackage
DM9000E100LQFP
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, and the
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 freedom of the
described chip(s) from patent infringement.
FURTHER, DAVICOM MAKES NO WARRANTY OF
MERCHANTABILITY OR FITNESS FOR ANY
PURPOSE. DAVICOM reserves the right to halt
production or alter the specifications and prices at any
time without notice. Accordingly, the reader is
cautioned to verify that the data sheets and other
information in this publication are current before
placing orders. Products described herein are
intended for use in normal commercial applications.
Applications involving unusual environmental or
reliability requirements, e.g. military equipment or
medical life support equipment, are specifically not
recommended without additional processing by
DAVICOM for such applications. Please note that
application circuits illustrated in this document are for
reference purposes only.
DAVICOM‘s terms and conditions printed on the order
acknowledgment govern all sales by DAVICOM.
DAVICOM will not be bound by any terms inconsistent
with these unless DAVICOM agrees otherwise in
writing. Acceptance of the buyer’s orders shall be
based on these terms.
Company Overview
DAVICOM Semiconductor Inc. develops and
manufactures integrated circuits for integration into
data communication products. Our mission is to
design and produce IC products that are the industry’s
best value for Data, Audio, Video, and
Internet/Intranet applications. To achieve this goal, we
have built an organization that is able to develop
chipsets in response to the evolving technology
requirements of our customers while still delivering
products that meet their cost requirements.
Products
We offer only products that satisfy high
performance requirements and which are
compatible with major hardware and software
standards. Our currently available and soon to
be released products are based on our proprietary
designs and deliver high quality, high
performance chipsets that comply with modem
communication standards and Ethernet
networking standards.
Contact Windows
For additional information about DAVICOM products, contact the sales department at:
Headquarters
Hsin-chu Office:
3F, No. 7-2, Industry E. Rd., IX,
Science-based Park,
Hsin-chu City, Taiwan, R.O.C.
TEL: 886-3-5798797
FAX: 886-3-5798858
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/or function.
54Final
Sales & Marketing Office:
2F, No. 5, Industry E. Rd., IX,
Hsin-chu City, Taiwan, R.O.C.
TEL: 886-3-5798797
FAX: 886-3-5646929
Email: sales@davicom.com.tw
Web site: http://www.davicom.com.tw
Version: DM9000-DS-F02
June 26, 2002
Page 55
This datasheet has been downloaded from:
www.DatasheetCatalog.com
Datasheets for electronic components.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.