DM8606AF - Davicom Semiconductor Inc.

DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
DAVICOM Semiconductor, Inc.
DM8606AF
6-Port Fast Ethernet
Single Chip Switch Controller
DATA SHEET
Preliminary
Version: DM8606AF-DS-P03
Nov. 04, 2005
Preliminary
Version: DM8606AF-DS-P03
Nov. 04, 2005
i
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Table of Contents
Chapter 1 Product Overview ........................................................................................ 1-1
1.1 Overview.......................................................................................................... 1-1
1.2 Features ............................................................................................................ 1-2
1.3 Applications ..................................................................................................... 1-2
1.4 Block Diagram ................................................................................................. 1-3
1.5 Abbreviations................................................................................................... 1-3
1.6 Conventions ..................................................................................................... 1-5
1.6.1 Data Lengths.............................................................................................. 1-5
1.6.2 Pin Types.................................................................................................... 1-5
1.6.2 Register Types............................................................................................ 1-5
Chapter 2 Interface Description ................................................................................... 2-1
2.1 Pin Diagram ..................................................................................................... 2-1
2.2 Pin Description by Function ............................................................................ 2-2
2.2.1 Twisted Pair Interface................................................................................ 2-2
2.2.2 5th Port (Port4 MII) Interfaces.................................................................. 2-2
2.2.3 6th Port (Port5 MII) Interfaces.................................................................. 2-6
2.2.4 LED Interface............................................................................................. 2-9
2.2.5 EEPROM/Management Interface ............................................................ 2-10
2.2.6 Power/Ground, 48 pins............................................................................ 2-12
2.2.7 Miscellaneous .......................................................................................... 2-12
Chapter 3 Function Description ................................................................................... 3-1
3.1 Functional Descriptions ................................................................................... 3-1
3.2 10/100M PHY Block ....................................................................................... 3-1
3.3 100Base-X Module .......................................................................................... 3-1
3.4 100Base-X Receiver ........................................................................................ 3-2
3.4.1 A/D Converter............................................................................................ 3-2
3.4.2 Adaptive Equalizer and timing Recovery Module ..................................... 3-2
3.4.3 NRZI/NRZ and Serial/Parallel Decoder.................................................... 3-2
3.4.4 Data De-scrambling................................................................................... 3-3
3.4.5 Symbol Alignment ...................................................................................... 3-3
3.4.6 Symbol Decoding ....................................................................................... 3-3
3.4.7 Valid Data Signal....................................................................................... 3-3
3.4.8 Receive Errors ........................................................................................... 3-4
3.4.9 100Base-X Link Monitor............................................................................ 3-4
3.4.10 Carrier Sense ............................................................................................. 3-4
3.4.11 Bad SSD Detection..................................................................................... 3-4
3.4.12 Far-End Fault ............................................................................................ 3-5
3.5 100Base-TX Transceiver ................................................................................. 3-5
3.5.1 Transmit Drivers........................................................................................ 3-5
3.5.2 Twisted-Pair Receiver................................................................................ 3-5
3.6 10Base-T Module............................................................................................. 3-6
3.6.1 Operation Modes ....................................................................................... 3-6
Preliminary
Version: DM8606AF-DS-P03
Nov. 04, 2005
ii
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.6.2 Manchester Encoder/Decoder ................................................................... 3-6
3.6.3 Transmit Driver and Receiver ................................................................... 3-6
3.6.4 Smart Squelch ............................................................................................ 3-7
3.7 Carrier Sense.................................................................................................... 3-7
3.8 Jabber Function................................................................................................ 3-7
3.9 Link Test Function........................................................................................... 3-8
3.10 Automatic Link Polarity Detection................................................................... 3-8
3.11 Clock Synthesizer ............................................................................................. 3-8
3.12 Auto Negotiation............................................................................................... 3-8
3.13 Memory Block .................................................................................................. 3-8
3.14 Switch Functional Description.......................................................................... 3-9
3.15 Basic Operation................................................................................................. 3-9
3.15.1 Address Learning ....................................................................................... 3-9
3.15.2 Address Recognition and Packet Forwarding ......................................... 3-10
3.15.3 Address Aging .......................................................................................... 3-10
3.15.4 Back off Algorithm ................................................................................... 3-10
3.15.5 Inter-Packet Gap (IPG) ........................................................................... 3-11
3.15.6 Illegal Frames.......................................................................................... 3-11
3.15.7 Half Duplex Flow Control ....................................................................... 3-11
3.15.8 Full Duplex Flow Control........................................................................ 3-11
3.15.9 Old Broadcast Storm filter (0x0b[0]=0 and 0x11[6]=0)........................ 3-11
3.15.10 New Broadcast/Multicast Storm filter (0x0b[0]=1 and 0x11[6]=1)....... 3-12
3.16 Auto TP MDIX function............................................................................... 3-13
3.17 Port Locking.................................................................................................... 3-13
3.18 VLAN setting & Tag/Untag & port-base VLAN ........................................... 3-13
3.19 Old Fixed Ingress Bandwidth Control ............................................................. 3-14
3.20 New Scalable Egress/Ingress Bandwidth Control ........................................... 3-14
3.21 Priority Setting ................................................................................................. 3-15
3.22 LED Display ................................................................................................... 3-15
3.22.1 Single Color LED Display ......................................................................... 3-16
3.22.2 Dual Color LED Display ........................................................................... 3-18
3.22.3 Circuit for Single LED Mode..................................................................... 3-19
3.22.4 Circuit for Dual LED Mode....................................................................... 3-19
3.23 Port4 and Port5 MII connection...................................................................... 3-20
3.24 EEPROM and SMI interface for Configuration ............................................. 3-25
3.24.1 EEPROM Setting ..................................................................................... 3-25
3.24.2 SMI Interface ........................................................................................... 3-26
Chapter 4 Register Description .................................................................................... 4-1
4.1 EEPROM Content............................................................................................ 4-1
4.1.1 Memory Map................................................................................................ 4-1
4.2 EEPROM Register Map................................................................................... 4-1
4.3 EEPROM Register ........................................................................................... 4-4
4.3.1 Signature Register...................................................................................... 4-4
4.3.2 Port0~5 Basic Control Registers ............................................................... 4-4
4.3.3 System Control Register 0.......................................................................... 4-5
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
iii
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.3.4 System Control Register 1.......................................................................... 4-5
4.3.5 Reserved Register....................................................................................... 4-6
4.3.6 VLAN Priority Map Register ..................................................................... 4-6
4.3.7 TOS Priority Map Register ........................................................................ 4-7
4.3.8 Normal packet content ............................................................................... 4-7
4.3.9 VLAN Packet content ................................................................................. 4-7
4.3.10 TOS IP Packet content ............................................................................... 4-8
4.3.11 System Control Register 2.......................................................................... 4-8
4.3.12 System Control Register 3........................................................................ 4-10
4.3.13 System Control Register 4........................................................................ 4-14
4.3.14 VLAN Mapping Table Registers .............................................................. 4-14
4.3.15 Reserved Register..................................................................................... 4-14
4.3.16 Port0 PVID bit 11 ~ 4 Configuration Register ........................................ 4-15
4.3.17 Port1 PVID bit 11 ~ 4 Configuration Register ........................................ 4-15
4.3.18 Port2 PVID bit 11~4 Configuration Register .......................................... 4-15
4.3.19 Port3, 4 PVID bit 11~4 Configuration Register...................................... 4-15
4.3.20 Port5 PVID bit 11~4 & VLAN group shift bits Configuration Register.. 4-16
4.3.21 Reserved Register..................................................................................... 4-16
4.3.22 Reserved Register..................................................................................... 4-16
4.3.23 PHY Restart Register ............................................................................... 4-17
4.3.24 Miscellaneous Configuration Register .................................................... 4-17
4.3.25 Bandwidth Control Register0~3 .............................................................. 4-17
4.3.26 Bandwidth Control Register 4~5 ............................................................. 4-18
4.3.27 Bandwidth Control Enable Register ........................................................ 4-18
4.3.28 Extended Bandwidth Control Register 0.................................................. 4-19
4.3.29 Extended Bandwidth Control Register 1.................................................. 4-20
4.3.30 Extended Bandwidth Control Register 2.................................................. 4-20
4.3.31 Extended Bandwidth Control Register 3.................................................. 4-20
4.3.32 Extended Bandwidth Control Register 4.................................................. 4-20
4.3.33 Extended Bandwidth Control Register 5.................................................. 4-21
4.3.34 Extended Bandwidth Control Register 6.................................................. 4-21
4.3.35 New Storm Register 0............................................................................... 4-22
4.3.36 New Storm Register 1............................................................................... 4-22
4.3.37 Reserved Register..................................................................................... 4-22
4.3.38 Reserved Register..................................................................................... 4-22
4.3.39 Reserved Register..................................................................................... 4-22
4.5 Serial Register Map........................................................................................ 4-23
4.6 Serial Register Description ............................................................................ 4-25
4.6.1 Chip Identifier 0 Register......................................................................... 4-25
4.6.2 Chip Identifier 1 Register......................................................................... 4-25
4.6.3 Port Status 0 Register .............................................................................. 4-25
4.6.4 Port Status 1 Register .............................................................................. 4-26
4.6.5 Port Status 2 Register .............................................................................. 4-27
4.6.6 Reserved Register..................................................................................... 4-27
4.6.7 Counter Low Register .............................................................................. 4-27
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
iv
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.6.8 Counter High Register ............................................................................. 4-27
4.6.9 Over Flow Flag 0 Register ...................................................................... 4-28
4.6.10 Over Flow Flag 1 Register ...................................................................... 4-28
4.6.11 Over Flow Flag 2 Register ...................................................................... 4-28
4.6.12 Over Flow Flag 3 Register ...................................................................... 4-29
4.6.13 Over Flow Flag 4 Register ...................................................................... 4-29
4.6.14 Over Flow Flag 5 Register ...................................................................... 4-29
4.6.15 Counter Control Low Register................................................................ 4-30
4.6.16 Counter Control High Register............................................................... 4-30
4.6.17 Counter Status Low Register .................................................................. 4-30
4.6.18 Counter Status High Register ................................................................. 4-30
4.8 PHY Register Description.............................................................................. 4-31
4.8.1 Control Register of Port0~4 .................................................................... 4-31
4.8.2 Status Register of Port0~4 ....................................................................... 4-33
4.8.3 PHY Identifier Register of Port0~4 ......................................................... 4-34
4.8.4 PHY Identifier Register of Port0~4 ......................................................... 4-34
4.8.5 Auto Negotiation Advertisement Register of Port0~4.............................. 4-35
4.8.6 Auto Negotiation Link Partner Ability Register of Port0~4 .................... 4-36
4.8.7 Auto Negotiation Expansion Register of Port0~4.................................... 4-37
4.8.8 Next Page Transmit Register of Port0~4................................................ 4-37
4.8.9 Link Partner Next Page Register of Port0~4........................................... 4-38
Chapter 5 Electrical Specification................................................................................. 39
5.1 TX/FX Interface................................................................................................ 39
5.1.1 TP Interface ................................................................................................ 39
5.1.2 FX Interface ................................................................................................ 40
5.2 DC Characteristics ............................................................................................ 41
5.2.1 Power Consumption........................................................................................ 41
5.2.2 Absolute Maximum Rating.............................................................................. 41
5.2.3 Recommended Operating Conditions ............................................................. 41
5.2.4 DC Electrical Characteristics for 3.3V Operation ......................................... 42
5.3 AC Characteristics ............................................................................................ 43
5.3.1 XTAL/OSC Timing .......................................................................................... 43
5.3.2 Power On Reset............................................................................................... 44
5.3.3 EEPROM Interface Timing............................................................................. 44
5.3.4 10Base-TX MII Input Timing .......................................................................... 45
5.3.5 10Base-TX MII Output Timing ....................................................................... 46
5.3.6 100Base-TX MII Input Timing ........................................................................ 46
5.3.7 100Base-TX MII Output Timing ..................................................................... 48
5.3.8 GPSI (7-wire) Input Timing ............................................................................ 49
5.3.9 GPSI (7-wire) Output Timing ......................................................................... 50
5.3.10 SDC/SDIO Timing ........................................................................................ 51
5.3.11 MDC/MDIO Timing...................................................................................... 52
5.3.12 Magnetics Selection Guide .............................................................................. 53
Chapter 6 Packaging and Ordering ............................................................................. 6-1
128 Pin QFP Outside Dimension ........................................................................... 6-1
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
v
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
vi
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
List of Figures
Figure 1-1 DM8606AF Block Diagram........................................................................... 1-3
Figure 2-1 4 TP/FX PORT + 2 MII PORT 128 Pin Diagram.......................................... 2-1
Figure 3-1 Circuit for Single Color LED Mode............................................................. 3-19
Figure 3-2 Circuit for Dual Color LED Mode ............................................................... 3-19
Figure 3-3 DM8606AF to CPU with single MII connection..................................... 3-20
Figure 3-4 DM8606AF to CPU with dual MII connection........................................ 3-21
Figure 3-5 MAC Clone Enable and VLAN Setting................................................... 3-22
Figure 3-6 100M Full duplex MAC to MAC MII connection.................................... 3-23
Figure 3-7 PCS to MAC MII connection .................................................................... 3-24
Figure 3-8 Interconnection between DM8606AF, EEPROM and CPU ........................ 3-25
Figure 5-1 TX Interface .................................................................................................... 39
Figure 5-2 FX Interface .................................................................................................... 40
Figure 5-3 XTAL/OSC Timing ........................................................................................ 43
Figure 5-4 Power On Reset Timing .................................................................................. 44
Figure 5-5 EEPROM Interface Timing............................................................................. 44
Figure 5-6 10Base-TX MII Input Timing......................................................................... 45
Figure 5-7 10Base-TX MII Output Timing ...................................................................... 46
Figure 5-8 100Base-TX MII Input Timing....................................................................... 46
Figure 5-9 100Base-TX MII Output Timing .................................................................... 48
Figure 5-10 GPSI (7-wire) Input Timing.......................................................................... 49
Figure 5-11 GPSI (7-wire) Output Timing ....................................................................... 50
Figure 5-12 SDC/SDIO Timing........................................................................................ 51
Figure 5-13 MDC/MDIO Timing ..................................................................................... 52
Figure 6-6-1 128 Pin QFP Outside Dimension............................................................... 6-1
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
vii
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
List of Tables
Table 3-1 Old broadcast strom max. packet number ..................................................... 3-12
Table 3-2 New Broadcast/Multicast Storming Threshold ............................................. 3-12
Table 3-3 Fixed Ingress bandwidth control ................................................................... 3-14
Table 3-4 Priority Queue Weight Ratio ......................................................................... 3-15
Table 3-5 Single color LED display .............................................................................. 3-16
Table 3-6 Dual color LED display................................................................................. 3-18
Table 5-1 Power Consumption ......................................................................................... 41
Table 5-2 Electrical Absolute Maximum Rating .............................................................. 41
Table 5-3 Recommended Operating Conditions............................................................... 41
Table 5-4 DC Electrical Characteristics for 3.3V Operation ............................................ 42
Table 5-5 XTAL/OSC Timing.......................................................................................... 43
Table 5-6 Power on reset timing....................................................................................... 44
Table 5-7 EEPROM Interface Timing .............................................................................. 45
Table 5-8 10Base-TX MII Input Timing .......................................................................... 45
Table 5-9 10Base-TX MII Output Timing........................................................................ 46
Table 5-10 100Base-TX MII Input Timing ...................................................................... 47
Table 5-11 100Base-TX MII Output Timing.................................................................... 48
Table 5-12 GPSI (7-wire) Input Timing ........................................................................... 49
Table 5-13 GPSI (7-wire) Output Timing ........................................................................ 50
Table 5-14 SDC/SDIO Timing ......................................................................................... 51
Table 5-15 MDC/MDIO Timing ...................................................................................... 52
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
viii
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Chapter 1 Product Overview
1.1 Overview
The DM8606AF is a high performance, low cost, highly integrated (Controller, PHY and
Memory) four-port 10/100 Mbps TX/FX plus two 10/100 MAC port Ethernet switch
controller with all ports supporting 10/100 Mbps Full/Half duplex. The DM8606AF is
intended for applications to stand alone bridge for low cost SOHO markets such as 5Port,
Router applications. The 2nd MAC can be configured as PCS type MII with 10/100 PHY
integrated.
DM8606AF provides the most advance functions such as: 802.1p(Q.O.S.),
802.1q(VLAN), Port MAC address Locking, Management, Port Status, TP AutoMDIX, 25M Crystal & Extra MII port functions to meet customer requests on Switch
demand.
The DM8606AF also supports Back Pressure in Half-Duplex mode and 802.3x Flow
Control Pause packet in Full-Duplex mode to prevent packet loss when buffers are full.
When Back Pressure is enabled, and there is no receive buffer available for the incoming
packet, the DM8606AF will issue a JAM pattern on the receiving port in Half Duplex
mode and transmit the 802.3x Pause packet back to receiving end in Full Duplex mode.
The built-in SRAM used for the packet buffer and address learning table is divided into
256 bytes/block to achieve the optimized memory utilization through complicated link
list on packets with various lengths.
DM8606AF also supports priority features by Port-Base, VLAN and IP TOS field
checking. Users can easily set different priority modes in individual ports, through a
small low-cost micro controller to initialize or on-the-fly to configure. Each output port
supports four queues in the way of fixed N: 1 fairness queuing to fit the bandwidth
demand on various types of packet such as Voice, Video and data. 802.1Q, Tag/Untag,
and up to 16 groups of VLAN are also supported.
An intelligent address recognition algorithm allows DM8606AF to recognize up to 2048
different MAC addresses and enables filtering and forwarding at full wire speed.
Port MAC address Locking function is also supported by DM8606AF to use on Building
Internet access to prevent multiple users sharing one port traffic.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
1-1
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
1.2 Features
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Supports four 10M/100M auto-detect Half/Full duplex switch ports with TX/FX
interfaces and two MII/GPSI ports.
Supports 2048 MAC addresses table with 4-ways associative hash algorithm.
Supports four queue for QoS
Supports priority features by Port-Based, 802.1p VLAN & IP TOS of packets.
Supports Store & Forward architecture and performs forwarding and filtering at nonblocking full wire speed.
Supports buffer allocation with 256 bytes per block
Supports Aging function Enable/Disable.
Supports per port Single/Dual color mode with Power On auto diagnostic.
Supports 802.3x Flow Control pause packet for Full Duplex in case buffer is full.
Supports Back Pressure function for Half Duplex operation in case buffer is full.
Supports packet lengths up to 1522/1522(Default)/1536/1784 bytes in maximum.
Broadcast/Multicast Storming Filter function.
Supports 802.1Q VLAN. Up to 16 VLAN groups are implemented by the last four
bits of VLAN ID.
2bit MAC clone to support multiple WAN application
Supports TP interface Auto MDIX function for auto TX/RX swap by strapping-pin.
Easy Management 32-bits smart counter for per port RX/TX byte/packet count, error
count and collision count, 16-bits smart counter for per port err count and collision
count.
Supports PHY status output for management system.
25M Crystal only for the whole system.
128 QFP package with 0.18um technology. 1.8V/3.3V power supply.
1.0W low power consumption.
1.3 Applications
DM8606AF in 128-pin QFP:
• SOHO 5-port switch.
• 5-port switch + Router with MII CPU interface.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
1-2
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
1.4 Block Diagram
Embedded Memory
LED
DISPLAY
CONTROL
Switching Fabric
Memory
BIST
10/100M
10/100M
MAC
MAC
...
10/100M
10/100M
MAC
MAC
LED
Interface
MII
Interface
PORT0
PORT1
PORT2
Twisted
Pair
Interface
...
PORTN
Data Handler
RXP4
RXN4
A/D
CONVERTER
DIGITAL
EQUALIZER
PARTITION HANDLER
TXP4
DRIVER
MLT3 Converter
SCRAMBLER
TXN4
BIAS
TRANSMIT
STATE
MACHINE
CLOCK GENERATOR
Figure 1-1 DM8606AF Block Diagram
1.5 Abbreviations
BER
CFI
COL
CRC
CRS
CS
DA
DI
DO
EDI
EDO
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Bit Error Rate
Canonical Format Indicator
Collision
Cyclic Redundancy Check
Carrier Sense
Chip Select
Destination Address
Data Input
Data Output
EEPROM Data Input
EEPROM Data Output
1-3
DM8606AF
EECS
EESK
ESD
FEFI
FET
FLP
GND
GPSI
IPG
LFSR
MAC
MDIX
MII
NRZI
NRZ
PCS
PHY
PLL
PMA
PMD
QoS
QFP
RST
RXCLK
RXD
RXDV
RXER
RXN
RXP
SA
SOHO
SSD
SQE
TOS
TP
TTL
TXCLK
TXD
TXEN
TXN
TXP
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
6-Port Fast Ethernet Single Chip Switch Controller
EEPROM Chip Select
EEPROM Clock
End of Stream Delimiter
Far End Fault Indication
Field Effect Transistor
Fast Link Pulse
Ground
General Purpose Serial Interface
Inter-Packet Gap
Linear Feedback Shift Register
Media Access Controller
MDI Crossover
Media Independent Interface
Non Return to Zero Inverter
Non Return to Zero
Physical Coding Sub-layer
Physical Layer
Phase Lock Loop
Physical Medium Attachment
Physical Medium Dependent
Quality of Service
Quad Flat Package
Reset
Receive Clock
Receive Data
Receive Data Valid
Receive Data Errors
Receive Negative (Analog receive differential signal)
Receive Positive (Analog receive differential signal)
Source Address
Small Office Home Office
Start of Stream Delimiter
Signal Quality Error
Type of Service
Twisted Pair
Transistor Transistor Logic
Transmission Clock
Transmission Data
Transmission Enable
Transmission Negative
Transmission Positive
1-4
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
1.6 Conventions
1.6.1 Data Lengths
qword
dword
word
byte
nibble
64-bits
32-bits
16-bits
8 bits
4 bits
1.6.2 Pin Types
Pin Type
I
O
I/O
OD
SCHE
PD
PU
Description
Input
Output
Bi-directional
Open drain
Schmitt Trigger
internal pull-down
internal pull-up
1.6.2 Register Types
Register Type
RO
WO
RW
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Description
Read-only
Write-only
Read/Write
1-5
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Chapter 2 Interface Description
2.1 Pin Diagram
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
VCC2IK
P5TXEN(PHYAS0)
P5TXCLK
P5RXER
GNDO
GNDO
VCC3O
P5RXCLK
P4RXDV
P4RXD0
VCC2IK
GNDIK
P4CRS
P4COL
EDI (DUAL COLOR)
EECS
EESK (XOVEN)
VCC2IK
GNDIK
EDO
CKO25M
CFG0
GNDO
VCC3O
SPDTNP5
LNKFP5
DPHALFP5
LNKFP4
GNDIK
VCC2IK
LNKACT3
LNKACT2
LNKACT1
LNKACT0
GNDIK
(GFCEN) P5TXD0
P4FX
P4TXD1 (P4TYPE1)
P4TXD0 (P4TYPE0)
(P5GPSI) P5TXD1
P5TXD2
P5TXD3
DPHALFP4
GNDO
109
110
VCC3O
111
DUPCOL2 (RECBPEN)
DUPCOL1(PHYAS1)
114
115
98
P4TXD3
P4TXD2
108
112
113
99
GNDO
P4RXD1
106
107
P4RXD2
105
100
P4RXD3
104
101
102
103
P5COL
P5CRS
DUPCOL3
DM8606AF
DUPCOL0(RECANEN)
P4TXEN
61
60
59
58
57
56
P5RXD2
55
54
P5RXDV
SPDTNP4
116
VCCIK
117
P4RXCLK
118
GNDIK
RC
LDSPD3
119
120
62
P5RXD3
P5RXD1
P5RXD0
ADM6996FC
P4TXCLK
64
63
GNDO
VCC3O
53
52
51
50
49
48
XI
LDSPD2
121
XO
VCCIK
47
46
122
123
124
VCCPLL
GNDPLL
GNDIK
MDC
45
44
LDSPD1
43
LDSPD0
42
GNDBIAS
RTX
TEST
MDIO
41
VCCBIAS
P4RXER
39
125
126
127
128
CONTROL
VREF
VCCA2
TXP4
TXN4
GNDA
GNDA
RXP4
RXN4
VCCAD
RXN3
RXP3
GNDA
GNDA
TXN3
TXP3
VCCA2
VCCAD
RXN2
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
19
20
18
RXP2
TXN2
17
GNDA
TXP2
16
14
VCCA2
13
15
RXP1
12
VCCAD
GNDA
11
RXN1
TXN1
9
10
GNDA
TXP1
6
8
5
VCCA2
RXP0
4
7
GNDA
3
VCCAD
GNDA
2
RXN0
TXN0
1
TXP0
VCCA2
Figure 2-1 4 TP/FX PORT + 2 MII PORT 128 Pin Diagram
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
2-1
40
6-Port Fast Ethernet Single Chip Switch Controller
DM8606AF
2.2 Pin Description by Function
DM8606AF pins are categorized into one of the following groups:
ƒ Section 2.2.1 Twisted Pair Interface
ƒ Section 2.2.2 5th Port (Port4 MII) Interfaces
ƒ Section 2.2.3 6th Port (Port5 MII) Interfaces
ƒ Section 2.2.4 LED Interface
ƒ Section 2.2.5 EEPROM/Management Interface
ƒ Section 2.2.6 Power/Ground, 48 pins
ƒ Section 2.2.7 Miscellaneous
Note:
ƒ “Section 1.6.2 Pin Types” can be used for reference.
2.2.1 Twisted Pair Interface
Pin#
Pin Name
6, 14, 21, 29, 33 RXP[0:4]
7, 15, 22, 30, 32 RXN[0:4]
2, 10, 18, 25, 37 TXP[0:4]
3, 11, 19, 26, 36 TXN[0:4]
Type
I/O,
Analog
I/O,
Analog
I/O,
Analog
I/O,
Analog
Descriptions
Twisted Pair Receive Input Positive.
Twisted Pair Receive Input Negative.
Twisted Pair Transmit Output Positive.
Twisted Pair Transmit Output Negative.
2.2.2 5th Port (Port4 MII) Interfaces
Pin#
106
Pin Name
MMII_P4TXD[0]
Type
O,
8mA,
PD
Descriptions
Port4 MAC MII Transmit Data Bit 0.
The bit[0] of MAC MII Transmit data of port4. Synchronous
to the rising edge of MMII_P4TXCLK.
PMII_P4TXD[0]
I,
PD
Port4 PCS MII Transmit Data Bit 0.
The bit[0] of PCS MII Transmit data of port4. Synchronous
to the rising edge of PMII_P4TXCLK.
Setting
P4TYPE0
I,
PD
Port4 Bus Type configuration 0.
DM8606AF provides 4 bus type for port 4. See CFG0 pin
description for more detail. During power on reset, value will
be latched by DM8606AF at the rising edge of RESETL(RC)
as P4TYPE0.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
2-2
6-Port Fast Ethernet Single Chip Switch Controller
Pin#
105
DM8606AF
Pin Name
MMII_P4TXD[1]
Type
O,
8mA,
PD
Descriptions
Port4 MAC MII Transmit Data Bit 1.
The bit[1] of MAC MII Transmit data of port4. Synchronous
to the rising edge of MMII_P4TXCLK.
PMII_P4TXD[1]
I,
PD
Port4 PCS MII Transmit Data Bit 1.
The bit[1] of PCS MII Transmit data of port4. Synchronous
to the rising edge of PMII_P4TXCLK.
Setting
P4TYPE1
I,
PD
Port4 Bus Type configuration 1.
See CFG0 pin description for more detail. During power on
reset, value will be latched by DM8606AF at the rising edge
of RESETL(RC) as P4TYPE1.
MMII_P4TXD[2]
O,
8mA,
PD
Port4 MAC MII Transmit Data Bit 2.
The bit[2] of MAC MII Transmit data of port4. Synchronous
to the rising edge of MMII_P4TXCLK.
PMII_P4TXD[2]
I,
PD
Port4 PCS MII Transmit Data Bit 2.
The bit[2] of PCS MII Transmit data of port4. Synchronous
to the rising edge of PMII_P4TXCLK.
MMII_P4TXD[3]
O,
8mA,
PD
Port4 MAC MII Transmit Data Bit 3.
The bit[3] of MAC MII Transmit data of port4. Synchronous
to the rising edge of MMII_P4TXCLK.
PMII_P4TXD[3]
I,
PD
Port4 PCS MII Transmit Data Bit 3.
The bit[3] of PCS MII Transmit data of port4. Synchronous
to the rising edge of PMII_P4TXCLK.
62
P4FX
I,
PD
Port4 Fiber selection for PCS MII/PHY mode.
During power on reset, value will be latched by DM8606AF
at the rising edge of RESETL(RC) as P4FX.
0: Port4 as TX port.
1: Port4 as FX port.
114
MMII_P4TXEN
O,
8mA,
PD
Port4 MAC MII Transmit Enable.
PMII_P4TXEN
I,
PD
Port4 PCS MII Transmit Enable.
MMII_P4RXD[0]
I
PD
Port4 MAC MII Receive Data Bit 0.
The bit[0] of MAC MII Receive data of port4. Synchronous
to the rising edge of MMII_P4RXCLK.
PMII_P4RXD[0]
O,
8mA,
PD
Port4 PCS MII Receive Data Bit 0.
The bit[0] of MAC MII Receive data of port4. Synchronous
to the rising edge of PMII_P4RXCLK.
104
103
74
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
2-3
6-Port Fast Ethernet Single Chip Switch Controller
Pin#
100
101
102
73
DM8606AF
Pin Name
MMII_P4RXD[1]
Type
I
PD
Descriptions
Port4 MAC MII Receive Data Bit 1.
The bit[1] of MAC MII Receive data of port4. Synchronous
to the rising edge of MMII_P4RXCLK.
PMII_P4RXD[1]
O,
8mA,
PD
Port4 PCS MII Receive Data Bit 1.
The bit[1] of MAC MII Receive data of port4. Synchronous
to the rising edge of PMII_P4RXCLK.
MMII_P4RXD[2]
I
PD
Port4 MAC MII Receive Data Bit 2.
The bit[2] of MAC MII Receive data of port4. Synchronous
to the rising edge of MMII_P4RXCLK.
PMII_P4RXD[2]
O,
8mA,
PD
Port4 PCS MII Receive Data Bit 2.
The bit[2] of MAC MII Receive data of port4. Synchronous
to the rising edge of PMII_P4RXCLK.
MMII_P4RXD[3]
I
PD
Port4 MAC MII Receive Data Bit 3.
The bit[3] of MAC MII Receive data of port4. Synchronous
to the rising edge of MMII_P4RXCLK.
PMII_P4RXD[3]
O,
8mA,
PD
Port4 PCS MII Receive Data Bit 3.
The bit[3] of MAC MII Receive data of port4. Synchronous
to the rising edge of PMII_P4RXCLK.
MMII_P4RXDV
I,
PD
Port4 MAC MII Receive Data Valid.
Active high to indicate that the data on MMII_P4RXD[3:0] is
valid, Synchronous to the rising edge of MMII_P4RXCLK.
PMII_P4RXDV
O,
8mA
PD
Port4 PCS MII Receive Data Valid.
Active high to indicate that the data on PMII_P4RXD[3:0] is
valid, Synchronous to the rising edge of MMII_P4RXCLK.
39
MII_P4RXER
I,
PD
Port4 MAC MII Receive Error.
Active high to indicate that there is symbol error on the
MMII_P4RXD[3:0]. Only valid in 100M operation.
78
MMII_P4COL
I,
PD
Port4 MAC MII Collision input.
Active high to indicate that there is collision on the medium.
Stay low in full duplex operation.
PMII_P4COL
O,
8mA,
PD
MMII_P4CRS
I
PD
77
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Port4 PCS MII Collision output.
This pin is used to output collision status.
Port4 MAC MII Port Carrier Sense.
In full duplex mode, this pin reflects the receive carrier
sense situation on medium only; In half duplex, this pin will
be high both in receive and transmit condition.
2-4
6-Port Fast Ethernet Single Chip Switch Controller
Pin#
Pin Name
PMII_P4CRS
117
MMII_P4RXCLK
115
107
92
51
DM8606AF
Type
O,
8mA,
PD
I,
PD
Descriptions
Port4 PCS MII Port Carrier Sense.
This pin is used to output Carrier Sense status.
PMII_P4RXCLK
O,
8mA,
PD
Port4 PCS MII Receive Clock output
25MHz free running clock in 100M mode and 2.5MHz free
running clock in 10M mode.
MMII_P4TXCLK
I,
PD
Port4 MAC MII Transmit clock input.
25MHz free running clock in 100M mode and 2.5MHz free
running clock in 10M mode.
PMII_P4TXCLK
O,
8mA,
PD
Port4 MAC MII Transmit clock output.
25MHz free running clock in 100M mode and 2.5MHz free
running clock in 10M mode.
Port4 MAC MII Receive Clock input.
25MHz free running clock in 100M mode and 2.5MHz free
running clock in 10M mode.
DHALFP4
I,
PD
Port4 Duplex Status Input.
When Port4 operates under MAC MII mode, this pin is used
to select the duplex mode of Port4.
0 = Full Duplex
1 = Half Duplex
DUPCOL4
O,
8mA,
PD
Port4 Duplex/Collision LED
When Port4 operates under PHY or PCS MII mode, in Full
duplex mode, this pin acts as DUPLEX LED for Port4,
respectively in half duplex mode, it is collision LED for each
port. See Chapter 3.22 LED Display for more details.
I,
PD
Port4 Port Link Fail Status Input.
When Port4 operates under MAC MII mode, this pin is used
as link control of Port4.
0 = Link Up
1 = Link Failed
LNKACT4
O,
8mA,
PD
Port4 LINK/Activity LED.
When Port4 operates under PHY or PCS MII mode, this pin
is used to indicate the link/activity status of Port4, see
Chapter 3.22 LED Display for more details.
SPDTNP4
I,
PD
Port4 Speed Input.
When Port4 operates under MAC MII mode, this pin is used
to select the operating speed of Port4.
0 = 100M
1 = 10M
LNKFP4
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
2-5
6-Port Fast Ethernet Single Chip Switch Controller
Pin#
Pin Name
LDSPD4
Type
O,
8mA,
PD
DM8606AF
Descriptions
Port4 Speed LED
When Port4 operates under PHY or PCS MII mode, this pin
is used to indicate the speed status of Port4, see Chapter
3.22 LED Display for more details.
2.2.3 6th Port (Port5 MII) Interfaces
Pin#
63
Pin Name
MII_P5TXD[0]
Type
O,
4mA,
PU
Descriptions
Port5 MII Transmit Data Bit 0.
The bit[0] of MII Transmit data of port5. Synchronous to the
rising edge of MII_P5TXCLK.
RMII_P5TXD[0]
O,
4mA,
PU
Port5 RMII Transmit Data Bit 0.
The bit[0] of RMII Transmit data of port5. Synchronous to
the rising edge of REFCLK_IN.
GPSI_P5TXD
O,
4mA,
PU
Port5 GPSI Transmit Data Bit 0.
GPSI Transmit data of port5. Synchronous to the rising
edge of GPSI_P5TXCLK.
Setting
GFCEN
61
I,
PU
Global Flow Control Enable.
Value on this pin will be latched by DM8606AF at the rising
edge of RESETL(RC) as flow control enable.
0 = Flow control capability is depended upon the register
setting in corresponding port’s Basic Control Register.
1 = All ports flow control capability is enabled.
MII_P5TXD[1]
O,
4mA,
PD
Port5 MII Transmit Data Bit 1.
The bit[1] of MII Transmit data of port5. Synchronous to the
rising edge of MII_P5TXCLK.
RMII_P5TXD[1]
O,
4mA,
PD
Port5 RMII Transmit Data Bit 1.
The bit[1] of RMII Transmit data of port5. Synchronous to
the rising edge of REFCLK_IN.
Setting
P5TYPE0
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
I,
PD
Port5 Bus Type configuration 0.
Value on this pin will be latched by DM8606AF at the rising
edge of RESETL(RC) as port bus mode selection bit 0.
Combined with P5TYPE1, DM8606AF provides 3 bus types
for Port5. P5TYPE[1:0]:
00 = MII (default)
01 = GPSI
10 = RMII
11 = Reserved and not allowed
2-6
6-Port Fast Ethernet Single Chip Switch Controller
Pin#
59
Pin Name
MII_P5TXD[3]
Setting
SDIO_MD
60
MII_P5TXD[2]
Setting
P5TYPE1
66
53
DM8606AF
Type
O,
4mA,
PD
Descriptions
Port5 MII Transmit Data Bit 3.
The bit[3] of MII Transmit data of port5. Synchronous to the
rising edge of MII_P5TXCLK.
I,
PD
SDC/SDIO Mode Selection.
Value on this pin will be latched by DM8606AF at the rising
edge of RESETL(RC) for SDIO 32/16 bits selection.
0 : 32 bits mode. (default)
1 : 16 bits mode. Same timing as MDC/MDIO.
O,
4mA
PD
Port5 MII Transmit Data Bit 2.
The bit[2] of MII Transmit data of port5. Synchronous to the
rising edge of MII_P5TXCLK.
I,
PD
Port5 Bus Type configuration 1.
Value on this pin will be latched by DM8606AF at the rising
edge of RESETL(RC) as port bus mode selection bit 1. See
P5TYPE0 for more details.
MII_P5TXEN
O,
8mA,
PD
Port5 MII Transmit Enable.
Active high to indicate that the data on MII_P5TXD[3:0] is
valid. Synchronous to the rising edge of MII_P5TXCLK.
RMII_P5TXEN
O,
8mA,
PD
Port5 RMII Transmit Enable.
Active high to indicate that the data on RMII_P5TXD[1:0] is
valid. Synchronous to the rising edge of REFCLK_IN.
GPSI_P5TXEN
O,
8mA,
PD
Port5 GPSI Transmit Enable.
Active high to indicate that the data on GPSI_P5TXD is
valid. Synchronous to the rising edge of GPSI_P5TXCLK.
Setting
PHYAS0
I,
PD
PHY Address Bit 0.
During power on reset, value will be latched by DM8606AF
at the rising edge of RESETL(RC) as PHY starts address
select.
PHYAS[1:0]=00 and PHY address start from 01000B.
MII_P5RXD[0]
I,
PD
Port5 MII Receive Data Bit 0
The bit[0] of MII Receive data of Port5. Synchronous to the
rising edge of MII_P5RXCLK.
RMII_P5RXD[0]
I,
PD
Port5 RMII Receive Data Bit 0
The bit[0] of RMII Receive data of Port5. Synchronous to
the rising edge of REFCLK_IN.
GPSI_P5RXD
I,
PD
Port5 GPSI Receive Data.
GPSI Receive data of Port5. Synchronous to the rising edge
of GPSI_P5RXCLK.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
2-7
6-Port Fast Ethernet Single Chip Switch Controller
Pin#
54
Pin Name
MII_P5RXD[1]
Type
I,
PD
DM8606AF
Descriptions
Port5 MII Receive Data Bit 1.
The bit[1] of MII Receive data of Port5. Synchronous to the
rising edge of MII_P5RXCLK.
RMII_P5RXD[1]
I,
PD
Port5 RMII Receive Data Bit 1.
The bit[1] of RMII Receive data of Port5. Synchronous to
the rising edge of REFCLK_IN.
55
MII_P5RXD[2]
I,
PD
Port5 MII Receive Data Bit 2.
The bit[2] of MII Receive data of Port5. Synchronous to the
rising edge of MII_P5RXCLK.
56
MII_P5RXD[3]
I,
PD
Port5 MII Receive Data Bit 3.
The bit[3] of MII Receive data of Port5. Synchronous to the
rising edge of MII_P5RXCLK.
52
MII_P5RXDV
I,
PD
Port5 MII Receive Data Valid.
Active high to indicate that the data on MII_P5RXD[3:0] is
valid. Synchronous to the rising edge of MII_P5RXCLK.
RMII_P5CRSDV
I,
PD
Port5 RMII Carrier Sense and Receive Data Valid.
Active high to indicate that the data on RMII_P5RXD[1:0] is
valid. Synchronous to the rising edge of REFCLK_IN.
MII_P5RXER
I,
PD
Port5 MII Receive Error.
Active high to indicate that there is a symbol error on
MII_P5RXD[3:0]. Only valid in 100M operation.
RMII_P5RXER
I,
PD
Port5 RMII Receive Error.
Active high to indicate that there is a symbol error on
RMII_P5RXD[1:0]. Only valid in 100M operation.
MII_P5COL
I,
PD
Port5 MII Collision Input.
Active high to indicate that there is a collision on the
medium. Stay low in full duplex operation.
GPSI_P5COL
I,
PD
Port5 GPSI Collision Input.
Active high to indicate that there is a collision on the
medium. Stay low in full duplex operation.
MII_P5CRS
I,
PD
Port5 MII Carrier Sense.
In full duplex mode, this pin reflects the receive carrier
sense situation on medium only; In half duplex, this pin will
be high both in receive and transmit condition.
GPSI_P5CRS
I,
PD
Port5 GPSI Carrier Sense.
In full duplex mode, this pin reflects the receive carrier
sense situation on medium only; In half duplex, this pin will
be high both in receive and transmit condition.
68
58
57
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
2-8
6-Port Fast Ethernet Single Chip Switch Controller
Pin#
72
67
Pin Name
MII_P5RXCLK
DM8606AF
Type
I,
PD
Descriptions
Port5 MII Receive Clock Input.
It is 25MHz free running clock in 100M mode and 2.5MHz
free running clock in 10M mode.
REFCLK_IN
I,
PD
RMII 50MHz Reference Clock Input.
This pin is used as 50MHz reference clock signal input pin
when Port5 operates in RMII mode.
GPSI_P5RXCLK
I,
PD
Port5 GPSI Receive Clock Input.
This pin is non-continuous 10MHz Clock input.
MII_P5TXCLK
I,
PD
Port5 MII Transmit Clock Input.
It is 25MHz free running clock in 100M mode and 2.5MHz
free running clock in 10M mode.
REFCLK_OUT
O,
8mA,
PD
RMII 50MHz Reference Clock Output.
This pin is used as 50MHz reference clock signal output pin
when Port5 operates in RMII mode.
GPSI_P5TXCLK
I,
PD
Port5 GPSI Transmit Clock Input.
It is continuous 10MHz clock input.
91
DHALFP5
I,
PD
Port5 Duplex Status Input.
0 = Full Duplex
1 = Half Duplex
90
LNKFP5
I,
PD
Port5 Link Fail Status Input.
0 = Link Up
1 = Link Failed
89
SPDTNP5
I,
PD
Port5 Speed Input.
0 = 100M
1 = 10M
2.2.4 LED Interface
Pin#
95,96, 97,98
Pin Name
LNKACT[3:0]
Type
O,
8mA,
PD
Descriptions
LINK/Activity LED[3:0] of Port 3 to 0.
Used to indicate corresponding port’s link/activity status,
see Chapter 3.22 LED Display for more details.
110
DUPCOL[3]
O,
8mA,
PD
Duplex/Collision LED[3] of Port3.
In full duplex mode, this pin acts as DUPLEX LED for Port3,
respectively in half duplex mode, it is collision LED for each
port. see Chapter 3.22 LED Display for more details.
111
DUPCOL[2]
O,
8mA,
PU
Duplex/Collision LED[2] of Port2. Active low
“1” for half-duplex and “blinking” for collision indication
“0” for full-duplex indication
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
2-9
6-Port Fast Ethernet Single Chip Switch Controller
DM8606AF
Pin#
Pin Name
Setting
BPEN
Type
I,
PU
Descriptions
Recommend Back-Pressure in Half-Duplex.
Value on this pin will be latched by DM8606AF during power
on reset as the back-pressure enable in half-duplex mode.
0 = Disable Back-Pressure.
1 = Enable Back-pressure.
112
DUPCOL[1]
O,
8mA,
PD
Duplex/Collision LED[1] of Port1.
In full duplex mode, this pin acts as Port1 DUPLEX LED; in
half duplex mode, it is collision LED for Port1. see Chapter
3.22 LED Display for more details.
Setting
PHYAS1
113
DUPCOL[0]
Setting
ANEN
48, 47, 43, 42
LDSPD[3:0]
I,
PD
O,
8mA,
PU
I,
PU
O,
8mA,
PD
PHY Address Bit 1.
Value on this pin will be latched by DM8606AF during power
on reset as the PHY address recommend value bit 1. See
PHYAS0 description for more details.
Duplex/Collision LED[0] of Port0.
In full duplex mode, this pin acts as Port0 DUPLEX LED; in
half duplex mode, it is collision LED for Port0. see Chapter
3.22 LED Display for more details.
Auto Negotiation Enable.
Only valid for Twisted pair interface.
0 = Disable all TP port auto negotiation capability.
1 = Enable all TP port auto negotiation capability.
Speed LED[3:0] of Port 3 to 0.
Used to indicate corresponding port’s speed status. “0” for
100Mb/s, “1” for 10Mb/s, see Chapter 3.22 LED Display for
more details.
2.2.5 EEPROM/Management Interface
Pin#
84
80
Pin Name
EDO
Type
I,
PU
Descriptions
EEPROM Data Output. Serial data input from EEPROM.
This pin is internally pull-up. During DM8606AF initialization,
DM8606AF will drive EEPROM interface signal to read
settings from EEPROM. Any other devices attached to
EEPROM interface SHOULD drive Hi-Z or keep tri-state
during this period.
EECS
O,
4mA,
PD
EEPROM Chip Select. This pin is active high chip enable
for EEPROM. When RESETL is low, it will be Tri-state.
Internally Pull-down
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
2-10
6-Port Fast Ethernet Single Chip Switch Controller
Pin#
81
79
DM8606AF
Pin Name
IFSEL
Type
I,
PD
Descriptions
Interface Selection.
After DM8606AF initialization process is done, this pin is
used to select using EEPROM interface or SDC/SDIO
interface.
0 = SDC/SDIO interface.
1 = EEPROM interface
EECK
I/O,
4mA
PD
EEPROM Serial Clock.
During the DM8606AF initialize itself, this pin is used to
output clock to EEPROM. After DM8606AF initialization
process is done, this pin is used as EEPROM interface
clock input if IFSEL = 1.
SDC
I,
PD
Serial Management interface Clock input.
If IFSEL=0, this pin is used as serial management interface
clock input.
Setting
XOVEN
I,
PD
Cross Over Enable.
Value on this pin (active low) will be latched by DM8606AF
at the rising edge of RESETL(RC) for Port 4~0 crossover
auto detect (Only available in TP interface).
0 = Disable
1 = Enable
EDI
I/O,
8mA,
PD
EEPROM Serial Data Input.
During the DM8606AF initialize itself, this pin is used to
output address and command to access EEPROM. After
DM8606AF initialization process is done, this pin becomes
an input pin to monitor EEPROM data if IFSEL = 1.
SDIO
I/O,
8mA,
PD
Serial Management interface Data Input/Output.
If IFSEL=0, this pin is used as data input/output pin of serial
management interface.
I
Choose LED Display Mode.
Value on this pin will be latched by DM8606AF at the rising
edge of RESETL(RC) as single/dual color LED mode
control signal. see Chapter 3.22 LED Display for more
details.
0 = Single color mode for LED.
1 = Dual color mode for LED.
Setting
LEDMODE
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
2-11
6-Port Fast Ethernet Single Chip Switch Controller
DM8606AF
2.2.6 Power/Ground, 48 pins
Pin#
Pin Name
4,5,12, 13, 20, GNDA
27, 28, 34, 35
1, 9, 17, 24, 38 VCCA2
8, 16, 23, 31
Type
I
I
VCCAD
I
126
GNDBIAS
I
128
VCCBIAS
I
123
GNDPLL
I
122
VCCPLL
I
GNDIK
I
VCCIK
I
GNDO
I
VCC3O
I
45, 64, 76, 83,
93, 118
46, 65, 75, 82,
94, 116
50, 69, 70, 87,
99, 108
49, 71, 88, 109
Descriptions
Ground
Used by AD Block.
1.8V, Power
Used by TX Line Driver.
3.3V, Power
Used by AD Block.
Ground
Used by Bias Block
3.3V, Power
Used by Bias Block.
Ground
Used by PLL
1.8V, Power
Used by PLL
Ground
Used by Digital Core
1.8V, Power
Used by Digital Core
Ground
Used by Digital Pad
3.3V, Power
Used by Digital Pad.
2.2.7 Miscellaneous
Pin#
85
Pin Name
CKO25M
124
CONTROL
I/O,
FET Control Signal.
Analog The pin is used to control FET for 3.3V to 1.8V regulator.
External 0.1uF capacitor connection to ground for noise
filter, even the pin is un-connected.
127
RTX
I,
Constant Voltage Reference
Analog TX Resistor. Add 1.1K %1 resister to GND.
125
VREF
I,
Analog Reference Voltage.
Analog Used by Internal Bias Circuit for voltage reference.
External 0.1uF capacitor connection to ground for noise
filter.
119
RC
I,
SCHE
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Type
O,
8mA,
PD
Descriptions
25M Clock Output.
Free running 25MHz clock output (even during power on
reset)
RC Input for Power On Reset.
This pin is sampled by using the 25MHz free running clock
signal which input from XI to generate the low-active reset
signal, RESETL.
2-12
6-Port Fast Ethernet Single Chip Switch Controller
DM8606AF
Pin#
120
Pin Name
XI
Type Descriptions
I,
25MHz Crystal / Oscillator Input.
Analog 25MHz Crystal or Oscillator Input. Variation is limited to +/50ppm.
121
XO
O,
25M Crystal Output.
Analog When connected to oscillator, this pin should left
unconnected.
86
CFG0
I,
PU
Configuration 0.
Combined with P4TYPE1 and P4TYPE0, DM8606AF
provides 3 bus type for port 4.
CFG0
0
0
1
P4TYPE[1:0]
00
01
xx
Description
PHY Interface
MAC MII
PCS MII
40
MDIO
I/O,
8mA,
PD
Management Data.
MDIO transfers management data in and out of the device
synchronous to MDC.
44
MDC
I,
SCHE
Management Data Reference Clock.
A non-continuous clock input for management usage.
DM8606AF will use this clock to sample data input on MDIO
and drive data onto MDIO according to rising edge of this
clock.
41
TEST
I,
PD
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
TEST Mode.
At normal application connect to GND.
2-13
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Chapter 3 Function Description
3.1 Functional Descriptions
The DM8606AF integrates four 100Base-X physical sub-layer (PHY), 100Base-TX
physical medium dependent (PMD) transceivers, four complete 10Base-T modules, 6
port 10/100 switch controller and two 10/100 MII/GPSI MAC and memory into a single
chip for both 10Mbits/s, 100Mbits/s Ethernet switch operation. It also supports 100BaseFX operation through external fiber-optic transceivers. The device is capable of operating
in either Full Duplex mode or Half-Duplex mode in 10Mbits/s and 100Mbits/s.
Operational modes can be selected by hardware configuration pins, software settings of
management registers, or determined by the on-chip auto negotiation logic.
The DM8606AF consists of three major blocks:
• 10/100M PHY Block
• Switch Controller Block
• Built-in SSRAM
The interfaces used for communication between PHY block and switch core is MII
interface.
Auto MDIX function is supported in this block. This function can be Enable/Disable by
hardware pin.
3.2 10/100M PHY Block
The 100Base-X section of the device implements the following functional blocks:
• 100Base-X physical coding sub-layer (PCS)
• 100Base-X physical medium attachment (PMA)
• Twisted-pair transceiver (PMD)
• The 100Base-X and 10Base-T sections share the following functional blocks.
• Clock synthesizer module
• MII Registers
• IEEE 802.3u auto negotiation
3.3 100Base-X Module
The DM8606AF implements 100Base-X compliant PCS and PMA and 100Base-TX
compliant TP-PMD as illustrated in IEEE 802.3. Bypass options for each of the major
functional blocks within the 100Base-X PCS provides flexibility for various applications.
100Mbits/s PHY loop back is included for diagnostic purpose.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-1
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.4 100Base-X Receiver
The 100Base-X receiver consists of functional blocks required to recover and condition
the 125Mbits/s receive data stream. The DM8606AF implements the 100Base-X
receiving state machine diagram as given in ANSI/IEEE Standard 802.3u, Clause 24. The
125Mbits/s receive data stream may originate from the on-chip twisted-pair transceiver in
a 100Base-TX application. Alternatively, the receive data stream may be generated by an
external optical receiver as in a 100Base-FX application.
The receiver block consists of the following functional sub-blocks:
• A/D Converter
• Adaptive Equalizer and timing recovery module
• NRZI/NRZ and serial/parallel decoder
• De-scrambler
• Symbol alignment block
• Symbol Decoder
• Collision Detect Block
• Carrier sense Block
• Stream decoder block
3.4.1 A/D Converter
A high performance A/D converter with 125Mhz sampling rate converts signals received
on RXP/RXN pins to 6 bits data streams; it also possess auto-gain-control capabilities
that will further improve receive performance especially under long cable or harsh
detrimental signal integrity. Due to high pass characteristic on transformer, built in baseline-wander correcting circuit will cancel it out and restore its DC level.
3.4.2 Adaptive Equalizer and timing Recovery Module
All digital design is especially immune from noise environments and achieves better
correlation between production and system testing. Baud rate Adaptive Equalizer/Timing
Recovery compensates line loss induced from twisted pair and tracks far end clock at
125M samples per second. Adaptive Equalizer implemented with Feed forward and
Decision Feedback techniques meet the requirement of BER less than 10-12 for
transmission on CAT5 twisted pair cable ranging from 0 to 120 meters.
3.4.3 NRZI/NRZ and Serial/Parallel Decoder
The recovered data is converted from NRZI to NRZ. The data is not necessarily aligned
to 4B/5B code group’s boundary.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-2
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.4.4 Data De-scrambling
The de-scrambler acquires synchronization with the data stream by recognizing idle
bursts of 40 or more bits and locking its deciphering Linear Feedback Shift Register
(LFSR) to the state of the scrambling LFSR. Upon achieving synchronization, the
incoming data is XORed by the deciphering LFSR and de-scrambled.
In order to maintain synchronization, the de-scrambler continuously monitors the validity
of the unscrambled data that it generates. To ensure this, a link state monitor and a hold
timer are used to constantly monitor the synchronization status. Upon synchronization of
the de-scrambler the hold timer starts a 722 us countdown. Upon detection of sufficient
idle symbols within the 722 us period, the hold timer will reset and begin a new
countdown. This monitoring operation will continue indefinitely given a properly
operating network connection with good signal integrity. If the link state monitor does
not recognize sufficient unscrambled idle symbols within 722 us period, the de-scrambler
will be forced out of the current state of synchronization and reset in order to re-acquire
synchronization.
3.4.5 Symbol Alignment
The symbol alignment circuit in the DM8606AF determines code word alignment by
recognizing the /J/K delimiter pair. This circuit operates on unaligned data from the descrambler. Once the /J/K symbol pair (11000 10001) is detected, subsequent data is
aligned on a fixed boundary.
3.4.6 Symbol Decoding
The symbol decoder functions as a look-up table that translates incoming 5B symbols
into 4B nibbles as shown in Table 1. The symbol decoder first detects the /J/K symbol
pair preceded by idle symbols and replaces the symbol with MAC preamble. All
subsequent 5B symbols are converted to the corresponding 4B nibbles for the duration of
the entire packet. This conversion ceases upon the detection of the /T/R symbol pair
denoting the end of stream delimiter (ESD). The translated data is presented on the
internal RXD[3:0] signal lines with RXD[0] represents the least significant bit of the
translated nibble.
3.4.7 Valid Data Signal
The valid data signal (RXDV) indicates that recovered and decoded nibbles are being
presented on the internal RXD[3:0] synchronous to receive clock, RXCLK. RXDV is
asserted when the first nibble of translated /J/K is ready for transfer over the internal MII.
It remains active until either the /T/R delimiter is recognized, link test indicates failure, or
no signal is detected. On any of these conditions, RXDV is de-asserted.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-3
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.4.8 Receive Errors
The RXER signal is used to communicate receiver error conditions. While the receiver is
in a state of holding RXDV asserted, the RXER will be asserted for each code word that
does not map to a valid code-group.
3.4.9 100Base-X Link Monitor
The 100Base-X link monitor function allows the receiver to ensure that reliable data is
being received. Without reliable data reception, the link monitor will halt both transmit
and receive operations until such time that a valid link is detected.
The DM8606AF performs the link integrity test as outlined in IEEE 100Base-X (Clause
24) link monitor state diagram. The link status is multiplexed with 10Mbits/s link status
to form the reportable link status bit in serial management register 1h, and driven to the
LNKACT pin.
When persistent signal energy is detected on the network, the logic moves into a LinkReady state after approximately 500 us, and waits for an enable from the auto negotiation
module. When receive, the link-up state is entered, and the transmission and reception
logic blocks become active. Should auto negotiation be disabled, the link integrity logic
moves immediately to the link-up state after entering the link-ready state.
3.4.10 Carrier Sense
Carrier sense (CRS) for 100Mbits/s operation is asserted upon the detection of two
noncontiguous zeros occurring within any 10-bit boundary of the received data stream.
The carrier sense function is independent of symbol alignment. In switch mode, CRS is
asserted during either packet transmission or reception. For repeater mode, CRS is
asserted only during packet reception. When the idle symbol pair is detected in the
received data stream, CRS is de-asserted. In repeater mode, CRS is only asserted due to
receive activity. CRS is intended to encapsulate RXDV.
3.4.11 Bad SSD Detection
A bad start of stream delimiter (Bad SSD) is an error condition that occurs in the
100Base-X receiver if carrier is detected (CRS asserted) and a valid /J/K set of codegroup (SSD) is not received.
If this condition is detected, then the DM8606AF will assert RXER and present RXD[3:0]
= 1110 to the internal MII for the cycles hat correspond to received 5B code-groups until
at least two idle code-groups are detected. Once at least two idle code groups are detected,
RXER and CRS become de-asserted.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-4
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.4.12 Far-End Fault
Auto negotiation provides a mechanism for transferring information from the Local
Station to the link Partner that a remote fault has occurred for 100Base-TX. As auto
negotiation is not currently specified for operation over fiber, the far end fault indication
function (FEFI) provides this capability for 100Base-FX applications.
A remote fault is an error in the link that one station can detect while the other cannot. An
example of this is a disconnected wire at a station’s transmitter. This station will be
receiving valid data and detect that the link is good via the link integrity monitor, but will
not be able to detect that its transmission is not propagating to the other station.
A 100Base-FX station that detects such a remote fault may modify its transmitted idle
stream from all ones to a group of 84 ones followed by a single 0. This is referred to as
the FEFI idle pattern.
3.5 100Base-TX Transceiver
DM8606AF implements a TP-PMD compliant transceiver for 100Base-TX operation.
The differential transmit driver is shared by the 10Base-T and 100Base-TX subsystems.
This arrangement results in one device that uses the same external magnetic for both the
10Base-T and the 100Base-TX transmission with simple RC component connections.
The individually wave-shaped 10Base-T and 100Base-TX transmit signals are
multiplexed in the transmission output driver selection.
3.5.1 Transmit Drivers
The DM8606AF 100Base-TX transmission driver implements MLT-3 translation and
wave-shaping functions. The rise/fall time of the output signal is closely controlled to
conform to the target range specified in the ANSI TP-PMD standard.
3.5.2 Twisted-Pair Receiver
For 100Base-TX operation, the incoming signal is detected by the on-chip twisted-pair
receiver that consists of a differential line receiver, an adaptive equalizer and a base-line
wander compensation circuits.
The DM8606AF uses an adaptive equalizer that changes filter frequency response in
accordance with cable length. The cable length is estimated based on the incoming signal
strength. The equalizer tunes itself automatically for any cable length to compensate for
the amplitude and phase distortions incurred from the cable.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-5
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.6 10Base-T Module
The 10Base-T Transceiver Module is IEEE 802.3 compliant. It includes the receiver,
transmitter, collision, heartbeat, loop back, jabber, wave shaper, and link integrity
functions, as defined in the standard. Figure 3 provides an overview for the 10Base-T
module.
The DM8606AF 10Base-T module is comprised of the following functional blocks:
• Manchester encoder and decoder
• Collision detector
• Link test function
• Transmit driver and receiver
• Serial and parallel interface
• Jabber and SQE test functions
• Polarity detection and correction
3.6.1 Operation Modes
The DM8606AF 10Base-T module is capable of operating in either half-duplex mode or
full-duplex mode. In half-duplex mode, the DM8606AF functions as an IEEE 802.3
compliant transceiver with fully integrated filtering. The COL signal is asserted during
collisions or jabber events, and the CRS signal is asserted during transmit and receive. In
full duplex mode the DM8606AF can simultaneously transmit and receive data.
3.6.2 Manchester Encoder/Decoder
Data encoding and transmission begins when the transmission enable input (TXEN) goes
high and continues as long as the transceiver is in good link state. Transmission ends
when the transmission enable input goes low. The last transition occurs at the center of
the bit cell if the last bit is a 1, or at the boundary of the bit cell if the last bit is 0.
Decoding is accomplished by a differential input receiver circuit and a phase-locked loop
that separate the Manchester-encoded data stream into clock signals and NRZ data. The
decoder detects the end of a frame when no more mid bit transitions are detected. Within
one and half bit times after the last bit, carrier sense is de-asserted.
3.6.3 Transmit Driver and Receiver
The DM8606AF integrates all the required signal conditioning functions in its 10Base-T
block such that external filters are not required. Only one isolation transformer and
impedance matching resistors are needed for the 10Base-T transmit and receive interface.
The internal transmit filtering ensures that all the harmonics in the transmission signal are
attenuated properly.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-6
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.6.4 Smart Squelch
The smart squelch circuit is responsible for determining when valid data is present on the
differential receive. The DM8606AF implements an intelligent receive squelch on the
RXP/RXN differential inputs to ensure that impulse noise on the receive inputs will not
be mistaken for a valid signal. The squelch circuitry employs a combination of amplitude
and timing measurements (as specified in the IEEE 802.3 10Base-T standard) to
determine the validity of data on the twisted-pair inputs.
The signal at the start of the packet is checked by the analog squelch circuit and any
pulses not exceeding the squelch level (either positive or negative, depending upon
polarity) will be rejected. Once this first squelch level is overcome correctly, the opposite
squelch level must then be exceeded within 150ns. Finally, the signal must exceed the
original squelch level within an additional 150ns to ensure that the input waveform will
not be rejected.
Only after all these conditions have been satisfied will a control signal be generated to
indicate to the remainder of the circuitry that valid data is present.
Valid data is considered to be present until the squelch level has not been generated for a
time longer than 200 ns, indicating end of packet. Once good data has been detected, the
squelch levels are reduced to minimize the effect of noise, causing premature end-ofpacket detection. The receive squelch threshold level can be lowered for use in longer
cable applications. This is achieved by setting bit 10 of register address 11h.
3.7 Carrier Sense
Carrier Sense (CRS) is asserted due to receive activity once valid data is detected via the
smart squelch function. For 10 Mbits/s half duplex operation, CRS is asserted during
either packet transmission or reception. For 10 Mbits/s full duplex and repeater mode
operations, the CRS is asserted only due to receive activity.
3.8 Jabber Function
The jabber function monitors the DM8606AF output and disables the transmitter if it
attempts to transmit a longer than legal sized packet. If TXEN is high for greater than
24ms, the 10Base-T transmitter will be disabled. Once disabled by the jabber function,
the transmitter stays disabled for the entire time that the TXEN signal is asserted. This
signal has to be de-asserted for approximately 256 ms (The un-jab time) before the jabber
function re-enables the transmit outputs.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-7
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.9 Link Test Function
A link pulse is used to check he integrity of the connection with the remote end. If valid
link pulses are not received, the link detector disables the 10Base-T twisted-pair
transmitter, receiver, and collision detection functions.
The link pulse generator produces pulses as defined in IEEE 802.3 10Base-T standard.
Each link pulse is nominally 100ns in duration and is transmitted every 16 ms, in the
absence of transmit data.
3.10 Automatic Link Polarity Detection
DM8606AF’s 10Base-T transceiver module incorporates an “automatic link polarity
detection circuit”. The inverted polarity is determined when seven consecutive link pulses
of inverted polarity or three consecutive packets are received with inverted end-of-packet
pulses.
3.11 Clock Synthesizer
The DM8606AF implements a clock synthesizer that generates all the reference clocks
needed from a single external frequency source. The clock source must be a TTL level
signal at 25 MHz +/- 50ppm
3.12 Auto Negotiation
The Auto Negotiation function provides a mechanism for exchanging configuration
information between two ends of a link segment and automatically selecting the highest
performance mode of operation supported by both devices. Fast Link Pulse (FLP) Bursts
provide the signaling used to communicate auto negotiation abilities between two devices
at each end of a link segment. For further detail regarding auto negotiation, refer to
Clause 28 of the IEEE 802.3u specification. The DM8606AF supports four different
Ethernet protocols, so the inclusion of auto negotiation ensures that the highest
performance protocol will be selected based on the ability of the link partner.
Highest priority relative to the following list:
• 100Base-TX full duplex (highest priority)
• 100Base-TX half duplex
• 10Base-T full duplex
• 10Base-T half duplex (lowest priority)
3.13 Memory Block
DM8606AF build in memory is divided as two blocks. One is MAC addressing table and
another one is data buffer.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-8
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
MAC address Learning Table size is 2048 entry with each entry occupy eight bytes
length. These eight bytes data include 6 bytes source address, VLAN information, Port
information and Aging counter.
Data buffer is divided to 256 bytes/block. DM8606AF buffer management is per port
fixed block number and all port share one global buffer. This architecture can get better
memory utilization and network balance on different speed and duplex test condition.
Received packet will separate as several 256 bytes/block and chain together. If packet
size more than 256 bytes then DM8606AF will chain two or more block to store
receiving packet.
3.14 Switch Functional Description
The DM8606AF uses a “store & forward” switching approach for the following reason:
Store & forward switches allow switching between different speed media (e.g. 10BaseX
and 100BaseX). Such switches require the large elastic buffer especially bridging
between a server on a 100Mbps network and clients on a 10Mbps segment.
Store & forward switches improve overall network performance by acting as a “network
cache”
Store & forward switches prevent the forwarding of corrupted packets by the frame check
sequence (FCS) before forwarding to the destination port.
3.15 Basic Operation
The DM8606AF receives incoming packets from one of its ports, searches in the Address
Table for the Destination MAC Address and then forwards the packet to the other port
within same VLAN group, if appropriate. If the destination address is not found in the
address table, the DM8606AF treats the packet as a broadcast packet and forwards the
packet to the other ports which in same VLAN group.
The DM8606AF automatically learns the port number of attached network devices by
examining the Source MAC Address of all incoming packets at wire speed. If the Source
Address is not found in the Address Table, the device adds it to the table.
3.15.1 Address Learning
The DM8606AF uses a hash algorithm to learn the MAC address and can learn up to 2K
MAC addresses. Address is stored in the Address Table. The DM8606AF searches for
the Source Address (SA) of an incoming packet in the Address Table and acts as below:
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-9
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
If the SA was not found in the Address Table (a new address), the DM8606AF waits until
the end of the packet (non-error packet) and updates the Address Table. If the SA was
found in the Address Table, then aging value of each corresponding entry will be reset to
0.
When the DA is PAUSE command, then the learning process will be disabled
automatically by DM8606AF.
3.15.2 Address Recognition and Packet Forwarding
The DM8606AF forwards the incoming packets between bridged ports according to the
Destination Address (DA) as below. All the packet forwarding will check VLAN first.
Forwarding port must same VLAN with source port.
1) If the DA is an UNICAST address and the address was found in the Address
Table, the DM8606AF will check the port number and acts as follows:
Œ If the port number is equal to the port on which the packet was received,
the packet is discarded.
Œ If the port number is different, the packet is forwarded across the bridge.
2) If the DA is an UNICAST address and the address was not found, the DM8606AF
treats it as a multicast packet and forwards across the bridge.
3) If the DA is a Multicast address, the packet is forwarded across the bridge.
4) If the DA is PAUSE Command (01-80-C2-00-00-01), then this packet will be
dropped by DM8606AF. DM8606AF can issue and learn PAUSE command.
5) DM8606AF will forward the packet with DA of ( 01-80-C2-00-00-00 ), filter out
the packet with DA of ( 01-80-C2-00-00-01 ), and forward the packet with DA of
( 01-80-C2-00-00-02 ~ 01-80-C2-00-00-0F )
3.15.3 Address Aging
Address aging is supported for topology changes such as an address moving from one
port to the other. When this happens, the DM8606AF internally has a 300 seconds timer
will aged out (remove) the address from the address table. Aging function can
enable/disable by user. Normally, disabling aging function is for security purpose.
3.15.4 Back off Algorithm
The DM8606AF implements the truncated exponential back off algorithm compliant to
the 802.3 CSMA-CD standard. DM8606AF will restart the back off algorithm by
choosing 0-9 collision counts. The DM8606AF resets the collision counter after 16
consecutive retransmit trials.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-10
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.15.5 Inter-Packet Gap (IPG)
IPG is the idle time between any two successive packets from the same port. The typical
number is 96 bits time. The value is 9.6us for 10Mbps ETHERNET, 960ns for 100Mbps
fast ETHERNET and 96ns for 1000M. DM8606AF provide option of 92 bit gap in
EEPROM to prevent packet lost when turn off Flow Control and clock P.P.M. value
difference.
3.15.6 Illegal Frames
The DM8606AF will discard all illegal frames such as runt packet (less than 64 bytes),
oversize packet (greater than 1518 or 1522 bytes) and bad CRC. Dribbling packing with
good CRC value will accept by DM8606AF. In case of bypass mode enabled,
DM8606AF will support tag and untagged packets with size up to 1522 bytes. In case of
non-bypass mode, DM8606AF will support tag packets up to 1526bytes, untagged
packets up to 1522bytes.
3.15.7 Half Duplex Flow Control
Back Pressure function is supported for half-duplex operation. When the DM8606AF
cannot allocate a receive buffer for an incoming packet (buffer full), the device will
transmit a jam pattern on the port, thus forcing a collision. Back Pressure is enabled by
the BPEN set during RESET asserting. An Davicom Semiconductor Inc. proprietary
algorithm is implemented inside the DM8606AF to prevent back pressure function cause
HUB partitioned under heavy traffic environment and reduce the packet lost rate to
increase the whole system performance.
3.15.8 Full Duplex Flow Control
When full duplex port run out of its receive buffer, a PAUSE packet command will be
issued by DM8606AF to notice the packet sender to pause transmission. This frame
based flow control is totally compliant to IEEE 802.3x. DM8606AF can issue or receive
pause packet.
3.15.9 Old Broadcast Storm filter (0x0b[0]=0 and 0x11[6]=0)
If Broadcast Storming filter is enable, the broadcast packets over the rising threshold
within 50 ms will be discarded by the threshold setting. See EEPROM Reg.0x10[2:0].
Broadcast storm mode after initial:
Time interval : 50ms
The max. packet number = 7490 in 100Base, 749 in 10Base
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-11
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Per Port Falling Threshold
00
All 100TX
Disable
Not All 100TX
Disable
01
7440fps
744fps
10
14880fps
14880fps
11
29760fps
2976fps
Per Port Rising Threshold
00
All 100TX
Disable
Not All 100TX
Disable
01
14880fps
1488ps
10
29760fps
2976fps
11
59520fps
5952fps
Table 3-1 Old broadcast strom max. packet number
3.15.10 New Broadcast/Multicast Storm filter (0x0b[0]=1 and 0x11[6]=1)
DM8606AF allows users to limit the traffic of the broadcast address
(DA=FFFFFFFFFFFH) to prevent them from blocking the switch bandwidth. If users also
want to limit the multicast packets (DA[40]=1B), they can set the Multicast Packet
Counted into Storming Counter (see 003BH and 003CH) are used to control the broadcast
storm.
1. Time Scale. DM8606AF uses 50ms as a scale to meter the storm packets.
Parameter
All link ports are 100M
All link ports are not all 100M
Rising Threshold
100M Threshold
(See 003BH[12:00])
10M Threshold
(See 003CH12:00])
Falling Threshold
1/2 100M Threshold
1/2 10M Threshold
Table 3-2 New Broadcast/Multicast Storming Threshold
2. Storm keeps on at least 1.6 seconds if any of the ports meets the rising threshold in the
4 consecutive 50 ms intervals. In these 1.6 seconds, the ports meeting the rising threshold
will start to discard the broadcast or multicast packets until the 50 ms interval expires.
Users could also disable Input Filter (see 000BH[14]) function to forward above packets
to the un-congested port instead of discarding directly.
3. Storm finishes. After the 1.6-second storm period, DM8606AF will check the port that
makes the storm on. If all of these ports meet the falling threshold in the 2 consecutive 50
ms intervals and no other ports satisfy the rising threshold at the same time, the storm
will finish.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-12
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.16 Auto TP MDIX function
At normal application which Switch connect to NIC card is by one by one TP cable. If
Switch connect other device such as another Switch must by two way. First one is Cross
Over TP cable. Second way is use extra RJ45 which crossover internal TX+- and RX+signal. By second way customer can use one by one cable to connect two Switch devices.
All these effort need extra cost and not good solution. DM8606AF provide Auto MDIX
function which can adjust TX+- and RX+- at correct pin. User can use one by one cable
between DM8606AF and other device. This function can be Enable/Disable by hardware
pin and EEPROM configuration register 0x01h~0x09h bit 15. If hardware pin set all port
at Auto MDIX mode then EEPROM setting is useless. If hardware pin set all port at non
Auto MDIX mode then EEPROM can set each port this function enable or disable.
3.17 Port Locking
Port locking function will provide customer simple way to limit per port user number to
one. If this function is turn on then DM8606AF will lock first MAC address in learning
table. After this MAC address locking will never age out except Reset signal. Another
MAC address which not same as locking one will be dropped. DM8606AF provide one
MAC address per port. This function is per port setting. When turn on Port Locking
function, recommend customer turn off aging function. See EEPROM register 0x12h bit
0~8.
3.18 VLAN setting & Tag/Untag & port-base VLAN
DM8606AF supports bypass mode and untagged port as default setting while the chip is
power-on. Thus, every packet with or without tag will be forwarding to the destination
port without any modification by DM8606AF. Meanwhile port-base VLAN could be
enabled according to the PVID value ( user define 4bits to map 16 groups written at
register 13 to register 22 ) of the configuration content of each port.
DM8606AF also supports 16 802.1Q VLAN groups. In VLAN four bytes tag include
twelve VLAN ID. DM8606AF learn user define four bits of VID. If user need to use this
function, two EEPROM registers are needed to be programmed first :
* Port VID number at EEPROM register 0x01h~0x09h bit 13~10, register 0x28h~0x2bh
and register 0x2ch bit 7~0: DM8606AF will check coming packet. If coming packet is
non VLAN packet then DM8606AF will use PVID as VLAN group reference.
DM8606AF will use packet’s VLAN value when receive tagged packet.
* VLAN Group Mapping Register. EEPROM register 013H~022H define VLAN grouping
value. User use these register to define VLAN group.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-13
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
User can define each port as Tag port or Untag port by Configuration register Bit 4. The
operation of packet between Tag port and Untag port can explain by follow example:
Example1: Port receives Untag packet and send to Untag port.
DM8606AF will check the port user define four bits of VLAN ID first then check
VLAN group resister. If destination port same VLAN as receiving port then this packet
will forward to destination port without any change. If destination port not same VLAN
as receiving port then this packet will be dropped.
Example2: Port receives Untag packet and send to Tag port.
DM8606AF will check the port user define fours bits of VLAN ID first then check
VLAN group resister. If destination port same VLAN as receiving port than this packet
will forward to destination port with four byte VLAN Tag and new CRC. If destination
port not same VLAN as receiving port then this packet will be dropped.
Example3: Port receives Tag packet and send to Untag port.
DM8606AF will check the packet VLAN ID first then check VLAN group resister.
If destination port same VLAN as receiving port than this packet will forward to
destination port after remove four bytes with new CRC error. If destination port not same
VLAN as receiving port then this packet will be dropped.
Example4: Port receives Tag packet and send to Tag port.
DM8606AF will check the user define packet VLAN ID first then check VLAN
group resister. If destination port same VLAN as receiving port than this packet will
forward to destination port without any change. If destination port not same VLAN as
receiving port then this packet will be dropped.
3.19 Old Fixed Ingress Bandwidth Control
DM8606AF also supports DM8606F compatible Bandwidth Control with fixed rate.
(0x0b[0]=0, see Receive Bandwidth Max [2:0] of 0x31h~0x32h)
000
256K
001
512K
010
1M
011
2M
100
5M
101
10M
110
20M
111
50M
Table 3-3 Fixed Ingress bandwidth control
3.20 New Scalable Egress/Ingress Bandwidth Control
Bandwidth control function is useful on community networks for different levels of
service. DM8606AF provides Scalable Egress/Ingress Bandwidth Control. Users can set
any value that is based on 64K unit.
(0x0b[0]=1 and 0x33[12]=1, see Receive/Transmit Bandwidth Max [10:0] of
0x31h~0x3ah)
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-14
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.21 Priority Setting
It is a trend that data, voice and video will be put on networking, Switch not only deal
data packet but also provide service of multimedia data. DM8606AF provides four
priority queues on each port and each is assigned a weight. Default rate is 8:4:2:1. User
can see Priority Queue Weight Ratio for more detail.
Queue
Weight
Queue 0
Weight = 1
Queue 1
Weight = “Queue 1 Weight” bits in 0025h
Queue 2
Weight = “Queue 1 Weight” bits in 0026h
Queue 3
Weight = “Queue 1 Weight” bits in 0027h
Table 3-4 Priority Queue Weight Ratio
This priority function can set three ways as below:
* By Port Base: Set specific port at specific queue. DM8606AF only check the port
priority and not check packet’s content VLAN and TOS.
* By VLAN first: DM8606AF check VLAN three priority bit first then IP TOS priority
bits.
* By IP TOS first: DM8606AF check IP TOS three priority bit first then VLAN three
priority bits.
If port set at VLAN/TOS priority but receiving packet without VLAN or TOS
information then port base priority will be used .
3.22 LED Display
Three LED per port are provided by DM8606AF. Link/Act, Duplex/Col & Speed are
three LED display of DM8606AF. Dual color LED mode also supported by DM8606AF.
For easy production purpose DM8606AF will send test signal to each LED at power on
reset stage. EEPROM register 0x12H define LED configuration table.
1. LED_MODE: It is the value latched on the EDI pin during the power on reset. It’s
also used to control the dual or single color mode and is useless when the value wait_init
is high.
2. DUP_COL_SEP (see 0012H): Dupcol LEDs indicate the duplex status only.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-15
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3. DHCOL_LED_EN (see 0030H): When enabled, pin DUPCOL0 shows col_10m status
and pin DUPCOL1 shows col_100m status. These two LEDs are necessary in the dualspeed hub.
DM8606AF LED is active Low signal. Dupcol0 & Dupcol1 will check external signal at
Reset time. If external signal add pull high then LED will active Low. If external signal
add pull down resister then LED will drive high.
3.22.1 Single Color LED Display
Table 3-5 Single color LED display
Pin Name
LNKACT4/
LNKACT3/
LNKACT2/
LNKACT1/
LNKACT0
LDSPD4/
LDSPD3/
LDSPD2/
LDSPD1/
LDSPD0
DUPCOL2/
DUPCOL1/
DUPCOL0
Status
These pins have no power-on reset values on them, and DM8606AF uses active
low value to drive the led. So the output values of these pins after the power on
reset are shown as follows:
1. First period: This period lasts 1.28 sec for LED on test. DM8606AF drives
value 0 to open the LED.
2. Second period: This period lasts 0.48 sec for LED off test. DM8606AF
drives value 1 to close the LED.
3. Normal Period: This period indicates the link status.
0B, Port links up and LED is ON.
1B, Port links down and LED is OFF.
0/1B, Port links up and is transmitting or receiving. The LED flashes at 10Hz.
The behavior of these pins is the same as the LNKACT, except the normal
period.
Normal period: This period indicates the speed status.
0B, Port links up and its speed is 100M. LED is ON.
1B, Port links down or its speed is 10M. LED is OFF.
These 3 pins have power-on reset values on them. DM8606AF needs to
consider these values to drive the correct value. If the power on reset value is
value_power_on, then the display is as follows:
1. First period: This period lasts 1.28 sec for LED on test. DM8606AF drives
~value_power_on to open the LED.
2. Second period: This period lasts 0.48 sec for LED off test. DM8606AF
drives value_power_on to close the LED.
3. Normal Period: This period indicates the duplex/collision status.
~value_poer_on = Port links up in the full-duplex mode. LED is ON.
value_power_on = Port links down. LED flashes at 10Hz.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-16
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
0/1B, Port links up and collision is detected. The LED flashes at 10Hz.
If DUP_COL_SEP is enabled, the normal period changes its way to display.
~value_poer_on = Port links up in the full-duplex mode. LED is ON.
value_power_on = Port links down or links up in the half-duplex mode. LED is
OFF.
0/1B, This value is cancelled. LED doesn’t blink.
If DHCOL_LED_EN is enabled, the display in the normal period is as follows:
DUPCOL0: 10m collision indicator.
0/1B, One of the ports links up in 100M half-duplex mode and detects and
collision event.
The LED flashes at 20Hz.
value_power_on = When the above envet is not satisfied, the LED is OFF.
DUPCOL1: 100m collision indicator.
0/1B, One of the ports links up in 100M half-duplex mode and detects a
collision event.
The LED flashes at 20Hz.
value_power_on = The above envet is not satisfied, the LED is OFF.
DUPCOL4/
DUPCOL3
The behavior of these pins is the same as the LNKACT, except the normal
period.
Normal period: This period indicates the duplex/collision status.
~value_power_on = Port links up in the full-duplex mode. LED is ON.
value_power_on = Port links down. LED is OFF.
0/1B, Port links up and collision is detected. The LED flashes at 10Hz.
If DUP_COL_SEP is enabled, the normal period changes its way to display.
~value_power_on = Port links up in the duplex mode. LED is ON.
value_power_on = Port links down or links up in the half-duplex mode. LED is
OFF.
0/1B, This value is cancelled. LED doesn’t blink.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-17
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.22.2 Dual Color LED Display
Users should be careful that DUPCOL LED only supports the single color mode. The
only difference between single and dual color for DUPCOL LED is the self-test time.
Table 3-6 Dual color LED display
Pin Name
(LNKACT4, LDSPD4)/
(LNKACT3, LDSPD3)/
(LNKACT2, LDSPD2)/
(LNKACT1, LDSPD1)/
(LNKACT0, LDSPD0)
Status
First Period: Test LED is on with gree color. It lasts 1.28 sec.
01B, LED is on with green color.
Second Period: Test LED is on with yellow color. It lasts 1.28
sec.
10B, LED is on with yellow color.
Third Period: Test LED off.
00B, LED is off.
Normal Period: This period shows the status of the link and
speed at the same time.
00B, Port links down. LED is off.
11B, Port links down. LED is off.
01B, Port links up in 100M. LED glows green.
10B, Port links up in 10M. LED glows yellow.
0/1,1B, Port links up in 100M and is receiving or transmitting.
LED blinks with green color at 10Hz.
0/1,0B, Pot links up in 10M and is receiving or transmitting.
LED blinks with yellow color at 10Hz.
DUPCOL4/DUPCOL3/
DUPCOL2/DUPCOL1/
DUPCOL0
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
The behavior of these pins is the same as the single mode, except
the self-test period. The LED on test period is 2.56 sec instead of
1.28 sec.
3-18
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.22.3 Circuit for Single LED Mode
Figure 3-1 Circuit for Single Color LED Mode
3.22.4 Circuit for Dual LED Mode
Figure 3-2 Circuit for Dual Color LED Mode
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-19
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.23 Port4 and Port5 MII connection
In DM8606AF, there are 3 different configurations (Normal PHY, MAC type MII and
PCS type MII, CFG0) for Port4. If Port4 is configured in normal PHY mode, then it is
identical to Port0~Port3 and Port4’s MII signals are ignored. If Port4 is configured in
MAC type MII mode, it can be used for the HomePNA application and embedded single
PHY will not be used. In DM8606AF, the most popular is to configure Port4 as the PCS
type MII for the router’s WAN port application. Users can see Figure 5 and Figure 6 for
more clear picture. For the Port5, there are three different configurations (MAC type MII mode,
GPSI mode and RMII, P5_BUSMD0) for connecting to CPU’s MII/GPSI or RMII interface.
Here we depicted two general router applications of DM8606AF, one is connected to CPU with
single MII and another is connected to CPU with dual MII. In Figure 5, we can see either LAN to
WAN or WAN to LAN, the packets will go through the same MII port. Because the CPU need to
send out the packets with the registered MAC ID to the WAN port, and this MAC ID may also
come in from the LAN ports. We know the switch learning scheme can’t permit the packets with
same MAC ID input from different port. In the DM8606AF design, we use the MAC clone and
VLAN group to solve this problem. From Figure 7, users can have more details for this
implementation.
Figure 3-3 DM8606AF to CPU with single MII connection
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-20
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
In Figure 6, it shows an easy way to connect the CPU with dual MII for the routing application. In
this application, Port4’s embedded and isolated PHY will be connected to the WAN port. CPU will
act as the bridge to translate the packet’s frame for LAN/WAN and use different MII to handle the
packets either from LAN to WAN or from WAN to LAN. The isolated PHY is helpful to reduce the
BOM cost.
Figure 3-4 DM8606AF to CPU with dual MII connection
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-21
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Here we use an example to describe how to enable the MAC clone and set the VLAN group to
reach this LAN/WAN routing activity.
Figure 3-5 MAC Clone Enable and VLAN Setting
Step1: Set DM8606AF to tag-based VLAN mode -- set EEPROM 0x11H to
0xFF20H
Step2: Set per port PVID and Tag/UnTag output port -Port0, UnTag, PVID=1, set EEPROM 0x01 H to 0x840F H
Port1, UnTag, PVID=1, set EEPROM 0x03 H to 0x840F H
Port2, UnTag, PVID=1, set EEPROM 0x05 H to 0x840F H
Port3, UnTag, PVID=1, set EEPROM 0x07 H to 0x840F H
Port4, UnTag, PVID=2, set EEPROM 0x08 H to 0x880F H
Port5, Tag, PVID=2, set EEPROM 0x09 H to 0x881F H
Step3: Set WAN/LAN group
Group1: Port 0/1/2/3/5, set EEPROM 0x14 H to 0x0155 H
Group2: Port 4/5, set EEPROM 0x15 H to 0x0180 H
If Untag packet received from LAN port and forwards to CPU port, DM8606AF will use
ingress port PVID as the egress tag VID. CPU can recognize the source group of the
packet by VID. If VID=1, it means the packet is received from the LAN port. Otherwise,
if VID=2, it means the packet is received from the WAN port. CPU has to change the tag
VID to determine the destination group. The tag packet received from CPU port will
follow tag-based VLAN to determine the broadcast domain. If the tag packet with VID=1
will follow VLAN group 1 (LAN group) and the tag packet with VID=2 will follow the
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-22
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
VLAN group 2 (WAN group)
Normally, the MAC mode MII should be connected to the PCS mode MII. But in
some applications, we need to connect both MAC mode MII to each other as
shown in above figures. In Figure 6, due to most of CPU’s MII are MAC mode,
so Port4 is PCS to MAC connection and Port5 is MAC to MAC connection.
Through the hardware setting, it is easy to set DM8606AF Port5 MII be operating
in 100M Full duplex mode. And this kind mode (100M Full) is normally the
operation mode to be with CPU, the interface connection is described in the
following diagram.
(1) CKO25M is the 25M clock driven out by DM8606AF to fit 100M MII operation.
This clock output provides 8mA driving capability and it can directly connected to
TXCLK/RXCLK.
(2) Due to it is operated in Full duplex mode, so COL is tied to GND.
Figure 3-6 100M Full duplex MAC to MAC MII connection
Note:
1. Pin 60 and pin 61 should be pull low to let P5_BUSMD be latched as “00” and
make Port5 be operating in MII mode (P5_BUSMD0).
2. Pin 89 (SPDTNP5) should be pull low or floating to set Port5 be operating in
100Mbit/s.
3. Pin 91 (DPHALFP5) should be pull low or floating to set Port5 be operating in
full duplex mode.
4. Pin 90 (LNKFP5) should be pull low or floating to set Port5 Link up.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-23
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
About the PCS mode MII connect to MAC mode MII, it’s very straightforward. If
PCS and MAC follow the MII standard timing and users notice the PCB layout
balance, it should not be an issue for PCS to connect the MAC. In Figure 9, we
depicted this interface connection and described how to configure Port4 as the
PCS mode MII.
Figure 3-7 PCS to MAC MII connection
Note:
5. From CFG0 pin description, we know it needs to set {CFG0, P4_BUSMD[1:0]}
as 1xxB to configure Port4 be operating in PCS mode MII. So it doesn’t matter
the value on P4_BUSMD[1:0] (pin 105 and pin 106) and we only pull high the
CFG0 or make it floating (due to it has internally pull high) is ok.
6. Pin 51 (SPDTNP4) acts as DUPLEX LED for Port 4; in half duplex mode, it is
collision LED for each port.
7. Pin 107 (DPHALFP4) used to indicate the speed status of Port 4.
8. Pin 92 (LNKFP4) used to indicate the link/activity status of Port 4.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-24
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
3.24 EEPROM and SMI interface for Configuration
Three ways are supported to configure the setting in the DM8606AF: (1) Hardware
Setting (2) EERPROM Interface (3) SMI Interface. Users could use EEPROM and SMI
interfaces combined with the CPU port to provide proprietary functions. Four pins are
needed when using these two interfaces. See the following figure as a description.
Figure 3-8 Interconnection between DM8606AF, EEPROM and CPU
3.24.1 EEPROM Setting
The EEPROM Interface is provided so the users could easily configure the setting
without CPU’s help. Because the EEPROM Interface is the same as the 93lc66, it also
allows the CPU to write the EEPROM register and renew the 93lc66 at the same time.
After the power up or reset (default value from the hardware pins fetched in this stage),
the DM8606AF will automatically detect the presence of the EEPROM by reading the
address 0 in the 96c66. If the value = 16’h4154, it will read all the data in the 93lc66. If
not, the DM8606AF will stop loading the 93lc66. The user also could pull down the EDO
to force the DM8606AF not to load the 93lc66. The 93lc66 loading time is around 30ms.
Then CPU should give the high-z value in the EECS, EECK and EDI pins in this period
if we really want to use CPU to read or write the registers in the DM8606AF.
The EEPROM Interface needs only one Write command to complete a writing operation.
If updating the 93lc66 at the same time is necessary, three commands Write Enable,
Write, and Write Disable are needed to complete this job (See 93lc66 Spec. for a
reference). Users should note that the EERPOM interface only allows the CPU to write
the EEPROM register in the DM8606AF and doesn’t support the READ command. If
CPU gives the Read Command, DM8606AF will not respond and 93lc66 will respond
with the value. Users should also note that one additional EECK cycle is needed between
any continuous commands (Read or Write).
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-25
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
(1) Read 93lc66 via the EEPROM Interface.
(2) Write EEPROM registers in the DM8606AF.
3.24.2 SMI Interface
The SMI consists of two pins, management data clock (EECK) and management data
input/output (EDI). The DM8606AF is designed to support an EECK frequency up to 25
MHz. The EDI pin is bi-directional and may be shared with other devices. EECS pin may
be needed (pulled to low) if EEPROM interface is also used.
The EDI pin requires a 1.5 KΩ pull-up which, during idle and turnaround periods, will
pull EDI to a logic one state. DM8606AF requires a single initialization sequence of 32
bits of preamble following power-up/hardware reset. The first 32 bits are preamble
consisting of 32 contiguous logic one bits on EDI and 32 corresponding cycles on EECK.
Following preamble is the start-of-frame field indicated by a <01> pattern. The next field
signals the operation code (OP): <10> indicates read from management register operation,
and <01> indicates write to management register operation. The next field is management
register address. It is 10 bits wide and the most significant bit is transferred first.
During Read operation, a 2-bit turn around (TA) time spacing between the register
address field and data field is provided for the EDI to avoid contention. Following the
turnaround time, a 16-bit data stream is read from or written into the management
registers of the DM8606AF.
(1) Preamble Suppression
initialization sequence of 32 bits of preamble following power-up/hardware reset. This
requirement is generally met by pulling-up the resistor of EDI While the DM8606AF will
respond to management accesses without preamble, a minimum of one idle bit between
management transactions is required.
When DM8606AF detects that there is address match, then it will enable Read/Write
capability for external access. When address is mismatched, then DM8606AF will triPreliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
3-26
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
state the EDI pin.
(2) Read Switch Register via SMI Interface
(3) Write Switch Register via SMI Interface
(4) The pin type of EECS, EECK, EDI and EDO during the operation.
Pin Name
EECS
EECK
EDI
EDO
Reset Operation
Input
Input
Input
Input
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Load EEPROM
Output
Output
Output
Input
Write Operation
Input
Input
Input
Input
Read Operation
Input
Input
Input/Output
Input
3-27
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Chapter 4 Register Description
4.1 EEPROM Content
EEPROM provides DM8606AF many options setting such as:
•
•
•
•
•
•
Port Configuration: Speed, Duplex, Flow Control Capability and Tag/ Untag.
VLAN & TOS Priority Mapping
Broadcast Storming rate and Trunk.
Fiber Select, Auto MDIX select
VLAN Mapping
Per Port Buffer number
4.1.1 Memory Map
Register
0x0000h~0x003fh
0x00a0h~0x0143h
0x0200h~0x02ffh
Definition
EEPROM BAISC Register Map
Counter and Switch Status Map
PHY Register Map
4.2 EEPROM Register Map
Register
0x00h
0x01h
0x02h
0x03h
0x04h
0x05h
0x06h
0x07h
0x08h
0x09h
0x0ah
0x0bh
0x0ch
0x0dh
0x0eh
0x0fh
0x10h
0x11h
0x12h
Bit 15- 8
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Bit 7 - 0
Signature Register
Port 0 Basic Control Register
Reserved
Port 1 Basic Control Register
Reserved
Port 2 Basic Control Register
Reserved
Port 3 Basic Control Register
Port 4 Basic Control Register
Port 5 Basic Control Register
System Control Register 0
System Control Register 1
Reserved
Reserved
VLAN priority Map
TOS priority Map
System Control Register 2
System Control Register 3
System Control Register 4
Default Value
0x4154h
0x040fh
0x0000h
0x040fh
0x0000h
0x040fh
0x0000h
0x040fh
0x040fh
0x040fh
0x5802h
0x8001h
0x0000h
0x0000h
0xfa50h
0xfa50h
0x0040h
0xe300h
0x3600h
4-1
DM8606AF
Register
0x13h
0x14h
0x15h
0x16h
0x17h
0x18h
0x19h
0x1ah
0x1bh
0x1ch
0x1dh
0x1eh
0x1fh
0x20h
0x21h
0x22h
0x23h
0x24h
0x25h
0x26h
0x27h
0x28h
0x29h
0x2ah
0x2bh
0x2ch
0x2dh
0x2eh
0x2fh
0x30h
0x31h
0x32h
0x33h
0x34h
0x35h
0x36h
0x37h
0x38h
0x39h
0x3ah
0x3bh
0x3ch
6-Port Fast Ethernet Single Chip Switch Controller
Bit 15- 8
Bit 7 - 0
Default Value
Reserved
VLAN Group 0 Port Map
0x01d5h
Reserved
VLAN Group 1 Port Map
0x01d5h
Reserved
VLAN Group 2 Port Map
0x01d5h
Reserved
VLAN Group 3 Port Map
0x01d5h
Reserved
VLAN Group 4 Port Map
0x01d5h
Reserved
VLAN Group 5 Port Map
0x01d5h
Reserved
VLAN Group 6 Port Map
0xffd5h
Reserved
VLAN Group 7 Port Map
0xffd5h
Reserved
VLAN Group 8 Port Map
0xffd5h
Reserved
VLAN Group 9 Port Map
0xffd5h
Reserved
VLAN Group 10 Port Map
0xffd5h
Reserved
VLAN Group 11 Port Map
0x81d5h
Reserved
VLAN Group 12 Port Map
0xffd5h
Reserved
VLAN Group 13 Port Map
0xffd5h
Reserved
VLAN Group 14 Port Map
0xffd5h
Reserved
VLAN Group 15 Port Map
0xffd5h
Reserved
0x0000h
Reserved
0x0000h
Queue 1 Weight
0x2000h
Queue 2 Weight
0x4000h
Queue 3 Weight
0x8000h
Reserved
P0 PVID [11:4]
0x0000h
Reserved
P1 PVID [11:4]
0x0000h
Reserved
P2 PVID [11:4]
0x0000h
P4 PVID [11:4]
P3 PVID [11:4]
0x0000h
Address Control
TAG Shift
P5 PVID [11:4]
0xd000h
Reserved
0x4442h
Reserved
0x0000h
PHY Restart Register
0x0000h
Miscellaneous Register
0x0987h
Basic Bandwidth Control Register
0x0000h
Basic Bandwidth Control Register
0x0000h
Bandwidth Control Enable Register
0x0000h
Expansion Bandwidth Control Register 0
0x0000h
Expansion Bandwidth Control Register 1
0x0000h
Expansion Bandwidth Control Register 2
0x0000h
Expansion Bandwidth Control Register 3
0x0000h
Expansion Bandwidth Control Register 4
0x0000h
Expansion Bandwidth Control Register 5
0x0000h
Expansion Bandwidth Control Register 6
0x0fc0h
New Strom Register 0
0x0000h
New Strom Register 1
0x0000h
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-2
DM8606AF
Register
0x3dh
0x3eh
0x3fh
Bit 15- 8
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
6-Port Fast Ethernet Single Chip Switch Controller
Bit 7 - 0
Default Value
Reserved
0x00ffh
Reserved
0x0000h
Reserved
0x7c80h
4-3
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.3 EEPROM Register
4.3.1 Signature Register
offset: 0x00h
Bits Type Description
15:0
RO The value must be 4154h(AT)
Initial value
0x4154h
Note:
DM8606AF will check register 0 value before read all EEPROM content. If this value
not match with 0x4154h then other values in EEPROM will be useless. DM8606AF will
use internal default value. User cannot write Signature register when programming
DM8606AF internal register.
4.3.2 Port0~5 Basic Control Registers
offset: 0x01h, 0x03h, 0x05h, 0x07h, 0x08h, 0x09h
Bits Type Description
Initial value
15
R/W Crossover Auto MDIX enable.
0x0h
0 = Disable.
1 = Enable.
Note:
Hardware Reset latch value EECK can set global Auto MDIX function. If
hardware pin set all port at Auto MDIX then this bit is useless. If
hardware pin set chip at non Auto MDIX then this bit can set each port at
Auto MDIX.
14
R/W Select FX.
0x0h
0 = TP mode.
1 = FX mode.
Note:
Port4 TX/FX can set by hardware Reset latch value P4FX. If hardware
pin set Port4 as FX then this bit is useless. If hardware pin set Port4 as
TX then this pin can set Port4 as FX or TX.
13:10 R/W Port VLAN ID, PVID[3:0].
0x1h
Check Register 0x28h~0x2ch for other PVID[11:4]
9:8
R/W Port-base priority.
0x0h
00 = Assign packets to Queue 0.
01 = Assign packets to Queue 1.
10 = Assign packets to Queue 2.
11 = Assign packets to Queue 3.
0x0h
7
R/W Enable port-base priority.
0 = The port priority is disabled.
1 = The port priority is enabled.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-4
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
6
R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
Note:
If this bit turn on then DM8606AF will not check TOS or VLAN as
priority reference. DM8606AF will check port base priority only.
DM8606AF default is bypass mode which checks port base priority only.
If user wants to check VLAN tag priority then must set chip at Tag mode.
TOS over VLAN priority.
0 = Use the PRI in the VLAN to assign the priority queue.
1 = Use the PRI in the TOS to assign the priority queue.
Port Disable.
0 = Enable port.
1 = Disable port.
Output Packet Tagging.
0 = UnTag.
1 = Tag.
Duplex.
0 = Half Duplex.
1 = Full Duplex.
Speed.
0 = 10M.
1 = 100M.
Auto negotiation Enable.
0 = Disable.
1 = Enable.
802.3x Flow control command ability.
0 = Disable.
1 = Enable.
4.3.3 System Control Register 0
offset: 0x0ah
Bits Type Description
15:10 RO Reserved
9
R/W Replaced packet VID 0 by PVID. 1: enable, 0: disable.
8
R/W Replaced packet VID 1 by PVID. 1: enable, 0: disable.
7:0
RO Reserved
4.3.4 System Control Register 1
offset: 0x0bh
Bits Type Description
15
R/W Disable Far_End_Fault detection.
0 = Enable.
1 = Disable.
14:8
RO Reserved
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
0x0h
0x0h
0x0h
0x1h
0x1h
0x1h
0x1h
Initial value
0x16h
0x0h
0x0h
0x02h
Initial value
0x1h
0x0h
4-5
DM8606AF
7
R/W
6
R/W
5:1
0
RO
R/W
6-Port Fast Ethernet Single Chip Switch Controller
0x0h
Port3 and Port4 Trunk Enable.
0 = No trunk is enabled
1 = Port3, 4 are trunked.
Transmit Short IPG Enable
0x0h
0 = 96 bits time is used
1 = 88/96 bits time is used
Reserved
0x0h
New EEPROM.
0x1h
0 = Use Old EEPROM functions.
1 = New EEPROM function is enabled.
4.3.5 Reserved Register
offset: 0x0ch~0x0dh
Bits Type Description
15:0
RO Reserved
Bits
15:14
13:12
11:10
9:8
7:6
5:4
3:2
1:0
4.3.6 VLAN Priority Map Register
offset: 0x0eh
Type Description
R/W Mapped priority of tag value = 3’b111.
R/W Mapped priority of tag value = 3’b110.
R/W Mapped priority of tag value = 3’b101.
R/W Mapped priority of tag value = 3’b100.
R/W Mapped priority of tag value = 3’b011.
R/W Mapped priority of tag value = 3’b010.
R/W Mapped priority of tag value = 3’b001.
R/W Mapped priority of tag value = 3’b000.
Initial value
0xfa5h
Initial value
0x3h
0x3h
0x2h
0x2h
0x1h
0x1h
0x0h
0x0h
Note:
Value 3 ~ 0 are for priority queue Q3~Q0 respectively.
The Weight ratio is Q3 : Q2 : Q1: Q0 = 8 : 4 : 2 : 1.
The default is port-base priority for un-tag packet and non-IP frame.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-6
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Bits
15:14
13:12
11:10
9:8
7:6
5:4
3:2
1:0
4.3.7 TOS Priority Map Register
offset: 0x0fh
Type Description
R/W Mapped priority of tag value = 3’b111.
R/W Mapped priority of tag value = 3’b110.
R/W Mapped priority of tag value = 3’b101.
R/W Mapped priority of tag value = 3’b100.
R/W Mapped priority of tag value = 3’b011.
R/W Mapped priority of tag value = 3’b010.
R/W Mapped priority of tag value = 3’b001.
R/W Mapped priority of tag value = 3’b000.
Initial value
0x3h
0x3h
0x2h
0x2h
0x1h
0x1h
0x0h
0x0h
Note:
Value 3 ~ 0 are for priority queue Q3~Q0 respectively.
The Weight ratio is Q3 : Q2 : Q1: Q0 = 8 : 4 : 2 : 1.
The default is port-base priority for un-tag packet and non-IP frame.
4.3.8 Normal packet content
Ethernet Packet from Layer 2
Preamble/SFD
Destination (6
bytes)
Byte 0~5
Source (6 bytes) Packet length (2 Data (46-1500
bytes)
bytes)
Byte 6~11
Byte 12~13
CRC (4 bytes)
Byte 14~
4.3.9 VLAN Packet content
DM8606AF will check packet byte 12 &13. If byte[12:13]=8100h then this packet is a
VLAN packet
Tag Protocol TD 8100
Tag Control Information LEN Length
TCI
Byte 12~13
Byte14~15
Byte 16~17
Routing Information
Byte 18~
Byte 14~15: Tag Control Information TCI
Bit[15:13]: User Priority 7~0
Bit 12: Canonical Format Indicator (CFI)
Bit[11~0]: VLAN ID. The DM8606AF will use bit[3:0] as VLAN group.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-7
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.3.10 TOS IP Packet content
DM8606AF check byte 12 &13 if this value is 0800h then DM8606AF knows this is a
TOP priority packet.
Type 0800
Byte 12~13
IP Header
Byte 14~15
IP header define
Byte 14:
Bit[7:0]: IP protocol version number & header length.
Byte 15: Service type
Bit[7~5]: IP Priority (Precedence ) from 7~0
Bit 4: No Delay (D)
Bit 3: High Throughput
Bit 2: High Reliability (R)
Bit[1:0]: Reserved
4.3.11 System Control Register 2
offset: 0x10h
Bits Type Description
15:8 R/W Reserved
7
R/W Aging Disable.
0 = Enable aging.
1 = Disable aging.
6
RO Reserved
5
R/W Multicast Packet Counted into the Storm Counter.
0 = Only broadcast packets are counted into the storming counter.
1 = Multicast and broadcast packets are counted into the storming
counter.
4
R/W CRC Check Disable.
0 = Enable CRC Check.
1 = Disable CRC check.
3
R/W Back Off Disable.
0 = Back-off is enabled.
1 = Back-off is disabled.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
8’b0
1’b0
1’b1
1’b0
1’b0
1’b0
4-8
DM8606AF
Bits
2
1:0
6-Port Fast Ethernet Single Chip Switch Controller
Type Description
Initial value
R/W Broadcast Storming Enable.
1’b0
It is used in DM8606F style storm control.
0 = Disable.
1 = Enable.
R/W Broadcast Storming Threshold[1:0].
2’b0
It is used in DM8606F style storm control. See below table.
Note:
Bit[1:0]: Broadcast Storming threshold.
Broadcast storm mode after initial:
- time interval : 50ms
the max. packet number = 7490 in 100Base, 749 in 10Base
Note (Continued):
- per port rising threshold
00
01
All
Disable
10%
100TX
Not All Disable
1%
100TX
- per port falling threshold
00
01
All
Disable
5%
100TX
Not All Disable 0.5%
100TX
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
10
20%
11
40%
2%
4%
10
10%
11
20%
1%
2%
4-9
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.3.12 System Control Register 3
offset: 0x11h
Bits Type Description
Initial value
15:13 RO Reserved
3’b111
12:10 RO Reserved
3’b0
9:7
R/W Max Packet Length.
3’b110
000 = 1518 bytes
001 = 1536 bytes
010 = 1664 bytes
110 = 1522 bytes (default)
Other = 1784 bytes
1’b0
6
R/W New Storming Enable.
0 = Use DM8606F style storming control.
1 = Use DM8606AF style storming control.
5
R/W Tag Base VLAN.
1’b0
0 = Port VLAN.
1 = Tagged VLAN.
4
R/W MAC Clone Enable
1’b0
0 = MAC Clone is disabled.
Normal mode. Learning with SA only. DM8606AF fill/search MAC table
by SA or DA only.
1 = MAC Clone is enabled.
MAC Clone mode. Learning with SA, VID0. DM8606AF fill/search
MAC table by SA or DA with VID0. This bit can let chip learn two same
addresses with different VID0.
3
RO Reserved
1’b0
2
R/W Interrupt Polarity Inverter.
1’b0
0 = The interrupt signal is active low.
1 = The interrupt signal is active high.
1:0
R/W Aging Timer Select
2’b0
00 = 300 sec.
01 = 75 sec.
10 = 18 sec.
11 = 1 sec.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-10
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Note:
Below is Bit4, 5 VLAN Tag and MAC application example.
Below is some old architecture for a Router. The disadvantages of this are:
1. WAN ports only support 10M Half-Duplex and non-MDIX function.
2. Need extra 10M NIC i.e. cost.
3. ISA bus will become the bottleneck of the whole system.
CPU with
one MII
ISA
10M Half
NIC
MII
Port4 MAC MII Port
Port0
Port1
Port2
Port3
4 100/10 LAN Port
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
10M Half Non
MDIX WAN Port
4-11
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Below is the new architecture using the DM8606AF serial chip VLAN function. The
advantages of below are:
1. WAN Port can upgrade to 100/10 Full/Half , Auto MDIX.
2. No need for an extra NIC therefore much more economical.
3. High bandwidth of port 5 MII up to 200M speed.
In this application, the CPU’s MDC/MDIO interface is used to access all PHY and switch
registers in DM8606AF. Port 4 is used as the WAN port and Port 5 is used to connect the
CPU. Because the WAN port need to be isolated from the LAN ports due to frames are
different and need to be translated by CPU. CPU will act as the bridge to transmit,
receive and translate frames between WAN and LAN. This isolated PHY can help to
reduce the BOM costs and improve the Gateway router’s performance.
New Router application works well on normal application. If user’s ISP vendor( cable
modem) lock Registration Card’s ID then Router CPU must send this Lock Registration
Card’s ID to WAN Port. One condition happen is there exist two same MAC ID on this
Switch. One is original Card and another one is CPU. This will make Switch learning table
trouble.
DM8606AF provide MAC Clone function that allow two same MAC address with different
VLAN ID0 on learning table. This will solve Lock registration Card’s ID issue.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-12
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
How to Set DM8606AF on Router.
Port0~3: LAN Port.
Port4: WAN Port.
Port5: MII Port as CPU Port.
Step1: Set Register 0x11h bit4 and bit5 to 1.
{Coding: Write Register 0x11h as 0xff30h}
Step2: Set Port0~3 as Untag Port and set PVID=1.
{Coding: Write Register 0x01h, 0x03h, 0x05h, 0x07h as 0x840f. Port0~3 as Untag,
PVID=1, Enable MDIX}
Step3: Set Port4 as Untag Port and set PVID=2.
{ Coding:Write Register 0x08h as 0x880fh. Port4 as Untag, PVID=2, Enable MDIX.}
Step4: Set Port5 MII Port as Tag Port and set PVID=2.
{Coding:Write Register 0x09h as 0x881fh. Port5 MII port as Tag, PVID=2.}
Step5: Group Port0, 1, 2, 3, 5 as VLAN 1.
{Coding: Write Register 0x14h as 0x0155h. VLAN1 cover Port0, 1, 2, 3, 5.}
Step6: Group Port4, 5 as VLAN 2.
{Coding: Write Register 0x15h as 0x0180h. VLAN2 cover Port4, 5.}
How MAC Clone Operation:
sure enable. 1/enable, 0/disable.
1. LAN to LAN/CPU Traffic.
DM8606AF LAN traffic to LAN/CPU only. Traffic to another LAN port will be untag
packet. Traffic to CPU is Tag packet with VID=1. CPU can check VID to distinguish LAN
traffic or WAN traffic.
2. WAN to CPU Traffic.
DM8606AF WAN traffic to CPU only. Traffic to CPU is Tag packet with VID=2. CPU
can check VID to distinguish LAN traffic or WAN traffic.
3. CPU to LAN Packet.
DM8606AF CPU Packet to LAN port must add VID=1 in VLAN field. DM8606AF check
VID to distinguish LAN traffic or WAN traffic. LAN output packet is Untag.
4. CPU to WAN Packet.
DM8606AF CPU Packet to WAN port must add VID=2 in VLAN filed. DM8606AF
check VID to distinguish LAN traffic or WAN traffic. WAN output packet is Untag.
5. DM8606AF learning sequence
DM8606AF will check VLAN mapping setting first then check learning table. User does
not worry LAN/WAN traffic mix up.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-13
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.3.13 System Control Register 4
offset: 0x12h
Bits Type Description
15
R/W Drop packet when excessive collision happen enable.
1 = Enable, 0 = Disable.
14
R/W Reserved
13:12 R/W Power Saving Select
11
R/W Reserved
10:9 R/W Reserved
8
R/W Port5 MAC Lock. 1: Lock first MAC source address, 0: disable.
7
R/W Port4 MAC Lock. 1: Lock first MAC source address, 0: disable.
6
R/W Port3 MAC Lock. 1: Lock first MAC source address, 0: disable.
5
R/W Reserved
4
R/W Port2 MAC Lock. 1: Lock first MAC source address, 0: disable.
3
R/W Reserved
2
R/W Port1 MAC Lock. 1: Lock first MAC source address, 0: disable.
1
R/W Reserved
0
R/W Port0 MAC Lock. 1: Lock first MAC source address, 0: disable.
4.3.14 VLAN Mapping Table Registers
offset: 0x22h ~ 0x13h
Bits Type Description
15:9
RO Reserved
8:0
R/W VLAN mapping table.
Note:
16 VLAN Group: See Register 0x2ch bit 11=0
Bit0: Port0
Bit2: Port1
Bit4: Port2
Bit6: Port3
Bit7: Port4
Bit8: Port5.
Select the VLAN group ports is to set the corresponding bits to 1.
4.3.15 Reserved Register
offset: 0x24h ~ 0x23h
Bits Type Description
15:0 R/W Reserved
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
1’b0
1’b0
2’b11
1’b0
2’b11
1’b0
1’b0
1’b0
1’b0
1’b0
1’b0
1’b0
1’b0
1’b0
Initial value
0x7fh
0x1d5h
Initial value
0x0h
4-14
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.3.16 Port0 PVID bit 11 ~ 4 Configuration Register
Bits
15:8
7:0
offset: 0x28h
Type Description
RO
Reserved
R/W P0VID[11:4], Port0 PVID bit 11~4. These 8 bits combine with register
0x01h Bit [13~10] as full 12 bit VID.
4.3.17 Port1 PVID bit 11 ~ 4 Configuration Register
offset: 0x29h
Bits Type Description
15:8
RO Reserved
7:0
R/W P1VID[11:4], Port1 PVID bit 11~4. These 8 bits combine with register
0x03h Bit[13~10] as full 12 bit VID.
4.3.18 Port2 PVID bit 11~4 Configuration Register
offset: 0x2ah
Bits
Type Description
15:8
RO Reserved
7:0
R/W P2VID[11:4], Port2 PVID bit 11~4. These 8 bits combine with register
0x05h Bit[13~10] as full 12 bit VID.
4.3.19 Port3, 4 PVID bit 11~4 Configuration Register
offset: 0x2bh
Bits
Type Description
15:8
RO P4VID[11:4], Port4 PVID bit 11~4. These 8 bits combine with register
0x08h Bit[13~10] as full 12 bit VID.
7:0
R/W P3VID[11:4], Port3 PVID bit 11~4. These 8 bits combine with register
0x07h Bit[13~10] as full 12 bit VID.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
8’b0
8’b0
Initial value
8’b0
8’b0
Initial value
8’b0
8’b0
Initial value
8’b0
8’b0
4-15
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.3.20 Port5 PVID bit 11~4 & VLAN group shift bits Configuration Register
offset: 0x2ch
Bits
Type Description
Initial value
15
R/W Control reserved MAC (0180C2000010-0180C20000FF)
1’b1
1: Forward, 0: Discard.
14
R/W Control reserved MAC (0180C2000002- 0180C200000F)
1’b1
1: Forward, 0: Discard.
13
R/W Control reserved MAC (0180C2000001)
1’b0
1: Forward, 0: Discard.
12
R/W Control reserved MAC (0180C2000000)
1’b1
1: Forward, 0: Discard.
11
R/W Reserved
0x0h
10:8
R/W Tag shift for VLAN grouping. Default 3’b000.
3’b0
3’b000: VID[3:0] 3’b001: VID[4:1] 3’b010: VID[5:2]
3’b011: VID[6:3] 3’b100: VID[7:4] 3’b101: VID[8:5]
3’b110: VID[9:6] 3’b111: VID[10:7]
7:0
R/W P5VID[11:4], Port5 PVID bit 11~4. These 8 bits combine with register
8’b0
0x09h Bit[13~10] as full 12 bit VID.
Note:
Bit[10:8]: VLAN Tag shift register. DM8606AF will select 4 bit from total 12 bit VID as
VLAN group reference.
Bit[15:12]: IEEE 802.3 reserved DA forward or drop police.
4.3.21 Reserved Register
offset: 0x2dh
Bits Type Description
15:0 R/W Reserved
Initial value
0x4442h
4.3.22 Reserved Register
offset: 0x2eh
Bits
Type Description
15:0
R/W Reserved
Initial value
0x0h
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-16
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.3.23 PHY Restart Register
offset: 0x2fh
Bits Type Description
15:0 R/W PHY Restart.
DM8606AF writes this register to restart all the PHYs in the switch. The
value is not important.
4.3.24 Miscellaneous Configuration Register
offset: 0x30h
Bits
Type Description
15:13 R/W Reserved
12
R/W Port 4 LED Mode.
1:Link/Act/Speed
0:LinkAct/DupCol/Speed
11
R/W Reserved
10
R/W Reserved
9
R/W Dual Speed Hub COL_LED Enable.
1: Dual Speed Hub LED display.
Port0 Col LED: 10M Col LED.
Port1 Col LED: 100M Col LED.
0: Normal LED display.
8
R/W Reserved
7
R/W Reserved
6
R/W MII Speed Double.
1: Port 5 MII RXCLK, TXCLK maximum speed is 50MHz
0: Port 5 MII RXCLK, TXCLK maximum speed is 25MHz
5
R/W MAC Clone Enable Bit[1].
4:3
R/W Reserved
2
R/W Reserved
1
R/W Reserved
0
R/W Reserved
4.3.25 Bandwidth Control Register0~3
offset: 0x31h
Bits
Type Description
15
R/W Port 3 Receive Bandwidth Maximum[3] (r3bw_th1).
14:12 R/W Port 3 Receive Bandwidth Maximum[2:0] (r3bw_th0).
11
R/W Port 2 Receive Bandwidth Maximum[3] (r2bw_th1).
10:8
R/W Port 2 Receive Bandwidth Maximum[2:0] (r2bw_th0).
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
0x0h
Initial value
3’b000
1’b0
1’b1
1’b0
1’b0
1’b1
1’b1
1’b0
1’b0
1’b0
1’b1
1’b1
1’b1
Initial value
1’b0
3’b000
1’b0
3’b000
4-17
DM8606AF
Bits
7
6:4
3
2:0
Type
R/W
R/W
R/W
R/W
6-Port Fast Ethernet Single Chip Switch Controller
Description
Initial value
Port 1 Receive Bandwidth Maximum[3] (r1bw_th1).
1’b0
Port 1 Receive Bandwidth Maximum[2:0] (r1bw_th0).
3’b000
Port 0 Receive Bandwidth Maximum[3] (r0bw_th1).
1’b0
Port 0 Receive Bandwidth Maximum[2:0] (r0bw_th0).
3’b000
4.3.26 Bandwidth Control Register 4~5
offset: 0x32h
Bits
Type Description
15
R/W Port 1 Transmit Bandwidth Maximum[3] (t1bw_th1).
14:12 R/W Port 1 Transmit Bandwidth Maximum[2:0] (t1bw_th0).
11
R/W Port 0 Transmit Bandwidth Maximum[3] (t0bw_th1).
10:8
R/W Port 0 Transmit Bandwidth Maximum[2:0] (t0bw_th0).
7
R/W Port 5 Receive Bandwidth Maximum[3] (r5bw_th1).
6:4
R/W Port 5 Receive Bandwidth Maximum[2:0] (r5bw_th0).
3
R/W Port 4 Receive Bandwidth Maximum[3] (r4bw_th1).
2:0
R/W Port 4 Receive Bandwidth Maximum[2:0] (r4bw_th0).
Bits
15:13
12
11
10
9
8
4.3.27 Bandwidth Control Enable Register
offset: 0x33h
Type Description
RO Reserved
R/W DM8606AF New Bandwidth Control Enable.
0 = Disable.
1 = Enable.
R/W Port5 Transmit Bandwidth Control Enable.
0 = Disable.
1 = Enable. The transmit bandwidth is
{t5bw_th3, t5bw_th2, t5bw_th1, t5bw_th0, 6’b0}Kbps, K=1000.
R/W Port4 Transmit Bandwidth Control Enable.
0 = Disable.
1 = Enable. The transmit bandwidth is
{t4bw_th3, t4bw_th2, t4bw_th1, t4bw_th0, 6’b0}Kbps, K=1000.
R/W Port3 Transmit Bandwidth Control Enable.
0 = Disable.
1 = Enable. The transmit bandwidth is
{t3bw_th3, t3bw_th2, t3bw_th1, t3bw_th0, 6’b0}Kbps, K=1000.
R/W Port5 Receive Bandwidth Control Enable.
0 = Disable.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
1’b0
3’b000
1’b0
3’b000
1’b0
3’b000
1’b0
3’b000
Initial
value
0x0h
1’b0
1’b0
1’b0
1’b0
1’b0
4-18
DM8606AF
Bits
Type
R/W
7
R/W
6
R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
0
R/W
6-Port Fast Ethernet Single Chip Switch Controller
Description
Initial
value
1 = Enable. The received bandwidth is
{r5bw_th3, r5bw_th2, r5bw_th1, r5bw_th0, 6’b0}Kbps, K=1000.
Port4 Receive Bandwidth Control Enable
1’b0
0 = Disable.
1 = Enable. The received bandwidth is
{r4bw_th3, r4bw_th2, r4bw_th1, r4bw_th0, 6’b0}Kbps, K=1000.
Port3 Receive Bandwidth Control Enable
1’b0
0 = Disable.
1 = Enable. The received bandwidth is
{r3bw_th3, r3bw_th2, r3bw_th1, r3bw_th0, 6’b0}Kbps, K=1000.
Port2 Transmit Bandwidth Control Enable.
1’b0
0 = Disable.
1 = Enable. The transmit bandwidth is
{t2bw_th3, t2bw_th2, t2bw_th1, t2bw_th0, 6’b0}Kbps, K=1000.
Port2 Receive Bandwidth Control Enable
1’b0
0 = Disable.
1 = Enable. The received bandwidth is
{r2bw_th3, r2bw_th2, r2bw_th1, r2bw_th0, 6’b0}Kbps, K=1000.
Port1 Transmit Bandwidth Control Enable.
1’b0
0 = Disable.
1 = Enable. The transmit bandwidth is
{t1bw_th3, t1bw_th2, t1bw_th1, t1bw_th0, 6’b0}Kbps, K=1000.
Port1 Receive Bandwidth Control Enable
1’b0
0 = Disable.
1 = Enable. The received bandwidth is
{r1bw_th3, r1bw_th2, r1bw_th1, r1bw_th0, 6’b0}Kbps, K=1000.
Port0 Transmit Bandwidth Control Enable.
1’b0
0 = Disable.
1 = Enable. The transmit bandwidth is
{t0bw_th3, t0bw_th2, t0bw_th1, t0bw_th0, 6’b0}Kbps, K=1000.
Port0 Receive Bandwidth Control Enable
1’b0
0 = Disable.
1 = Enable. The received bandwidth is
{r0bw_th3, r0bw_th2, r0bw_th1, r0bw_th0, 6’b0}Kbps, K=1000.
4.3.28 Extended Bandwidth Control Register 0
offset: 0x34h
Bits
Type Description
15
R/W Port 5 Transmit Bandwidth Maximum[3] (t5bw_th1).
14:12 R/W Port 5 Transmit Bandwidth Maximum[2:0] (t5bw_th0).
11
R/W Port 4 Transmit Bandwidth Maximum[3] (t4bw_th1).
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
1’b0
3’b000
1’b0
4-19
DM8606AF
Bits
10:8
7
6:4
3
2:0
Type
R/W
R/W
R/W
R/W
R/W
6-Port Fast Ethernet Single Chip Switch Controller
Description
Initial value
Port 4 Transmit Bandwidth Maximum[2:0] (t4bw_th0).
3’b000
Port 3 Transmit Bandwidth Maximum[3] (t3bw_th1).
1’b0
Port 3 Transmit Bandwidth Maximum[2:0] (t3bw_th2).
3’b000
Port 2 Transmit Bandwidth Maximum[3] (t2bw_th1).
1’b0
Port 2 Transmit Bandwidth Maximum[2:0] (t2bw_th0).
3’b000
4.3.29 Extended Bandwidth Control Register 1
offset: 0x35h
Bits
Type Description
15:12 R/W Port 3 Receive Bandwidth Maximum[7:4] (r3bw_th2).
11:8
R/W Port 2 Receive Bandwidth Maximum[7:4] (r2bw_th2).
7:4
R/W Port 1 Receive Bandwidth Maximum[7:4] (r1bw_th2).
3:0
R/W Port 0 Receive Bandwidth Maximum[7:4] (r0bw_th2).
Initial value
4’b0000
4’b0000
4’b0000
4’b0000
4.3.30 Extended Bandwidth Control Register 2
offset: 0x36h
Bits
Type Description
15:12 R/W Port 1 Transmit Bandwidth Maximum[7:4] (t1bw_th2).
11:8
R/W Port 0 Transmit Bandwidth Maximum[7:4] (t0bw_th2).
7:4
R/W Port 5 Receive Bandwidth Maximum[7:4] (r5bw_th2).
3:0
R/W Port 4 Receive Bandwidth Maximum[7:4] (r4bw_th2).
Initial value
4’b0000
4’b0000
4’b0000
4’b0000
4.3.31 Extended Bandwidth Control Register 3
offset: 0x37h
Bits
Type Description
15:12 R/W Port 5 Transmit Bandwidth Maximum[7:4] (t5bw_th2).
11:8
R/W Port 4 Transmit Bandwidth Maximum[7:4] (t4bw_th2).
7:4
R/W Port 3 Transmit Bandwidth Maximum[7:4] (t3bw_th2).
3:0
R/W Port 2 Transmit Bandwidth Maximum[7:4] (t2bw_th2).
Initial value
4’b0000
4’b0000
4’b0000
4’b0000
4.3.32 Extended Bandwidth Control Register 4
offset: 0x38h
Bits
Type Description
15
R/W Reserved
14:12 R/W Port 4 Receive Bandwidth Maximum[10:8] (r4bw_th3).
11:9
R/W Port 3 Receive Bandwidth Maximum[10:8] (r3bw_th3).
8:6
R/W Port 2 Receive Bandwidth Maximum[10:8] (r2bw_th3).
5:3
R/W Port 1 Receive Bandwidth Maximum[10:8] (r1bw_th3).
Initial value
1’b0
3’b000
3’b000
3’b000
3’b000
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-20
DM8606AF
Bits
2:0
6-Port Fast Ethernet Single Chip Switch Controller
Type Description
Initial value
R/W Port 0 Receive Bandwidth Maximum[10:8] (r0bw_th3).
3’b000
4.3.33 Extended Bandwidth Control Register 5
offset: 0x39h
Bits
Type Description
15
R/W Reserved
14:12 R/W Port 3 Transmit Bandwidth Maximum[10:8] (r3bw_th3).
11:9
R/W Port 2 Transmit Bandwidth Maximum[10:8] (r2bw_th3).
8:6
R/W Port 1 Transmit Bandwidth Maximum[10:8] (r1bw_th3).
5:3
R/W Port 0 Transmit Bandwidth Maximum[10:8] (t0bw_th3).
2:0
R/W Port 5 Receive Bandwidth Maximum[10:8] (r5bw_th3).
Initial value
1’b0
3’b000
3’b000
3’b000
3’b000
3’b000
4.3.34 Extended Bandwidth Control Register 6
offset: 0x3ah
Bits
Type Description
15:6
R/W Reserved
5:3
R/W Port 5 Transmit Bandwidth Maximum[10:8] (t5bw_th3).
2:0
R/W Port 4 Transmit Bandwidth Maximum[10:8] (t4bw_th3).
Initial value
0x0h
3’b000
3’b000
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-21
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.3.35 New Storm Register 0
offset: 0x3bh
Bits
Type Description
Initial value
15
R/W Reserved
1’b0
14
R/W Storm Drop Enable.
1’b0
0 = Do not drop in the storming period.
1 = Drop in the storming period.
13
R/W Storm Enable.
1’b0
0 = Disable DM8606AF style broadcast storm protection.
1 = Enable DM8606AF style broadcast storm protection.
12:0
R/W 100M Threshold.
13’b0
It is used when all ports link up in the 100M. The upper bound is reached
when the number of the packets received during the 50ms is over 100M
Threshold.
4.3.36 New Storm Register 1
offset: 0x3ch
Bits
Type Description
Initial value
15:13 R/W Reserved
0x0h
12:0
R/W 10M Threshold.
13’b0
See Table 31 for more detail information. It is used when one of ports link
up in the 10M. The upper bound is reached when the number of the
packets received during the 50ms is over 10M Theshold.
4.3.37 Reserved Register
offset: 0x3dh
Bits Type Description
15:0 R/W Reserved
Initial value
0x00ffh
4.3.38 Reserved Register
offset: 0x3eh
Bits Type Description
15:0 R/W Reserved
Initial value
0x0000h
4.3.39 Reserved Register
offset: 0x3fh
Bits Type Description
15:0 R/W Reserved
Initial value
0x7c80h
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-22
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.5 Serial Register Map
Register
0xa0h
0xa2h
0xa4h
0xa6h
0xa8h
0xaah
0xach
0xaeh
0xb0h
0xb2h
0xb4h
0xb6h
0xb8h
0xbah
0xbch
0xbeh
0xc0h
0xc2h
0xc4h
0xc6h
0xc8h
0xcah
0xcch
0xceh
0xd0h
0xd2h
0xd4h
0xd6h
0xd8h
0xdah
0xdch
0xdeh
0xe0h
0xe2h
0xe4h
0xe6h
0xe8h
0xeah
0xech
0xeeh
0xf0h
0xf2h
Bit 15-0
Chip Identifier 0
Port Status 0
Port Status 2
Reserved
Port 0 Receive Packet Count Low
Reserved
Port 1 Receive Packet Count Low
Reserved
Port 2 Receive Packet Count Low
Reserved
Port 3 Receive Packet Count Low
Port 4 Receive Packet Count Low
Port 5 Receive Packet Count Low
Port 0 Receive Packet Byte Count Low
Reserved
Port 1 Receive Packet Byte Count Low
Reserved
Port 0 Receive Packet Byte Count Low
Reserved
Port 3 Receive Packet Byte Count Low
Port 4 Receive Packet Byte Count Low
Port 5 Receive Packet Byte Count Low
Port 0 Transmit Packet Count Low
Reserved
Port 1 Transmit Packet Count Low
Reserved
Port 2 Transmit Packet Count Low
Reserved
Port 3 Transmit Packet Count Low
Port 4 Transmit Packet Count Low
Port 5 Transmit Packet Count Low
Port 0 Transmit Packet Byte Count Low
Reserved
Port 1 Transmit Packet Byte Count Low
Reserved
Port 2 Transmit Packet Byte Count Low
Reserved
Port 3 Transmit Packet Byte Count Low
Port 4 Transmit Packet Byte Count Low
Port 5 Transmit Packet Byte Count Low
Port 0 Collision Count Low
Reserved
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Type Register
Bit 15-0
Type
RO
0xa1h
Chip Identifier 1
RO
RO
0xa3h
Port Status 1
RO
RO
0xa5h
Reserved
RO
RO
0xa7h
Reserved
RO
RW
0xa9h
Port 0 Receive Packet Count High
RW
RO
0xabh
Reserved
RO
RW
0xadh
Port 1 Receive Packet Count High
RW
RO
0xafh
Reserved
RO
RW
0xb1h
Port 2 Receive Packet Count High
RW
RO
0xb3h
Reserved
RO
RW
0xb5h
Port 3 Receive Packet Count High
RW
RW
0xb7h
Port 4 Receive Packet Count High
RW
RW
0xb9h
Port 5 Receive Packet Count High
RW
RW
0xbbh Port 0 Receive Packet Byte Count High RW
RO
0xbdh
Reserved
RO
RW
0xbfh Port 1 Receive Packet Byte Count High RW
RO
0xc1h
Reserved
RO
RW
0xc3h Port 0 Receive Packet Byte Count High RW
RO
0xc5h
Reserved
RO
RW
0xc7h Port 3 Receive Packet Byte Count High RW
RW
0xc9h Port 4 Receive Packet Byte Count High RW
RW
0xcbh Port 5 Receive Packet Byte Count High RW
RW
0xcdh
Port 0 Transmit Packet Count High
RW
RO
0xcfh
Reserved
RO
RW
0xd1h
Port 1 Transmit Packet Count High
RW
RO
0xd3h
Reserved
RO
RW
0xd5h
Port 2 Transmit Packet Count High
RW
RO
0xd7h
Reserved
RO
RW
0xd9h
Port 3 Transmit Packet Count High
RW
RW
0xdbh
Port 4 Transmit Packet Count High
RW
RW
0xddh
Port 5 Transmit Packet Count High
RW
RW
0xdfh Port 0 Transmit Packet Byte Count High RW
RO
0xe1h
Reserved
RO
RW
0xe3h Port 1 Transmit Packet Byte Count High RW
RO
0xe5h
Reserved
RO
RW
0xe7h Port 2 Transmit Packet Byte Count High RW
RO
0xe9h
Reserved
RO
RW
0xebh Port 3 Transmit Packet Byte Count High RW
RW
0xedh Port 4 Transmit Packet Byte Count High RW
RW
0xefh Port 5 Transmit Packet Byte Count High RW
RW
0xf1h
Port 0 Collision Count High
RW
RO
0xf3h
Reserved
RO
4-23
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Register
0xf4h
0xf6h
0xf8h
0xfah
0xfch
0xfeh
0x100h
0x102h
0x104h
0x106h
0x108h
0x10ah
0x10ch
0x10eh
0x110h
0x112h
0x114h
0x116h
0x118h
0x11ah
~
0x13fh
0x140h
0x142h
Bit 15-0
Port 1 Collision Count Low
Reserved
Port 2 Collision Count Low
Reserved
Port 3 Collision Count Low
Port 4 Collision Count Low
Port 5 Collision Count Low
Port 0 Error Count Low
Reserved
Port 1 Error Count Low
Reserved
Port 2 Error Count Low
Reserved
Port 3 Error Count Low
Port 4 Error Count Low
Port 5 Error Count Low
Over Flow Flag 0 Low
Over Flow Flag 1 Low
Over Flow Flag 2 Low
Reserved
Counter Control Low
Control Status Low
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Type Register
RW
0xf5h
RO
0xf7h
RW
0xf9h
RO
0xfbh
RW
0xfdh
RW
0xffh
RW 0x101h
RW 0x103h
RO 0x105h
RW 0x107h
RO 0x109h
RW 0x10bh
RO 0x10dh
RW 0x10fh
RW 0x111h
RW 0x113h
RC
0x115h
RC
0x117h
RC
0x119h
RO
RW
RO
0x141h
0x143h
Bit 15-0
Port 1 Collision Count High
Reserved
Port 2 Collision Count High
Reserved
Port 3 Collision Count High
Port 4 Collision Count High
Port 5 Collision Count High
Port 0 Error Count High
Reserved
Port 1 Error Count High
Reserved
Port 2 Error Count High
Reserved
Port 3 Error Count High
Port 4 Error Count High
Port 5 Error Count High
Over Flow Flag 0 High
Over Flow Flag 1 High
Over Flow Flag 2 High
Counter Control High
Control Status High
Type
RW
RO
RW
RO
RW
RW
RW
RW
RO
RW
RO
RW
RO
RW
RW
RW
RC
RC
RC
RW
RO
4-24
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.6 Serial Register Description
4.6.1 Chip Identifier 0 Register
offset: 0xa0h
Bits
Type Description
15:4
RO Product Code[11:0]
3:0
RO Version number
Initial value
0x102h
0x2h
4.6.2 Chip Identifier 1 Register
offset: 0xa1h
Bits
Type Description
15:4
RO Reserve
3:0
RO Product Code[15:12]
Initial value
0x0h
0x7h
4.6.3 Port Status 0 Register
offset: 0xa2h
Bits
Type Description
15:12 RO Reserved
11
RO Port 1 Flow Control Enable
1: 802.3X on for full duplex or back pressure on for half duplex.
0: Flow Control Disable
10
RO Port 1 Duplex Status
1: Full Duplex.
0: Half Duplex.
9
RO Port 1 Speed Status:
1: 100Mb/s
0: 10 Mb/s
8
RO Port 1 Linkup Status:
1: Link is established.
0: Link is not established.
7:4
RO Reserved
3
RO Port 0 Flow Control Enable
1: 802.3X on for full duplex or back pressure on for half duplex.
0: Flow Control Disable
2
RO Port 0 Duplex Status
1: Full Duplex.
0: Half Duplex.
1
RO Port 0 Speed Status:
1: 100Mb/s
0: 10 Mb/s
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
4-25
DM8606AF
Bits
0
Bits
15
14
13
12
11
10
9
8
7:4
3
2
1
0
Type Description
RO Port 0 Linkup Status:
1: Link is established.
0: Link is not established.
6-Port Fast Ethernet Single Chip Switch Controller
Initial value
0x0h
4.6.4 Port Status 1 Register
offset: 0xa3h
Type Description
RO Port 4 Flow Control Enable
1: 802.3X on for full duplex or back pressure on for half duplex.
0: Flow Control Disable
RO Port 4 Duplex Status
1: Full Duplex.
0: Half Duplex.
RO Port 4 Speed Status:
1: 100Mb/s
0: 10 Mb/s
RO Port 4 Linkup Status:
1: Link is established.
0: Link is not established.
RO Port 3 Flow Control Enable
1: 802.3X on for full duplex or back pressure on for half duplex.
0: Flow Control Disable
RO Port 3 Duplex Status
1: Full Duplex.
0: Half Duplex.
RO Port 3 Speed Status:
1: 100Mb/s
0: 10 Mb/s
RO Port 3 Linkup Status:
1: Link is established.
0: Link is not established.
RO Reserved
RO Port 2 Flow Control Enable
1: 802.3X on for full duplex or back pressure on for half duplex.
0: Flow Control Disable
RO Port 2 Duplex Status
1: Full Duplex.
0: Half Duplex.
RO Port 2 Speed Status:
1: 100Mb/s
0: 10 Mb/s
RO Port 2 Linkup Status:
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
4-26
DM8606AF
Bits
Bits
15:5
4
3
2
1
0
Type Description
1: Link is established.
0: Link is not established.
6-Port Fast Ethernet Single Chip Switch Controller
Initial value
4.6.5 Port Status 2 Register
offset: 0xa4h
Type Description
RO Reserved
RO Port 5 Flow Control Enable
1: 802.3X on for full duplex or back pressure on for half duplex.
0: Flow Control Disable
RO Port 5 Duplex Status
1: Full Duplex.
0: Half Duplex.
RO Reserved
RO Port 5 Speed Status.
1 = 100Mb/s.
0 = 10Mb/s.
RO Port 5 Linkup Status:
1: Link is established.
0: Link is not established.
Initial value
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
4.6.6 Reserved Register
offset: 0xa5h ~ 0xa7h
Bits
Type Description
15:0
RO Reserved
Initial value
0x0h
4.6.7 Counter Low Register
offset: 0xa8h ~ 0x113h
Bits
Type Description
15:0
RO Counter[15:0]
Initial value
0x0h
4.6.8 Counter High Register
offset: 0xa8h ~ 0x113h
Bits
Type Description
15:0
RO Counter[31:16]
Initial value
0x0h
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-27
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.6.9 Over Flow Flag 0 Register
offset: 0x114h
Type Description
RC Overflow of Port 3 Receive Packet Byte Count
RO Reserved
RC Overflow of Port 2 Receive Packet Byte Count
RO Reserved
RC Overflow of Port 1 Receive Packet Byte Count
RO Reserved
RC Overflow of Port 0 Receive Packet Byte Count
RC Overflow of Port 5 Receive Packet Count
RC Overflow of Port 4 Receive Packet Count
RC Overflow of Port 3 Receive Packet Count
RO Reserved
RC Overflow of Port 2 Receive Packet Count
RO Reserved
RC Overflow of Port 1 Receive Packet Count
RO Reserved
RC Overflow of Port 0 Receive Packet Count
Initial value
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
4.6.10 Over Flow Flag 1 Register
offset: 0x115h
Bits Type Description
15:12 RO Reserved
1
RC Overflow of Port 5 Receive Packet Byte Count
0
RC Overflow of Port 4 Receive Packet Byte Count
Initial value
0x0h
0x0h
0x0h
Bits
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Bits
15
14
13
12
11
10
9
8
7
6
4.6.11 Over Flow Flag 2 Register
offset: 0x116h
Type Description
RO Overflow of Port 3 Transmit Packet Byte Count
RO Reserved
RO Overflow of Port 2 Transmit Packet Byte Count
RO Reserved
RO Overflow of Port 1 Transmit Packet Byte Count
RO Reserved
RO Overflow of Port 0 Transmit Packet Byte Count
RO Overflow of Port 5 Transmit Packet Count
RO Overflow of Port 4 Transmit Packet Count
RO Overflow of Port 3 Transmit Packet Count
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
4-28
DM8606AF
Bits
5
4
3
2
1
0
Type
RO
RO
RO
RO
RO
RO
6-Port Fast Ethernet Single Chip Switch Controller
Description
Initial value
Reserved
0x0h
Overflow of Port 2 Transmit Packet Count
0x0h
Reserved
0x0h
Overflow of Port 1 Transmit Packet Count
0x0h
Reserved
0x0h
Overflow of Port 0 Transmit Packet Count
0x0h
4.6.12 Over Flow Flag 3 Register
offset: 0x117h
Bits
Type Description
15:2
RO Reserved
1
RC Overflow of Port 5 Transmit Packet Byte Count
0
RC Overflow of Port 4 Transmit Packet Byte Count
Bits
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
4.6.13 Over Flow Flag 4 Register
offset: 0x118h
Type Description
RC Overflow of Port 3 Error Count
RO Reserved
RC Overflow of Port 2 Error Count
RO Reserved
RC Overflow of Port 1 Error Count
RO Reserved
RC Overflow of Port 0 Error Count
RC Overflow of Port 5 Collision Count
RC Overflow of Port 4 Collision Count
RC Overflow of Port 3 Collision Count
RO Reserved
RC Overflow of Port 2 Collision Count
RO Reserved
RC Overflow of Port 1 Collision Count
RO Reserved
RC Overflow of Port 0 Collision Count
4.6.14 Over Flow Flag 5 Register
offset: 0x119h
Bits
Type Description
15:2
RO Reserved
1
RC Overflow of Port 5 Error Count
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
0x0h
0x0h
0x0h
Initial value
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
0x0h
Initial value
0x0h
0x0h
4-29
DM8606AF
Bits
0
6-Port Fast Ethernet Single Chip Switch Controller
Type Description
Initial value
RC Overflow of Port 4 Error Count
0x0h
4.6.15 Counter Control Low Register
offset: 0x140h
Bits
Type Description
15:8
RO Reserved
7
RW Busy/Access Start.
1 = The counter control is busy, or users should write 1’b1 into this bit to
start the access
when the engine is free.
0 = The counter control is free.
6
RW 0 = Indirect Read Counter
1 = Renew Port Counter
5:0
RW Indirect Read Counter: It means the counter address.
Renew Port Counter: It means the counters on each port to renew.
Initial value
0x0h
0x0h
0x0h
0x0h
4.6.16 Counter Control High Register
offset: 0x141h
Bits
Type Description
15:0
RO Reserved
Initial value
0x0h
4.6.17 Counter Status Low Register
offset: 0x142h
Bits
Type Description
15:0
RO Counter[15:0]
Initial value
0x0h
4.6.18 Counter Status High Register
offset: 0x143h
Bits
Type Description
15:0
RO Counter[31:16]
Initial value
0x0h
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-30
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.8 PHY Register Description
4.8.1 Control Register of Port0~4
ffset: 0x200, 0x220, 0x240, 0x260, 0x280
Bits Type Name
Description
Initial value
0x0h
15
R/W, RST
RESET
SC
1 – PHY Reset
0 – Normal operation
Setting this bit initiates the software reset function that resets
the selected port, except for the phase-locked loop circuit. It
will re-latch in all hardware configuration pin values The
software reset process takes 25us to complete. This bit,
which is self-clearing, returns a value of 1 until the reset
process is complete.
14
R/W LPBK
Loop Back Enable
0x0h
1 – Enable loopback mode
0 – Disable Loopback mode
This bit controls the PHY loopback operation that isolates
the network transmitter outputs (TXP and TXN) and routes
the MII transmit data to the MII receive data path. This
function should only be used when auto negotiation is
disabled (bit12 = 0). The specific PHY (10Base-T or
100Base-X) used for this operation is determined by bits 12
and 13 of this register
13
R/W SPEED_LSB Speed Selection LSB
0x1h
0.6, 0.13
0
0 10 Mbits/s
0
1
100 Mbits/s
1
0 Reserved
1
1 Reserved
Link speed is selected by this bit or by auto negotiation if bit
12 of this register is set (in which case, the value of this bit is
ignored).
If it is fiber mode, 0.13 is always 1. Any write to this bit will
have no effect.
12
R/W ANEN
Auto Negotiation Enable
0x1h
1 – Enable auto negotiation process
0 – Disable Auto negotiation process
This bit determines whether the link speed should set up by
the auto negotiation process or not. It is set at power up or
reset if the PI_RECANEN pin detects a logic 1 input level in
Twisted-Pair Mode.
If it is set when fiber mode is configured, any write to this bit
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-31
DM8606AF
Bits
11
10
9
8
7
6
5:0
6-Port Fast Ethernet Single Chip Switch Controller
Type Name
Description
Initial value
will be ignored.
R/W PDN
Power Down Enable
0x0h
1 – Power Down
0 – Normal Operation
Ored result with PI_PWRDN pin. Setting this bit high or
asserting the PI_PWRDN puts the PHY into power down
mode. During the power down mode, TXP/TXN and all
LED outputs are tri-stated and the MII interfaces are isolated.
R/W ISO
Isolate PHY from Network
0x0h
1 – Isolate PHY from MII
0 – Normal Operation
Setting this control bit isolates the part from the MII, with the
exception of the serial management interface. When this bit
is asserted, the PHY does not respond to TXD, TXEN and
TXER inputs, and it presents a high impedence on its TXC,
RXC, CRSDV, RXER, RXD, COL and CRS outputs.
R/W, ANEN_RST Restart Auto Negotiation
0x0h
SC
1 – Restart Auto Negotiation Process
0 – Normal Operation
Setting this bit while auto negotiation is enabled forces a new
auto negotiation process to start. This bit is self-clearing and
returns to 0 after the auto negotiation process has
commenced.
R/W DPLX
Duplex Mode
0x1h
1 – Full Duplex mode
0 – Half Duplex mode
If auto negotiation is disabled, this bit determines the duplex
mode for the link.
R/W COLTST
Collision Test
0x0h
1 – Enable COL signal test
0 – Disable COL signal test
When set, this bit will cause the COL signal of MII interface
to be asserted in response to the assertion of TXEN.
RO SPEED_MSB Speed Selection MSB
0x0h
Set to 0 all the time indicate that the PHY does not support
1000 Mbits/s function.
RO Reserved
Not Applicable
0x00h
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-32
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.8.2 Status Register of Port0~4
offset: 0x201, 0x221, 0x241, 0x261, 0x281
Bits Type Name
Description
Initial value
15
RO CAP_T4
100Base-T4 Capable
0x0h
Set to 0 all the time to indicate that the PHY does not support
100Base-T4
14
RO CAP_TXF
100Base-X Full Duplex Capable
0x1h
Set to 1 all the time to indicate that the PHY does support
Full Duplex mode
13
RO CAP_TXH
100Base-X Half Duplex Capable
0x1h
Set to 1 all the time to indicate that the PHY does support
Half Duplex mode
12
RO CAP_TF
10M Full Duplex Capable
0x1h
TP : Set to 1 all the time to indicate that the PHY does
support 10M Full Duplex mode
0x0h
FX : Set to 0 all the time to indicate that the PHY does not
support 10M Full Duplex mode
11
RO CAP_TH
10M Half Duplex Capable
0x1h
TP : Set to 1 all the time to indicate that the PHY does
support 10M Half Duplex mode
0x0h
FX : Set to 0 all the time to indicate that the PHY does not
support 10M Half Duplex mode
10
RO CAP_T2
100Base-T2 Capable
0x0h
Set to 0 all the time to indicate that the PHY does not support
100Base-T2
9:7
RO Reserved
Not Applicable
0x0h
6
RO CAP_SUPR MF Preamble Suppression Capable
0x1h
This bit is hardwired to 1 indicating that the PHY accepts
management frame without preamble. Minimum 32
preamble bits are required following power-on or hardware
reset. One idle bit is required between any two management
transactions as per IEEE 802.3u specification.
5
RO AN_COMP Auto Negotiation Complete
0x0h
1 – Auto Negotiation process completed
0 – Auto Negotiation process not completed
If auto negotiation is enabled, this bit indicates whether the
auto negotiation process has been completed or not.
Set to 0 all the time when Fiber Mode is selected.
4
RO REM_FLT
Remote Fault Detect
0x0h
1 – Remote Fault detected
0 – Remote Fault not detected
This bit is latched to 1 if the RF bit in the auto negotiation
link partner ability register (bit 13, register address 05h) is
set or the receive channel meets the far end fault indication
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-33
DM8606AF
Bits
3
2
1
0
6-Port Fast Ethernet Single Chip Switch Controller
Type Name
Description
Initial value
function criteria. It is unlatched when this register is read.
RO CAP_ANEG Auto Negotiation Ability
0x1h
1 – Capable of auto negotiation
0 – Not capable of auto negotiation
TP : This bit is set to 1 all the time, indicating that PHY is
capable of auto negotiation.
0x0h
FX : This bit is set to 0 all the time, indicating that PHY is
not capable of auto negotiation in Fiber Mode.
RO LINK
Link Status
0x0h
1 – Link is up
0 – Link is down
This bit reflects the current state of the link –test-fail state
machine. Loss of a valid link causes a 0 latched into this bit.
It remains 0 until this register is read by the serial
management interface. Whenever Linkup, this bit should be
read twice to get link up status
RO JAB
Jabber Detect
0x0h
1 – Jabber condition detected
0 – Jabber condition not detected
RO EXTREG
Extended Capability
0x0h
1 – Extended register set
0 – No extended register set
This bit defaults to 1, indicating that the PHY implements
extended registers.
4.8.3 PHY Identifier Register of Port0~4
offset: 0x202, 0x222, 0x242, 0x262, 0x282
Bits Type Name
Description
15:0
RO PHYIEEE Address
ID[15:0]
4.8.4 PHY Identifier Register of Port0~4
offset: 0x203, 0x223, 0x243, 0x263, 0x283
Bits Type Name
Description
15:10 RO PHYIEEE Address
ID[15:0]
9:4
RO PHYIEEE Model No.
ID[15:0]
3:0
RO PHYIEEE Revision No.
ID[15:0]
Note: Register 3 = 0xCC10
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
0x002Eh
Initial value
0x33h
0x01h
0x01h
4-34
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.8.5 Auto Negotiation Advertisement Register of Port0~4
offset : 0x204, 0x224, 0x244, 0x264, 0x284
Bits Type Name
Description
Initial value
15
RO NP
Next Page
0x0h
This bit is defaults to 1, indicating that PHY is next page
capable.
14
R/W Reserved
Not Applicable
0x0h
13
RO RF
Remote Fault
0x0h
1 – Remote Fault has been detected
0 – No remote fault has been detected
This bit is written by serial management interface for the
purpose of communicating the remote fault condition to the
auto negotiation link partner.
12
RO Reserved
Not Applicable
0x0h
11
R/W ASM_DIR
Asymmetric Pause Direction.
0x0h
Bit[11:10] Capability
00
No Pause
01
Symmetric PAUSE
10
Asymmetric PAUSE toward Link Partner
11
Both Symmetric PAUSE and Asymmetric PAUSE
toward local device
10
R/W PAUSE
Pause Operation for Full Duplex
0x1h
Value on PAUREC will be stored in this bit during power on
reset.
9
RO T4
Technology Ability for 100Base-T4
0x0h
Defaults to 0.
8
R/W TX_FDX
100Base-TX Full Duplex
0x1h
1 – Capable of 100M Full duplex operation
0 – Not capable of 100M Full duplex operation
7
R/W TX_HDX
100Base-TX Half Duplex
0x1h
1 – Capable of 100M operation
0 – Not capable of 100M operation
6
R/W 10_FDX
10BASE-T Full Duplex
0x1h
1 – Capable of 10M Full Duplex operation
0 – Not capable of 10M full duplex operation
5
R/W 10_HDX
10Base-T Half Duplex
0x1h
1 – Capable of 10M operation
0 – Not capable of 10M operation
Note that bit 8:5 should be combined with REC100,
RECFUL pin input to determine the finalized speed and
duplex mode.
4:0
RO Selector Field These 5 bits are hardwired to 00001b, indicating that the
0x1h
PHY supports IEEE 802.3 CSMA/CD.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-35
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.8.6 Auto Negotiation Link Partner Ability Register of Port0~4
offset: 0x205, 0x225, 0x245, 0x265, 0x285
Bits Type Name
Description
Initial value
15
RO NPAGE
Next Page
0x0h
1 – Capable of next page function
0 – Not capable of next page function
14
RO ACK
Acknowledge
0x0h
1 – Link Partner acknowledges reception of the ability data
word
0 – Not acknowledged
13
RO RF
Remote Fault
0x0h
1 – Remote Fault has been detected
0 – No remote fault has been detected
12
RO Reserved
Not Applicable
0x0h
11
RO LP_DIR
Link Partner Asymmetric Pause Direction.
0x0h
10
RO LP_PAU
Link Partner Pause Capability
0x0h
Value on PAUREC will be stored in this bit during power on
reset.
9
RO LP_T4
Link Partner Technology Ability for 100Base-T4
0x0h
Defaults to 0.
8
RO LP_FDX
100Base-TX Full Duplex
0x0h
1 – Capable of 100M Full duplex operation
0 – Not capable of 100M Full duplex operation
7
RO LP_HDX
100Base-TX Half Duplex
0x0h
1 – Capable of 100M operation
0 – Not capable of 100M operation
6
RO LP_F10
10BASE-T Full Duplex
0x0h
1 – Capable of 10M Full Duplex operation
0 – Not capable of 10M full duplex operation
5
RO LP_H10
10Base-T Half Duplex
0x0h
1 – Capable of 10M operation
0 – Not capable of 10M operation
4:0
RO Selector Field Encoding Definitions.
0x01h
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-36
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.8.7 Auto Negotiation Expansion Register of Port0~4
offset: 0x206, 0x226, 0x246, 0x266, 0x286
Bits Type Name
Description
Initial value
15:5
RO Reserved
Not Applicable
0x000h
4
RO, PFAULT
Parallel Detection Fault
0x0h
LH
1 – Fault has been detected
0 – No Fault Detect
3
RO LPNPABLE Link Partner Next Page Able
0x0h
1 – Link Partner is next page capable
0 – Link Partner is not next page capable
2
RO NPABLE
Next Page Able
0x1h
Defaults to 1, indicating PHY is next page able.
0x0h
1
RO PGRCV
Page Received
1 – A new page has been received
0 – No new page has been received
0
RO LPANABLE Link Partner Auto Negotiation Able
0x0h
1 – Link Partner is auto negotiable
0 – Link Partner is not auto negotiable
4.8.8 Next Page Transmit Register of Port0~4
offset: 0x207, 0x227, 0x247, 0x267, 0x287
Bits Type Name
Description
15
RO TNPAGE
Transmit Next Page
Transmit Code Word Bit 15
14
RO Reserved
Reserved
Transmit Code Word Bit 14
13
R/W TMSG
Transmit Message Page
Transmit Code Word Bit 13
12
R/W TACK2
Transmit Acknowledge 2
Transmit Code Word Bit 12
11
RO TTOG
Transmit Toggle
Transmit Code Word Bit 11
10:0
R/W TFLD[10:0] Transmit Message Field
Transmit Code Word Bit 10..0
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
Initial value
0x0h
0x0h
0x1h
0x0h
0x0h
0x001h
4-37
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
4.8.9 Link Partner Next Page Register of Port0~4
offset: 0x208, 0x228, 0x248, 0x268, 0x288
Bits Type Name
Description
Initial value
15
RO PNPAGE
Link Partner Next Page
0x0h
Receive Code Word Bit 15
14
RO PACK
Link Partner Acknowledge
0x0h
Receive Code Word Bit 14
13
RO PMSGP
Link Partner Message Page
0x0h
Receive Code Word Bit 13
12
RO PACK2
Link Partner Acknowledge 2
0x0h
Receive Code Word Bit 12
11
RO PTOG
Link Partner Toggle
0x0h
Receive Code Word Bit 11
10:0
RO PFLD[10:0] Link Partner Message Field
0x001h
Receive Code Word Bit 11
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
4-38
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Chapter 5 Electrical Specification
5.1 TX/FX Interface
5.1.1 TP Interface
Figure 5-1 TX Interface
Transformer requirement:
. TX/RX rate 1:1
. TX/RX central tap connect together to VCCA2.
User can change TX/RX pin for easy layout but do not change polarity. DM8606AF supports auto
polarity on receiving side.
39
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.1.2 FX Interface
Figure 5-2 FX Interface
40
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.2 DC Characteristics
5.2.1 Power Consumption
(Under EEPROM Register 0x29 = 0xC000, and 0x30 = 0x0985)
Symbol
Parameter
Rating
P100M_5TP Power consumption when all twisted pair ports
are linked at 100Mbps.
P10M_5TP Power consumption when all twisted pair ports
are linked at 10Mbps (include transformer).
PDIS_5TP Power consumption when all twisted pair ports
are disconnected.
930
Units
mW
1270
mW
450
mW
Table 5-1 Power Consumption
5.2.2 Absolute Maximum Rating
Symbol
VCC3O
VCCBIAS
VCCAD
VCCA2
VCCPLL
VCCIK
VIN
VOUT
I3.3VMAX
I1.8MAX
TSTG
ESD
Parameter
3.3V Power Supply for I/O pad
3.3V Power Supply for bias circuit
3.3V Power Supply for A/D converter
1.8V Power Supply for line driver
1.8V Power Supply for PLL
1.8V Power Supply for Digital core
Input Voltage
Output Voltage
Maximum current for 3.3V power supply
Maximum current for 1.8V power supply
(include transformer)
Storage Temperature
ESD Rating
Rating
2.97 to 3.63
2.97 to 3.63
2.97 to 3.63
1.62 to 1.98
1.62 to 1.98
1.62 to 1.98
-0.3 to VCC3O + 0.3
-0.3 to VCC3O + 0.3
100
750
Units
V
V
V
V
V
V
V
V
mA
mA
-55 to 155
1.5
°C
KV
Table 5-2 Electrical Absolute Maximum Rating
5.2.3 Recommended Operating Conditions
Symbol
VCC3O
VCCBIAS
VCCAD
VCCA2
VCCPLL
VCCIK
VIN
TJ
Parameter
3.3V Power Supply for I/O pad
3.3V Power Supply for bias circuit
3.3V Power Supply for A/D converter
1.8V Power Supply for line driver
1.8V Power Supply for PLL
1.8V Power Supply for Digital core
Input Voltage
Junction Operating Temperature
Min
3.135
3.135
3.135
1.71
1.71
1.71
0
0
Typical
3.3
3.3
3.3
1.8
1.8
1.8
25
Max
3.465
3.465
3.465
1.89
1.89
1.89
VCC3O
115
Units
V
V
V
V
V
V
V
°C
Table 5-3 Recommended Operating Conditions
41
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.2.4 DC Electrical Characteristics for 3.3V Operation
(Under VCC3O=2.97V ~ 3.63V, TJ= 0°C ~ 115°C)
Symbol
Parameter
Conditions
VIL
Input Low Voltage
TTL
VIH
Input High Voltage
TTL
VOL
Output Low Voltage
TTL
VOH
Output High Voltage
TTL
RI
Input Pull_up/down Resistance
VIL= 0V or
VIH = VCC3O
Min
Typical
Max
0.8
2.0
0.4
2.4
50
Units
V
V
V
V
KΩ
Table 5-4 DC Electrical Characteristics for 3.3V Operation
42
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.3 AC Characteristics
5.3.1 XTAL/OSC Timing
tXI_PER
tXI_HI
tXI_LO
VIH-XI
VIL-XI
tXI_RISE
tXI_FALL
Figure 5-3 XTAL/OSC Timing
Symbol
Parameter
Conditions
t_XI_PER XI/OSCI Clock Period
T_XI_HI XI/OSCI Clock High
T_XI_LO XI/OSCI Clock Low
XI/OSCI Clock Rise Time , VIL
T_XI_RISE
(max) to VIH (min)
XI/OSCI Clock Fall Time , VIH
T_XI_FALL
(min) to VIL (max)
Min
40.0 –
50ppm
14
14
Typical
40.0
Max
40.0 +
50ppm
20.0
20.0
Units
ns
ns
ns
4
ns
4
ns
Table 5-5 XTAL/OSC Timing
43
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.3.2 Power On Reset
0us
50us
100us
150us
tRST
RST*
tCONF
All Configuration Pins
Figure 5-4 Power On Reset Timing
Symbol
tRST
tCONF
Parameter
RST Low Period
Start of Idle Pulse Width
Conditions
Min
100
100
Typical
Max
Units
ms
ns
Table 5-6 Power on reset timing
5.3.3 EEPROM Interface Timing
0us
10u s
20us
30us
EECS
tESKL
tESKH
tESK
EESK
tEWDD
EEDO
tERDS
tERDH
EEDI
Figure 5-5 EEPROM Interface Timing
Symbol
tESK
tESKL
tESKH
tERDS
tERDH
Parameter
EESK Period
EESK Low Period
EESK High Period
EEDI to EESK Rising Setup Time
EEDI to EESK Rising Hold Time
Conditions
Min
2550
2550
10
10
Typical
5120
Max
2570
2570
Units
ns
ns
ns
ns
ns
44
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
tEWDD
EESK Falling to EEDO Output
Delay Time
20
ns
Table 5-7 EEPROM Interface Timing
5.3.4 10Base-TX MII Input Timing
0ns
1000ns
2000ns
tCK
tCKL
tCKH
MII_RXCLK
tRXS
MII_RXDV
tRXH
MII_RXD
MII_CRS
Figure 5-6 10Base-TX MII Input Timing
Symbol
Parameter
Conditions
Min
Typical
Max
Units
tCK
tCKL
MII_RXCLK Period
MII_RXCLK Low Period
180
220
ns
ns
tCKH
MII_RXCLK High Period
180
220
ns
tRXS
MII_CRS, MII_RXDV and
MII_RXD to MII_RXCLK rising
setup
MII_CRS, MII_RXDV and
MII_RXD to MII_RXCLK rising
hold
10
ns
10
ns
tRXH
400
Table 5-8 10Base-TX MII Input Timing
45
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.3.5 10Base-TX MII Output Timing
0ns
500ns
1000ns
1500ns
2000ns
2500ns
tCK
tCKL
tCKH
MII_TXCLK
tTXOD
MII_TXEN
MII_TXD
Figure 5-7 10Base-TX MII Output Timing
Parameter
Conditions
Min
Typical
Max
Units
Symbol
tCK
tCKL
MII_TXCLK Period
MII_TXCLK Low Period
180
400
220
ns
ns
tCKH
MII_TXCLK High Period
180
220
ns
tTXOD
MII_TXD, MII_TXEN to
MII_TXCLK Rising Output Delay
0
25
ns
Table 5-9 10Base-TX MII Output Timing
5.3.6 100Base-TX MII Input Timing
0ns
100ns
200ns
tCK
tCKL
tCKH
MII_RXCLK
tRXS
MII_RXDV
tRXH
MII_RXD
MII_CRS
Figure 5-8 100Base-TX MII Input Timing
46
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Symbol
Parameter
Conditions
Min
Typical
Max
Units
tCK
tCKL
MII_RXCLK Period
MII_RXCLK Low Period
18
22
ns
ns
tCKH
MII_RXCLK High Period
18
22
ns
tRXS
MII_CRS, MII_RXDV and
MII_RXD to MII_RXCLK rising
setup
MII_CRS, MII_RXDV and
MII_RXD to MII_RXCLK rising
hold
10
ns
10
ns
tRXH
40
Table 5-10 100Base-TX MII Input Timing
47
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.3.7 100Base-TX MII Output Timing
0ns
50ns
100ns
150ns
200ns
250ns
tCK
tCKL
tCKH
MII_TXCLK
tTXOD
MII_TXEN
MII_TXD
Figure 5-9 100Base-TX MII Output Timing
Symbol
Parameter
Conditions
Min
Typical
Max
Units
tCK
tCKL
MII_TXCLK Period
MII_TXCLK Low Period
18
40
22
ns
ns
tCKH
MII_TXCLK High Period
18
22
ns
tTXOD
MII_TXD, MII_TXEN to
MII_TXCLK Rising Output Delay
0
25
ns
Table 5-11 100Base-TX MII Output Timing
48
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.3.8 GPSI (7-wire) Input Timing
0ns
250ns
500ns
tCK
tCKL
tCKH
GPSI_RXCLK
GPSI_RXD
tTXH
tTXS
GPSI_CRS/COL
Figure 5-10 GPSI (7-wire) Input Timing
Symbol
TCK
TCKL
Parameter
Conditions
GPSI_RXCLK Period
GPSI_RXCLK Low Period
Min
Typical
100
Max
40
60
Units
ns
ns
60
ns
TCKH
GPSI_RXCLK High Period
40
TTXS
GPSI_RXD,
GPSI_CRS/COL to
GPSI_RXCLK Rising Setup
Time
GPSI_RXD,
GPSI_CRS/COL to
GPSI_RXCLK Rising Hold
Time
10
ns
10
ns
TTXH
Table 5-12 GPSI (7-wire) Input Timing
49
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.3.9 GPSI (7-wire) Output Timing
0ns
250ns
500ns
tCK
tCKL
tCKH
GPSI_TXCLK
GPSI_TXD
tOD
GPSI_TXEN
Figure 5-11 GPSI (7-wire) Output Timing
Symbol
TCK
TCKL
Parameter
GPSI_TXCLK Period
GPSI_TXCLK Low Period
TCKH
TOD
Conditions
Min
Typical
100
Max
40
60
Units
ns
ns
GPSI_TXCLK High Period
40
60
ns
GPSI_TXCLK Rising to
GPSI_TXEN/GPSI_TXD
Output Delay
50
70
ns
Table 5-13 GPSI (7-wire) Output Timing
50
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.3.10 SDC/SDIO Timing
0ns
25ns
50n s
75n s
100 ns
tSDC
tSDCH
tSDCL
SDC
tSDH
tSDS
SDIO
Figure 5-12 SDC/SDIO Timing
Symbol
TCK
TCKL
TCKH
TSDS
TSDH
Parameter
SDC Period
SDC Low Period
SDC High Period
SDIO to SDC rising setup time on
read/write cycle
SDIO to SDC rising hold time on
read/write cycle
Conditions
Min
20
10
10
4
2
Typ
Max
Units
ns
ns
ns
ns
ns
Table 5-14 SDC/SDIO Timing
51
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.3.11 MDC/MDIO Timing
0ns
25ns
50ns
75ns
100ns
tMDC
tMDCH
tMDCL
MDC
tMDH
tMDS
MDIO
Figure 5-13 MDC/MDIO Timing
Symbol
tMDC
tMDCL
tMDCH
TMDS
TMDH
Parameter
MDC Period
MDC Low Period
MDC High Period
MDIO to MDC rising setup time
on read/write cycle
MDIO to MDC rising hold time on
read/write cycle
Conditions
Min
100
40
40
Typ
Max
10
10
Units
ns
ns
ns
ns
ns
Table 5-15 MDC/MDIO Timing
52
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
5.3.12 Magnetics Selection Guide
Refer to Table for transformer requirements.
Transformers, meeting these requirements, are
available from a variety of magnetic
manufacturers. Designers should test and qualify
all magnetics before using them in an application.
The transformers listed in Table are electrical
equivalents, but may not be pin-to-pin
equivalents
Manufacturer
Part Number
PE-68515, H1078, H1012, H1102
Pulse Engineering
Delta
YCL
MAGCOM
Halo
Nano Pulse Inc.
Fil-Mag
Bel Fuse
Valor
Macronics
Bothhand
SUMLINK
LF8200, LF8221x
20PMT04, 20PMT05, PH163112 , YCL 0303
PH163539 *(Auto MDIX), PTC1411-00N
HS4012 , HS9001 , HS9016
TG22-3506ND, TD22-3506G1, TG22-S010ND, TG22-S012ND
TG110-S050N2
NPI 6181-37, NPI 6120-30, NPI 6120-37
NPI 6170-30
PT41715
S558-5999-01, S558-5999-W2
ST6114, ST6118
HS2123, HS2213
TS6121C,16ST8515,16ST1086
ST-L1164,ST-L1105
53
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Chapter 6 Packaging and Ordering
128 Pin QFP Outside Dimension
Figure 6-6-1 128 Pin QFP Outside Dimension
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
6-1
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
in this document are for reference purposes
only.
Ordering Information
Part Number
DM8606AF
Pin Count
128
DM8606AFP
128
Package
QFP
QFP
(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,
and the provisions stipulated in the terms of
sale only. DAVICOM makes no warranty,
express, statutory, implied or by description,
regarding the information in this publication or
regarding the freedom of the described chip(s)
from
patent
infringement.
FURTHER,
DAVICOM MAKES NO WARRANTY OF
MERCHANTABILITY OR FITNESS FOR ANY
PURPOSE. DAVICOM reserves the right to
halt production or alter the specifications and
prices at any time without notice. Accordingly,
the reader is cautioned to verify that the data
sheets and other information in this publication
are current before placing orders. Products
described herein are intended for use in
normal commercial applications. Applications
involving unusual environmental or reliability
requirements, e.g. military equipment or
medical life support equipment, are specifically
not
recommended
without
additional
processing by DAVICOM for such applications.
Please note that application circuits illustrated
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 Park,
Hsin-chu City, Taiwan, R.O.C.
TEL: 886-3-5798797
FAX: 886-3-6669831
WARNING
Conditions beyond those listed for the absolute maximum may destroy or damage the products. In addition, conditions for sustained periods at
near the limits of the operating ranges will stress and may temporarily (and permanently) affect and damage structure, performance and/or
function.
Preliminary
Version: DM8606AF-DS-P03
Nov. 04. 2005
6-2
DM8606AF
6-Port Fast Ethernet Single Chip Switch Controller
Preliminary
Version: DM8606AF-DS-P03
Nov. 04, 2005
6-3