Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #373990

Re: SPI transmission line thing

From rickman <gnuarm@gmail.com>
Newsgroups sci.electronics.design
Subject Re: SPI transmission line thing
Date 2015-08-21 15:02 -0400
Organization A noiseless patient Spider
Message-ID <mr7sgo$4ig$1@dont-email.me> (permalink)
References (2 earlier) <ongetatsjpteiivfeea9uluq5ul8c9dco5@4ax.com> <mr7iij$t3l$1@dont-email.me> <c6f86fba-0aef-4543-9493-8c59a77a3eb7@googlegroups.com> <mr7pe8$odg$1@dont-email.me> <87ae92c1-2449-41b7-8093-169ae87587a2@googlegroups.com>

Show all headers | View raw


On 8/21/2015 2:51 PM, Lasse Langwadt Christensen wrote:
> Den fredag den 21. august 2015 kl. 20.09.56 UTC+2 skrev rickman:
>> On 8/21/2015 1:30 PM, Lasse Langwadt Christensen wrote:
>>> Den fredag den 21. august 2015 kl. 18.12.49 UTC+2 skrev rickman:
>>>> On 8/21/2015 11:42 AM, John Larkin wrote:
>>>>> On Fri, 21 Aug 2015 06:30:24 -0500, "Tim Williams"
>>>>> <tmoranwms@charter.net> wrote:
>>>>>
>>>>>> Yeh, what clock frequency?
>>>>>
>>>>> That doesn't matter; only edge quality matters.
>>>>>
>>>>>>
>>>>>> Glancing at the listing, I suppose you've modeled the traces as transmission
>>>>>> lines of typical impedance?
>>>>>
>>>>> 6 mil traces on the top of a 6-layer board, with L2 being the ground
>>>>> plane. 88 ohms according to AppCad.
>>>>>
>>>>>      If you can gloss over the mismatch (alternating
>>>>>> high impedance transmission lines and shunt capacitances or low impedance
>>>>>> lines look like a lowpass filter), then the average impedance can be
>>>>>> terminated (source and/or load) and overshoot/ringing will be minimal.
>>>>>
>>>>> That's the heart of the problem: the transmission line traces are
>>>>> periodically loaded with lump capacitances. Driven by slow edges, you
>>>>> can pretend that it's just a lower impedance line. But drive it with
>>>>> fast edges, it's a ringing nightmare.
>>>>>
>>>>> End termination requires an insanely brute driver to avoid voltage
>>>>> loss, especially in the tee config. Driving one end and terminating
>>>>> the other got ugly. Source termination solves some problems.
>>>>>
>>>>>      The
>>>>>> transition itself might be ugly (a lumpy rise, due to reflection and loss in
>>>>>> the LPF structure, and due to the effect of source termination), but if it's
>>>>>> still fast enough, who cares?
>>>>>
>>>>> Yup, it seems to work. Design by instinct and simulation.
>>>>>
>>>>>>
>>>>>> Are those eight channels actually critical in regards to timing / jitter, or
>>>>>> do they not matter?
>>>>>
>>>>> They are SPI links up to isolated DACs, and we can have all the data
>>>>> setup/hold time we want, so relative alignment doesn't matter. We're
>>>>> simulating thermocouples, so there's no rush.
>>>>>
>>>>> I should use HC244s at 3.3 volts, not HCTs. The HCT comment was left
>>>>> over from another version that didn't work as well, namely 5 volt
>>>>> drive with both source and end terminations to wind up with 3.3.
>>>>>
>>>>> The design is messy in that we have to keep chasing the layout guy to
>>>>> make sure our clock terminations are compatible with his placement and
>>>>> routing.
>>>>
>>>> If this is a conventional clock, why not use a conventional multi-output
>>>> clock driver?  Or is this a gated clock?
>>>>
>>>
>>> SPI clock, so I'll assume burst of clock when ever there is a transaction
>>> with the other end
>>>
>>> a series resistor source termination(ish) is usually how it's done
>>
>> The series resistor only helps with part of the problem.  It would be
>> useful to prevent the load reflections as well.  I think with a lower
>> trace impedance the input capacitances have smaller reflections.  The
>> reduced drive is mitigated by *not* using a series resistor on the
>> driver.  Typical output impedance is much less than 50 ohms so that a 50
>> ohm terminator can be driven by many outputs and maintain TTL levels if
>> that is what is needed.  But every case is different.
>>
>> The burst clock is only required if you are driving one SPI load with
>> the enable always asserted.  If you are driving multiple devices the
>> enable needs to be used... unless you are driving them as one long SPI
>> load.  Again, every case is different.  Using an always running clock
>> would solve the clock distribution problem easily.
>
> but give you a whole of other problems
> the clock is generally not always running when you use a SPI peripheral,
> never if you bit-bang. SPI is far from a standard and some devices have all sorts of limits on what you can do when

