Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 65
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Capper (60)
cereus (73)
Mcanderson (43)


Next birthdays
11/06 dan (37)
11/06 rchydro (64)
11/06 CapRack (30)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

Routing differential LVDS signals

1 2 
Move Thread LAN_403
rp181
Wed Oct 19 2011, 02:12AM Print
rp181 Registered Member #1062 Joined: Tue Oct 16 2007, 02:01AM
Location:
Posts: 1529
I am about to route some LVDS lines, and I had a couple of questions.
The impedance is supposed to be kept at 100ohms. Do I just use the trace impedance, or do I put a 100 ohm resistor across the lines on the receiving end? Do I put the resistors on the transmitting end?
What I am planning is using these: Link2 to find a good trace width and spacing, and connecting them directly to the connector while keeping trace length and spacing constant. For the receiver, I will do the same but put a 100 ohm resistor from the + line to the - line.
Back to top
2Spoons
Wed Oct 19 2011, 02:47AM
2Spoons Registered Member #2939 Joined: Fri Jun 25 2010, 04:25AM
Location:
Posts: 615
Whether or not you need to add resistors depends on your driver and receiver - you will need to check the data sheets. Line termination is necessary, but may already be built in.
Back to top
rp181
Wed Oct 19 2011, 03:18AM
rp181 Registered Member #1062 Joined: Tue Oct 16 2007, 02:01AM
Location:
Posts: 1529
So I got rid of the receivers. Yep, I got it! Thanks.
Back to top
Carbon_Rod
Wed Oct 19 2011, 05:07AM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
Most chips use adjacent i/o pins even when emulating external LVDS interfaces.

TI Handbook:
Link2

Multi-point notes:
Link2

Xilinx notes:
Link2

More notes:
Link2

Numerous fpgas have documented support for LVDS ports built-in.

$37 with RAM
Link2

EP1C6Q240C8N:
Link2
Back to top
rp181
Wed Oct 19 2011, 10:28PM
rp181 Registered Member #1062 Joined: Tue Oct 16 2007, 02:01AM
Location:
Posts: 1529
How does this look? I don't know how I am supposed to keep them the same distance if I need to keep them the same length. I did a trombone kind of thing to keep the same length.
V5WeW
Back to top
2Spoons
Thu Oct 20 2011, 03:19AM
2Spoons Registered Member #2939 Joined: Fri Jun 25 2010, 04:25AM
Location:
Posts: 615
I would say you've just thrown away the impedance matching. If you look at routing on motherboards the length matching wriggles are usually quite small, and perpendicular to the routing direction. To be honest, my gut feel is that 2mm(?) of length error wont matter, but putting in what are effectively PCB inductors could cause trouble. I don't suppose you are allowed to change the pinout on that connector?
Back to top
Dr. Slack
Thu Oct 20 2011, 07:16AM
Dr. Slack Registered Member #72 Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
If you are going to run them as a pair, wiggle them as a pair.

If you are going to wiggle them independantly, run them as 2 independant 50 ohm lines rather than as one balanced 100 ohm line, and keep them the same length. This is the way you'd shift LVDS from one chassis to another.

The lines don't have to be, and never will be even if you try, the same length. You are allowed a difference tolerance. You can work out the size of the tolerance knowing your transmitter rise-time. You want the two transitions arriving at the recevier to overlap by an absolute minimum of 50%. Consider the case where they don't overlap at all - the differential voltage goes from -100% to 0% as one trnanstion arrives, then from 0% to +100% as the other one arrives - the worst possible case, as the voltage dwells for a long time at the receiver's mid-way threshhold. 50% overlap assures that the transition from the first one has not started, by the time the second arrives and increases the differential slew rate seen at the recevier.

So, if you know your transmitter risetime, the largest time or length difference you should accept between paths is half the length. If for the sake of argument, you have a 400Mbps transmitter, which might have a risetime of period/8 = 0.3nS. You would then want a path skew of less than 0.15nS.

Now the speed of light is 1ft / nS (one of the handiest rules of thumb a PCB designer has). Therefore 0.15nS is 1.8" in air, so about 1" on a typical circuit board trace. Now we see why HDMI and SATA started at 1.5Gb/s and have only recently moved to 3Gb/s, keeping paths matched gets ihncreasingly difficult as you go up in rate

Back to top
rp181
Thu Oct 20 2011, 12:13PM
rp181 Registered Member #1062 Joined: Tue Oct 16 2007, 02:01AM
Location:
Posts: 1529
Aah, ok. Thank you! 50% would be 4.5" in my case, which is significantly smaller then my board. I will reroute that!
Back to top
MRacerxdl
Thu Oct 20 2011, 01:45PM
MRacerxdl Registered Member #989 Joined: Sat Sept 08 2007, 02:15AM
Location: São Paulo, Brazil
Posts: 476
A long time ago I made one TFT LCD Controller with this FPGA Board:
Link2

I used twisted pairs wire soldered to LCD and never had any problems. I also made a DVI Connection.

If the sample rate is low, I dont think you really need to care about it. I used a 1024x768 @ 60Hz with 18 Bit Interface that gave me 849MBps Sample rate at total, but that was divided by three LVDS lines so about 283Mbps per line.

I tryed higher clocks, but my FPGA cant support higher clocks.

Here is a video: (LCD + DVI Interface)
Link2
EDIT: Also, it seens to you are using a DVI Interface, you know that DVI isnt LVDS right? Its TMDS. Its a other concept of Differetial Signal.
Back to top
rp181
Thu Oct 20 2011, 09:03PM
rp181 Registered Member #1062 Joined: Tue Oct 16 2007, 02:01AM
Location:
Posts: 1529
Hey,
I am using CameraLink. It is 5LVDS Data + a Clock. Could someone verify these for 100 ohm differential impedance?
1 oz copper
8.4mil spacing from a ground plane (6 layer PCB)
12 mil trace
7.68 mil spacing
Relative permetivity of 4.5 (reasonable figure for prepreg?)
I am getting 113ohm Differential Z.
Back to top
1 2 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.