eDP Link Training and AUX Channel Troubleshooting

eDP Link Training and AUX Channel Troubleshooting

Embedded DisplayPort brings a negotiation step that other display interfaces do not have. Before any pixels move, the source and the panel agree on a link rate and lane count, and the source verifies…

eDP Link Training and AUX Channel Troubleshooting
Posted on by admin5

Embedded DisplayPort brings a negotiation step that other display interfaces do not have. Before any pixels move, the source and the panel agree on a link rate and lane count, and the source verifies that the link can carry data reliably. If that negotiation fails, the screen stays dark – and the failure has nothing to do with the image configuration.

This article covers how the training sequence works in practice, the causes that block it, and how to narrow a failure without a protocol analyser.

How link training works in practice

What happens after training matters too. A link can train successfully and still fail in service if the margin is thin: the symptoms are intermittent blanking, reduced resolution after a resume, or a link that drops when the enclosure warms. Record the negotiated rate and lane count in the working configuration so a later change can be compared against it.

What happens after training matters too. A link can train successfully and still fail in service if the margin is thin: the symptoms are intermittent blanking, reduced resolution after a resume, or a link that drops when the enclosure warms. Record the negotiated rate and lane count in the working configuration so a later change can be compared against it.

What happens after training matters too. A link can train successfully and still fail in service if the margin is thin: the symptoms are intermittent blanking, reduced resolution after a resume, or a link that drops when the enclosure warms. Record the negotiated rate and lane count in the working configuration so a later change can be compared against it.

What happens after training matters too. A link can train successfully and still fail in service if the margin is thin: the symptoms are intermittent blanking, reduced resolution after a resume, or a link that drops when the enclosure warms. Record the negotiated rate and lane count in the working configuration so a later change can be compared against it.

The source begins by reading the panel’s capabilities, including the rates and lane counts it supports. It then selects a configuration, drives a known pattern onto the lanes, and checks the receiver’s report of signal quality. If the report is good enough, the link is considered trained and the source starts sending video.

Two features make this different from a simple interface. The negotiation is bidirectional, so a fault in the back channel breaks the link even when the forward path is fine. And the training can fail at several stages, each with a different cause.

Rate and lane negotiation

Most eDP panels support more than one rate and lane configuration, and the source chooses based on what it needs and what the panel offers. The choice matters for two reasons: a higher rate has less margin, and a configuration with fewer lanes has to carry the same data faster.

A link that fails at the highest rate but trains at a lower one is telling you something precise: the forward path works, but not with the margin the higher rate requires. That is a signal-integrity or termination problem rather than a configuration error.

A link that fails at every rate points elsewhere: AUX communication, power sequencing or a configuration mismatch between the source’s expectations and the panel’s description.

The AUX channel and its failure modes

The AUX channel is the low-speed bidirectional link that carries capability reads and status writes. Because it runs at a much lower rate, it is often assumed to be robust, but its failure modes are different rather than absent.

Common causes include a missing or incorrect AUX termination, inverted polarity, a level-shifting or isolation circuit that does not pass the bidirectional signalling, and a panel that does not respond within the source’s timeout. In each case the symptom is the same: no image, and training that never starts.

The practical test is whether the source can read anything at all from the panel. If capability reads fail, the problem is in the AUX path or the panel’s power state, not in the lanes.

Configuration errors that block training

Configuration problems usually come from a mismatch between what the source assumes and what the panel is. Typical cases: the lane count in the device configuration is higher than the panel supports; the rate is set to a value the panel does not list; the panel requires a specific configuration sequence after power-up that the driver does not perform; or the source expects the panel’s capability data in one format while the panel supplies another.

The remedy is orderly: read the panel’s documentation for its capabilities and its power-on requirements, compare them against the configuration, and change one value at a time. Changing rate and lane count together destroys the information the failure was giving you.

Signal integrity and cable contributions

Transmitter settings are part of the margin. Many sources allow pre-emphasis and swing to be adjusted, and a configuration that works on a short cable may need different settings on the production harness. Treat these settings as part of the design and record them, rather than leaving the defaults in place because the bench worked.

Transmitter settings are part of the margin. Many sources allow pre-emphasis and swing to be adjusted, and a configuration that works on a short cable may need different settings on the production harness. Treat these settings as part of the design and record them, rather than leaving the defaults in place because the bench worked.

Transmitter settings are part of the margin. Many sources allow pre-emphasis and swing to be adjusted, and a configuration that works on a short cable may need different settings on the production harness. Treat these settings as part of the design and record them, rather than leaving the defaults in place because the bench worked.

Transmitter settings are part of the margin. Many sources allow pre-emphasis and swing to be adjusted, and a configuration that works on a short cable may need different settings on the production harness. Treat these settings as part of the design and record them, rather than leaving the defaults in place because the bench worked.

At the higher rates, the link behaves like any high-speed differential pair. Cable length, impedance control, connector quality and the number of transitions in the path all reduce margin. A bench cable that trains at the highest rate is not evidence that the production harness will.

The standard diagnostic is to test the link with the shortest possible cable and then introduce the production cable and its routing. If training fails only at that point, the investigation is electrical rather than logical, and the fixes are the ones described in FPC cable design – shorter runs, controlled impedance, fewer transitions, better returns.

Power sequencing interactions

A panel that is not ready when training begins will fail, and the failure looks identical to an electrical problem. Most panels require their supply to be stable and their reset to be released before they will respond on the AUX channel.

If training sometimes succeeds and sometimes fails – particularly on a cold start or after a rapid power cycle – sequence the checks: confirm the rail is stable, confirm the reset timing, then enable the link. The sequencing principles in the article on power sequencing apply directly here.

Reading link status during bring-up

The source usually exposes the training result somewhere: a status register, a kernel message, or a debug counter. Reading it before guessing saves hours, because it distinguishes between “no AUX response”, “training attempted and failed at all rates” and “training succeeded but no video is being sent”.

Those three states have almost no overlapping causes. A bring-up procedure that records which state the link reached reduces the problem from an unknown to a branch.

Measuring the link without a protocol analyser

Without a protocol analyser, three measurements are practical. A differential probe on the lanes shows whether the source is transmitting at all and at roughly the expected amplitude. A measurement on the AUX pair shows whether the source is attempting communication. And a supply measurement at the panel connector shows whether the panel is powered in the state it expects.

The value is in the combination: signal present but no AUX activity points at the configuration or the back channel; AUX activity but no lane signal points at a link that has not reached the transmit stage; neither points at power or enable.

When reducing rate or lanes is the right move

Whatever fallback is chosen, record the reason. A design that operates at a lower rate deliberately, with the margin documented, is in a different position from one that ended up there because the faster configuration failed and nobody investigated. The second will fail differently on the next production batch.

Whatever fallback is chosen, record the reason. A design that operates at a lower rate deliberately, with the margin documented, is in a different position from one that ended up there because the faster configuration failed and nobody investigated. The second will fail differently on the next production batch.

Whatever fallback is chosen, record the reason. A design that operates at a lower rate deliberately, with the margin documented, is in a different position from one that ended up there because the faster configuration failed and nobody investigated. The second will fail differently on the next production batch.

Whatever fallback is chosen, record the reason. A design that operates at a lower rate deliberately, with the margin documented, is in a different position from one that ended up there because the faster configuration failed and nobody investigated. The second will fail differently on the next production batch.

Falling back to a lower rate or fewer lanes is a legitimate engineering answer – and sometimes the correct one. If the application’s bandwidth requirement fits within a lower-rate link, operating there increases margin, improves EMC behaviour and reduces the sensitivity of the design to cable and connector variation.

What is not acceptable is using a fallback to hide a design problem. If the link only trains at the lowest rate, the assembly has no margin, and the next production batch may behave differently. Fallback should be a deliberate choice with the failure investigated, not a workaround discovered during debug.

Training-failure matrix

Observation Likely cause Next check
No AUX response at all AUX path, polarity, termination, panel not powered Measure AUX activity and panel supply
AUX works, no lane activity Link has not reached the transmit stage; configuration rejected Compare configuration with the panel’s listed capabilities
Trains at low rate only Insufficient electrical margin at higher rates Shorten the cable; check impedance and connectors
Trains sometimes, fails on cold start Power sequencing or reset timing Check rail stability and reset release timing
Trains, but no image Video configuration rather than the link Check timing, format and pixel clock
Works on the bench, fails in the enclosure Cable routing or connector strain Reproduce with the production cable and routing

If an eDP panel will not train on your platform, tell us the rate and lane settings you are using, whether AUX communication succeeds, and what the panel requires at power-up – those three answers identify the failure class before any measurement. For the comparison with other interfaces, see the article on choosing a display interface.

Frequently asked questions

Why does an eDP panel work on one board and not another?

Usually a difference in configuration, AUX handling or power sequencing rather than in the panel. The link negotiates, so the source’s behaviour matters as much as the panel’s.

Can eDP run over a long cable?

It can, within limits set by the rate, the cable construction and the number of transitions. Beyond those limits the link may train at a lower rate or fail entirely.

Is a lower link rate worse for image quality?

Not if the bandwidth still covers the resolution and refresh rate. A lower rate leaves more electrical margin, which usually improves reliability and EMC.

Copyright Shenzhen CDTech Electronics Co., Ltd. All Rights Reserved