If an SPI device uses the select line, then it has to ignore a free 
running clock by definition.

-- 

Rick

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

SPI transmission line thing John Larkin <jlarkin@highlandtechnology.com> - 2015-08-20 21:36 -0700
  Re: SPI transmission line thing "Tim Williams" <tmoranwms@charter.net> - 2015-08-21 06:30 -0500
    Re: SPI transmission line thing John Larkin <jlarkin@highlandtechnology.com> - 2015-08-21 08:42 -0700
      Re: SPI transmission line thing rickman <gnuarm@gmail.com> - 2015-08-21 12:12 -0400
        Re: SPI transmission line thing Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-08-21 10:30 -0700
          Re: SPI transmission line thing rickman <gnuarm@gmail.com> - 2015-08-21 14:09 -0400
            Re: SPI transmission line thing Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-08-21 11:51 -0700
              Re: SPI transmission line thing rickman <gnuarm@gmail.com> - 2015-08-21 15:02 -0400
                Re: SPI transmission line thing Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-08-21 12:18 -0700
                Re: SPI transmission line thing John Larkin <jjlarkin@highlandtechnology.com> - 2015-08-21 12:47 -0700
                Re: SPI transmission line thing Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-08-21 12:58 -0700
                Re: SPI transmission line thing DemonicTubes <tlackie@gmail.com> - 2015-08-21 13:04 -0700
                Re: SPI transmission line thing John Larkin <jjlarkin@highlandtechnology.com> - 2015-08-21 14:47 -0700
                Re: SPI transmission line thing Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-08-21 15:10 -0700
                Re: SPI transmission line thing krw <krw@nowhere.com> - 2015-08-21 19:59 -0400
                Re: SPI transmission line thing krw <krw@nowhere.com> - 2015-08-21 19:57 -0400
          Re: SPI transmission line thing John Larkin <jjlarkin@highlandtechnology.com> - 2015-08-21 11:33 -0700
            Re: SPI transmission line thing Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-08-21 11:46 -0700
            Re: SPI transmission line thing rickman <gnuarm@gmail.com> - 2015-08-21 15:03 -0400
            Re: SPI transmission line thing Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-21 16:13 -0400
              Re: SPI transmission line thing rickman <gnuarm@gmail.com> - 2015-08-21 17:09 -0400
                Re: SPI transmission line thing Phil Hobbs <hobbs@electrooptical.net> - 2015-08-21 17:25 -0400
                Re: SPI transmission line thing upsidedown@downunder.com - 2015-08-22 00:47 +0300
                Re: SPI transmission line thing Phil Hobbs <hobbs@electrooptical.net> - 2015-08-21 17:57 -0400
                Re: SPI transmission line thing John Larkin <jjlarkin@highlandtechnology.com> - 2015-08-24 10:37 -0700
                Re: SPI transmission line thing Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-24 14:33 -0400
                Re: SPI transmission line thing John Larkin <jjlarkin@highlandtechnology.com> - 2015-08-24 12:54 -0700
                Re: SPI transmission line thing Bill Sloman <bill.sloman@gmail.com> - 2015-08-21 19:36 -0700
                Re: SPI transmission line thing rickman <gnuarm@gmail.com> - 2015-08-22 00:29 -0400
              Re: SPI transmission line thing krw <krw@nowhere.com> - 2015-08-21 20:04 -0400
                Re: SPI transmission line thing John Larkin <jjlarkin@highlandtechnology.com> - 2015-08-21 17:44 -0700
                Re: SPI transmission line thing Phil Hobbs <hobbs@electrooptical.net> - 2015-08-21 21:21 -0400
                Re: SPI transmission line thing krw <krw@nowhere.com> - 2015-08-21 22:36 -0400
      Re: SPI transmission line thing "Tim Williams" <tmoranwms@charter.net> - 2015-08-22 03:23 -0500
        Re: SPI transmission line thing John Larkin <jlarkin@highlandtechnology.com> - 2015-08-22 09:00 -0700
  Re: SPI transmission line thing upsidedown@downunder.com - 2015-08-22 20:33 +0300
    Re: SPI transmission line thing John Larkin <jlarkin@highlandtechnology.com> - 2015-08-22 13:13 -0700

csiph-web