AN-1405 DP83848 Single 10/100 Mb/s Ethernet Transceiver Reduced Media Independent Interface™ (RMII™) Mode
AN-1405 DP83848 Single 10/100 Mb/s Ethernet Transceiver Reduced Media Independent Interface™ (RMII™) Mode
AN-1405 DP83848 Single 10/100 Mb/s Ethernet Transceiver Reduced Media Independent Interface™ (RMII™) Mode
1
2
3
4
5
6
7
8
9
Contents
Introduction ..................................................................................................................
Low Cost System Design with RMII ......................................................................................
Pin and Signal Definitions ..................................................................................................
Configuration of RMII Mode ...............................................................................................
Remode Loopback for Diagnostics .......................................................................................
Full-Duplex Extender Operation ...........................................................................................
RMII Interface Timing Requirements .....................................................................................
Summary .....................................................................................................................
Reference ....................................................................................................................
2
2
3
6
7
8
8
9
9
List of Figures
1
CRS_DV Generation
3
4
5
6
.......................................................................................................
Remote Loopback Connection ............................................................................................
Full-Duplex Extender Connection .........................................................................................
RMII Transmit Timing.......................................................................................................
RMII Receive Timing .......................................................................................................
4
7
8
8
9
List of Tables
1
2
3
4
5
......................................................................................................
RMII Clock ...................................................................................................................
Mode Selection ..............................................................................................................
RMII Mode and Bypass Register (RBR), address 0x17 ...............................................................
Supported Packet Sizes at 50ppm and 100ppm for Each Clock.................................................
RMII Pin Descriptions
3
3
6
6
7
Introduction
www.ti.com
Introduction
Nationals DP83848 10/100 Mb/s single port Physical Layer device incorporates the low pin count
Reduced Media Independent Interface (RMII) as specified in the RMII specification. RMII provides a lower
pin count alternative to the IEEE 802.3 defined Media Independent Interface (MII) for connecting the
DP83848 PHY to a MAC in 10/100 Mb/s systems.
2.1
www.ti.com
2.2
3.1
Type
Pin No.
X1/REF_CLK
Input
34
RMII Description
Clock Input
TX_EN
Input
TXD[0]
TXD[1]
Input
3
4
RX_ER
Output
41
RXD[0]
RXD[1]
Output
43
44
CRS_DV
Output
40
Type
Pin No.
X1/REF_CLK
Input
34
X2
Output
33
Floating
25MHz_OUT
Output
25
Description
www.ti.com
The 25MHz_OUT signal is a delayed version of the X1/REF_CLK input. While this clock may be used for
other purposes, it should not be used as the timing reference for RMII control and data signals.
3.2
3.3
www.ti.com
3.3.1
RXD[1:0] in 100Mb/s
For normal reception following assertion of CRS_DV, RXD[1:0] will be 00 until the receiver has detected
a proper Start of Stream Delimiter. Upon detecting the SSD, the DP83848 will drive preamble (01)
followed by the Start of Frame Delimiter (01 01 01 11). The MAC should begin to capture data
following the SFD.
If a receive error is detected, the RXD[1:0] is replaced with a receive stream of 01 until the end of carrier
activity. By replacing the data in the remainder of the frame, the CRC check in the MAC will reject the
packet as errored.
If False Carrier (Bad SSD) is detected, RXD[1:0] will be 10 until the end of the receive event. In this
case, RXD[1:0] will transition from 00 to 10 without indicating preamble (01).
3.3.2
RXD[1:0] in 10Mb/s
Following assertion of CRS_DV, RXD[1:0] will be 00 until the DP83848 has recovered clock and is able
to decode the receive data. Once valid receive data is available, RXD[1:0] will take on the recovered data
values, starting with 01 for preamble.
As the REF_CLK frequency is 10 times the data rate in 10Mb/s mode, the value on RXD[1:0] may be
sampled every 10th cycle by the MAC.
3.4
3.5
3.6
3.7
3.8
www.ti.com
Collision Detection
The RMII does not provide a Collision indication to the MAC. For half-duplex operation, the MAC must
generate its own collision detection from the CRS_DV and TX_EN signals. To do this, the MAC must
recover CRS from CRS_DV and logically AND this with TX_EN. Note that CRS_DV cannot be used
directly since CRS_DV may toggle at the end of the frame to indicate deassertion of CRS.
4.1
RMII Mode
The mode selection is accomplished by applying a pull-up resistor to the RX_DV/MII_MODE pin. The
strap option is sampled at initial power-up or during Reset.
4.2
Register Configuration
RMII Mode and Bypass Register (RBR) configures features of the RMII mode of operation (see Table 4).
When RMII mode is disabled, the RMII mode functionality is bypassed.
Table 4. RMII Mode and Bypass Register (RBR), address 0x17
Bit
Bit Name
Default
15:6
RESERVED
0, RO
Description
RESERVED: Writes ignored, read as 0
RMII_MODE
Strap,
RW
RMII_REV1_0
0, RW
RX_OVF_STS
0, RO
RX_UNF_STS
0, RO
1:0
ELAST_BUF[1:0]
01, RW
Receive Elasticity Buffer. This field controls the Receive Elasticity Buffer which
allows for frequency variation tolerance between the 50MHz RMII clock and the
recovered data. The following values indicate the tolerance in bits for a single packet.
The minimum setting allows for standard Ethernet frame sizes at +/-50ppm accuracy
for both RMII and Receive clocks. For greater frequency tolerance the packet lengths
may be scaled (that is, for +/-100ppm, the packet lengths need to be divided by 2).
00 = 14 bit tolerance (up to 16800 byte packets)
01 = 2 bit tolerance (up to 2400 byte packets)
10 = 6 bit tolerance (up to 7200 byte packets)
11 = 10 bit tolerance (up to 12000 byte packets)
www.ti.com
4.3
4.4
Start Threshold
RBR[1:0]
Latency
Tolerance
Recommended Packet
Size at 50ppm
Recommended Packet
Size at 100ppm
1 (4-bits)
2 bits
2400 bytes
1200 bytes
2 (8-bits)
6 bits
7200 bytes
3600 bytes
3 (12-bits)
10 bits
12000 bytes
6000 bytes
0 (16-bits)
14 bits
16800 bytes
8400 bytes
www.ti.com
Parameter
Description
Notes
Min
T2.26.1
X1 Clock Period
T2.26.2
ns
T2.26.3
ns
T2.26.4
20
Typ
17
Max
Units
ns
bits
Summary
www.ti.com
Parameter
Description
Notes
T2.27.1
X1 Clock Period
Min
Typ
Max
T2.27.2
T2.27.3
CRS ON delay
18.5
bits
T2.27.4
27
bits
T2.27.5
38
bits
20
2
Units
ns
14
ns
Summary
The DP83848 implements the RMII standard interface to provide a connection option that reduces the
number of pins needed for a MAC to PHY interface. It allows the designer to minimize the cost of the
system design while maintaining all the features of the IEEE 802.3 specification.
Reference
RMII Specification Rev 1.0
RMII Specification Rev 1.2
IEEE Standards 802.3-2002
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as components) are sold subject to TIs terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TIs terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or
endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration
and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TIs goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or enhanced plastic are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
Products
Applications
Audio
www.ti.com/audio
www.ti.com/automotive
Amplifiers
amplifier.ti.com
www.ti.com/communications
Data Converters
dataconverter.ti.com
www.ti.com/computers
DLP Products
www.dlp.com
Consumer Electronics
www.ti.com/consumer-apps
DSP
dsp.ti.com
www.ti.com/energy
www.ti.com/clocks
Industrial
www.ti.com/industrial
Interface
interface.ti.com
Medical
www.ti.com/medical
Logic
logic.ti.com
Security
www.ti.com/security
Power Mgmt
power.ti.com
www.ti.com/space-avionics-defense
Microcontrollers
microcontroller.ti.com
www.ti.com/video
RFID
www.ti-rfid.com
www.ti.com/omap
TI E2E Community
e2e.ti.com
Wireless Connectivity
www.ti.com/wirelessconnectivity
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright 2013, Texas Instruments Incorporated