MICRO-LINEAR ML6691CQ

March 1997
ML6691*
100BASE-T MII-to-PMD Transceiver
GENERAL DESCRIPTION
FEATURES
The ML6691 implements the upper portion of the physical
layer for the Fast Ethernet 100BASE-T standard. Functions
contained in the ML6691 include a 4B/5B encoder/
decoder, a Stream Cipher scrambler/descrambler, and
collision detect. Additional functions of the ML6691 —
accessible through the two-wire MII management
interface — include full duplex operation, loopback,
power down mode, and MII isolation.
■
The ML6691 is designed to interface to a 100BASE-T
Ethernet Media Access Controller (MAC) via the MII
(Media Independent Interface) on one side, and a
100BASE-X PMD transceiver on the other side. A
complete 100BASE-TX physical layer (PHY) solution is
realized using the ML6691, the ML6673, and one of the
available clock recovery/generation devices. A 100BASEFX physical layer solution is implemented by disabling the
scrambler function of the ML6691 and using an external
optical PMD.
■
BLOCK DIAGRAM
TXC
■
■
■
■
■
■
■
Conforms to the Fast Ethernet 100BASE-T
IEEE 802.3µ standard
Integrated 4B/5B encoder/decoder
Integrated Stream Cipher scrambler/descrambler
Compliant MII interface
Two-wire serial interface management port for
configuration and control
On-chip 25 MHz crystal oscillator
Interfaces to either AMD’s PDT/PDR (AM79865/79866)
or Motorola’s FCG (MC68836)
Used with ML6673 for 100BASE-TX solutions
44-pin PLCC package
* This Part Is End Of Life As Of August 1, 2000
VCC
GND
OSC
NIBBLE
INPUT
REGISTER
TXCLK
TXD3
...
TXD0
STREAM
CIPHER
SCRAMBLER
4B/5B
ENCODER
SYMBOL
OUTPUT
REGISTER
TSM4
...
TSM0
SD
TRANSMIT
STATE
MACHINE
TXEN
TXER
RECEIVE
STATE
MACHINE
COLLISION
DETECTION
COL
DCFR
CRS
RXDV
RXER
RXCLK
RXD3
...
RXD0
NIBBLE
OUTPUT
REGISTER
STREAM
CIPHER
DESCRAMBLER
SYMBOL
ALIGNER
5B/4B
DECODER
SYMBOL
INPUT
REGISTER
RSM4
...
RSM0
RXC
ISOLATE
FULLDUP
COLTST
LPBK
LINK FAILED
CS
MANAGEMENT SECTION
MDIO
MDC
CONTROL
LOCAL
AD4...AD0
STATUS
LPBK
RST
1
ML6691
PIN CONFIGURATION
TXEN
TXCLK
AD4
AD3
AD2
VCC
AD1
AD0
MDC
MDIO
TXC
ML6691
44-PIN PLCC (Q44)
6
5
4
3
2
1
44
43
42
41
40
TXER 7
39 TSM4
TXD3 8
38 TSM3
TXD2 9
37 TSM2
TXD1 10
36 TSM1
TXD0 11
35 TSM0
21
22
23
24
25
26
27
28
RXC
19 20
RXCLK
18
LPBK
29 RSM0
CS
30 RSM1
RXD0 17
RST
31 RSM2
RXD1 16
LOCAL
RXD2 15
GND
32 RSM3
VCC
RXD3 14
DCFR
33 RSM4
RXER
34 SD
COL 13
RXDV
CRS 12
PIN DESCRIPTION
PIN#
NAME
1,21
VCC
2,3,4,
43,44
5
6
7
8-11
2
AD[4:0]
TXCLK
TXEN
TXER
FUNCTION
PIN#
NAME
FUNCTION
Positive 5 volt supply.
12
CRS
Local PHY address. These 5 inputs set
the address to which the local physical
layer responds. When an address
match is detected, the CS output is
asserted.
Carrier sense output. A logic high
indicates that either the transmit or
receive medium is non-idle. CRS is
deasserted when both transmit and
receive are idle.
13
COL
Collision detect output. A logic high
indicates a collision (simultaneous
transmit and receive in half duplex
mode).
Transmit clock output. Continuous
25MHz clock provides the timing
reference for the transfer of TXEN,
TXER, and TXD[3:0] from the MAC.
TXCLK is generated from the TXC
input.
Transmit enable input. A logic high
enables the transmit section of the
ML6691. This signal indicates the
MAC is transmitting nibble-wide data.
TXEN is synchronous to TXCLK.
14-17
RXD[3:0] Receive nibble data outputs. Nibblewide data for transmission to the MAC.
RXD[0] is the least significant bit.
RXD[3:0] is synchronous to RXCLK.
18
RXDV
Receive data valid output. A logic high
indicates the ML6691 is presenting
valid nibble-wide data. RXDV shall
remain asserted from the first
recovered nibble of the frame through
the final recovered nibble. RXDV will
be de-asserted prior to the first RXCLK
that follows the final nibble. RXDV is
synchronous to RXCLK.
19
RXER
Receive error output. Active high,
indicates that a coding error was
detected. RXER is synchronous to
RXCLK.
Transmit error input. When TXER is
high , while TXEN is asserted, the
ML6691 will insert an “H” symbol in
the data stream. TXER is synchronous
to TXCLK.
TXD[3:0] Transmit nibble data inputs. Nibblewide data from the MAC. For data
transmission TXEN must be asserted.
TXD[0] is the least significant bit.
TXD[3:0] is synchronous to TXCLK.
ML6691
PIN DESCRIPTION (Continued)
PIN#
NAME
FUNCTION
PIN#
NAME
20
RXCLK
Receive clock output. Continuous
25 MHz clock provides the timing
reference for the transfer of RXDV,
RXER, and RXD[3:0] to the MAC.
29-33
RSM[4:0] Receive symbol data inputs. Symbolwide (encoded) data from the PMD
layer.
22
DCFR
Scrambler/descrambler disable. A
logic high on this input disables the
Stream Cipher scrambler/descrambler.
23
GND
Ground
24
LOCAL
Local/remote. A logic low on this input
places the ML6691 in remote mode, in
which the MII interface is disabled at
power on or after a reset operation.
When low, the isolate bit of the
Control register will be set upon power
up or reset.
25
RST
Reset. A logic high on this input resets
the Status and Control registers to their
default states.
26
CS
Chip select. A logic low is generated
on this output when the ML6691
detects an address match.
27
LPBK
Loopback. A logic low on this output
indicates the loopback function.
28
RXC
Receive symbol clock. A 25 MHz
clock input from the PMD layer. The
rising edge of RXC is used to sample
RSM[4:0].
34
35-39
SD
FUNCTION
Signal detect. A logic high on this
input indicates the presence of nonquiet data. The internal signal, linkfail,
is enabled 330µs after SD is asserted.
TSM[4:0] Transmit symbol data outputs. Symbolwide (encoded) data for transfer to the
PMD layer.
40
TXC
Transmit symbol clock input. Input
used to generate TXCLK. Use either a
25 MHz crystal or a 25 MHz clock
between TXC input and GND.
41
MDIO
Management data input/output. A
bi-directional signal used to transfer
control and status information
between the ML6691 and the MAC.
MDIO is synchronous to MDC.
42
MDC
Management data clock input. A lowfrequency aperiodic clock used as the
timing reference for transfer of
information on the MDIO signal.
3
ML6691
ABSOLUTE MAXIMUM RATINGS
OPERATING CONDITIONS
Absolute maximum ratings are those values beyond which
the device could be permanently damaged. Absolute
maximum ratings are stress ratings only and functional
device operation is not implied.
Supply Voltage (VCC) .................................... 4.5V to 5.5V
Temperature Range ................................ 0°C < TA < 70°C
Supply Voltage (VCC) ................................................ 6.0V
GND ................................................ –0.3V to VCC + 0.3V
Logic Inputs ..................................... –0.3V to VCC + 0.3V
Input Current per Pin............................................ ±25mA
Storage Temperature .............................. –65°C to +150°C
Package Dissipation at TA = 25°C ....................... 750mW
Lead Temperature (soldering 10 sec.) ..................... 300°C
ELECTRICAL CHARACTERISTICS
Unless otherwise specified, VCC = 5V ± 10%, CL = 15pF, TA = TMIN to TMAX
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
0.8
1.5
V
DC Characteristics
Logic Input Low
VIL
All except TXC
TXC
Logic Input High
VIH
All except TXC
TXC
2.0
3.5
V
–10
–100
µA
Logic Input Low Current
IIL
VIN = 0, all except TXC
VIN = 0, TXC
Logic Input High Current
IIH
VIN = VCC, all except TXC
VIN = VCC, TXC
10
100
µA
0.4
V
Logic Output Low
VOL
IOL = –4mA
Logic Output High
VOH
IOH = 4mA
Input Capacitance
CIN
All except TXC
TXC
2.4
V
8
12
pF
AC Characteristics
TXD Setup Time
t1
15
ns
TXD Hold Time
t2
0
ns
TXC to TSM Delay
t3
5
RSM Setup Time
t4
10
ns
RSM Hold Time
t5
5
ns
RXCLK to RXD Delay
t6
0
MDIO Setup Time
t7
10
ns
MDIO Hold time
t8
10
ns
MDC to MDIO Delay
t9
0
4
25
10
300
ns
ns
ns
ML6691
TXCLK
RXCLK
TXEN, TXER, TXD[3:0]
RXDV, RXER, RXD[3:0]
t1
t6
t2
Transmit Timing Relationships (MII Interface)
Receive Timing Relationships (MII Interface)
TXC
MDC
TSM[4:0]
MDIO
t7
t3
t8
Management Timing Relations (Sourced by STA)
Transmit Timing Relationships (Physical Interface)
MDC
RXC
MDIO
RSM[4:0]
t4
t9
t5
Management Timing Relations (Sourced by PHY)
Receive Timing Relationships (Physical Interface)
TXCLK
TXEN
TXER
TXD[3:0]
TSM[4:0]
I
J
K
H
T
R
I
Transmission Timing
RXCLK
RXDV
RXER
RSM[4:0]
RXD[3:0]
I
J
0000
K
H
0101
T
R
I
0000
Receiving Timing
5
ML6691
FUNCTIONAL DESCRIPTION
while transmit enable is asserted, the transmit error is
asserted, the H symbol will be impressed except during
the time the JK pair is emitted. Following the trailing edge
of transmit enable, the end of frame delimiter — the TR
pair — is generated, after which the IDLE symbol is
generated to fill the space between frames. The encoded
data is then enciphered by performing a XOR with the
output of the cipher register.
To describe the function of the ML6691, the device is
separated into three sections, the Transmit Section, the
Receive Section, and the Management section. Each
section is discussed below.
TRANSMIT SECTION
The transmit section is responsible for converting transmit
nibble data on the MII lines from the MAC into encoded
and ciphered transmit symbols, as shown in Figure 1. The
nibble input register samples the transmit nibble data on
the MII lines and passes the nibble data onto the encoder.
The encoder then converts the data to 4B/5B code (see
Table 1) under the direction of the state machine. The
state machine detects the leading edges of transmit enable
and impresses the start of frame delimiter — the JK pair —
ignoring the TXD<3:0> during these two symbol times. If,
HEX/4B
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
SYMBOL/5B
11110
01001
10100
10101
01010
01011
01110
01111
10010
10011
10110
10111
11010
11011
11100
11101
HEX/4B
J
K
T
R
H
IDLE
SYMBOL/5B
11000
10001
01101
00111
00100
11111
The cipher register is a linear feedback shift register which
generates the cipher bit stream which is used to scramble
the transmit symbol data. The Boolean algebra expression
is listed below.
TCFR11 = TCFR6
TCFR10 = TCFR5
TCFR9 = TCFR4
TCFR8 = TCFR3
TCFR7 = TCFR2
TCFR6 = NOT (TCFR11 OR TCFR10 OR TCFR9 OR
TCFR8 OR TCFR7 OR TCFR6 OR TCFR5 OR
TCFR4 OR TCFR3 OR TCFR2) OR TCFR1
TCFR5 = TCFR11 XOR TCFR9
TCFR4 = TCFR10 XOR TCFR8
TCFR3 = TCFR9 XOR TCFR7
TCFR2 = TCFR8 XOR TCFR6
TCFR1 = TCFR7 XOR TCFR5
The enciphered data are then passed to the symbol output
register which drives the generated symbol data out to the
PMD transceiver.
Collision detect is implemented by noting the occurrence
of reception during transmission. A linkfail indication at
any time causes an immediate transition to the IDLE state
and supersedes any other transmit operation.
Table 1. 4B/5B Encoding Table
TRANSMIT NIBBLE DATA
(TXD[3:0])
TRANSMIT
TRANSMIT
ERROR
ENABLE
(TXER)
(TXEN)
LINK
FAIL
NIBBLE INPUT
REGISTER
TRANSMIT
STATE MACHINE
ENCODER/
ENCIPHER
TRANSMIT NIBBLE
CLOCK
(TXCLK)
CIPHER
REGISTER
TRANSMITTING
CARRIER AND
COLLISION
DETECT
RECEIVING COLLISION
(COL)
SYMBOL OUTPUT
REGISTER
TRANSMIT SYMBOL DATA
(TSM[4:0])
TRANSMIT SYMBOL CLOCK
(TXC)
CARRIER SENSE
(CRS)
Figure 1. Transmit Section Block Diagram
6
ML6691
RECEIVE SECTION
The receive section is responsible for converting received
unaligned symbols into deciphered, aligned and decoded
nibble data on the MII lines, as shown in Figure 2. The
receive symbol input register samples the receive symbol
data from the PMD transceiver and passes the symbol data
onto the decipher process. The cipher lock is restored by
reloading the decipher register after detecting 13
consecutive IDLE symbols which must occur between
packets. The decipher function is then performed by an
exclusive-OR of the output of the decipher register and
the input symbols.
The decoder translates the 4B/5B coded deciphered and
aligned symbols into hex nibbles. The decoder along with
the state machine also examines the symbol stream for
packet framing information. The JK is converted back to
55 and the TR into 00. The decoder also flags invalid
symbol codes and generates the receive error signal. The
state machine also generates the receive data valid signal.
The decipher symbol data are then passed to the symbol
aligner. The symbols are broken into arbitrary five-bit
groups. The alignment is achieved by scanning the codebit stream for the JK pair following the idle symbols.
Note, the “Bad SSD” state is not implemented in the
receive state machine of the ML6691.
A premature stream termination is caused by the detection
of two IDLE symbols prior to an TR. A linkfail signal will
also terminate the receive operation immediately.
RECEIVE SYMBOL DATA
(RSM[4:0])
RECEIVE SYMBOL
CLOCK
(RXC)
SYMBOL INPUT
REGISTER
DECIPHER LOCK
SUBSECTION
DECIPHER
LINK
FAIL
SYMBOL ALIGNER
RECEIVING
RECEIVE
STATE MACHINE
RECEIVE
RECEIVE
ERROR DATA VALID
(RXDV)
(RXER)
DECODER
NIBBLE OUTPUT
REGISTER
RECEIVE NIBBLE DATA
(RXD[3:0])
RECEIVE NIBBLE CLOCK
(RXCLK)
Figure 2. Receive Section Block Diagram
7
ML6691
MANAGEMENT SECTION
The ML6691 implements the applicable portions of the
IEEE 802.3 Control and Status registers. The management
section provides a two-wire serial interface for the
purpose of control and status gathering. The MDIO pin is
PRE ST
a bi-directional signal used to transfer control information
between the ML6691 and the MAC. Data on MDIO is
clocked using the MDC pin. The following frame structure
is used:
OP
PHYAD
REGAD
TA
DATA
IDLE
READ
1
01
10
AAAAA
RRRRR
Z0
DDDDDDDDDDDDDDDD
Z
WRITE
1
01
01
AAAAA
RRRRR
10
DDDDDDDDDDDDDDDD
Z
PRE (Preamble)
REGAD (Register Address)
The preamble condition on the two wire interface is a
logic one. Prior to initiation of any other transaction, a
sequence of 32 consecutive logic ones must be presented
on MDIO with 32 corresponding cycles on MDC to
establish synchronization.
The Control register is address <00000>, and the Status
register is address <00001>.
ST (Start of Frame)
The turnaround time is a 2 bit time spacing between the
Register Address field and the Data field of a management
frame to avoid contention during a read transaction.
The start of frame is indicated by a <01> pattern. This
pattern assures transitions from the default logic one line
state to zero and back to one.
OP (Operation Code)
The operation code for a read transaction is <10>, while
the operation code for a write transaction is <01>.
PHYAD (PHY Address)
The PHY Address is five bits, allowing 32 unique PHY
addresses. The first PHY address bit transmitted and
received is the MSB of the address.
TA (Turnaround)
DATA (Data)
The data field is 16-bits. The first data bit transmitted and
received shall be bit 15 of the register being addressed.
CONTROL REGISTER
Table 2 shows the applicable portions of the Control
registers that are implemented in the ML6691. Bits 12, 9,
and 6–0 are read-only and have default values of logic
low.
CONTROL REGISTER
BIT
15
Reset
14
Loopback
13
Speed Selection
11
Power Down
10
Isolate
8
Duplex Mode
7
Collision Test
NOTE:
NAME
DESCRIPTION
1 = reset
0 = normal operation
1 = loopback
0 = normal operation
1 = 100Mb/s
0 = 10Mb/s
1 = power down
0 = normal operation
1= electrically isolate from MII
0 = normal operation
1 = full duplex
0 = half duplex
1 = test Col signal
0 = normal operation
R/W = Read/Write, SC = Self Clearing
Table 2. Control Register
8
R/W
R/W
SC
R/W
DEFAULT
0
R
1
R/W
0
R/W
Determined by LOCAL
R/W
0
R/W
0
0
ML6691
Reset: By setting this bit to a logic one, the Control register
will be reset to its default values. This bit self-clears upon
completion of the reset operation.
Loopback: By setting this bit to a logic one, the LPBK pin
will be held at a logic low. The COL signal will remain
low at all times, unless bit 7 is set, in which case the COL
signal shall behave as described.
Speed Selection: This bit is read-only and set at a logic
one by default.
Power Down: By setting this bit to a logic one, the
oscillator and all the MII input buffers except for MDIO
and MDC will be shut down.
Isolate: By setting this bit a logic one, the ML6691 can be
electrically isolated from the MII. In the isolation mode,
the input TXEN will be ignored and TXD[3:0] and TXER
shall not have any effect on the transmit section. All the
output buffers connected to the MII will be tri-stated. The
default state of this bit is determined by the LOCAL pin.
Duplex Mode: ML6691 will operate in Full Duplex mode
when this bit is set to a logic one. The COL signal will
remain low unless bit 7 is set.
Collision Test: By setting this bit to a logic one, the COL
signal will be asserted in response to the assertion of
TXEN, and will continue to assert the COL signal until
TXEN is deasserted.
STATUS REGISTER
Table 3 shows the applicable portions of the Status register
that are implemented in the ML6691. Bits 15, 12-3, 1, and
0 are read-only and have default values of logic low.
100BASE-TX Full Duplex
ML6691 can perform full duplex link transmission and
reception using the 100BASE-TX signaling specification.
This bit is always read as a logic one.
100BASE-TX Half Duplex
ML6691 can perform half duplex link transmission and
reception using the 100BASE-TX signaling specification.
This bit is always read as a logic one.
Link Status
When read as a logic one, this bit indicates that a valid
link has been established. The link status bit is
implemented with a latching function, such that the
occurrence of a link failure condition will cause the link
status bit to become cleared and remain cleared until it is
read via the management interface.
STATUS REGISTER
BIT
14
13
2
NOTE:
NAME
100Base-TX
Full Duplex
100Base-TX
Half Duplex
Link Status
DESCRIPTION
1 = able to perform full duplex
0 = not able to perform full duplex
1 = able to perform full duplex
0 = not able to perform full duplex
1 = link is up
0 = link is down
R/W
R/O
R/O
R/O
LL
R/O = Read Only,
LL = Latching Low
Table 3. Status Register
9
ML6691
PHYSICAL DIMENSIONS inches (millimeters)
Package: Q44
44-Pin PLCC
0.685 - 0.695
(17.40 - 17.65)
0.042 - 0.056
(1.07 - 1.42)
0.650 - 0.656
(16.51 - 16.66)
0.025 - 0.045
(0.63 - 1.14)
(RADIUS)
1
PIN 1 ID
0.042 - 0.048
(1.07 - 1.22)
12
34
0.650 - 0.656 0.685 - 0.695
(16.51 - 16.66) (17.40 - 17.65)
0.500 BSC
(12.70 BSC)
0.590 - 0.630
(14.99 - 16.00)
23
0.009 - 0.011
(0.23 - 0.28)
0.050 BSC
(1.27 BSC)
0.165 - 0.180
(4.06 - 4.57)
0.026 - 0.032
(0.66 - 0.81)
0.013 - 0.021
(0.33 - 0.53)
0.148 - 0.156
(3.76 - 3.96)
0.100 - 0.112
(2.54 - 2.84)
SEATING PLANE
ORDERING INFORMATION
PART NUMBER
ML6691CQ
TEMPERATURE RANGE
0°C to 70°C
PACKAGE
44-PIN PLCC (Q44) (End Of Life)
© Micro Linear 1997
is a registered trademark of Micro Linear Corporation
Products described in this document may be covered by one or more of the following patents, U.S.: 4,897,611; 4,964,026; 5,027,116; 5,281,862; 5,283,483; 5,418,502; 5,508,570; 5,510,727; 5,523,940;
5,546,017; 5,559,470; 5,565,761; 5,592,128; 5,594,376; Japan: 2598946. Other patents are pending.
Micro Linear reserves the right to make changes to any product herein to improve reliability, function or design.
Micro Linear does not assume any liability arising out of the application or use of any product described herein,
neither does it convey any license under its patent right nor the rights of others. The circuits contained in this
data sheet are offered as possible applications only. Micro Linear makes no warranties or representations as to
whether the illustrated circuits infringe any intellectual property rights of others, and will accept no responsibility
or liability for use of any application herein. The customer is urged to consult with appropriate legal counsel
before deciding on a particular application.
10
2092 Concourse Drive
San Jose, CA 95131
Tel: 408/433-5200
Fax: 408/432-0295π
DS6691-01