Showing posts with label Gigabit Ethernet Guidelines. Show all posts
Showing posts with label Gigabit Ethernet Guidelines. Show all posts

Sunday, July 26, 2009

Ethernet Component Layout Guidelines

These sections provide recommendations for performing printed circuit board layouts. Good layout practices are essential to meet IEEE PHY conformance specifications and EMI regulatory requirements.

Critical signal traces should be kept as short as possible to decrease the likelihood of being affected by high frequency noise from other signals, including noise carried on power and ground planes. Keeping the traces as short as possible can also reduce capacitive loading.

Since the transmission line medium extends onto the printed circuit board, special attention must be paid to layout and routing of the differential signal pairs. Designing for 1000 BASE-T Gigabit operation is very similar to designing for 10 and 100Mbps.

Guidelines for Component Placement

Component placement can affect signal quality, emissions, and component operating temperature This section provides guidelines for component placement.
Careful component placement can:
  • Decrease potential problems directly related to electromagnetic interference (EMI), which could cause failure to meet applicable government test specifications.
  • Simplify the task of routing traces. To some extent, component orientation will affect the complexity of trace routing. The overall objective is to minimize turns and crossovers between traces.
  • Minimizing the amount of space needed for the Ethernet LAN interface is important
  • because other interfaces will compete for physical space on a motherboard near the
  • connector. The Ethernet LAN circuits need to be as close as possible to the connector.

General Placement Distances for 1000 BASE-T Designs
  • Picture below shows some basic placement distance guidelines. The figure shows two differential pairs, but can be generalized for a Gigabit system with four analog pairs.
  • The ideal placement for the Ethernet silicon would be approximately one inch behind the magnetics module.
  • While it is generally a good idea to minimize lengths and distances, this figure also
  • illustrates the need to keep the LAN silicon away from the edge of the board and the magnetics module for best EMI performance.
The following figures illustrate a reference layout for discrete and integrated magnetics.

Crystals and Oscillators

Clock sources should not be placed near I/O ports or board edges. Radiation from these devices may be coupled into the I/O ports and radiate beyond the system chassis. Crystals should also be kept away from the Ethernet magnetics module to prevent interference.

Crystal layout considerations

Failure to follow these guidelines could result in the 25 MHz clock failing to start. When designing the layout for the crystal circuit, the following rules must be used:


  • Place load capacitors as close as possible (within design-for-manufacturabilityrules) to the crystal solder pads. They should be no more than 90 mils away fromcrystal pads.
  • The two load capacitors, crystal component, the Ethernet controller device, and thecrystal circuit traces must all be located on the same side of the circuit board(maximum of one via-to-ground load capacitor on each Xtal trace).
  • Use 27 pF (5% tolerance) 0402 load capacitors.
  • Place load capacitor solder pad directly in line with circuit trace (see picture above,point A).
  • Place a 30-ohm (5% tolerance) 0402 series resistor on Xtal2 (see picture above, pointC). The location of the resistor along the Xtal2 trace is flexible, as long as it isbetween the load capacitor and the controller.
  • Use 50-ohm impedance single-ended microstrip traces for the crystal circuit.
  • Route traces so that electro-magnetic fields from Xtal2 do not couple onto Xtal1.
  • No differential traces.
  • Route Xtal1 and Xtal2 traces to nearest inside corners of crystal pad (see picture below, point B).
  • Ensure that the traces from Xtal1 and Xtal2 are symmetrically routed and that their lengths are matched.
  • The total trace length of Xtal1 or Xtal2 should be less than 750 mils.

Board Stack Up Recommendations

Printed circuit boards for these designs typically have six, eight, or more layers.
Although, the 82575 does not dictate the stackup, here is an example of a typical six layer board stackup:
  • Layer 1 is a signal layer. It can contain the differential analog pairs from the Ethernet device to the magnetics module, or to an optical transceiver.
  • Layer 2 is a signal ground layer. Chassis ground may also be fabricated in Layer 2 under the connector side of the magnetics module.
  • Layer 3 is used for power planes.
  • Layer 4 is a signal layer.
  • Layer 5 is an additional ground layer.
  • Layer 6 is a signal layer. For 1000 BASE-T (copper) Gigabit designs, it is common toroute two of the differential pairs (per port) on this layer.
