Author Topic: HDMI inter and intra pair skew clarification  (Read 2538 times)

0 Members and 1 Guest are viewing this topic.

Offline UpballoonTopic starter

  • Contributor
  • Posts: 17
  • Country: us
HDMI inter and intra pair skew clarification
« on: April 30, 2022, 06:13:04 pm »
I'm working on a KVM and have a 1:2 HDMI switch. This is the first time I'm laying out HDMI and was wondering what the tolerance for skew was. I found a design guide by TI that says inter-pair skew needs to be within 2.67ns. Since they're differential pairs and ignoring the top solder mask, the signal travels at the speed of light, this gives me a skew of 662mm. This seems to be a lot. So I can getaway with just not length matching it?

Similarly for intra-pair skew the design guide says 178ps. which would be 44mm. Again this seems to be a lot. Am i missing something?

Design Guide: https://e2e.ti.com/cfs-file/__key/telligent-evolution-components-attachments/00-138-01-00-00-10-65-80/Texas-Instruments-HDMI-Design-Guide.pdf
HDMI Switch: https://www.ti.com/lit/ds/symlink/hd3ss215.pdf?ts=1646088521310&ref_url=https%253A%252F%252Fwww.ti.com%252Fstore%252Fti%252Fen%252Fp%252Fproduct%252F%253Fp%253DHD3SS215IZXHR
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6254
  • Country: es
Re: HDMI inter and intra pair skew clarification
« Reply #1 on: April 30, 2022, 07:18:19 pm »
Also take in count the velocity factor, which is usually half in a pcb, so now the skew limits are half your calculations.
That TI article seems for older HDMI standards. Modern revisions are much faster, have a look here:
https://ez.analog.com/video/w/documents/687/hdmi-layout-guideline
« Last Edit: April 30, 2022, 07:21:33 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 28013
  • Country: nl
    • NCT Developments
Re: HDMI inter and intra pair skew clarification
« Reply #2 on: April 30, 2022, 07:25:28 pm »
I'm working on a KVM and have a 1:2 HDMI switch. This is the first time I'm laying out HDMI and was wondering what the tolerance for skew was. I found a design guide by TI that says inter-pair skew needs to be within 2.67ns. Since they're differential pairs and ignoring the top solder mask, the signal travels at the speed of light, this gives me a skew of 662mm. This seems to be a lot. So I can getaway with just not length matching it?

Similarly for intra-pair skew the design guide says 178ps. which would be 44mm. Again this seems to be a lot. Am i missing something?
On a PCB you get a delay of about 6ps per mm (which is far slower than the speed of light). Still I'd try to length match the pairs to within a few mm. As you don't know how much of the slack you have is already eaten away in the devices that connect to your KVM box, better stay on the safe side.

Also match the skew within the pairs so the phase of the signals stays aligned.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline UpballoonTopic starter

  • Contributor
  • Posts: 17
  • Country: us
Re: HDMI inter and intra pair skew clarification
« Reply #3 on: April 30, 2022, 07:43:57 pm »
I'm working on a KVM and have a 1:2 HDMI switch. This is the first time I'm laying out HDMI and was wondering what the tolerance for skew was. I found a design guide by TI that says inter-pair skew needs to be within 2.67ns. Since they're differential pairs and ignoring the top solder mask, the signal travels at the speed of light, this gives me a skew of 662mm. This seems to be a lot. So I can getaway with just not length matching it?

Similarly for intra-pair skew the design guide says 178ps. which would be 44mm. Again this seems to be a lot. Am i missing something?

Design Guide: https://e2e.ti.com/cfs-file/__key/telligent-evolution-components-attachments/00-138-01-00-00-10-65-80/Texas-Instruments-HDMI-Design-Guide.pdf
HDMI Switch: https://www.ti.com/lit/ds/symlink/hd3ss215.pdf?ts=1646088521310&ref_url=https%253A%252F%252Fwww.ti.com%252Fstore%252Fti%252Fen%252Fp%252Fproduct%252F%253Fp%253DHD3SS215IZXHR

See that's the thing, since these are differential pairs, on the top layer of the board, the velocity would same as the velocity of light (since the wave would go from the DP to DN). So the 6ps would be true for microstrips and inner layer TL line would it still be true for top layer differential pairs? Also wouldn't using the speed of light give me a more conservative number?
 

Offline jonpaul

  • Super Contributor
  • ***
  • Posts: 3591
  • Country: fr
Re: HDMI inter and intra pair skew clarification
« Reply #4 on: May 01, 2022, 11:26:47 am »
Beware of the HDMI DRM, even in a simple KVM

Jon
Jean-Paul  the Internet Dinosaur
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9232
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: HDMI inter and intra pair skew clarification
« Reply #5 on: May 01, 2022, 01:07:37 pm »
Beware of the HDMI DRM, even in a simple KVM
Not relevant for a dumb switch. It only becomes relevant if you want to decode the data stream.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline jonpaul

  • Super Contributor
  • ***
  • Posts: 3591
  • Country: fr
Re: HDMI inter and intra pair skew clarification
« Reply #6 on: May 01, 2022, 01:49:06 pm »
Have seen HDMI switches that indded get a DRM issue on some material, but that was long ago.

Think it depends on the details of the switch

Jon
Jean-Paul  the Internet Dinosaur
 

Offline ejeffrey

  • Super Contributor
  • ***
  • Posts: 3908
  • Country: us
Re: HDMI inter and intra pair skew clarification
« Reply #7 on: May 01, 2022, 03:27:40 pm »
Even for differential pairs on the top layer the velocity will be slowed relative to c since about half the field will be in the substrate.
 

Offline UpballoonTopic starter

  • Contributor
  • Posts: 17
  • Country: us
Re: HDMI inter and intra pair skew clarification
« Reply #8 on: May 01, 2022, 10:42:06 pm »
Beware of the HDMI DRM, even in a simple KVM

Jon

Why would there be DRM? Do you have to buy the IP from the HDMI foundation if you ever want to implement HDMI?
 

Offline jonpaul

  • Super Contributor
  • ***
  • Posts: 3591
  • Country: fr
Re: HDMI inter and intra pair skew clarification
« Reply #9 on: May 02, 2022, 07:33:37 am »
There have been HDMI switches that fail on some sources and sinks with certain media.

The implimentation of BR, DRM and use if online enforcement is apt to have false positives.

The latest versions of HDMI TX and RX and latest HDMI versions may have fixed this preerenial problem.

After you finish your project, test on evcery availabe source and sink device and type of media.

Jon
Jean-Paul  the Internet Dinosaur
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf