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


Groups > sci.electronics.design > #464993

Re: ADC layout screwup

From John Larkin <jjlarkin@highlandtechnology.com>
Newsgroups sci.electronics.design
Subject Re: ADC layout screwup
Date 2017-06-18 17:30 -0700
Organization highland technology
Message-ID <fk6ekc5e87vvaetbnk75qbot4jev4ubgf2@4ax.com> (permalink)
References <KOKdnXfU-4O329nEnZ2dnUU7-T3NnZ2d@supernews.com> <eqo553F2vtjU1@mid.individual.net> <1ipdkcpng932b6r2qsb9pikaufc87k2h30@4ax.com> <eqo809F3khiU1@mid.individual.net>

Show all headers | View raw


On Sun, 18 Jun 2017 14:00:56 -0700, Joerg <news@analogconsultants.com>
wrote:

>On 2017-06-18 13:51, John Larkin wrote:
>> On Sun, 18 Jun 2017 13:12:18 -0700, Joerg <news@analogconsultants.com>
>> wrote:
>>
>>> On 2017-06-16 13:57, Phil Hobbs wrote:
>>>> So we had a bit of a layout screwup with an SPI ADC: the apparently very
>>>> nice ADC122S625 dual 12-bit simultaneous-sampling, differential-input
>>>> serial ADC.  How bad a screwup?  Well, the output has like 20 LSBs of
>>>> junk on it.  Blech.
>>>>
>>>> Weirdly, the junk is highly level-dependent.  It's much less at outputs
>>>> near zero and gets steadily worse towards half-scale.
>>>>
>>>> My theory is that the SDO pin is coupling through into the sampled input
>>>> somehow, so that the change in the bit pattern is what's causing the
>>>> difference.  The conversion is clocked by SCLK, so transitions in the
>>>> higher bits on SDO would cause errors earlier in the conversion, leading
>>>> to worse noise.
>>>>
>>>> The solution would appear to be to put the analogue inputs in a Faraday
>>>> cage made of pours, the way you do with SMPS wiring.
>>>>
>>>> Or am I nuts?  It's supposed to be a _sampling_ ADC after all!
>>>>
>>>
>>> To me this sounds like poor grounding and/or bypassing. Assuming the IC
>>> designers didn't mess up.
>>>
>>> If you really suspect SPI pollution try AC termination at the far end of
>>> the SDO line and AC termination at the ADC for SCLK. If you have only a
>>> few inches of trace each then 33pF or 47pf in series with whatever the
>>> microstrip calculator shows as line impedance should work.
>>
>> AC termination can have strange effects for a burst clock like SPI.
>
>
>It shouldn't, as long as you do not make the capacitor unnecessarily large.
>
>
>> Series termination at the source is probably better.
>>
>
>Source can work as well but that requires cuts. It also requires that 
>the line impedance does not change much along the way.
>
>
>> Good SPI chips have schmitts on all their inputs, but many don't. We
>> have fixed flakey SPI interfaces by adding a 47 pF cap from SCLK to
>> ground at the end, without ever understanding why. Scope probes
>> sometimes fix (or break) SPI interfaces.
>>
>
>Or a finger, after drinking 2-3 bottles of Belgian Tripel. It worked. 
>Now I brew my own Belgian Tripel.
>
>
>> We did one parallel ADC to FPGA interface at 250 MHz and the FPGA guy
>> got the clock edge wrong. It usually worked!
>>
>
>I had a converter chip from a top notch manufacturer which only worked 
>with SCLK reversed. The app engineer was puzzled and suggested to leave 
>it that way. Luckily this was only a prototype system.


SPI = Seriously Problematic Interface.

      Sometimes Proper Input


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

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


Thread

ADC layout screwup Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-06-16 16:57 -0400
  Re: ADC layout screwup John Larkin <jjlarkin@highland_snip_technology.com> - 2017-06-16 14:51 -0700
    Re: ADC layout screwup Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-06-16 18:09 -0400
      Re: ADC layout screwup John Larkin <jjlarkin@highland_snip_technology.com> - 2017-06-16 15:23 -0700
  Re: ADC layout screwup "John Miles, KE5FX" <jmiles@gmail.com> - 2017-06-16 16:17 -0700
    Re: ADC layout screwup Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-06-16 19:31 -0400
    Re: ADC layout screwup John Larkin <jjlarkin@highland_snip_technology.com> - 2017-06-16 18:12 -0700
      Re: ADC layout screwup Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-06-17 11:25 -0400
        Re: ADC layout screwup John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-17 11:04 -0700
  Re: ADC layout screwup Martin Riddle <martin_ridd@verizon.net> - 2017-06-16 21:17 -0400
  Re: ADC layout screwup "Tim Williams" <tiwill@seventransistorlabs.com> - 2017-06-16 21:22 -0500
    Re: ADC layout screwup pcdhobbs@gmail.com - 2017-06-17 03:06 -0700
  Re: ADC layout screwup Gunther Mannigel <newsgroups@mannigel.net> - 2017-06-18 17:29 +0200
  Re: ADC layout screwup Joerg <news@analogconsultants.com> - 2017-06-18 13:12 -0700
    Re: ADC layout screwup John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-18 13:51 -0700
      Re: ADC layout screwup Joerg <news@analogconsultants.com> - 2017-06-18 14:00 -0700
        Re: ADC layout screwup John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-18 17:30 -0700
          Re: ADC layout screwup makolber@yahoo.com - 2017-06-19 09:06 -0700
          Re: ADC layout screwup Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-06-19 13:04 -0700
            Re: ADC layout screwup krw@notreal.com - 2017-06-19 21:28 -0400
              Re: ADC layout screwup Joerg <news@analogconsultants.com> - 2017-06-20 13:47 -0700
                Re: ADC layout screwup krw@notreal.com - 2017-06-20 20:41 -0400
                Re: ADC layout screwup Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-06-20 14:07 -0700
      Re: ADC layout screwup Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-06-19 13:22 -0700
        Re: ADC layout screwup John Larkin <jjlarkin@highland_snip_technology.com> - 2017-06-19 15:44 -0700
          Re: ADC layout screwup Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-06-19 16:07 -0700
            Re: ADC layout screwup John Larkin <jjlarkin@highlandtechnology.com> - 2017-06-19 21:03 -0700
          Re: ADC layout screwup rickman <gnuarm@gmail.com> - 2017-06-19 23:12 -0400

csiph-web