This board stack up configuration can be adjusted to conform to your company's design
rules.

Saturday, July 11, 2009

Gigabit Ethernet Controller Design --> General Design Considerations for Ethernet Controllers

Follow good engineering practices with respect to unused inputs by terminating them with pull-up or pull-down resistors, unless the datasheet, design guide or reference schematic indicates otherwise. Do not attach pull-up or pull-down resistors to any balls identified as No Connect. These devices may have special test modes that could be entered unintentionally.

Clock Source

All designs require a 25 MHz clock source. The Gigabit Ethernet Controller uses the 25 MHz source to generate clocks up to 125 MHz and 1.25 GHz for the PHY circuits, and 1.25 GHz for the SERDES. For optimum results with lowest cost, connect a 25 MHz parallel resonant crystal and appropriate load capacitors at the XTAL1 and XTAL2 leads. The frequency tolerance of the timing device should be 30 ppm or better.

Magnetics for 1000 BASE-T

Magnetics for the Gigabit Ethernet can be either integrated or discrete. The magnetics module has a critical effect on overall IEEE and emissions conformance. The device should meet the performance required for a design with reasonable margin to allow for manufacturing variation. Occasionally, components that meet basic specifications may cause the system to fail IEEE testing because of interactions with other components or the printed circuit board itself. Carefully qualifying new magnetics modules prevents this problem.

When using discrete magnetics it is necessary to use Bob Smith termination: Use four
75 Ω resistors for cable-side center taps and unused pins. This method terminates pairto- pair common mode impedance of the CAT5 cable.

Use an EFT capacitor attached to the termination plane. Suggested values are 1500 pF/
2KV or 1000 pF/3KV. A minimum of 50-mil spacing from capacitor to traces and
components should be maintained.

Magnetics Module Qualification Steps

The steps involved in magnetics module qualification are similar to those for crystal
qualification:
  1. Verify that the vendor’s published specifications in the component datasheet meet or exceed the required IEEE specifications.
  2. Independently measure the component’s electrical parameters on the test bench, checking samples from multiple lots. Check that the measured behavior is consistent from sample to sample and that measurements meet the published specifications.
  3. Perform physical layer conformance testing and EMC (FCC and EN) testing in real
  4. systems. Vary temperature and voltage while performing system level tests.

Modules for 1000 BASE-T Ethernet

Magnetics modules for 1000 BASE-T Ethernet are similar to those designed solely for
10/100 Mbps, except that there are four differential signal pairs instead of two. Use the
following guidelines to verify specific electrical parameters:
  1. Verify that the rated return loss is 19 dB or greater from 2 MHz through 40 MHz for 100/1000 BASE-TX.
  2. Verify that the rated return loss is 12 dB or greater at 80 MHz for 100 BASE-TX (the specification requires greater than or equal to 10 dB).
  3. Verify that the rated return loss is 10 dB or greater at 100 MHz for 1000 BASE-TX (the specification requires greater than or equal to 8 dB).
  4. Verify that the insertion loss is less than 1.0 dB at 100 kHz through 80 MHz for 100 BASE-TX.
  5. Verify that the insertion loss is less than 1.4 dB at 100 kHz through 100 MHz for 1000 BASE-T.
  6. Verify at least 30 dB of crosstalk isolation between adjacent channels (through 150 MHz).
  7. Verify high voltage isolation to 15000 Vrms. (Does not apply to discrete magnetics.)
  8. Transmitter OCL should be greater than or equal to 350 μH with 8 mA DC bias.

Gigabit Ethernet Controller Design Consideration --> Ethernet Magnetic Layout Considerations

The Ethernet magnetic layout considerations are dependent on the external PHY. Please refer to the preferred external PHY Ethernet magnetic layout guide for the detailed requirements.


