Download Print this page

National Semiconductor DP8390 Manual

Loopback diagnostics

Advertisement

Quick Links

Loopback Diagnostics
Using the DP8390
901 902 905
1 0 OVERVIEW
Loopback capabilities are provided on the DP8390 901
902 905 to perform certain tests in order to validate opera-
tion of the device prior to transmission and reception of
packets on a live network Typically these tests may be per-
formed during power up and initialization of a node
This document describes the different loopback modes and
their operation in the DP8390 901 902 905 There are sev-
eral restrictions during loopback that are also discussed
Detailed instructions on how to generate different loopback
tests are given as well as the actual code that generates
the tests (Appendix A) This document also discusses varia-
tions in loopback results caused by several common config-
uration errors
FIGURE 1 Loopback Mode 1 Through the Controller Module
C 1995 National Semiconductor Corporation
TL F 12034
National Semiconductor
Application Note 937
Bonnie Wilson
July 1994
Throughout this document the term NIC refers to the con-
troller SNI refers to the ENDEC CTI refers to the Coaxial
Transceiver Interface and TPI refers to the Twisted Pair
Interface These devices comprise the NIC chip set The
NIC family consists of the DP8390 DP83901 DP83902 and
DP83905
The loopback diagnostics verify
1 The integrity of the data path through each block re-
ceived data is checked against transmitted data
2 The CRC logic's capability to generate good CRC on
transmit
3 The CRC checking capability of the NIC on receive
4 The address recognition logic's ability to accept packets
that have a matching address and reject packets that fail
to match an address
TL F 12034– 1
RRD-B30M75 Printed in U S A

Advertisement

loading

Summary of Contents for National Semiconductor DP8390

  • Page 1 The loopback diagnostics verify This document describes the different loopback modes and their operation in the DP8390 901 902 905 There are sev- 1 The integrity of the data path through each block re- eral restrictions during loopback that are also discussed...
  • Page 2 TL F 12034 – 2 FIGURE 2 Loopback Mode 2 Through the Encoder Decoder TL F 12034 – 3 FIGURE 3 Loopback Mode 3 Through the TPI or CTI...
  • Page 3 2 0 LOOPBACK MODES 2 The NIC generates 56 bits of preamble followed by an 8-bit Start of Frame Delimiter Loopback modes are selected by programming bits LB0 and LB1 in the Transmit Configuration Register Figures 1 3 Data is transferred from the FIFO to the serializer 2 and 3 illustrate the loopback paths using the DP83902 as 4 If the Inhibit CRC bit is set in the Transmit Configuration an example The NIC family supports three modes of loop-...
  • Page 4 4 0 RESTRICTIONS USING LOOPBACK 5 0 ALIGNMENT OF DATA IN THE FIFO Since the NIC is a half-duplex device several compromises During loopback eight bytes of the FIFO are used for trans- were required for the implementation of loopback diagnos- mission and eight bytes are used for reception Reception of tics The restrictions placed on the use of loopback diagnos- the packet begins at location zero and after the pointer...
  • Page 5 Three types of loopback tests may be performed to verify back (TCR 02h) the data path through the DP8390 901 902 905 The tests are as follows d) Write FFh to Interrupt Status Register to reset 1 Group I tests verify the CRC generation capability of the...
  • Page 6 CD Heartbeat is set in the Transmit Status Register Internal Loopback through the SNI Carrier Sense Lost is not set since it is generated by Loopback Path the external encoder decoder Mode 2 (SNI) External Loopback through the TPI or CTI CD Heartbeat is set in the Transmit Status register Loopback Path Carrier Sense Lost is not set since it is generated by...
  • Page 7 Internal Loopback through the NIC Matching Physical If the twisted pair cable is not connected and good link is Address enabled the results will differ from those listed in Section 6 1 as follows Loopback Path Loopback Path Mode 1 (NIC) Mode 2 (SNI) Before transmission of the loopback packet Carrier Mode 3 (TPI)
  • Page 8: Appendix A Loopback Code

    (output txt unless specified differently) Refer to AN-874 Writing Drivers for the DP8390 NIC Family of Ethernet Controllers for a description of the PCtoNIC routine used in this program TL F 12034 – 7...
  • Page 9 TL F 12034– 8...
  • Page 10 TL F 12034 – 9...
  • Page 11 TL F 12034 – 10...
  • Page 12: Life Support Policy

    National Semiconductor National Semiconductor National Semiconductor National Semiconductor National Semiconductores...

This manual is also suitable for:

Dp83901Dp83905Dp83902