+8618758069661 [email protected]
Product Search Guide: space = AND, | = OR, ! = NOT

Why Two Gigabit Ports Can Fail to Link

Got any Questions? Call us Today!

+8618758069661

Or leave us a message

Online Message

Why Two Gigabit Ports Can Fail to Link

Views: 23 +23Original by FCTELEAuthor: FCTELE Technical Team

1000BASE-T diagnostics

Check the timing relationship

Track the advertised capabilities, the resolved timing roles and the actual link state as separate observations.

01

Choose the reference

The master uses its local clock. The slave recovers timing from the link.Master timingSlave follows

The master uses its local clock. The slave recovers timing from the link.

02

Check for a conflict

Forcing the same timing role at both ends can prevent link-up.MasterMasterRole conflict

Forcing the same timing role at both ends can prevent link-up.

03

Test with one change

Keep the same cable. Restore complementary roles and verify traffic.MasterSlaveTest both directions

Keep the same cable. Restore complementary roles and verify traffic.

Link verification checklist Expand
Check Confirm How
Roles One master and one slave Check both ends after negotiation.
Training Receiver and link status Use a known good short cable.
Traffic Bidirectional application test Compare counter changes and link speed.

Two industrial devices support Gigabit Ethernet, and their short patch cable works elsewhere. After an old port configuration is copied, the ports still will not establish a gigabit link. One easily missed cause is that both physical-layer transceivers have been forced into the same timing role. A 1000BASE-T link needs one end to provide transmit timing and the other to follow it. Checking speed and duplex alone leaves out that condition.

A gigabit copper link between an industrial switch and controller with complementary timing roles.
Figure 1. The roles describe PHY timing. Both endpoints can send payload traffic. The hardware is a generic cutaway. Original FCTELE illustration, AI-assisted. Generic engineering example.

Where copper gigabit timing comes from

Full-duplex 1000BASE-T carries signals in both directions on all four pairs. The physical-layer transceiver, or PHY, sends electrical symbols at a regular pace while recovering data from samples that contain the far-end signal, local echo and noise. With both directions operating together, sampling and transmit timing must work together. Otherwise, a frequency difference between the oscillators allows the sampling points to drift relative to symbol boundaries, making receiver training and echo processing harder to maintain.

The two PHYs resolve complementary timing roles for this cable link. The master uses its local clock as the transmit reference. The slave recovers the timing from the received signal and uses that recovered clock as its own transmit reference. Think of two people reading different lines while one keeps the beat and the other follows. Both can still send at the same time. The analogy describes timing only. The roles are decided per link, so different ports on the same switch can resolve differently.

The timing role does not decide who can send a frame, which device runs supervisory software or which device supplies PoE. Either end of a switch-to-PLC connection can serve as PHY master if the role resolves correctly. Higher-layer protocols still follow their own rules. The FCTEL FCM-1500-G8Q4 product page lists eight gigabit copper ports and four gigabit SFP ports. The copper interface provides the example here. Check the firmware documentation to see whether it can show or configure timing roles.

A gigabit receiver PHY cutaway shows the incoming signal path and the recovered timing inside the chip.
Figure 2. The slave recovers timing from the received signal and uses it as its transmit reference. The colors distinguish the input signal path from internal timing recovery. Original FCTELE illustration, AI-assisted. Generic engineering example.

Resolve the roles before training the link

Auto-negotiation is how the ports exchange capabilities and configuration before link-up. They use Fast Link Pulses to exchange information. After discovering that both ends support gigabit, the port still needs to resolve distinct timing roles. When both are automatic, advertised port types and tie-breaking rules can determine the result. If a device offers a preferred-master setting, check whether it influences automatic resolution or forces the advertised role. The two choices can behave differently against an identical configuration.

After resolving the roles, the PHY uses training signals to adjust the receiver. Timing recovery establishes useful sampling points, equalization compensates for cable distortion, and echo cancellation reduces interference from local transmission. The required receive conditions must be satisfied before payload traffic can start. Distinguish the negotiation result from the training result. If the roles resolve correctly but training fails, inspect the four pairs and the analog signal path. If the roles conflict, a good replacement cable will still leave the forced settings in conflict.

