Datasheet ML6691CQ Datasheet (Micro Linear Corporation)

Page 1
March 1997
ML6691*
100BASE-T MII-to-PMD Transceiver
GENERAL DESCRIPTION
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
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
ISOLATE FULLDUP COLTST LPBK LINK FAILED
4B/5B
ENCODER
COLLISION
DETECTION
SYMBOL
ALIGNER
MANAGEMENT SECTION
CONTROL STATUS
STREAM
CIPHER
SCRAMBLER
STREAM
CIPHER
DESCRAMBLER
RECEIVE
STATE
MACHINE
SYMBOL OUTPUT
REGISTER
SYMBOL
INPUT
REGISTER
TSM4 ...
TSM0
SD
DCFR
RSM4 ...
RSM0
RXC
CS
LPBK
LOCAL AD4...AD0 RST
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# NAME FUNCTION
1,21 V
CC
2,3,4, AD[4:0] Local PHY address. These 5 inputs set 43,44 the address to which the local physical
5 TXCLK Transmit clock output. Continuous
6 TXEN Transmit enable input. A logic high
7 TXER Transmit error input. When TXER is
8-11 TXD[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# NAME FUNCTION
12 CRS 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).
14-17 RXD[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.
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.
2
Page 3
ML6691
PIN DESCRIPTION
PIN# NAME FUNCTION
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.
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].
(Continued)
PIN# NAME FUNCTION
29-33 RSM[4:0] Receive symbol data inputs. Symbol-
wide (encoded) data from the PMD layer.
34 SD Signal detect. A logic high on this
input indicates the presence of non­quiet data. The internal signal, linkfail, is enabled 330µs after SD is asserted.
35-39 TSM[4:0] Transmit symbol data outputs. Symbol-
wide (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 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
ELECTRICAL CHARACTERISTICS
Unless otherwise specified, V
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
DC Characteristics
Logic Input Low V
Logic Input High V
Logic Input Low Current I
Logic Input High Current I
Logic Output Low V Logic Output High V Input Capacitance C
AC Characteristics
TXD Setup Time t TXD Hold Time t TXC to TSM Delay t RSM Setup Time t RSM Hold Time t RXCLK to RXD Delay t MDIO Setup Time t MDIO Hold time t MDC to MDIO Delay t
= 5V ± 10%, C
CC
IL
IH
IL
IH
OL
OH
IN
1
2
3
4
5
6
7
8
9
= 15pF, TA = T
L
All except TXC 0.8 V TXC 1.5
All except TXC 2.0 V TXC 3.5
VIN = 0, all except TXC –10 µA VIN = 0, TXC –100
VIN = VCC, all except TXC 10 µA VIN = VCC, TXC 100
IOL = –4mA 0.4 V IOH = 4mA 2.4 V All except TXC 8 pF
TXC 12
MIN
to T
MAX
15 ns
0ns 525ns
10 ns
5ns
010ns 10 ns 10 ns
0 300 ns
4
Page 5
ML6691
TXCLK
TXEN, TXER, TXD[3:0]
t
1
t
2
Transmit Timing Relationships (MII Interface)
TXC
TSM[4:0]
t
3
Transmit Timing Relationships (Physical Interface)
RXC
RSM[4:0]
t
4
t
5
RXCLK
RXDV, RXER, RXD[3:0]
t
6
Receive Timing Relationships (MII Interface)
MDC
MDIO
t
7
t
8
Management Timing Relations (Sourced by STA)
MDC
MDIO
t
9
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
Management Timing Relations (Sourced by PHY)
RSM[4:0]
RXD[3:0] 0000
IJ K H T R I
0101 0000
Receiving Timing
5
Page 6
ML6691
FUNCTIONAL DESCRIPTION
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 SYMBOL/5B HEX/4B SYMBOL/5B
0000 11110 J 11000 0001 01001 K 10001 0010 10100 T 01101 0011 10101 R 00111 0100 01010 H 00100 0101 01011 IDLE 11111 0110 01110 0111 01111 1000 10010 1001 10011 1010 10110 1011 10111 1100 11010 1101 11011 1110 11100 1111 11101
Table 1. 4B/5B Encoding Table
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
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.
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 code­bit 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 ST OP PHYAD REGAD TA DATA IDLE
READ 1 01 10 AAAAA RRRRR Z0 DDDDDDDDDDDDDDDD Z
WRITE 1 01 01 AAAAA RRRRR 10 DDDDDDDDDDDDDDDD Z
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.
BIT NAME DESCRIPTION R/W DEFAULT
15 Reset 1 = reset R/W 0
0 = normal operation SC
14 Loopback 1 = loopback R/W 0
0 = normal operation
13 Speed Selection 1 = 100Mb/s R 1
0 = 10Mb/s
11 Power Down 1 = power down R/W 0
0 = normal operation
10 Isolate 1= electrically isolate from MII R/W Determined by LOCAL
0 = normal operation
8 Duplex Mode 1 = full duplex R/W 0
0 = half duplex
7 Collision Test 1 = test Col signal R/W 0
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
BIT NAME DESCRIPTION R/W
14 100Base-TX 1 = able to perform full duplex R/O
Full Duplex 0 = not able to perform full duplex
13 100Base-TX 1 = able to perform full duplex R/O
Half Duplex 0 = not able to perform full duplex
2 Link Status 1 = link is up R/O
0 = link is down LL
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 NUMBER TEMPERATURE RANGE PACKAGE
ML6691CQ0°C to 70°C44-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
Loading...