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 100BASE-
FEATURES
■ 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
FX physical layer solution is implemented by disabling the
scrambler function of the ML6691 and using an external * This Part Is End Of Life As Of August 1, 2000
optical PMD.
BLOCK DIAGRAM
TXC
OSC
V
CC
GND
TXCLK
TXD3
TXD0
TXEN
TXER
COL
CRS
RXDV
RXER
RXCLK
RXD3
RXD0
MDIO
MDC
NIBBLE
INPUT
...
NIBBLE
...
OUTPUT
REGISTER
REGISTER
TRANSMIT
STATE
MACHINE
5B/4B
DECODER
ISOLATEFULLDUPCOLTSTLPBKLINK FAILED
4B/5B
ENCODER
COLLISION
DETECTION
SYMBOL
ALIGNER
MANAGEMENT SECTION
CONTROLSTATUS
STREAM
CIPHER
SCRAMBLER
STREAM
CIPHER
DESCRAMBLER
RECEIVE
STATE
MACHINE
SYMBOL
OUTPUT
REGISTER
SYMBOL
INPUT
REGISTER
TSM4
...
TSM0
SD
DCFR
RSM4
...
RSM0
RXC
CS
LPBK
LOCALAD4...AD0RST
1
Page 2
ML6691
PIN CONFIGURATION
TXD3
TXD2
TXD1
TXD0
RXD3
RXD2
RXD1
RXD0
TXER
CRS
COL
TXEN
TXCLK
65432
7
8
9
10
11
12
13
14
15
16
17
18 19 20 21 22
RXER
RXDV
ML6691
44-PIN PLCC (Q44)
AD4
AD3
AD2
VCCAD1
1442543264227412840
23 24
CC
V
GND
DCFR
RXCLK
LOCAL
AD0
RST
MDC
CS
MDIO
LPBK
TXC
RXC
39
TSM4
38
TSM3
37
TSM2
36
TSM1
35
TSM0
34
SD
33
RSM4
32
RSM3
31
RSM2
30
RSM1
29
RSM0
PIN DESCRIPTION
PIN#NAMEFUNCTION
1,21 V
CC
2,3,4,AD[4:0]Local PHY address. These 5 inputs set
43,44the address to which the local physical
5TXCLKTransmit clock output. Continuous
6TXENTransmit enable input. A logic high
7TXERTransmit error input. When TXER is
8-11TXD[3:0] Transmit nibble data inputs. Nibble-
Positive 5 volt supply.
layer responds. When an address
match is detected, the CS output is
asserted.
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.
enables the transmit section of the
ML6691. This signal indicates the
MAC is transmitting nibble-wide data.
TXEN is synchronous to TXCLK.
high , while TXEN is asserted, the
ML6691 will insert an “H” symbol in
the data stream. TXER is synchronous
to TXCLK.
wide 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.
PIN#NAMEFUNCTION
12CRSCarrier 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.
13COLCollision detect output. A logic high
indicates a collision (simultaneous
transmit and receive in half duplex
mode).
14-17RXD[3:0] Receive nibble data outputs. Nibble-
wide data for transmission to the MAC.
RXD[0] is the least significant bit.
RXD[3:0] is synchronous to RXCLK.
18RXDVReceive 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.
19RXERReceive error output. Active high,
indicates that a coding error was
detected. RXER is synchronous to
RXCLK.
2
Page 3
ML6691
PIN DESCRIPTION
PIN#NAMEFUNCTION
20RXCLKReceive clock output. Continuous
25 MHz clock provides the timing
reference for the transfer of RXDV,
RXER, and RXD[3:0] to the MAC.
22DCFRScrambler/descrambler disable. A
logic high on this input disables the
Stream Cipher scrambler/descrambler.
23GNDGround
24LOCALLocal/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.
25RSTReset. A logic high on this input resets
the Status and Control registers to their
default states.
26CSChip select. A logic low is generated
on this output when the ML6691
detects an address match.
27LPBKLoopback. A logic low on this output
indicates the loopback function.
28RXCReceive symbol clock. A 25 MHz
clock input from the PMD layer. The
rising edge of RXC is used to sample
RSM[4:0].
(Continued)
PIN#NAMEFUNCTION
29-33RSM[4:0] Receive symbol data inputs. Symbol-
wide (encoded) data from the PMD
layer.
34SDSignal 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.
35-39TSM[4:0] Transmit symbol data outputs. Symbol-
wide (encoded) data for transfer to the
PMD layer.
40TXCTransmit symbol clock input. Input
used to generate TXCLK. Use either a
25 MHz crystal or a 25 MHz clock
between TXC input and GND.
41MDIOManagement 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.
42MDCManagement data clock input. A low-
frequency aperiodic clock used as the
timing reference for transfer of
information on the MDIO signal.
3
Page 4
ML6691
ABSOLUTE MAXIMUM RATINGS
Absolute maximum ratings are those values beyond which
the device could be permanently damaged. Absolute
OPERATING CONDITIONS
Supply Voltage (VCC) .................................... 4.5V to 5.5V
Temperature Range ................................ 0°C < TA < 70°C
maximum ratings are stress ratings only and functional
device operation is not implied.
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 T
= 25°C ....................... 750mW
A
Lead Temperature (soldering 10 sec.) ..................... 300°C
TXD Setup Timet
TXD Hold Timet
TXC to TSM Delayt
RSM Setup Timet
RSM Hold Timet
RXCLK to RXD Delayt
MDIO Setup Timet
MDIO Hold timet
MDC to MDIO Delayt
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,
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.
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
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.
TRANSMIT NIBBLE DATA
TRANSMIT
ERROR
(TXER)
TRANSMIT
STATE MACHINE
CARRIER AND
COLLISION
DETECT
RECEIVING
CARRIER SENSE
(CRS)
TRANSMIT
ENABLE
(TXEN)
LINK
FAIL
TRANSMITTING
COLLISION
(COL)
(TXD[3:0])
NIBBLE INPUT
REGISTER
ENCODER/
ENCIPHER
SYMBOL OUTPUT
REGISTER
TRANSMIT SYMBOL DATA
(TSM[4:0])
TRANSMIT NIBBLE
CLOCK
(TXCLK)
CIPHER
REGISTER
TRANSMIT SYMBOL CLOCK
(TXC)
Figure 1. Transmit Section Block Diagram
6
Page 7
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 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.
ML6691
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.
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.
Note, the “Bad SSD” state is not implemented in the
receive state machine of the ML6691.
LINK
RECEIVING
FAIL
RECEIVE
STATE MACHINE
RECEIVE
ERROR
(RXER)
DATA VALID
RECEIVE
(RXDV)
RECEIVE SYMBOL DATA
(RSM[4:0])
SYMBOL INPUT
REGISTER
DECIPHER
SYMBOL ALIGNER
DECODER
NIBBLE OUTPUT
REGISTER
RECEIVE SYMBOL
CLOCK
(RXC)
DECIPHER LOCK
SUBSECTION
RECEIVE NIBBLE DATA
(RXD[3:0])
RECEIVE NIBBLE CLOCK
Figure 2. Receive Section Block Diagram
(RXCLK)
7
Page 8
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 STOP PHYADREGADTADATAIDLE
READ10110AAAAARRRRRZ0DDDDDDDDDDDDDDDDZ
WRITE10101AAAAARRRRR10DDDDDDDDDDDDDDDDZ
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:
PRE (Preamble)
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.
ST (Start of Frame)
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.
CONTROL REGISTER
REGAD (Register Address)
The Control register is address <00000>, and the Status
register is address <00001>.
TA (Turnaround)
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.
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.
BITNAMEDESCRIPTIONR/WDEFAULT
15Reset1 = resetR/W0
0 = normal operationSC
14Loopback1 = loopbackR/W0
0 = normal operation
13Speed Selection1 = 100Mb/sR1
0 = 10Mb/s
11Power Down1 = power downR/W0
0 = normal operation
10Isolate1= electrically isolate from MIIR/WDetermined by LOCAL
0 = normal operation
8Duplex Mode1 = full duplexR/W0
0 = half duplex
7Collision Test1 = test Col signalR/W0
0 = normal operation
NOTE: R/W = Read/Write, SC = Self Clearing
Table 2. Control Register
8
Page 9
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
BITNAMEDESCRIPTIONR/W
14100Base-TX1 = able to perform full duplexR/O
Full Duplex0 = not able to perform full duplex
13100Base-TX1 = able to perform full duplexR/O
Half Duplex0 = not able to perform full duplex
2Link Status1 = link is upR/O
0 = link is downLL
NOTE: R/O = Read Only,
LL = Latching Low
Table 3. Status Register
9
Page 10
ML6691
PHYSICAL DIMENSIONS inches (millimeters)
0.685 - 0.695
(17.40 - 17.65)
0.650 - 0.656
(16.51 - 16.66)
1
Package: Q44
44-Pin PLCC
0.042 - 0.056
(1.07 - 1.42)
0.025 - 0.045
(0.63 - 1.14)
(RADIUS)
0.042 - 0.048
(1.07 - 1.22)
12
0.050 BSC
(1.27 BSC)
0.013 - 0.021
(0.33 - 0.53)
PIN 1 ID
23
0.026 - 0.032
(0.66 - 0.81)
34
0.165 - 0.180
(4.06 - 4.57)
SEATING PLANE
0.650 - 0.656
(16.51 - 16.66)
0.148 - 0.156
(3.76 - 3.96)
0.685 - 0.695
(17.40 - 17.65)
0.009 - 0.011
(0.23 - 0.28)
0.100 - 0.112
(2.54 - 2.84)
0.500 BSC
(12.70 BSC)
0.590 - 0.630
(14.99 - 16.00)
ORDERING INFORMATION
PART NUMBERTEMPERATURE RANGEPACKAGE
ML6691CQ0°C to 70°C44-PIN PLCC (Q44) (End Of Life)
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
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.