The recovered clock serves the physical layer of this link inside the PHY. When the project needs aligned robot samples, control cycles or timestamps across hosts, verify those with the applicable system-level timing mechanisms. A stable physical link is only one condition for a synchronized application.

A bench application shows a role conflict when both copper PHYs are forced to master.
Figure 3. With the same patch lead and gigabit advertisement, two forced masters cannot resolve complementary roles. The display is illustrative. Original FCTELE illustration, AI-assisted. Generic engineering example.

Reproduce the conflict with a short patch cable

Suppose test units A and B both advertise 1000BASE-T full duplex, with the same known good four-pair patch cable throughout. With both ends automatic, A first resolves to master and B resolves to slave. The gigabit link comes up. Then force both to master and restart negotiation on the test bench. Both still advertise gigabit support, but the pair cannot resolve complementary roles. A PHY that exposes the diagnostic reports a master/slave configuration fault. Forcing both to slave has the same kind of conflict. Whether a port falls back to another speed depends on its implementation and configuration.

Change only B, allowing it to resolve to slave or setting it to slave as documented for the test equipment. After restarting negotiation, check the fault status, resolved roles and actual speed. Then verify traffic in both directions. If complementary roles restore the link with the same ports, cable and speed advertisement, that controlled test implicates the role configuration. If the roles differ as required and the link remains down, inspect receiver state, wire pairs, connectors and training.

For the Microchip VSC8541 standard register space, bit 12 of register 9 enables manual role configuration. With it enabled, bit 11 selects master or slave. Bit 15 of register 10 reports a detected configuration fault, and bit 14 reports the local role resolution. Bits 13 and 12 report local and remote receiver status. Some indicators latch or clear when read. Follow the chip documentation and preserve the first read with its test conditions. A zero in bit 14 indicates a local slave only when the resolution is valid.

Keep field tests to one change at a time

Record the port, product and firmware versions, gigabit advertisement, configured roles, actual speed and fault time. If low-level registers are inaccessible, use the device's supported status pages and logs. Reproduce the issue on an offline bench if needed and provide the captured evidence to the supplier. Register access is platform specific. Schedule any port interruptions or renegotiation for an approved maintenance window.

If trouble only occurs with the long field run, leave the role settings in place and compare the installed wiring with a known short patch lead. If the short lead fails as well, check whether central provisioning forced the same role on both ends. Verify which settings survive a reset and which carry over after a network adapter, driver or firmware change. Change one variable at a time and log the port state before and after.

For acceptance, verify the required speed, a stable physical link and working application traffic. On an intermittent port, keep a continuous status history, counter deltas and bidirectional traffic results. During an approved window, check how speed and roles recover after reconnection or restart. The record tells the next engineer whether to retain automatic negotiation on both ends or preserve a tested pair of complementary settings.

Make the result reproducible

Keep a reverse control case as well. Once the lab link is working, set A to slave and B to master, then restart negotiation as documented. If that pair is also stable, compare receive status and traffic counters to verify the link still works with the roles reversed. Record the ports used when a multiport device only exposes these controls on some ports. The test describes the pair and its conditions.

Record “fault detected earlier” and “current link state” separately. A configuration fault may still be latched after renegotiation even though the link is now stable. Conversely, the latest line in an old console log may show a slave role from the previous attempt. Match the beginning of negotiation, the register read and the return of traffic so all three observations belong to the same test before changing production settings.

Sources and scope

Microchip LAN8810 master/slave resolution · VSC8541 control and status registers · FCTEL industrial switch documentation (Chinese).

Common questions

Can two gigabit-capable ports still have a role conflict?

Yes. If both ends are forced to the same role, a mutual gigabit advertisement does not resolve the timing relationship.

Is the PHY master also the application controller?

The PHY role describes timing on that copper link. Applications, forwarding and power delivery follow their own rules.

What should I check first when the role-fault bit is set?

Record settings at both ends, the read time and link state. In a controlled test, keep the cable unchanged, restore automatic or complementary roles, and check the resolved roles and traffic.

Further reading

How Gigabit Ethernet cancels echo (Chinese) · How industrial switch auto-negotiation works (Chinese)

English translation of the original FCTELE technical article. Read the original in Chinese.

Share this article