DP83822 Ieee802.3 COMPLIACE
DP83822 Ieee802.3 COMPLIACE
ABSTRACT
The DP83822 was designed to meet the needs of rugged and high performance applications while still
maintaining strict adherence to the IEEE 802.3u standard. This application note will discuss how to
configure the DP83822 for various Ethernet compliance tests, identify common system level mistakes and
present solutions to those mistakes to ensure compliance.
Contents
1 Introduction ................................................................................................................... 2
2 Standards and System Requirements .................................................................................... 3
3 Ethernet Physical Layer Compliance Testing ............................................................................ 4
4 Debug Test Methods ........................................................................................................ 9
Appendix A IEEE802.3u Compliance Testing Scripts for the DP83822 .................................................. 12
Appendix B Loopback and BIST Mode Scripts for the DP83822 .......................................................... 13
Appendix C PHY Test Mode Waveforms ..................................................................................... 16
Appendix D TI’s USB-2-MDIO Tool ............................................................................................ 20
List of Figures
1 DP83822 EVM Connected to a Testing Fixture ......................................................................... 4
2 Loopback Test Modes....................................................................................................... 9
3 Analog Loopback Terminations .......................................................................................... 10
4 Loopback Cable ............................................................................................................ 10
5 100BASE-TX Template.................................................................................................... 16
6 100BASE-TX Differential Output Voltage (Negative) .................................................................. 16
7 100BASE-TX Fall Time .................................................................................................... 17
8 100BASE-TX Rise Time ................................................................................................... 17
9 100BASE-TX Duty Cycle Distortion...................................................................................... 18
10 100BASE-TX Jitter ......................................................................................................... 18
11 100BASE-TX Waveform Overshoot ..................................................................................... 19
12 10BASE-Te Link Pulse .................................................................................................... 19
13 DP83822 EVM Connected to a MSP430F5 ............................................................................ 20
List of Tables
1 Terminology .................................................................................................................. 2
1 Introduction
The DP83822 10/100 Mbps Industrial Ethernet PHY is IEEE 802.3u compliant to:
• 100BASE-TX
• 100BASE-FX
• 10BASE-Te
This application note will only discuss 100BASE-TX and 10BASE-Te compliance. For additional support,
visit our Texas Instruments E2E Community at www.e2e.ti.com.
Table 1. Terminology
ACRONYM DEFINITION
DUT Device Under Test
LP Link Partner
PHY Physical Layer Transceiver
SMI Serial Management Interface
IPG Inter-Packet Gap
FLP Fast Link Pulse
NLP Normal Link Pulse
TX Transmit – Digital Pins
RX Receive – Digital Pins
TD Transmit – Analog Pins
RD Receive – Analog Pins
AVD Analog Supply
CT Magnetic Center Tap
VDDIO Digital Supply
BIST Built-In Self-Test
TPM Twisted Pair Model
AOI Active Output Interface
AFE Analog Front-End
2.1 Standards
The following standards serve as references for the tests described in this document.
• IEEE802.3-2005 Sub Clause 14.3.1
• IEEE802.3-2005 Sub Clause 25.4
• ANSI X3.263-1995
3.2.2 TP_IDL
Purpose: To ensure that the transmitter functions properly after transitioning to an idle state.
Pass Condition: The transmitter TP_IDL pulse must fit within the template for Load 1, 2, and 3 with and
without the TPM.
Specific Test Setup: Verify the test fixture connections. Configure the PHY to be in analog loopback
mode by setting registers according to 10BASE-Te Standard in Appendix A.
3.3.7 Jitter
Purpose: To ensure that the transmit output jitter is within the specified bounds.
Pass Condition: The transmit output jitter should be less than 1.4 ns.
Specific Test Setup: Verify the correct test fixture connections. Configure PHY to 100BASE-TX Standard
in Appendix A.
RJ-45
PCS
AFE
MII
MAC
Purpose: Analog loopback is typically used to identify issues with improper MDI termination and reference
clock violations. This loopback is often used when performing IEEE 802.3 compliance tests.
Register Setting: Refer to Analog Loopback 100BASE-TX or 10BASE-Te script in Appendix B.
Purpose: External loopback is used to check the entire system, including external passive components
(that is, termination resistors, magnetics and connectors).
Register Setting: No register configuration is necessary for external loopback.
begin
001F 8000 //software reset (clears register)
0000 2100 //programs DUT to 100BASE-TX mode
0019 0021 //programs DUT to Forced MDI mode, set to 4021 for MDIX mode
001F 4000 //digital reset (doesn’t clear register)
end
begin
001F 8000 //software reset (clears register)
0000 0100 //programs DUT to 10BASE-Te mode
0019 0021 //programs DUT to Forced MDI mode, set to 4021 for MDIX mode
001F 4000 //digital reset (doesn’t clear register)
end
begin
001F 8000 //software reset (clears register)
0000 0100 //programs DUT to 10BASE-Te mode
0019 0021 //programs DUT to Forced MDI mode, set to 4021 for MDIX mode
0016 7108 //programs DUT to generate data and enables analog loopback mode
001F 4000 //digital reset (doesn’t clear register)
end
begin
001F 8000 //software reset (clears register)
0000 6100 //programs DUT to 100BASE-TX mode and enables MII Loopback
001F 4000 //digital reset (doesn’t clear register)
end
begin
001F 8000 //software reset (clears register)
0000 4100 //programs DUT to 10BASE-Te mode and enables MII Loopback
001F 4000 //digital reset (doesn’t clear register)
end
begin
001F 8000 //software reset (clears register)
0000 2100 //programs DUT to 100BASE-TX mode
0019 0021 //programs DUT to Forced MDI mode, set to 4021 for MDIX mode
0016 0108 //enables analog loopback mode
001F 4000 //digital reset (doesn’t clear register)
end
begin
001F 8000 //software reset (clears register)
0000 0100 //programs DUT to 10BASE-Te mode
0019 0021 //programs DUT to Forced MDI mode , set to 4021 for MDIX mode
0016 0108 //enables analog loopback mode
001F 4000 //digital reset (doesn’t clear register)
end
begin
001F 8000 //software reset (clears register)
0000 2100 //programs DUT to 100BASE-TX mode
0016 0110 //enables reverse loopback mode
001F 4000 //digital reset (doesn’t clear register)
end
begin
001F 8000 //software reset (clears register)
0000 0100 //programs DUT to 10BASE-Te mode
0016 0110 //enables reverse loopback mode
001F 4000 //digital reset (doesn’t clear register)
end
begin
001F 8000 //software reset (clears register)
0000 2100 //programs DUT to 100BASE-TX mode
001B 007D //bits[7:0] determine IPG, default 0x7D is equal to 125 bytes
001C 05EE //bits[10:0] determine packet length, default 0x05EE is equal to 1518 bytes
0016 7100 //enable continuous error check BIST mode
001F 4000 //digital reset (doesn’t clear register)
end
begin
001F 8000 //software reset (clears register)
0000 2100 //programs DUT to 100BASE-TX mode
0019 0021 //programs DUT to Forced MDI mode
001B 007D //bits[7:0] determine IPG, default 0x7D is equal to 125 bytes
001C 05EE //bits[10:0] determine packet length, default 0x05EE is equal to 1518 bytes
0016 7108 //enable continuous error check BIST mode with analog loopback mode
001F 4000 //digital reset (doesn’t clear register)
end
begin
0016 //reads address 0x0016, bits[11:9] show packet generator and checker status
001B 807D //writes bit[15] to ‘1’, sets bits[7:0] for 125 byte IPG.
001B //reads address 0x001B, bits[15:8] show BIST Error Count
end
The SMI can be managed using TI’s USB-2-MDIO tool via a MSP430 Launchpad (either MSP430G2 or
MSP430F5).
Setup for SMI access with TI’s USB-2-MDIO Tool:
1. Download and follow the setup instructions for TI’s USB-2-MDIO Tool (see the USB-2-MDIO User’s
Guide (SNLU197)). Verify that the MSP430 LaunchPad drivers are installed.
2. Connect Host PC to DP83822 EVM via MSP430 Launchpad. Connect a USB cable to the LaunchPad,
and then break out MDIO, MDC, and GND. When using the MSP430G2, pin 1.5 connects to MDIO pin
on the DP83822 EVM and pin 1.4 connects to MDC pin on the DP83822 EVM. When using the
MSP430F5, pin 4.1 connects to MDIO pin on the DP83822 EVM and pin 4.2 connects to MDC pin on
the DP83822 EVM. A common ground needs to be connected between the DP83822 EVM and
MSP430.
3. Start the USB-2-MDIO Tool, select the correct PHYID and com port (PHY must be powered). Open the
port and write and/or read desired registers. Scripts can be run by navigating to the File tab located on
the top left corner of the tool. For additional information regarding scripting and saving, refer to the
USB-2-MDIO User’s Guide (SNLU197).
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 TI’s 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 TI’s 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, TI’s 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 Automotive and Transportation www.ti.com/automotive
Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications
Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers
DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps
DSP dsp.ti.com Energy and Lighting www.ti.com/energy
Clocks and Timers 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 Space, Avionics and Defense www.ti.com/space-avionics-defense
Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video
RFID www.ti-rfid.com
OMAP Applications Processors 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 © 2016, Texas Instruments Incorporated