DAVICOM DM9000B

DM9000B
Ethernet Controller with General Processor Interface
DAVICOM Semiconductor, Inc.
DM9000B
Ethernet Controller
With General Processor Interface
DATA SHEET
Final
Version: DM9000B-DS-F03
March 5, 2012
Final
Version: DM9000B-13-DS-F03
March 5, 2012
1
DM9000B
Ethernet Controller with General Processor Interface
Content
1. General Description........................................................................................................... 6
2. Block Diagram.................................................................................................................... 6
3. Features.............................................................................................................................. 7
4. Pin Configuration............................................................................................................... 8
4.1 (16-bit mode) ................................................................................................................................................. 8
4.2 (8-bit mode) ................................................................................................................................................... 9
5. Pin Description ................................................................................................................ 10
5.1 Processor Interface ..................................................................................................................................... 10
5.1.1 8-bit mode pins......................................................................................................................................... 10
5.2 EEPROM Interface...................................................................................................................................... 11
5.3 Clock Interface ............................................................................................................................................ 11
5.4 LED Interface .............................................................................................................................................. 11
5.5 10/100 PHY/Fiber........................................................................................................................................ 11
5.6 Miscellaneous.............................................................................................................................................. 12
5.7 Power Pins .................................................................................................................................................. 12
5.8 strap pins table ............................................................................................................................................ 12
6. Vendor Control and Status Register Set........................................................................ 13
6.1 Network Control Register (00H) .................................................................................................................. 14
6.2 Network Status Register (01H).................................................................................................................... 16
6.3 TX Control Register (02H)........................................................................................................................... 16
6.4 TX Status Register I ( 03H ) for packet index I............................................................................................ 17
6.5 TX Status Register II ( 04H ) for packet index I I......................................................................................... 17
6.6 RX Control Register ( 05H ) ........................................................................................................................ 18
6.7 RX Status Register ( 06H ).......................................................................................................................... 18
6.8 Receive Overflow Counter Register ( 07H )................................................................................................ 19
6.9 Back Pressure Threshold Register (08H) ................................................................................................... 19
6.10 Flow Control Threshold Register ( 09H ) .................................................................................................. 20
6.11 RX/TX Flow Control Register ( 0AH )........................................................................................................ 21
6.12 EEPROM & PHY Control Register ( 0BH ) ............................................................................................... 21
6.13 EEPROM & PHY Address Register ( 0CH ).............................................................................................. 22
6.14 EEPROM & PHY Data Register (EE_PHY_L:0DH
Final
Version: DM9000B-13-DS-F03
March 5, 2012
EE_PHY_H:0EH) ................................................. 22
2
DM9000B
Ethernet Controller with General Processor Interface
6.15 Wake Up Control Register ( 0FH ) (in 8-bit mode).................................................................................... 22
6.16 Physical Address Register ( 10H~15H ) ................................................................................................... 22
6.17 Multicast Address Register ( 16H~1DH ) .................................................................................................. 23
6.18 General purpose control Register ( 1EH ) ( For 8 Bit mode only, for 16 bit mode, see reg . 34H)...... 23
6.19 General purpose Register ( 1FH ) ( For 8 Bit mode only, for 16 bit mode, see reg . 34H) ....................... 24
6.20 TX SRAM Read Pointer Address Register (22H~23H)............................................................................. 24
6.21 RX SRAM Write Pointer Address Register (24H~25H)............................................................................. 24
6.22 Vendor ID Register (28H~29H) ................................................................................................................. 24
6.23 Product ID Register (2AH~2BH) ............................................................................................................... 24
6.24 Chip Revision Register (2CH) ................................................................................................................... 24
6.25 Transmit Control Register 2 ( 2DH ).......................................................................................................... 24
6.26 Operation Test Control Register ( 2EH ) ................................................................................................... 25
6.27 Special Mode Control Register ( 2FH ) ..................................................................................................... 25
6.28 Early Transmit Control/Status Register ( 30H ) ......................................................................................... 27
6.29 Check Sum Control Register ( 31H ) ........................................................................................................ 27
6.30 Receive Check Sum Status Register ( 32H ) ............................................................................................ 27
6.31 MII PHY Address Register ( 33H ) ............................................................................................................ 29
6.32 LED Pin Control Register ( 34H ) .............................................................................................................. 29
6.33 Processor Bus Control Register ( 38H ).................................................................................................... 29
6.34 INT Pin Control Register ( 39H ) ............................................................................................................... 30
6.35 System Clock Turn ON Control Register ( 50H ) ...................................................................................... 30
6.36 Resume System Clock Control Register ( 51H )....................................................................................... 30
6.37 Memory Data Pre-Fetch Read Command without Address Increment Register (F0H) ............................ 30
6.38 Memory Data Read Command without Address Increment Register (F1H)............................................. 30
6.39 Memory Data Read Command with Address Increment Register (F2H).................................................. 30
6.40 Memory Data Read address Register (F4H~F5H) ................................................................................... 30
6.41 Memory Data Write Command without Address Increment Register (F6H) ............................................. 30
6.42 Memory data write command with address increment Register (F8H)..................................................... 31
6.43 Memory data write address Register (FAH~FBH)..................................................................................... 31
6.44 TX Packet Length Register (FCH~FDH)................................................................................................... 31
6.45 Interrupt Status Register (FEH)................................................................................................................. 31
6.46 Interrupt Mask Register (FFH) .................................................................................................................. 31
7. EEPROM Format .............................................................................................................. 33
8. PHY Register Description ............................................................................................... 34
Final
Version: DM9000B-13-DS-F03
March 5, 2012
3
DM9000B
Ethernet Controller with General Processor Interface
8.1 Basic Mode Control Register (BMCR) - 00 ................................................................................................. 35
8.2 Basic Mode Status Register (BMSR) - 01................................................................................................... 36
8.3 PHY ID Identifier Register #1 (PHYID1) - 02 .............................................................................................. 37
8.4 PHY ID Identifier Register #2 (PHYID2) - 03 .............................................................................................. 37
8.5 Auto-negotiation Advertisement Register (ANAR) - 04 ............................................................................... 38
8.6 Auto-negotiation Link Partner Ability Register (ANLPAR) – 05 ................................................................... 39
8.7 Auto-negotiation Expansion Register (ANER)- 06 ...................................................................................... 39
8.8 DAVICOM Specified Configuration Register (DSCR) - 16.......................................................................... 40
8.9 DAVICOM Specified Configuration and Status Register (DSCSR) - 17 ..................................................... 40
8.10 10BASE-T Configuration/Status (10BTCSR) - 18..................................................................................... 42
8.11 Power down Control Register (PWDOR) - 19 ........................................................................................... 43
8.12 (Specified config) Register – 20 ................................................................................................................ 43
9. Functional Description .................................................................................................... 45
9.1 Host Interface .............................................................................................................................................. 45
9.2 Direct Memory Access Control.................................................................................................................... 45
9.3 Packet Transmission ................................................................................................................................... 45
9.4 Packet Reception ........................................................................................................................................ 45
9.5 100Base-TX Operation ............................................................................................................................... 46
9.5.1 4B5B Encoder...................................................................................................................................... 46
9.5.2 Scrambler............................................................................................................................................. 46
9.5.3 Parallel to Serial Converter.................................................................................................................. 46
9.5.4 NRZ to NRZI Encoder.......................................................................................................................... 46
9.5.5 MLT-3 Converter .................................................................................................................................. 46
9.5.6 MLT-3 Driver ........................................................................................................................................ 46
9.5.7 4B5B Code Group ............................................................................................................................... 47
9.6 100Base-TX Receiver ................................................................................................................................. 48
9.6.1 Signal Detect........................................................................................................................................ 48
9.6.2 Adaptive Equalization .......................................................................................................................... 48
9.6.3 MLT-3 to NRZI Decoder ....................................................................................................................... 48
9.6.4 Clock Recovery Module....................................................................................................................... 48
9.6.5 NRZI to NRZ ........................................................................................................................................ 48
9.6.6 Serial to Parallel................................................................................................................................... 48
9.6.7 Descrambler......................................................................................................................................... 48
9.6.8 Code Group Alignment ........................................................................................................................ 49
9.6.9 4B5B Decoder...................................................................................................................................... 49
9.7 10Base-T Operation .................................................................................................................................... 49
9.8 Collision Detection ...................................................................................................................................... 49
9.9 Carrier Sense .............................................................................................................................................. 49
9.10 Auto-Negotiation........................................................................................................................................ 49
9.11 Power Reduced Mode............................................................................................................................... 50
Final
Version: DM9000B-13-DS-F03
March 5, 2012
4
DM9000B
Ethernet Controller with General Processor Interface
9.11.1 Power down Mode ............................................................................................................................. 50
9.11.2 Reduced Transmit Power Mode......................................................................................................... 50
10. DC and AC Electrical Characteristics .......................................................................... 51
10.1 Absolute Maximum Ratings ( 25°C ) ......................................................................................................... 51
10.1.1 Operating Conditions ......................................................................................................................... 51
10.2 DC Electrical Characteristics (VDD = 3.3V).............................................................................................. 51
10.3 AC Electrical Characteristics & Timing Waveforms .................................................................................. 52
10.3.1 TP Interface ....................................................................................................................................... 52
10.3.2 Oscillator/Crystal Timing .................................................................................................................... 52
10.3.3 Power On Reset Timing..................................................................................................................... 52
10.3.4 Processor I/O Read Timing................................................................................................................ 53
10.3.5 Processor I/O Write Timing................................................................................................................ 54
10.3.6 EEPROM Interface Timing................................................................................................................. 55
11. Application Notes........................................................................................................... 56
11.1 Network Interface Signal Routing.............................................................................................................. 56
11.2 10Base-T/100Base-TX Auto MDIX Application ......................................................................................... 56
11.3 10Base-T/100Base-TX ( Non Auto MDIX Transformer Application ) ........................................................ 57
11.4 Power Decoupling Capacitors ................................................................................................................... 58
11.5 Ground Plane Layout ................................................................................................................................ 59
11.6 Power Plane Partitioning ........................................................................................................................... 60
11.7 Magnetic Selection Guide ......................................................................................................................... 61
11.8 Crystal Selection Guide ............................................................................................................................. 61
12. Package Information ..................................................................................................... 62
13. Ordering Information..................................................................................................... 63
Final
Version: DM9000B-13-DS-F03
March 5, 2012
5
DM9000B
Ethernet Controller with General Processor Interface
1. General Description
The DM9000B is a fully integrated and cost-effective
low pin count single chip Fast Ethernet controller with
a general processor interface, a 10/100M PHY and 4K
Dword SRAM. It is designed with low power and high
performance process interface that support 3.3V with
5V IO tolerance.
processors. The PHY of the DM9000B can interface to the
UTP3, 4, 5 in 10Base-T and UTP5 in 100Base-TX with
HP Auto-MDIX. It is fully compliant with the IEEE 802.3u
Spec. Its auto-negotiation function will automatically
configure the DM9000B to take the maximum advantage of
its abilities. The DM9000B also supports IEEE 802.3x fullduplex flow control.
The DM9000B supports 8-bit and 16-bit data
interfaces to internal memory accesses for various
2. Block Diagram
EEPROM
Interface
LED
MAC
PHYceiver
TX Machine
100 Base-TX
PCS
MII
TX+/AUTO-MDIX
10 Base-T
Tx/Rx
Control
&Status
Registers
Memory
Management
RX Machine
Processor
Interface
100 Base-TX
transceiver
RX+/Internal
SRAM
Autonegotiation
Final
Version: DM9000B-13-DS-F03
March 5, 2012
MII Management
Control
& MII Register
6
DM9000B
Ethernet Controller with General Processor Interface
3. Features
■
Supports processor interface: byte/word of I/O
■
command to internal memory data operation
■
Integrated 10/100M transceiver With HP
Supports IP/TCP/UDP checksum generation and
checking
■
Auto-MDIX
Supports automatically load vendor ID and
product ID from EEPROM
■
Supports back pressure mode for half-duplex
■
Optional EEPROM configuration
■
IEEE802.3x flow control for full-duplex mode
■
Very low power consumption mode:
■
Supports wakeup frame, link status change and
– Power reduced mode (cable detection)
magic packet events for remote wake up
– Power down mode
■
Support 100M Fiber interface.
– Selectable TX drivers for 1:1 or 1.25:1
■
Integrated 16K Byte SRAM
transformers for additional power reduction.
■
Build in 3.3V to 1.8V regulator
■
Compatible with 3.3V and 5.0V tolerant I/O
■
Supports early Transmit
■
DSP architecture PHY Transceiver.
■
48-pin LQFP, 0.18 um process
Final
Version: DM9000B-13-DS-F03
March 5, 2012
7
DM9000B
Ethernet Controller with General Processor Interface
4. Pin Configuration
SD9
SD10
SD11
SD12
SD13
29
28
27
26
25
CMD
32
SD8
GND
33
VDD
INT
34
30
IOR#
35
31
IOW#
36
4.1 (16-bit mode)
CS#
37
24
SD14
LED2
38
23
VDD
LED1
39
22
SD15
PWRST#
40
21
EECS
TEST
41
VDD
42
X2
43
X1
44
GND
SD
20
EECK
19
EEDIO
18
SD0
17
SD1
45
16
SD2
46
15
GND
RXGND
47
14
SD3
BGGND
48
13
SD4
Final
Version: DM9000B-13-DS-F03
March 5, 2012
12
SD6
SD5
TXVDD18
11
9
10
8
TX-
SD7
7
6
5
TXGND
TX+
4
3
RX+
RX-
2
RXVDD18
RXGND
1
BGRES
DM9000B
(16-bit mode)
8
DM9000B
Ethernet Controller with General Processor Interface
GP2
GP3
GP4
GP5
GP6
29
28
27
26
25
CMD
32
GP1
GND
33
VDD
INT
34
30
IOR#
35
31
IOW#
36
4.2 (8-bit mode)
CS#
37
24
LED2
38
23
VDD
LED1
39
22
WAKE
PWRST#
40
21
EECS
TEST
41
20
EECK
VDD
42
19
EEDIO
X2
43
18
SD0
X1
44
17
SD1
GND
45
16
SD2
SD
46
15
GND
RXGND
47
14
SD3
BGGND
48
13
SD4
Final
Version: DM9000B-13-DS-F03
March 5, 2012
12
SD6
SD5
11
10
9
SD7
8
TX-
TXVDD18
7
6
TXGND
TX+
5
RX+
4
3
RX-
2
RXGND
1
BGRES
RXVDD18
DM9000B
(8-bit mode)
LED3
9
DM9000B
Ethernet Controller with General Processor Interface
5. Pin Description
I = Input
O = Output
# = asserted low
5.1 Processor Interface
Pin No.
Pin Name
35
IOR#
36
IOW#
37
CS#
32
CMD
34
INT
18,17,16,
14,13,12,
11,10
SD0~7
31,29,28,
27,26,25,
24,22
SD8~15
5.1.1 8-bit mode pins
Pin No.
Pin Name
22
WAKE
24
LED3
25,26,27
GP6~4
Final
Version: DM9000B-13-DS-F03
March 5, 2012
I/O = Input/Output
O/D = Open Drain
P = Power
PD = internal pull-low about 60K
Type
Description
Processor Read Command
This pin is low active at default, its polarity can be modified by EEPROM
setting. See the EEPROM content description for detail
Processor Write Command
I,PD This pin is low active at default, its polarity can be modified by EEPROM
setting. See the EEPROM content description for detail
Chip Select
A default low active signal used to select the DM9000B. Its polarity can be
I,PD
modified by EEPROM setting. See the EEPROM content description for
detail.
Command Type
I,PD When high, the access of this command cycle is DATA port
When low, the access of this command cycle is INDEX port
Interrupt Request
This pin is high active at default, its polarity can be modified by EEPROM
O,PD
setting or by strap pin EECK. See the EEPROM content description for
detail
Processor Data Bus bit 0~7
I/O,PD
I,PD
Processor Data Bus bit 8~15
In 16-bit mode, these pins act as the processor data bus bit 8~15;
I/O,PD
When EECS pin is pulled high , they have other definitions. See 8-bit
mode pin description for details.
Type
Description
O,PD Issue a wake up signal when wake up event happens
Full-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
O,PD 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
Note: LED mode is defined in EEPROM setting.
General Purpose output pins:
These pins are output only for general purpose that is configured by
register 1Fh.
O,PD
GP6 pin also act as trap pin for the INT output type.
When GP6 is pulled high, the INT is Open-Drain output type;
Otherwise it is force output type.
10
DM9000B
Ethernet Controller with General Processor Interface
28,29,31
GP3,GP2,GP1
5.2 EEPROM Interface
Pin No.
Pin Name
19
EEDIO
20
EECK
21
EECS
5.3 Clock Interface
Pin No.
Pin Name
I/O
General I/O Ports
Registers GPCR and GPR can program these pins
These pins are input ports at default.
Type
Description
I/O,PD IO Data to EEPROM
Clock to EEPROM
This pin is also used as the strap pin of the polarity of the INT pin
O,PD
When this pin is pulled high, the INT pin is low active; otherwise the INT
pin is high active
Chip Select to EEPROM
This pin is also used as a strap pin to define the internal memory data bus
O,PD
width. When it is pulled high, the memory access bus is 8-bit; Otherwise it
is 16-bit.
Type
Description
43
X2
O
Crystal 25MHz Out
44
X1
I
Crystal 25MHz In
5.4 LED Interface
Pin No.
Pin Name
Type
39
LED1
I/O
38
LED2
I/O
5.5 10/100 PHY/Fiber
Pin No.
Pin Name
Description
Speed 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.
Link / Active 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
This pin also acts as WAKE defined in EEPROM setting in 16-bit mode.
The LED2 (Link/ACT) function is disabled while the Pin38 supports WOL
function.
Type
Description
Fiber-optic Signal Detect
PECL signal, which indicates whether or not the fiber-optic receive pair is
receiving valid levels
Band gap Ground
46
SD
I
48
BGGND
P
1
BGRES
I/O
2
RXVDD18
P
1.8V power output for TP RX
9
TXVDD18
P
1.8V power output for TP TX
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Band gap Pin
11
DM9000B
Ethernet Controller with General Processor Interface
3,4
RX+,RX-
I/O
5,47
RXGND
P
TP RX
These two pins are the receive input in MDI mode or the transmit output
in MDIX mode.
RX Ground
6
TXGND
P
TX Ground
7,8
TX+,TX-
I/O
5.6 Miscellaneous
Pin No.
Pin Name
Type
41
TEST
I
40
PWRST#
I
5.7 Power Pins
Pin No.
Pin Name
TP TX
These two pins are the transmit output in MDI mode or the receive input
in MDIX mode.
Description
Operation Mode
Force to ground in normal application
Power on Reset
Active low signal to initiate the DM9000B
The DM9000B is ready after 5us when this pin deasserted
Type
23,30,42
VDD
P
15,33,45
GND
P
Description
Digital VDD
3.3V power input
Digital GND
5.8 strap pins table
1: pull-high 1K~10K, 0: floating (default)
Pin No.
Pin Name
Description
20
21
EECK
EECS
22
WAKE
25
GP6
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Polarity of INT
1: INT pin low active;
0: INT pin high active
DATA Bus Width
1: 8-bit
0: 16-bit
Polarity of CS# in 8-bit mode
1: CS# pin active high
0: CS# pin active low
INT output type in 8-bit mode
1: Open-Drain
0: force mode
12
DM9000B
Ethernet Controller with General Processor Interface
6. Vendor Control and Status Register Set
The DM9000B implements several control and status
registers, which can be accessed by the host. These CSRs
Register
NCR
NSR
TCR
TSR I
TSR II
RCR
RSR
ROCR
BPTR
FCTR
FCR
EPCR
EPAR
EPDRL
EPDRH
WCR
PAR
MAR
GPCR
GPR
TRPAL
TRPAH
RWPAL
RWPAH
VID
PID
CHIPR
TCR2
OCR
SMCR
ETXCSR
TCSCR
RCSCSR
MPAR
LEDCR
BUSCR
INTCR
SCCR
are byte aligned. All CSRs are set to their default values by
hardware or software reset unless they are specified
Description
Offset
Network Control Register
Network Status Register
TX Control Register
TX Status Register I
TX Status Register II
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 (in 8-bit mode)
Physical Address Register
00H
01H
02H
03H
04H
05H
06H
07H
08H
09H
0AH
0BH
0CH
0DH
0EH
0FH
10H-15H
Multicast Address Register
General Purpose Control Register (in 8-bit mode)
General Purpose Register
TX SRAM Read Pointer Address Low Byte
TX SRAM Read Pointer Address High Byte
RX SRAM Write Pointer Address Low Byte
RX SRAM Write Pointer Address High Byte
Vendor ID
Product ID
CHIP Revision
TX Control Register 2
Operation Control Register
Special Mode Control Register
Early Transmit Control/Status Register
Transmit Check Sum Control Register
Receive Check Sum Control Status Register
MII PHY Address Register
LED Pin Control Register
Processor Bus Control Register
INT Pin Control Register
System Clock Turn ON Control Register
16H-1DH
1EH
1FH
22H
23H
24H
25H
28H-29H
2AH-2BH
2CH
2DH
2EH
2FH
30H
31H
32H
33H
34H
38H
39H
50H
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Default value
after reset
00H
00H
00H
00H
00H
00H
00H
00H
37H
38H
00H
00H
40H
XXH
XXH
00H
Determined by
EEPROM
XXH
01H
XXH
00H
00H
00H
0CH
0A46H
9000H
1AH
00H
00H
00H
00H
00H
00H
00H
00H
01H
00H
00H
13
DM9000B
Ethernet Controller with General Processor Interface
RSCCR
MRCMDX
MRCMDX1
MRCMD
MRRL
MRRH
MWCMDX
MWCMD
MWRL
MWRH
TXPLL
TXPLH
ISR
IMR
Resume System Clock Control Register
Memory Data Pre-Fetch Read Command Without Address
Increment Register
Memory Data Read Command With Address Increment
Register
Memory Data Read Command With Address Increment
Register
Memory Data Read_ address Register Low Byte
Memory Data Read_ address Register High Byte
Memory Data Write Command Without Address Increment
Register
Memory Data Write Command With Address Increment
Register
Memory Data Write_ address Register Low Byte
Memory Data Write _ address Register High Byte
TX Packet Length Low Byte Register
TX Packet Length High Byte Register
Interrupt Status Register
Interrupt Mask Register
51H
F0H
XXH
XXH
F1H
XXH
F2H
XXH
F4H
F5H
F6H
00H
00H
XXH
F8H
XXH
FAH
FBH
FCH
FDH
FEH
FFH
00H
00H
XXH
XXH
00H
00H
Key to Default
T = default value from strap pin
In the register description that follows, the default column
<Access Type>:
takes the form:
RO = Read only
<Reset Value>, <Access Type>
RW = Read/Write
Where:
R/C = Read and Clear
<Reset Value>:
RW/C1=Read/Write and Cleared by write 1
1
Bit set to logic one
WO = Write only
0
Bit set to logic zero
X
No default value
Reserved bits are shaded and should be written with 0.
P = power on reset default value
Reserved bits are undefined on read access.
S = software reset default value
E = default value from EEPROM
*If Register 1FH bit 0 is updated from ‘1’ to ‘0’, the all Registers can not be accessed within 1ms.
6.1 Network Control Register (00H)
Bit
Name
Default
Description
7
RESERVED
P0,RW
Reserved
When set, it enables the wakeup function. Clearing this bit will also clears all
wakeup event status
WAKEEN
6
P0,RW
This bit will not be affected after a software reset
0: Enable
1: Disable
5
RESERVED
0,RO
Reserved
1: Force Collision Mode, used for testing
4
FCOL
PS0,RW
0: DISABLE
Duplex mode of the internal PHY.
3
FDX
PS0,RO
1: Full-duplex
0: half-duplex
Final
Version: DM9000B-13-DS-F03
March 5, 2012
14
DM9000B
Ethernet Controller with General Processor Interface
2:1
LBK
PS00,
RW
0
RST
P0,RW
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Loop-back Mode
Bit: 2 1
0 0
Normal
0 1
MAC Internal Loop-back
1 0
Internal PHY 100M mode digital Loop-back
1 1
(Reserved)
Software reset and auto clear after 10us
1: reset state
0: non-reset state
15
DM9000B
Ethernet Controller with General Processor Interface
6.2 Network Status Register (01H)
Bit
Name
Default
Description
Speed of internal PHY
0:100Mbps
7
SPEED
X,RO
1:10Mbps
This bit has no meaning when LINKST=0
Link status of internal PHY
6
LINKST
X,RO
1: link OK
0: link failed
Wakeup Event Status. Clears by read or write 1 (work in 8-bit mode)
P0,
This bit will not be affected after software reset
5
WAKEST
RW/C1
1: Wakeup event
0: no wakeup event
4
RESERVED
0,RO
Reserved
TX Packet 2 Complete Status. Clears by read or write 1
PS0,
Transmit completion of packet index 2
3
TX2END
RW/C1
1: transmit completion of packet index 2
0: no packet in transmit or packet index 2 transmit in progress
TX Packet 1 Complete status. Clears by read or write 1
PS0,
Transmit completion of packet index 1
2
TX1END
RW/C1
1: transmit completion of packet index 1
0: no packet in transmit or packet index 1 transmit in progress
RX FIFO Overflow status
1
RXOV
PS0,RO 1: Overflow
0: non-overflow
0
RESERVED
0,RO
Reserved
6.3 TX Control Register (02H)
Bit
Name
Default
7
RESERVED
0,RO
6
TJDIS
PS0,RW
5
EXCECM
PS0,RW
4
PAD_DIS2
PS0,RW
3
CRC_DIS2
PS0,RW
2
PAD_DIS1
PS0,RW
1
CRC_DIS1
PS0,RW
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Description
Reserved
Transmit Jabber Timer (2048 bytes) control
1: Disabled.
0: Enable
Excessive Collision Mode Control
1: Still tries to transmit this packet
0: Aborts this packet when excessive collision counts more than 15
PAD Appends for Packet Index 2
0: Enable
1: Disable
CRC Appends for Packet Index 2
0: Enable
1: Disable
PAD Appends for Packet Index 1
0: Enable
1: Disable
CRC Appends for Packet Index 1
0: Enable
1: Disable
16
DM9000B
Ethernet Controller with General Processor Interface
0
TXREQ
PS0,RW
TX Request. Auto clears after sending completely
1: Transmit in progress
0: no transmit in progress
6.4 TX Status Register I ( 03H ) for packet index I
Bit
Name
Default
Description
Transmit Jabber Time Out
It is set to indicate that the transmitted frame is truncated due to more than 2048
7
TJTO
PS0,RO
bytes are transmitted
1: Timeout
0: non-timeout
Loss of Carrier
It is set to indicate the loss of carrier during the frame transmission. It is not valid in
6
LC
PS0,RO
internal Loop-back mode
1: Loss of carrier
0: no carrier have been loss
No Carrier
It is set to indicate that there is no carrier signal during the frame transmission. It is
5
NC
PS0,RO
not valid in internal Loop-back mode
1: no carrier during transmit
0: normal carrier status during transmit
Late Collision
It is set when a collision occurs after the collision window of 64 bytes
4
LC
PS0,RO
1: late collision
0: no late collision
Collision Packet
It is set to indicate that the collision occurs during transmission
3
COL
PS0,RO
1: have been collision
0: no collision
Excessive Collision
It is set to indicate that the transmission is aborted due to 16 excessive collisions
2
EC
PS0,RO
1: 16 excessive collisions
0: less than 16 collisions
1:0
RESERVED
0,RO
Reserved
6.5 TX Status Register II ( 04H ) for packet index I I
Bit
Name
Default
Description
Transmit Jabber Time Out
It is set to indicate that the transmitted frame is truncated due to more than 2048
7
TJTO
PS0,RO
bytes are transmitted
1: Timeout
0: non-timeout
Loss of Carrier
It is set to indicate the loss of carrier during the frame transmission. It is not valid in
6
LC
PS0,RO
internal Loop-back mode
1: Loss of carrier
0: no carrier have been loss
Final
Version: DM9000B-13-DS-F03
March 5, 2012
17
DM9000B
Ethernet Controller with General Processor Interface
5
NC
PS0,RO
4
LC
PS0,RO
3
COL
PS0,RO
2
EC
PS0,RO
1:0
RESERVED
0,RO
6.6 RX Control Register ( 05H )
Bit
Name
Default
7
RESERVED PS0,RW
6
WTDIS
PS0,RW
5
DIS_LONG
PS0,RW
4
DIS_CRC
PS0,RW
3
ALL
PS0,RW
2
RUNT
PS0,RW
1
PRMSC
PS0,RW
0
RXEN
PS0,RW
6.7 RX Status Register ( 06H )
Bit
Name
Default
Final
Version: DM9000B-13-DS-F03
March 5, 2012
No Carrier
It is set to indicate that there is no carrier signal during the frame transmission. It is
not valid in internal Loop-back mode
1: no carrier during transmit
0: normal carrier status during transmit
Late Collision
It is set when a collision occurs after the collision window of 64 bytes
1: late collision
0: no late collision
Collision Packet
It is set to indicate that the collision occurs during transmission
1: have been collision
0: no collision
Excessive Collision
It is set to indicate that the transmission is aborted due to 16 excessive collisions
1: 16 excessive collisions
0: less than 16 collisions
Reserved
Description
Reserved
Watchdog Timer Disable
1: When set, the Watchdog Timer (2048 bytes) is disabled.
0: Otherwise it is enabled
Discard Long Packet
If Packet length is over 1522byte
1: ENABLE
0: DISABLE
Discard CRC Error Packet
1: ENABLE
0: DISABLE
Pass All Multicast
1: ENABLE
0: DISABLE
Pass Runt Packet
1: ENABLE
0: DISABLE
Promiscuous Mode
1: ENABLE
0: DISABLE
RX Enable
1: ENABLE
0: DISABLE
Description
18
DM9000B
Ethernet Controller with General Processor Interface
7
RF
PS0,RO
6
MF
PS0,RO
5
LCS
PS0,RO
4
RWTO
PS0,RO
3
PLE
PS0,RO
2
AE
PS0,RO
1
CE
PS0,RO
0
FOE
PS0,RO
Runt Frame
It is set to indicate that the size of the received frame is smaller than 64 bytes
1: Affirmative
0: Negative
Multicast Frame
It is set to indicate that the received frame has a multicast address
1: Affirmative
0: Negative
Late Collision Seen
It is set to indicate that a late collision is found during the frame reception
1: Affirmative
0: Negative
Receive Watchdog Time-Out
It is set to indicate that it receives more than 2048 bytes
1: Affirmative
0: Negative
Physical Layer Error
It is set to indicate that a physical layer error is found during the frame reception
1: Affirmative
0: Negative
Alignment Error
It is set to indicate that the received frame ends with a non-byte boundary
1: Affirmative
0: Negative
CRC Error
It is set to indicate that the received frame ends with a CRC error
1: Affirmative
0: Negative
FIFO Overflow Error
It is set to indicate that a FIFO overflow error happens during the frame reception
1: Affirmative
0: Negative
6.8 Receive Overflow Counter Register ( 07H )
Bit
Name
Default
Description
Receive Overflow Counter Overflow
This bit is set when the ROC has an overflow condition
7
RXFU
PS0,R/C
1: Affirmative
0: Negative
Receive Overflow Counter
6:0
ROC
PS0,R/C
This is a statistic counter to indicate the received packet count upon FIFO overflow
6.9 Back Pressure Threshold Register (08H)
Bit
Name
Default
Description
Back Pressure High Water Overflow Threshold. MAC will generate the jam pattern
when RX SRAM free space is lower than this threshold value
7:4
BPHW
PS3, RW
The default is 3K-byte free space. Please do not exceed SRAM size
(1 unit=1K bytes)
Final
Version: DM9000B-13-DS-F03
March 5, 2012
19
DM9000B
Ethernet Controller with General Processor Interface
3:0
JPT
PS7, RW
Jam Pattern Time. Default is 200us
bit3 bit2 bit1 bit0
time
0 0 0 0
5us
0 0 0 1
10us
0 0 1 0
15us
0 0 1 1
25us
0 1 0 0
50us
0 1 0 1
100us
0 1 1 0
150us
0 1 1 1
200us
1 0 0 0
250us
1 0 0 1
300us
1 0 1 0
350us
1 0 1 1
400us
1 1 0 0
450us
1 1 0 1
500us
1 1 1 0
550us
1 1 1 1
600us
6.10 Flow Control Threshold Register ( 09H )
Bit
Name
Default
Description
RX FIFO High Water Overflow Threshold
Send a pause packet with pause_ time=FFFFH when the RX RAM free space is
7:4
HWOT
PS3, RW less than this value., If this value is zero, its means no free RX SRAM space. The
default value is 3K-byte free space. Please do not exceed SRAM size (1 unit=1K
bytes)
RX 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
3:0
LWOT
PS8, RW
transmitted. The default SRAM free space is 8K-byte. Please do not exceed SRAM
size
(1 unit=1K bytes)
Final
Version: DM9000B-13-DS-F03
March 5, 2012
20
DM9000B
Ethernet Controller with General Processor Interface
6.11 RX/TX Flow Control Register ( 0AH )
Bit
Name
Default
Description
Force TX Pause Packet
7
TXP0
PS0,RW Auto clears after pause packet transmission completion. Set to TX pause packet
with time = 0000h
Force TX Pause packet
6
TXPF
PS0,RW Auto clears after pause packet transmission completion. Set to TX pause packet
with time = FFFFH
TX Pause Packet Enable
Enables the pause packet for high/low water threshold control
5
TXPEN
PS0,RW
1: ENABLE
0: DISABLE
Back Pressure Mode
This mode is for half duplex mode only. It generates a jam pattern when any
4
BKPA
PS0,RW packet comes and RX SRAM is over BPHW of register 8.
1: ENABLE
0: DISABLE
Back Pressure Mode
This mode is for half duplex mode only. It generates a jam pattern when a packet’s
3
BKPM
PS0,RW DA matches and RX SRAM is over BPHW of register 8.
1: ENABLE
0: DISABLE
RX Pause Packet Status, latch and read clearly
2
RXPS
PS0,R/C 1: has been receive pause packet
0: no pause packet received
RX Pause Packet Current Status
1
RXPCS
PS0,RO
1: received pause packet timer down-count in progress
0: pause packet timer value is zero
Flow Control Enable
Set to enable the flow control mode (i.e. can disable DM9000B TX function)
0
FLCE
PS0,RW
1: ENABLE
0: DISABLE
6.12 EEPROM & PHY Control Register ( 0BH )
Bit
Name
Default
Description
7:6
RESERVED
0,RO
Reserved
5
REEP
P0,RW
Reload EEPROM. Driver needs to clear it up after the operation completes
Write EEPROM Enable
4
WEP
P0,RW
1: ENABLE
0: DISABLE
EEPROM or PHY Operation Select
3
EPOS
P0,RW
0: select EEPROM
1: select PHY
EEPROM Read or PHY Register Read Command. Driver needs to clear it up after
2
ERPRR
P0,RW
the operation completes.
EEPROM Write or PHY Register Write Command. Driver needs to clear it up after
1
ERPRW
P0,RW
the operation completes.
Final
Version: DM9000B-13-DS-F03
March 5, 2012
21
DM9000B
Ethernet Controller with General Processor Interface
0
ERRE
P0,RO
EEPROM Access Status or PHY Access Status
1: the EEPROM or PHY access is in progress
0: completion of the EEPROM or PHY access
6.13 EEPROM & PHY Address Register ( 0CH )
Bit
Name
Default
Description
PHY Address bit 1 and 0, the PHY address bit [4:2] is force to 0. Force to 01 in
7:6
PHY_ADR
P01,RW
application.
5:0
EROA
P0,RW
EEPROM Word Address or PHY Register Number.
6.14 EEPROM & PHY Data Register (EE_PHY_L:0DH EE_PHY_H:0EH)
Bit
Name
Default
Description
EEPROM or PHY Low Byte Data
7:0
EE_PHY_L
P0,RW
The low-byte data read from or write to EEPROM or PHY.
EEPROM or PHY High Byte Data
7:0
EE_PHY_H
P0,RW
The high-byte data read from or write to EEPROM or PHY.
6.15 Wake Up Control Register ( 0FH ) (in 8-bit mode)
Bit
Name
Type
Description
Reserved
7:6
RESERVED
0,RO
When set, it enables Link Status Change Wake up Event
This bit will not be affected after software reset
5
LINKEN
P0,RW
1: ENABLE
0: DISABLE
When set, it enables Sample Frame Wake up Event
This bit will not be affected after software reset
4
SAMPLEEN
P0,RW
1: ENABLE
0: DISABLE
When set, it enables Magic Packet Wake up Event
This bit will not be affected after software reset
3
MAGICEN
P0,RW
1: ENABLE
0: DISABLE
When set, it indicates that Link Change and Link Status Change Event occurred
This bit will not be affected after software reset
2
LINKST
P0,RO
1: link change event occurred
0: no link change event
When set, it indicates that the sample frame is received and Sample Frame Event
occurred. This bit will not be affected after software reset
1
SAMPLEST
P0,RO
1: sample frame matched event occurred
0: no sample frame matched
When set, indicates the Magic Packet is received and Magic packet Event
occurred. This bit will not be affected after a software reset
0
MAGICST
P0,RO
1: magic packet received
0: no magic packet received
6.16 Physical Address Register ( 10H~15H )
Bit
Name
Default
7:0
PAB5
E,RW
Physical Address Byte 5 (15H)
7:0
PAB4
E,RW
Physical Address Byte 4 (14H)
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Description
22
DM9000B
Ethernet Controller with General Processor Interface
7:0
7:0
7:0
7:0
PAB3
PAB2
PAB1
PAB0
E,RW
E,RW
E,RW
E,RW
Physical Address Byte 3
Physical Address Byte 2
Physical Address Byte 1
Physical Address Byte 0
6.17 Multicast Address Register ( 16H~1DH )
Bit
Name
Default
7:0
MAB7
X,RW
Multicast Address Byte 7
7:0
MAB6
X,RW
Multicast Address Byte 6
7:0
MAB5
X,RW
Multicast Address Byte 5
7:0
MAB4
X,RW
Multicast Address Byte 4
7:0
MAB3
X,RW
Multicast Address Byte 3
7:0
MAB2
X,RW
Multicast Address Byte 2
7:0
MAB1
X,RW
Multicast Address Byte 1
7:0
MAB0
X,RW
Multicast Address Byte 0
(13H)
(12H)
(11H)
(10H)
Description
(1DH)
(1CH)
(1BH)
(1AH)
(19H)
(18H)
(17H)
(16H)
6.18 General purpose control Register ( 1EH ) ( For 8 Bit mode only, for 16 bit mode, see reg . 34H)
Bit
Name
Default
Description
7
RESERVED
PH0,RO Reserved
General Purpose Control 6~4
P,
6:4
GPC64
Define the input/output direction of pins GP6~4 respectively.
111,RO
These bits are all forced to “1”s, so pins GP6~4 are output only.
General Purpose Control 3~1
Define the input/output direction of pins GP 3~1 respectively.
P,
3:1
GPC31
1: When a bit is set 1, the direction of correspondent bit of General Purpose
000,RW
Register is output.
0: Other defaults are input
0
RESERVED
P1,RO
Reserved
Final
Version: DM9000B-13-DS-F03
March 5, 2012
23
DM9000B
Ethernet Controller with General Processor Interface
6.19 General purpose Register ( 1FH ) ( For 8 Bit mode only, for 16 bit mode, see reg . 34H)
Bit
Name
Default
Description
7
RESERVED
0,RO
Reserved
General Purpose Output 6~4 (in 8-bit mode)
6-4
GPO
P0,RW
These bits are reflect to pin GP6~4 respectively.
General Purpose (in 8-bit mode)
When the correspondent bit of General Purpose Control Register is 1, the value of
P0,RW
3:1
GPIO
the bit is reflected to pin GP3~1 respectively.
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 GP3~1 respectively.
PHY Power Down Control
1: power down PHY
0
PHYPD
ET1,WO 0: power up PHY
*If this bit is updated from ‘1’ to ‘0’, the whole MAC Registers can not be accessed
within 1ms.
6.20 TX SRAM Read Pointer Address Register (22H~23H)
Bit
Name
Default
Description
7:0
TRPAH
PS0,RO
TX SRAM Read Pointer Address High Byte (23H)
7:0
TRPAL
PS0.RO
TX SRAM Read Pointer Address Low Byte (22H)
6.21 RX SRAM Write Pointer Address Register (24H~25H)
Bit
Name
Default
Description
7:0
RWPAH PS,0CH,RO RX SRAM Write Pointer Address High Byte (25H)
7:0
RWPAL
PS,00H.RO RX SRAM Write Pointer Address Low Byte (24H)
6.22 Vendor ID Register (28H~29H)
Bit
Name
Default
7:0
VIDH
PE,0AH,RO
Vendor ID High Byte (29H)
7:0
VIDL
PE,46H.RO
Vendor ID Low Byte (28H)
6.23 Product ID Register (2AH~2BH)
Bit
Name
Default
7:0
PIDH
PE,90H,RO
Product ID High Byte (2BH)
7:0
PIDL
PE,00H.RO
Product ID Low Byte (2AH)
6.24 Chip Revision Register (2CH)
Bit
Name
Default
7:0
CHIPR
P,1AH,RO CHIP Revision
Description
Description
Description
6.25 Transmit Control Register 2 ( 2DH )
Bit
Name
Default
Description
Led Mode
7
LED
P0,RW
1: the LED pins act as led mode 1.
0: the led mode is default mode 0 or depending EEPROM setting.
Final
Version: DM9000B-13-DS-F03
March 5, 2012
24
DM9000B
Ethernet Controller with General Processor Interface
6
RLCP
P0,RW
5
DTU
P0,RW
4
ONEPM
P0,RW
3~0
IFGS
P0,RW
Retry Late Collision Packet
Re-transmit the packet with late-collision
1: ENABLE
0: DISABLE
Disable TX Under run Retry
Disable to re-transmit the underruned packet
1: DISABLE
0: ENABLE
One Packet Mode
1: only one packet transmit command can be issued before transmit completed.
0: at most two packet transmit command can be issued before transmit
completed.
Inter-Frame Gap Setting
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
6.26 Operation Test Control Register ( 2EH )
Bit
Name
Default
Description
System Clock Control
Set the internal system clock.
00: 50Mhz
7~6
SCC
P0,RW
01: 20MHz
10: 100MHz
11: Reserved
5
RESERVED
P0,RW
Reserved
4
SOE
P0,RW
Internal SRAM Output-Enable Always ON
3
SCS
P0,RW
Internal SRAM Chip-Select Always ON
2~0
PHYOP
P0,RW
Internal PHY operation mode for testing
6.27 Special Mode Control Register ( 2FH )
Bit
Name
Default
7
SM_EN
P0,RW
Special Mode
1: ENABLE
0: DISABLE
6~3
RESERVED
P0,RW
Reserved
2
FLC
P0,RW
Force Late Collision
1: ENABLE
0: DISABLE
1
FB1
P0,RW
Force Longest Back-off time
1: ENABLE
0: DISABLE
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Description
25
DM9000B
Ethernet Controller with General Processor Interface
0
FB0
Final
Version: DM9000B-13-DS-F03
March 5, 2012
P0,RW
Force Shortest Back-off time
1: ENABLE
0: DISABLE
26
DM9000B
Ethernet Controller with General Processor Interface
6.28 Early Transmit Control/Status Register ( 30H )
Bit
Name
Default
Description
Early Transmit Enable
7
ETE
PS0, RW
1: Enable bits[2:0]
0: DISABLE
Early Transmit Status II
6
ETS2
PS0,RO
1: has been transmit under-run
0: no transmit under-run
Early Transmit Status I
5
ETS1
PS0,RO
1: has been transmit under-run
0: no transmit under-run
4~2
RESERVED
000,RO
Reserved
Early Transmit Threshold
Start transmit when data write to TX FIFO reach the byte-count threshold
1~0
ETT
PS0,RW
Bit-1 bit-0
----- ---0
0
0
1
1
0
1
1
threshold
------------: 12.5%
: 25%
: 50%
: 75%
6.29 Check Sum Control Register ( 31H )
Bit
Name
Default
7~3
RESERVED
0,RO
Reserved
2
UDPCSE
PS0,RW
UDP CheckSum Generation
1: ENABLE
0: DISABLE
1
TCPCSE
PS0,RW
TCP CheckSum Generation
1: ENABLE
0: DISABLE
0
IPCSE
PS0,RW
IP CheckSum Generation
1: ENABLE
0: DISABLE
6.30 Receive Check Sum Status Register ( 32H )
Bit
Name
Default
UDP CheckSum Status
7
UDPS
PS0,RO
1: checksum fail, if UDP packet
0: no UDP checksum error
TCP CheckSum Status
6
TCPS
PS0,RO
1: checksum fail, if TCP packet
0: no TCP checksum error
IP CheckSum Status
5
IPS
PS0,RO
1: checksum fail, if IP packet
0: no IP checksum error
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Description
Description
27
DM9000B
Ethernet Controller with General Processor Interface
4
UDPP
PS0,RO
3
TCPP
PS0,RO
2
IPP
PS0,RO
1
RCSEN
PS0,RW
0
DCSE
PS0,RW
Final
Version: DM9000B-13-DS-F03
March 5, 2012
UDP Packet of current received packet
1: UDP packet
0: non UDP packet
TCP Packet of current received packet
1: TCP Packet
0: non TCP Packet
IP Packet of current received packet
1: IP Packet
0: non IP Packet
Receive CheckSum Checking Enable
When set, the checksum status (bit 7~2) will be stored in packet’s first byte(bit
7~2) of status header respectively.
1: ENABLE
0: DISABLE
Discard CheckSum Error Packet
When set, if IP/TCP/UDP checksum field is error, this packet will be discarded.
1: ENABLE
0: DISABLE
28
DM9000B
Ethernet Controller with General Processor Interface
6.31 MII PHY Address Register ( 33H )
Bit
Name
Default
Description
7
ADR_EN
HPS0,R Redefine PHY Address
W
1: ENABLE
0: DISABLE
6~5
Reserved
HPS0,RO Reserved
4~0
EPHYADR
HPS01,R Redefined PHY Address Bit 4~0
W
The PHY address field in MII Management Interface format.
6.32 LED Pin Control Register ( 34H )
Bit
Name
Default
Description
7:2
Reserved
PS0,RO
Reserved
LED act as General Purpose signals in 16-bit mode
1: Pin 38/39 (LED2/1) act as the general purpose pins that are controlled by
1
GPIO
P0,RW
registers 1Eh bit 2/1 and 1Fh bit 2/1 respectively.
0: DISABLE
LED act as SMI signals in 16-bit mode
1: Pin 38/39 (LED2/1) act as the MII Management Interface mode.
In this mode, the LED1 act as data (MDIO) signal and the LED2 act as sourced
0
MII
P0,RW
clock (MDC) signal.
These two pin are controlled by registers 0Bh,0Ch, and 0Dh.
0: DISABLE
6.33 Processor Bus Control Register ( 38H )
Bit
Name
Default
Description
7
Reserved
P0,RW
Reserved
Data Bus Current Driving/Sinking Capability
00: 2mA (default)
6:5
CURR
P00,RW
01: 4mA
10: 6mA
11: 8mA
4
Reserved
P0,RW
Reserved
Enable Schmitt Trigger
3
EST
P0,RW
1: Pin 35/36/37 (IOR/IOW/CS#) have Schmitt trigger capability.
0: DISABLE
2
Reserved
P0,RW
Reserved
Eliminate IOW spike
1
IOW_SPIKE
P0,RW
1: eliminate about 2ns IOW spike
0: DISABLE
Eliminate IOR spike
0
IOR_SPIKE
P1,RW
1: eliminate about 2ns IOR spike
0: DISABLE
Final
Version: DM9000B-13-DS-F03
March 5, 2012
29
DM9000B
Ethernet Controller with General Processor Interface
6.34 INT Pin Control Register ( 39H )
Bit
Name
Default
7:2
Reserved
PS0,RO
Reserved
INT Pin Output Type Control
1
INT_TYPE
PET0,RW 1: INT Open-Collector output
0: INT direct output
INT Pin Polarity Control
0
INT_POL
PET0,RW 1: INT active low
0: INT active high
Description
6.35 System Clock Turn ON Control Register ( 50H )
Bit
Name
Default
Description
7:1
Reserved
Reserved
Stop Internal System Clock
0
DIS_CLK
P0,W
1: internal system clock turn off, internal PHYceiver also power down
0: internal system clock is ON
6.36 Resume System Clock Control Register ( 51H )
When the INDEX port set to 51H, the internal system clock is turn ON.
6.37 Memory Data Pre-Fetch Read Command without Address Increment Register (F0H)
Bit
Name
Default
Description
Read data from RX SRAM. After the read of this command, the read pointer of
7:0
MRCMDX
X,RO
internal SRAM is unchanged. And the DM9000B starts to pre-fetch the SRAM data
to internal data buffers.
6.38 Memory Data Read Command without Address Increment Register (F1H)
Bit
Name
Default
Description
Read data from RX SRAM. After the read of this command, the read pointer of
7:0
MRCMDX1
X,RO
internal SRAM is unchanged
6.39 Memory Data Read Command with Address Increment Register (F2H)
Bit
Name
Default
Description
Read data from RX SRAM. After the read of this command, the read pointer is
7:0
MRCMD
X,RO
increased by 1or 2 depends on the operator mode (8-bit or16-bit respectively)
6.40 Memory Data Read address Register (F4H~F5H)
Bit
Name
Default
Description
7:0
MDRAH
PS0,RW Memory Data Read_ addresses High Byte. It will be set to 0Ch, when IMR bit7 =1
7:0
MDRAL
PS0,RW Memory Data Read_ address Low Byte
6.41 Memory Data Write Command without Address Increment Register (F6H)
Bit
Name
Default
Description
Write data to TX SRAM. After the write of this command, the write pointer is
7:0
MWCMDX
X,WO
unchanged
Final
Version: DM9000B-13-DS-F03
March 5, 2012
30
DM9000B
Ethernet Controller with General Processor Interface
6.42 Memory data write command with address increment Register (F8H)
Bit
Name
Default
Description
Write Data to TX SRAM
7:0
MWCMD
X,WO
After the write of this command, the write pointer is increased by 1 or 2, depends on
the operator mode. (8-bit or 16-bit respectively)
6.43 Memory data write address Register (FAH~FBH)
Bit
Name
Default
Description
7:0
MDWAH
PS0,RW Memory Data Write_ address High Byte
7:0
MDWAL
PS0,RW Memory Data Write_ address Low Byte
6.44 TX Packet Length Register (FCH~FDH)
Bit
Name
Default
7:0
TXPLH
X,R/W
TX Packet Length High byte
7:0
TXPLL
X,,R/W
TX Packet Length Low byte
6.45 Interrupt Status Register (FEH)
Bit
Name
Default
7
IOMODE
T0, RO
6
5
RESERVED
LNKCHG
RO
PS0,RW/C1
4
UDRUN
PS0,RW/C1
3
ROO
PS0,RW/C1
2
ROS
PS0,RW/C1
1
PT
PS0,RW/C1
0
PR
PS0,RW/C1
6.46 Interrupt Mask Register (FFH)
Bit
Name
Default
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Description
Description
0:
16-bit mode
1:
8-bit mode
Reserved
Link Status Change
1: Affirmative
0: Negative
Transmit Under-run
1: Affirmative
0: Negative
Receive Overflow Counter Overflow
1: Affirmative
0: Negative
Receive Overflow
1: Affirmative
0: Negative
Packet Transmitted
1: Affirmative
0: Negative
Packet Received
1: Affirmative
0: Negative
Description
31
DM9000B
Ethernet Controller with General Processor Interface
7
PAR
PS0,RW
6
5
RESERVED
LNKCHGI
RO
PS0,RW
4
UDRUNI
PS0,RW
3
ROOI
PS0,RW
2
ROI
PS0,RW
1
PTI
PS0,RW
0
PRI
PS0,RW
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Enable the SRAM read/write pointer to automatically return to the start
address when pointer addresses are over the SRAM size. Driver needs to
set. When driver sets this bit, REG_F5 will set to 0Ch automatically
1: ENABLE
0: DISABLE
Reserved
Enable Link Status Change Interrupt
1: ENABLE
0: DISABLE
Enable Transmit Under-run Interrupt
1: ENABLE
0: DISABLE
Enable Receive Overflow Counter Overflow Interrupt
1: ENABLE
0: DISABLE
Enable Receive Overflow Interrupt
1: ENABLE
0: DISABLE
Enable Packet Transmitted Interrupt
1: ENABLE
0: DISABLE
Enable Packet Received Interrupt
1: ENABLE
0: DISABLE
32
DM9000B
Ethernet Controller with General Processor Interface
7. EEPROM Format
name
MAC address
Word
0
Auto Load Control
3
Vendor ID
Product ID
4
5
Pin control
6
Wake-up mode control
7
Final
Version: DM9000B-13-DS-F03
March 5, 2012
offset
Description
0~5 6 Byte Ethernet Address
Bit 1:0=01: Update vendor ID and product ID
Bit 3:2=01: Accept setting of WORD6 [8:0]
Bit 5:4=01: reserved
Bit 7:6=01: Accept setting of WORD7 [3:0] (in 8-bit mode)
6-7
Bit 9:8=01: reserved
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 [15:12]
8-9
2 byte vendor ID (Default: 0A46H)
10-11 2 byte product ID (Default: 9000H)
When word 3 bit [3:2]=01, these bits can control the CS#, IOR#, IOW# and INT
pins polarity.
Bit0: CS# pin is active low when set (default active low)
Bit1: IOR# pin is active low when set (default: active low)
12-13
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 is open-collected (default: force output)
Bit 15:5: Reserved
Bit0: The WAKE pin is active low when set (default: active high)
Bit1: The WAKE pin is in pulse mode when set (default: level mode)
Bit2: magic wakeup event is enabled when set. (default: disable)
Bit3: link change wakeup event is enabled when set (default disable)
Bit6:4: reserved
Bit7: LED mode 1 (default: mode 0)
Bit8: internal PHY is enabled after power-on (default: disable)
14-15
Bit11:9: reserved
Bit13:12:00 or 11 for normal LED function
Bit13:12: 01 (reserved for test only)
Bit13:12: 10 LED2 act as WAKE in 16-bit mode
Bit14: 1: HP Auto-MDIX ON, 0: HP Auto-MDIX OFF(default ON)
Bit 15: 0: LED1 normal function
1: reserved for test only
33
DM9000B
Ethernet Controller with General Processor Interface
8. PHY Register Description
ADD Name
15
00 CONTR Reset
OL
0
01 STATUS T4
Cap.
0
02 PHYID1
0
03 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
04 Auto-Neg. Next
Advertise Page
05 Link Part. LP
Ability
Next
Page
06 Auto-Neg.
Expansio
n
16 Specifie BP
d
4B5B
Config.
17 Specifie 100
FDX
d
Conf/Stat
18
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.
001011
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
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.
PHY ADDR [4:0]
New Pg LP AutoN
Rcv
Cap.
Sleep
mode
20
Specified TSTSE1 TSTSE2 FORCE_ FORCE_ PREAM TX10M
MDIX_C AutoNeg Mdix_fix Mdix_do MonSel1 MonSel0 Reserve PD_valu
NWAY_ Reserve
config
TXSD
FEF
BLEX
NTL
_llpbk
Value
wn
d
e
PWR
d
29
PSCR
PDchip
Polarity
Reverse
PWDOR
DSP
PD100l
Remote
LoopOut
Auto-N. Monitor Bit [3:0]
Reserved
PD10DRV
Extd
Cap.
1
1
19
27
Reserved
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
PDaeq
PDdrv
PDecli
PDeclo
PD10
DSP Control
Reserved
PREAM AMPLIT
TX_PW
BLEX
UDE
R
Reserved
Key to Default
In the register description that follows, the default
column takes the form:
<Reset Value>, <Access Type> / <Attribute(s)>
<Access Type>:
Where:
<Attribute (s)>:
SC = Self clearing
P = Value permanently set
LL = Latching low
LH = Latching high
<Reset Value>:
1
Bit set to logic one
0
Bit set to logic zero
X
No default value
Final
Version: DM9000B-13-DS-F03
March 5, 2012
RO = Read only
RW = Read/Write
34
DM9000B
Ethernet Controller with General Processor Interface
8.1 Basic Mode Control Register (BMCR) - 00
Bit
Bit Name
Default
Description
0.15
Reset
0, RW/SC Reset
1=Software reset
0=Normal operation
This bit sets the status and controls the PHY registers to their default
states. This bit, which is self-clearing, will keep returning a value of
one until the reset process is completed
0.14
Loop-back
0, RW
Loop-back
Loop-back control register
1 = Loop-back enabled
0 = Normal operation
When in 100Mbps operation mode, setting this bit may cause the
descrambler to lose synchronization and produce a 720ms "dead
time" before receive
0.13
Speed selection
1, RW
Speed Select
1 = 100Mbps
0 = 10Mbps
Link speed may be selected either by this bit or by auto-negotiation.
When auto-negotiation is enabled and bit 12 is set, this bit will return
auto-negotiation selected medium type
0.12
Auto-negotiation
1, RW
Auto-negotiation Enable
enable
1 = Auto-negotiation is enabled, bit 8 and 13 will be in
auto-negotiation status
2 = DISABLE
0.11
Power down
0, RW
Power Down
While in the power-down state, the PHY should respond to
management transactions.
1=Power down
0=Normal operation
0.10
Isolate
0,RW
Isolate
Force to 0 in application.
0.9
Restart
0,RW/SC Restart Auto-negotiation
Auto-negotiation
1 = Restart auto-negotiation. Re-initiates the auto-negotiation
process. When auto-negotiation is disabled (bit 12 of this register
cleared), this bit has no function and it should be cleared. This bit is
self-clearing and it will keep returning to a value of 1 until
auto-negotiation is initiated by the DM9000B. The operation of the
auto-negotiation process will not be affected by the management
entity that clears this bit
0 = Normal operation
0.8
Duplex mode
1,RW
Duplex Mode
1 = Full duplex operation. Duplex selection is allowed when
Auto-negotiation is disabled (bit 12 of this register is cleared). With
auto-negotiation enabled, this bit reflects the duplex capability
selected by auto-negotiation
0 = Normal operation
0.7
Collision test
0,RW
Collision Test
1 = Collision test enabled. When set, this bit will cause the collision
asserted during the transmit period.
0 = Normal operation
0.6-0.0
Reserved
0,RO
Reserved
Final
Version: DM9000B-13-DS-F03
March 5, 2012
35
DM9000B
Ethernet Controller with General Processor Interface
Read as 0, ignore on write
8.2 Basic Mode Status Register (BMSR) - 01
Bit
1.15
Bit Name
100BASE-T4
Default
0,RO/P
1.14
100BASE-TX
full-duplex
1,RO/P
1.13
100BASE-TX
half-duplex
1,RO/P
1.12
10BASE-T
full-duplex
1,RO/P
1.11
10BASE-T
half-duplex
1,RO/P
1.10-1.7
Reserved
0,RO
1.6
MF preamble
suppression
1,RO
1.5
Auto-negotiation
Complete
0,RO
1.4
Remote fault
0, RO/LH
1.3
Auto-negotiation
ability
1,RO/P
1.2
Link status
0,RO/LL
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Description
100BASE-T4 Capable
1 = DM9000B is able to perform in 100BASE-T4 mode
0 = DM9000B is not able to perform in 100BASE-T4 mode
100BASE-TX Full Duplex Capable
1 = DM9000B is able to perform 100BASE-TX in full duplex mode
0 = DM9000B is not able to perform 100BASE-TX in full duplex
mode
100BASE-TX Half Duplex Capable
1 = DM9000B is able to perform 100BASE-TX in half duplex mode
0 = DM9000B is not able to perform 100BASE-TX in half duplex
mode
10BASE-T Full Duplex Capable
1 = DM9000B is able to perform 10BASE-T in full duplex mode
0 = DM9000B is not able to perform 10BASE-TX in full duplex mode
10BASE-T Half Duplex Capable
1 = DM9000B is able to perform 10BASE-T in half duplex mode
0 = DM9000B is not able to perform 10BASE-T in half duplex mode
Reserved
Read as 0, ignore on write
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 DM9000B
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 = DM9000B is able to perform auto-negotiation
0 = DM9000B is not able to perform auto-negotiation
Link Status
1 = Valid link is established (for either 10Mbps or 100Mbps
operation)
0 = Link is not established
The link status bit is implemented with a latching function, so that the
occurrence of a link failure condition causes the link status bit to be
cleared and remain cleared until it is read via the management
interface
36
DM9000B
Ethernet Controller with General Processor Interface
1.1
Jabber detect
0, RO/LH
1.0
Extended
1,RO/P
capability
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 DM9000B reset. This bit works only in
10Mbps mode
Extended Capability
1 = Extended register capable
0 = Basic register capable only
8.3 PHY ID Identifier Register #1 (PHYID1) - 02
The PHY Identifier Registers #1 and #2 work together in a single identifier of the DM9000B. 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
2.15-2.0
Bit Name
OUI_MSB
Default
<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)
8.4 PHY ID Identifier Register #2 (PHYID2) - 03
Bit
3.15-3.10
Bit Name
OUI_LSB
Default
<101110>,
RO/P
3.9-3.4
VNDR_MDL
<001011>,
RO/P
3.3-3.0
MDL_REV
<0000>,
RO/P
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Description
OUI Least Significant Bits
Bit 19 to 24 of the OUI (00606E) are mapped to bit 15 to 10 of this
register respectively
Vendor Model Number
Five bits of vendor model number mapped to bit 9 to 4 (most
significant bit to bit 9)
Model Revision Number
Five bits of vendor model revision number mapped to bit 3 to 0
(most significant bit to bit 4)
37
DM9000B
Ethernet Controller with General Processor Interface
8.5 Auto-negotiation Advertisement Register (ANAR) - 04
This register contains the advertised abilities of this DM9000B device as they will be transmitted to its link partner
during Auto-negotiation.
Bit
4.15
Bit Name
NP
4.14
ACK
4.13
RF
4.12
-4.11
4.10
Reserved
4.9
T4
4.8
TX_FDX
4.7
TX_HDX
4.6
10_FDX
4.5
10_HDX
4.4-4.0
Selector
FCS
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Default
0,RO/P
Description
Next page Indication
1 = Next page available
0 = No next page available
The DM9000B has no next page, so this bit is permanently set to 0
0,RO
Acknowledge
1 = Link partner ability data reception acknowledged
0 = Not acknowledged
The DM9000B'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.
0, RW
Remote Fault
1 = Local device senses a fault condition
0 = No fault detected
X, RW
Reserved
Write as 0, ignore on read
0, RW
Flow Control Support
1 = Controller chip supports flow control ability
0 = Controller chip doesn’t support flow control ability
0, RO/P
100BASE-T4 Support
1 = 100BASE-T4 is supported by the local device
0 = 100BASE-T4 is not supported
The DM9000B does not support 100BASE-T4 so this bit is
permanently set to 0
1, RW
100BASE-TX Full Duplex Support
1 = 100BASE-TX full duplex is supported by the local device
0 = 100BASE-TX full duplex is not supported
1, RW
100BASE-TX Support
1 = 100BASE-TX half duplex is supported by the local device
0 = 100BASE-TX half duplex is not supported
1, RW
10BASE-T Full Duplex Support
1 = 10BASE-T full duplex is supported by the local device
0 = 10BASE-T full duplex is not supported
1, RW
10BASE-T Support
1 = 10BASE-T half duplex is supported by the local device
0 = 10BASE-T half duplex is not supported
<00001>, RW Protocol Selection Bits
These bits contain the binary encoded protocol selector supported
by this node
<00001> indicates that this device supports IEEE 802.3 CSMA/CD
38
DM9000B
Ethernet Controller with General Processor Interface
8.6 Auto-negotiation Link Partner Ability Register (ANLPAR) – 05
This register contains the advertised abilities of the link partner when received during Auto-negotiation.
Bit
5.15
Bit Name
NP
5.14
ACK
5.13
RF
5.12
-5.11
5.10
Reserved
5.9
T4
5.8
TX_FDX
5.7
TX_HDX
5.6
10_FDX
5.5
10_HDX
5.4-5.0
Selector
FCS
Default
0, RO
Description
Next Page Indication
1 = Link partner, next page available
0 = Link partner, no next page available
0, RO
Acknowledge
1 = Link partner ability data reception acknowledged
0 = Not acknowledged
The DM9000B's auto-negotiation state machine will automatically
control this bit from the incoming FLP bursts. Software should not
attempt to write to this bit
0, RO
Remote Fault
1 = Remote fault indicated by link partner
0 = No remote fault indicated by link partner
0, RO
Reserved
Read as 0, ignore on write
0, RO
Flow Control Support
1 = Controller chip supports flow control ability by link partner
0 = Controller chip doesn’t support flow control ability by link
partner
0, RO
100BASE-T4 Support
1 = 100BASE-T4 is supported by the link partner
0 = 100BASE-T4 is not supported by the link partner
0, RO
100BASE-TX Full Duplex Support
1 = 100BASE-TX full duplex is supported by the link partner
0 = 100BASE-TX full duplex is not supported by the link partner
0, RO
100BASE-TX Support
1 = 100BASE-TX half duplex is supported by the link partner
0 = 100BASE-TX half duplex is not supported by the link partner
0, RO
10BASE-T Full Duplex Support
1 = 10BASE-T full duplex is supported by the link partner
0 = 10BASE-T full duplex is not supported by the link partner
0, RO
10BASE-T Support
1 = 10BASE-T half duplex is supported by the link partner
0 = 10BASE-T half duplex is not supported by the link partner
<00000>, RO Protocol Selection Bits
Link partner’s binary encoded protocol selector
8.7 Auto-negotiation Expansion Register (ANER)- 06
Bit
Bit Name
Default
Description
6.15-6.5
Reserved
0, RO
Reserved
Read as 0, ignore on write
6.4
PDF
0, RO/LH
Local Device Parallel Detection Fault
PDF = 1: A fault detected via parallel detection function.
PDF = 0: No fault detected via parallel detection function
6.3
LP_NP_ABLE
0, RO
Link Partner Next Page Able
LP_NP_ABLE = 1: Link partner, next page available
LP_NP_ABLE = 0: Link partner, no next page
Final
Version: DM9000B-13-DS-F03
March 5, 2012
39
DM9000B
Ethernet Controller with General Processor Interface
6.2
NP_ABLE
0,RO/P
6.1
PAGE_RX
0, RO/LH
6.0
LP_AN_ABLE
0, RO
Local Device Next Page Able
NP_ABLE = 1: DM9000B, next page available
NP_ABLE = 0: DM9000B, no next page
DM9000B does not support this function, so this bit is always 0
New Page Received
A new link code word page received. This bit will be automatically
cleared when the register (register 6) is read by management
1 = ENABLE
2 = DISABLE
Link Partner Auto-negotiation Able
1 = A “1” in this bit indicates that the link partner supports
Auto-negotiation
2 = DISABLE
8.8 DAVICOM Specified Configuration Register (DSCR) - 16
Bit
Bit Name
Default
Description
16.15
BP_4B5B
0,RW
Bypass 4B5B Encoding and 5B4B Decoding
1 = 4B5B encoder and 5B4B decoder function bypassed
0 = Normal 4B5B and 5B4B operation
16.14
BP_SCR
0, RW
Bypass Scrambler/Descrambler Function
1 = Scrambler and descrambler function bypassed
0 = Normal scrambler and descrambler operation
16.13
BP_ALIGN
0, RW
Bypass Symbol Alignment Function
1 = Receive functions (descrambler, symbol alignment and symbol
decoding functions) bypassed. Transmit functions (symbol encoder
and scrambler) bypassed
0 = Normal operation
16.12
BP_ADPOK
0, RW
BYPASS ADPOK
Force signal detector (SD) active. This register is for debug only,
not release to customer
1=Forced SD is OK,
0=Normal operation
16.11
Reserved
0, RW
Reserved
Force to 0 in application.
16.10
TX/FX
1, RW
100BASE-TX/FX Mode Control
1 = 100BASE-TX operation
0 = 100BASE-FX operation
16.9
Reserved
0, RO
Reserved
16.8
Reserved
0, RW
Reserved
Force to 0 in application.
16.7
F_LINK_100
0, RW
Force Good Link in 100Mbps
1 = Force 100Mbps good link status
0 = Normal 100Mbps operation
This bit is useful for diagnostic purposes
16.6
SPLED_CTL
0, RW
Reserved
16.5
COLLED_CTL
0, RW
16.4
RPDCTR-EN
1, RW
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Force to 0 in application.
Reserved
Force to 0 in application.
Reduced Power Down Control Enable
This bit is used to enable automatic reduced power down
40
DM9000B
Ethernet Controller with General Processor Interface
1 = Enable automatic reduced power down
0 = Disable automatic reduced power down
16.3
SMRST
0, RW
Reset State Machine
When writes 1 to this bit, all state machines of PHY will be reset.
16.2
16.1
MFPSC
SLEEP
1, RW
0, RW
This bit is self-clear after reset is completed
1 = ENABLE
2 = DISABLE
MF Preamble Suppression Control
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
16.0
RLOUT
0, RW
machine will be reset
Remote Loop out Control
1 = 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
2 = DISABLE
8.9 DAVICOM Specified Configuration and Status Register (DSCSR) - 17
Bit
Bit Name
Default
Description
17.15
100FDX
1, RO
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
17.14
100HDX
1, RO
100M Half Duplex Operation Mode
After auto-negotiation is completed, results will be written to this bit. If this
bit is 1, it means the operation 1 mode is a 100M half duplex mode. The
software can read bit [15:12] to see which mode is selected after
auto-negotiation. This bit is invalid when it is not in the auto-negotiation
mode
17.13
10FDX
1, RO
10M Full Duplex Operation Mode
After auto-negotiation is completed, results will be written to this bit. If this
bit is 1, it means the operation 1 mode is a 10M Full Duplex mode. The
software can read bit [15:12] to see which mode is selected after
auto-negotiation. This bit is invalid when it is not in the auto-negotiation
mode
17.12
10HDX
1, RO
10M Half Duplex Operation Mode
Final
Version: DM9000B-13-DS-F03
March 5, 2012
41
DM9000B
Ethernet Controller with General Processor Interface
17.11
-17.9
17.8
-17.4
17.3
-17.0
Reserved
0, RO
PHYADR[4
:0]
(PHYADR),
RW
ANMB[3:0]
0, RO
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
Read as 0, ignore on write
PHY Address Bit 4:0
The first PHY address bit transmitted or received is the MSB of the
address (bit 4). A station management entity connected to multiple PHY
entities must know the appropriate address of each PHY
Auto-negotiation Monitor Bits
These bits are for debug only. The auto-negotiation status will be written
to these bits.
B3 B2 B1 B0
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
In IDLE state
Ability match
Acknowledge match
Acknowledge match fail
Consistency match
Consistency match fail
Parallel detects signal_link_ready
Parallel detects signal_link_ready fail
Auto-negotiation completed successfully
8.10 10BASE-T Configuration/Status (10BTCSR) - 18
Bit
Bit Name
Default
Description
18.15
Reserved
0, RO
Reserved
Read as 0, ignore on write
18.14
LP_EN
1, RW
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
18.13
HBE
1,RW
Heartbeat Enable
1 = Heartbeat function enabled
0 = Heartbeat function disabled
When the DM9000B is configured for full duplex operation, this bit will
be ignored (the collision/heartbeat function is invalid in full duplex
mode), This bit is valid only in 10Mbps operation.
18.12
SQUELCH
1, RW
Squelch Enable
1 = Normal squelch
0 = Low squelch
18.11
JABEN
1, RW
Jabber Enable
Enables or disables the Jabber function when the DM9000B is in
10BASE-T full duplex or 10BASE-T transceiver Loop-back mode
1 = Jabber function enabled
0 = Jabber function disabled
18.10
Reserved
0, RW
Reserved
Force to 0, in application.
Final
Version: DM9000B-13-DS-F03
March 5, 2012
42
DM9000B
Ethernet Controller with General Processor Interface
18.9
-18.1
18.0
Reserved
0, RO
POLR
0, RO
Reserved
Read as 0, ignore on write
Polarity Reversed
When this bit is set to 1, it indicates that the 10Mbps cable polarity is
reversed. This bit is automatically set and cleared by 10BASE-T
module
8.11 Power down Control Register (PWDOR) - 19
Bit
Bit Name
Default
Description
19.15
Reserved
0, RO
Reserved
-19.9
Read as 0, ignore on write
19.8
PD10DRV
0, RW
Vendor power down control test
19.7
PD100DL
0, RW
Vendor power down control test
19.6
PDchip
0, RW
Vendor power down control test
19.5
PDcom
0, RW
Vendor power down control test
19.4
PDaeq
0, RW
Vendor power down control test
19.3
PDdrv
0, RW
Vendor power down control test
19.2
PDedi
0, RW
Vendor power down control test
19.1
PDedo
0, RW
Vendor power down control test
19.0
PD10
0, RW
Vendor power down control test
* When selected, the power down value is control by Register 20.0
8.12 (Specified config) Register – 20
Bit
20.15
20.14
20.13
Bit Name
TSTSE1
TSTSE2
FORCE_TXSD
20.12
20.11
FORCE_FEF
PREAMBLEX
20.10
TX10M_PWR
20.9
NWAY_PWR
20.8
Reserved
20.7
MDIX_CNTL
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Default
0,RW
0,RW
0,RW
Description
Vendor test select control
Vendor test select control
Force Signal Detect
1: force SD signal OK in 100M
0: normal SD signal.
0,RW
Vendor test select control
0,RW
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
0,RW
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
0,RW
Auto-negotiation Power Saving Control
1: disable power saving during auto-negotiation period
0: enable power saving during auto-negotiation period
0, RO
Reserved
Read as 0, ignore on write
MDI/MDIX,RO The polarity of MDI/MDIX value
1: MDIX mode
0: MDI mode
43
DM9000B
Ethernet Controller with General Processor Interface
20.6
AutoNeg_lpbk
0,RW
20.5
Mdix_fix Value
0, RW
20.4
Mdix_down
0,RW
20.3
20.2
20.1
MonSel1
MonSel0
Reserved
0,RW
0,RW
0,RW
20.0
PD_value
0,RW
Auto-negotiation Loop-back
1: test internal digital auto-negotiation Loop-back
0: normal.
MDIX_CNTL force value:
When Mdix_down = 1, MDIX_CNTL value depend on the register
value.
HP Auto-MDIX Down
Manual force MDI/MDIX.
1: Disable HP Auto-MDIX , MDIX_CNTL value depend on 20.5
0: Enable HP Auto-MDIX
Vendor monitor select
Vendor monitor select
Reserved
Force to 0, in application.
Power down control value
Decision the value of each field Register 19.
1: power down
0: normal
8.13 DSP Control Register (PSCR) – 27
Bit
27.15-0
Bit Name
DSP
Default
0,RW
Description
DSP Control (for internal testing only)
8.14 Power Saving Control Register (PSCR) – 29
Bit
29.15-12
29.11
Bit Name
RESERVED
PREAMBLEX
Default
0,RO
0,RW
29.10
AMPLITUDE
0,RW
29.9
TX_PWR
0.RW
29.8-0
RESERVED
0,RO
Final
Version: DM9000B-13-DS-F03
March 5, 2012
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
44
DM9000B
Ethernet Controller with General Processor Interface
9. Functional Description
9.1 Host Interface
The host interface is a general processor local bus
that using chip select (pin CS#) to access DM9000B.
Pin CS# is default low active which can be re-defined
by EEPROM setting.
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 DM9000B 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 or 16-bit
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
Final
Version: DM9000B-13-DS-F03
March 5, 2012
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 index register 02h controls the
insertion of CRC and pads. Their statuses are
recorded at index registers 03h and 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 index register 0fch and 0fdh. Set the bit 1 of
control register. The DM9000B 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
1 of control register 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 or
16-bit ).
45
DM9000B
Ethernet Controller with General Processor Interface
9.5 100Base-TX Operation
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
5-bit (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.
The DM9000B 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.
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
connector and on the twisted pair cable in
100Base-TX operation.
Final
Version: DM9000B-13-DS-F03
March 5, 2012
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.
9.5.6 MLT-3 Driver
The two binary data streams created at the MLT-3
converter are fed to the twisted pair output driver,
which converts these streams to current sources and
alternately drives either side of the transmit
transformer’s primary winding, resulting in a minimal
current MLT-3 signal.
46
DM9000B
Ethernet Controller with General Processor Interface
9.5.7 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
Final
Version: DM9000B-13-DS-F03
March 5, 2012
47
DM9000B
Ethernet Controller with General Processor Interface
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.
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
9.6.1 Signal Detect
The signal detects function meets the specifications
mandated by the ANSI XT12 TP-PMD 100Base-TX
standards for both voltage thresholds and timing
parameters.
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
signal independent of the cable length.
Final
Version: DM9000B-13-DS-F03
March 5, 2012
9.6.3 MLT-3 to NRZI Decoder
The DM9000B decodes the MLT-3 information from
the Digital Adaptive Equalizer into NRZI data.
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
125 MHz reference clock. The extracted and
synchronized clock and data are presented to the
NRZI to NRZ decoder.
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.
48
DM9000B
Ethernet Controller with General Processor Interface
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.9 Carrier Sense
9.6.9 4B5B Decoder
9.10 Auto-Negotiation
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 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
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.
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 DM9000B is operating in 10Base-T mode,
the coding scheme is Manchester. Data processed for
transmit is presented 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.
9.8 Collision Detection
For half-duplex operation, a collision is detected when
the transmit and receive channels are active
simultaneously. Collision detection is disabled in full
duplex operation.
Final
Version: DM9000B-13-DS-F03
March 5, 2012
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 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.
49
DM9000B
Ethernet Controller with General Processor Interface
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
DM9000B automatically turns off the power and enters the
Power Reduced mode, whether its operation mode is
N-way 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 pulse, or 100Base-TX MLT3 signals,
the device will wake up and resume a normal
operation mode.
That can be writing Zero to PHY Reg. 16.4 to disable Power
Reduced mode.
Final
Version: DM9000B-13-DS-F03
March 5, 2012
9.11.1 Power down Mode
The PHY Reg.0.11 can be set high to enter the Power
Down mode, which disables all transmit and receive
functions, except the access of PHY registers.
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.
50
DM9000B
Ethernet Controller with General Processor Interface
10. DC and AC Electrical Characteristics
10.1 Absolute Maximum Ratings ( 25°C )
Symbol
Parameter
DVDD
Supply Voltage
VIN
DC Input Voltage (VIN)
VOUT
DC Output Voltage(VOUT)
Tstg
Storage Temperature range
TA
Ambient Temperature
LT
Lead Temperature
(TL,soldering,10 sec.).
10.1.1 Operating Conditions
Symbol
Parameter
DVDD
Supply Voltage
PD
100BASE-TX
(Power
10BASE-T TX
Dissipation)
10BASE-T TX (100% utilization)
Min.
-0.3
-0.5
-0.3
-65
0
-
Max.
3.6
5.5
3.6
+150
+70
+260
Unit
V
V
V
℃
℃
℃
Conditions
DM9000BEP
Min.
3.135
-------
Typ.
3.300
130
170
160
Max.
3.465
-------
Unit
V
mA
mA
mA
10BASE-T idle
---
60
---
mA
Auto-negotiation
Power Down Mode
Power Down Mode (system clock off)
-------
60
20
6
-------
mA
mA
mA
10.2 DC Electrical Characteristics (VDD = 3.3V)
Symbol
Parameter
Min.
Inputs
VIL
Input Low Voltage
VIH
Input High Voltage
2.0
IIL
Input Low Leakage Current
-1
IIH
Input High Leakage Current
Outputs
VOL
Output Low Voltage
VOH
Output High Voltage
2.4
Receiver
VICM
RX+/RX- Common Mode Input
Voltage
Transmitter
VTD100 100TX+/- Differential Output
1.9
Voltage
VTD10
10TX+/- Differential Output Voltage
4.4
ITD100
100TX+/- Differential Output
│19│
Current
ITD10
10TX+/- Differential Output Current │44│
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Typ.
Conditions
3.3V
3.3V
3.3V,power
saving
3.3V,power
saving
3.3V
3.3V
3.3V
Max.
Unit
Conditions
-
0.8
1
V
V
uA
uA
VIN = 0.0V
VIN = 3.3V
-
0.4
-
V
V
IOL = 4mA
IOH = -4mA
1.8
-
V
100 Ω Termination
Across
2.0
2.1
V
Peak to Peak
5
│20│
5.6
│21│
V
mA
Peak to Peak
Absolute Value
│50│
│56│
mA
Absolute Value
51
DM9000B
Ethernet Controller with General Processor Interface
10.3 AC Electrical Characteristics & Timing Waveforms
10.3.1 TP Interface
Symbol
Parameter
tTR/F
100TX+/- Differential Rise/Fall Time
tTM
100TX+/- Differential Rise/Fall Time
Mismatch
tTDC
100TX+/- Differential Output Duty Cycle
Distortion
Tt/T
100TX+/- Differential Output Peak-to-Peak
Jitter
XOST
100TX+/- Differential Voltage Overshoot
10.3.2 Oscillator/Crystal Timing
Symbol
Parameter
TCKC
OSC Clock Cycle
TPWH
OSC Pulse Width High
TPWL
OSC Pulse Width Low
Min.
3.0
0
Typ.
-
Max.
5.0
0.5
Unit
ns
ns
0
-
0.5
ns
0
-
1.4
ns
0
-
5
%
Min.
39.9988
16
16
Typ.
40
20
20
Max.
40.0012
24
24
Unit
ns
ns
ns
Conditions
Conditions
30ppm
10.3.3 Power On Reset Timing
T1
PWRST#
T4
Strap pins
T2
EECS
T3
Symbol
T1
T2
Parameter
PWRST# Low Period
Strap pin hold time with PWRST#
Min.
1
40
Typ.
-
Max.
-
Unit
ms
ns
T3
T4
PWRST# high to EECS high
PWRST# high to EECS burst end
-
11.31
--
3
us
ms
Conditions
-
Note: The DM9000B needs the time about 3ms to down load the setting from EEPROM after PWRST# deasserted,
During the period, the CS# pin is not recognized even no EEPROM present. So, please note that processor only
access DM9000B after PWRST# deasserted 3ms.
Final
Version: DM9000B-13-DS-F03
March 5, 2012
52
DM9000B
Ethernet Controller with General Processor Interface
10.3.4 Processor I/O Read Timing
CS#,CMD
T1
T5
IOR#
T6
T2
SD
T3
Symbol
T1
T2
T3
T4
T5
T6
T2+T6
T2+T6
Parameter
CS#,CMD valid to IOR# valid
IOR# width
System Data(SD) Delay time
IOR# invalid to System Data(SD) invalid
IOR# invalid to CS#,CMD invalid
IOR# invalid to next IOR#/IOW# valid
When read DM9000B register
IOR# valid to next IOR#/IOW# valid
When read DM9000B memory with F0h register
IOR# valid to next IOR#/IOW# valid
When read DM9000B memory with F2h register
T4
Min.
0
20
Typ.
Max.
0
2
Unit
ns
ns
ns *1
ns *1
ns
Clk *2
4
Clk *2
1
Clk *2
19
6
*Note:
*1: 19ns for bus driving 2mA, 12ns for 4mA, 10ns for 6mA, 10ns for 8mA.
*2: The Default clock period is 20ns
Final
Version: DM9000B-13-DS-F03
March 5, 2012
53
DM9000B
Ethernet Controller with General Processor Interface
10.3.5 Processor I/O Write Timing
CS#,CMD
T1
IOW#
T5
T6
T2
∫∫
T4
SD
T3
Symbol
T1
T2
T3
T4
T5
T6
T6
T2+T6
Parameter
CS#,CMD valid to IOW# valid
IOW# Width
System Data(SD) Setup Time
System Data(SD) Hold Time
IOW# Invalid to CS#,CMD Invalid
IOW# Invalid to next IOW#/IOR# valid
When write DM9000B INDEX port
IOW# Invalid to next IOW#/IOR# valid
When write DM9000B DATA port
IOW# valid to next IOW#/IOR# valid
When write DM9000B memory
Min.
0
10
10
3
0
1
Typ.
Max.
Unit
ns
ns
ns
ns
ns
clk*
2
clk*
1
clk*
Note:(The default clk period is 20ns)
Final
Version: DM9000B-13-DS-F03
March 5, 2012
54
DM9000B
Ethernet Controller with General Processor Interface
10.3.6 EEPROM Interface Timing
T3
T2
EECS
T1
EECK
T4
T6
EEDIO
T5
T7
Symbol
T1
T1
T2
T3
T4
T5
T6
T7
Parameter
EECK Frequency
EECK Frequency, if PHYceiver is power-down
EECS Setup Time
EECS Hold Time
EEDIO Setup Time when output
EEDIO Hold Time when output
EEDIO Setup Time when input
EEDIO Hold Time when input
Final
Version: DM9000B-13-DS-F03
March 5, 2012
Min.
8
8
Typ.
0.375
0.094
500
833
480
2200
Max.
Unit
MHz
MHz
ns
ns
ns
ns
ns
ns
55
DM9000B
Ethernet Controller with General Processor Interface
11. Application Notes
11.1 Network Interface Signal Routing
Place the transformer as close as possible to the RJ-45
connector. Place all the 50Ω resistors as close as possible
to the DM9000B 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 DM9000B.. There should be no
power or ground planes in the area under the network side
of the transformer to include the area under the RJ-45
connector. (Refer to Figure 11-4 and 11-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 1 and 48 as possible (refer to Figure 11-1 and 11-2).
The designer should not run any high-speed signal near the
Band Gap resistor placement.
11.2 10Base-T/100Base-TX Auto MDIX Application
Figure 11-1 Auto MDIX Application
Final
Version: DM9000B-13-DS-F03
March 5, 2012
56
DM9000B
Ethernet Controller with General Processor Interface
11.3 10Base-T/100Base-TX ( Non Auto MDIX Transformer Application )
Figure 11-2 Non Auto MDIX Transformer Application
Final
Version: DM9000B-13-DS-F03
March 5, 2012
57
DM9000B
Ethernet Controller with General Processor Interface
11.4 Power Decoupling Capacitors
Davicom Semiconductor recommends placing all the decoupling capacitors for all power supply pins as close as possible to
the power pads of the DM9000B (The best placed distance is < 3mm from pin). The recommended decoupling capacitor is
0.1μF or 0.01μF, as required by the design layout.
Figure 3
Figure 11-3 Power Decoupling Capacitors
Final
Version: DM9000B-13-DS-F03
March 5, 2012
58
DM9000B
Ethernet Controller with General Processor Interface
11.5 Ground Plane Layout
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 11-4 shows a recommended
ground layout scheme.
Figure 4
Figure 11-4 Ground Plane Layout
Final
Version: DM9000B-13-DS-F03
March 5, 2012
59
DM9000B
Ethernet Controller with General Processor Interface
11.6 Power Plane Partitioning
The power planes should be approximately illustrated in Figure 11-5.
Figure 11-5 Power Plane Partitioning
Final
Version: DM9000B-13-DS-F03
March 5, 2012
60
DM9000B
Ethernet Controller with General Processor Interface
11.7 Magnetic Selection Guide
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
Refer to Table 2 for transformer requirements.
Transformers, meeting these requirements, are
available from a variety of magnetic manufacturers.
Designers should test and qualify all magnetic before
using them in an application. The transformers listed
in Table 2 are electrical equivalents, but may not be
Manufacturer
Part Number
Pulse Engineering
PE-68515, H1102
YCL
PH163112, PH163539
DELTA
LFE8505-DC , LFE8563-DC, LFE8583-DC
GTS
FC-618SM
MACOM
HS9016, HS9024
Table 2
11.8 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.
X1
X2
43
Connects to pins X1 and X2, and shunts each crystal
lead to ground with a 22pf capacitor (see figure 11-6).
44
25MHz
22pf
AGND
22pf
AGND
Figure 11-6
Crystal Circuit Diagram
Final
Version: DM9000B-13-DS-F03
March 5, 2012
61
DM9000B
Ethernet Controller with General Processor Interface
12. Package Information
unit: inches/mm
LQFP 48L (F.P. 2mm) Outline Dimensions
D
D1
y
Symbol
A
A1
A2
b
b1
C
C1
D
D1
E
E1
L
L1
y
Dimensions in inches
Min.
Nom.
Max.
0.063
0.002
0.006
0.053
0.055
0.057
0.007
0.009
0.011
0.007
0.008
0.009
0.004
0.008
0.004
0.006
0.354BSC
0.276BSC
0.354BSC
0.276BSC
0.020BSC
Dimensions in mm
Min.
Nom. Max.
1.60
0.05
0.15
1.35
1.40
1.45
0.17
0.22
0.27
0.17
0.20
0.23
0.09
0.20
0.09
0.16
9.00BSC
7.00BSC
9.00BSC
7.00BSC
0.50BSC
0.018
0.45
0.024
0.030
0.039REF
0.003MAX
Final
Version: DM9000B-13-DS-F03
March 5, 2012
0.60
1.00REF
0.08MAX
0.75
Notes:
1. To be determined at seating plane.
2. Dimensions D1 and E 1do not include mold
protrusion. D1 and E1 are maximum plastic body
size dimensions including mold mismatch.
3. Dimensions b does not include dambar protrusion.
Total in excess of the b dimension at maximum
material condition. Dambar cannot be located on
the lower radius of the foot.
4. Exact shape of each corner is optional.
5. These dimensions apply to the flat section of the
lead between 0.10mm and 0.25mm from the lead
tip.
6. A1 is defined as the distance from the seating plane
to the lowest point of the package body.
7. Controlling dimension: millimeter.
8. Reference documents: JEDEC MS-026, BBC.
62
DM9000B
Ethernet Controller with General Processor Interface
application circuits illustrated in this document are for
reference purposes only.
13. Ordering Information
Part Number
Pin Count
DM9000BEP
48
Package
LQFP
(Pb-Free)
Disclaimer
The information appearing in this publication is
believed to be accurate. Integrated circuits sold by
DAVICOM Semiconductor are covered by the
warranty and patent indemnification provisions
stipulated in the terms of sale only. DAVICOM makes
no warranty, express, statutory, implied or by
description regarding the information in this
publication or regarding the information in this
publication or regarding the freedom of the described
chip(s) from patent infringement.
FURTHER,
DAVICOM
MAKES
NO
WARRANTY
OF
MERCHANTABILITY OR FITNESS FOR ANY
PURPOSE. DAVICOM reserves the right to halt
production or alter the specifications and prices at any
time without notice. Accordingly, the reader is
cautioned to verify that the data sheets and other
information in this publication are current before
placing orders. Products described herein are
intended for use in normal commercial applications.
Applications involving unusual environmental or
reliability requirements, e.g. military equipment or
medical life support equipment, are specifically not
recommended without additional processing by
DAVICOM for such applications. Please note that
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: sales@davicom.com.tw
HTTP: http://www.davicom.com.tw
WARNING
Conditions beyond those listed for the absolute maximum may destroy or damage the products. In addition, conditions for sustained periods at near
the limits of the operating ranges will stress and may temporarily (and permanently) affect and damage structure, performance and function.
Final
Version: DM9000B-13-DS-F03
March 5, 2012
63