The following are some general Gigabit Ethernet layout considerations for the differential signals of the Gigabit Ethernet PHY, the Ethernet magnetic and the RJ-45 connector. All trace routes from 10/100/1000M magnetic, RJ-45, and Gigabit Ethernet PHY should be as short as possible. It is an appropriate policy to have the same length for all differential pair signal traces. General speaking, reducing signal crosstalk, providing a solid ground plane, and decreasing parallel route should be considered.
  1. The crystal/oscillator clock source and the switching noises from digital signals should be kept away from the MDI0±, MDI1±, MDI2±, and MDI3± differential pairs. Moreover, the crystal/oscillator may be sensitive to wander capacitances and noise from other signals; it is better to deploy the crystal far away from I/O ports, high frequency signal traces, magnetic, board edges, and so on.
  2. The Ethernet magnetic should be placed as close to the RJ-45 connector as possible.
  3. The Gigabit Ethernet PHY should be placed as close as possible to the magnetic. If there are some limitations on the PCB layout, the trace length from the Gigabit Ethernet PHY to the magnetic should not be longer than 5 inches.
  4. The MDI0±, MDI1±, MDI2±, and MDI3± differential pairs should be routed as close as possible. The trace spacing D1 between MDI0+ and MDI0- (or between MDI1+ and MDI1-, MDI2+ and MDI2-, MDI3+ and MDI3-) pair should be in 8 ~ 10 mils. The trace width should be adjusted accordingly to yield the required trace impedance.
  5. The spacing D2 should be larger than 200 mils. If the PCB layout is really difficult to meet this requirement, the D2 spacing should be as larger as possible.
  6. Route the MDI0±, MDI1±, MDI2±, and MDI3± differential pairs as straight as possible and keep them in parallel for differential pairs.
  7. Keep the trace length difference between MDI0+ and MDI0- (or between MDI1+ and MDI1-, MDI2+ and MDI2-, MDI3+ and MDI3-) pair within 700 mils.
  8. The termination resistors 49.9Ω and capacitors of the MDI0±, MDI1±, MDI2± and MDI3± differential pairs should be placed as close to the magnetic as possible and the trace should be shorter than 400 mils.
  9. Route the MDI0±, MDI1±, MDI2±, and MDI3± differential pairs running symmetric, equal length and close whenever possible.
  10. Avoid using vias on the traces of the MDI0±, MDI1±, MDI2±, and MDI3± differential pairs. If the PCB layout really needs to use vias on the differential pairs, please match the vias to keep the differential pairs balanced.
  11. The power plane and digital ground plane should not be placed under the magnetic and RJ-45 connector.
  12. Avoid routing the signal trace with right angle, instead, the signal trace should be routed with multiple 45˚ angles.

Gigabit Ethernet Controller Design Guidelines --> Power and Ground Planes Considerations

The RJ-45 chassis ground and the digital ground should be isolated through a 1M Ohm resistor and a 0.1uF decoupling capacitor. And the gap between the chassis ground and digital ground must be wider than 60 mils.



All the digital and analog power planes for different voltage supplies should be isolated.




Note:
  1. The above figures are the Digital Power (VDDxx) and Analog Power (AVDDxx) planes diagram of an illustrative LAN board design. For exact layout pattern, ASIX Electronics provides some demo boards and the layout PCB files and Gerber files for customer reference.
  2. VDDK: Digital Core Power 2.5V
  3. VDD2: Digital I/O Power 2.5V
  4. AVDDK: Analog Core Power 2.5V

Provide a power plane right underneath the ASIX Ethernet controller such that the VCC pins can be contacted to the power plane without going through thin traces.


All power pins should be implemented with a decoupling capacitor, and the decoupling capacitor should be as close to the respective power pin of ASIX Ethernet controller as possible.


Gigabit Ethernet Controller Design Guidelines --> Ethernet Magnetic Selection Considerations

The Ethernet magnetic is dependent on the external PHY. Please refer to the external PHY’s datasheet and reference schematic for the detailed requirement of the Ethernet magnetic.



The following is the reference Ethernet magnetic circuit (single RJ-45 connector integrated 10/100/1000M Base-T magnetic with Turns Ratio 1CT:1CT and Auto-MDIX function) Gigabit PHY demo board.



4-Layer PCB Design

We strongly suggest customers to design to Gigabit Ethernet controller on the printed circuit board (PCB) with at least 4 layers. The 4-layer PCB design can help reduce some potential EMI, thermal and signal integrity issues, etc.

The following is an example 4-Layer PCB design for an embedded system application that uses Gigabit Ethernet controller.