Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #465083
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Joerg <news@analogconsultants.com> |
| Newsgroups | sci.electronics.design |
| Subject | Re: ADC layout screwup |
| Date | Tue, 20 Jun 2017 13:47:31 -0700 |
| Lines | 91 |
| Message-ID | <eqtfv0Fabg3U1@mid.individual.net> (permalink) |
| References | <KOKdnXfU-4O329nEnZ2dnUU7-T3NnZ2d@supernews.com> <eqo553F2vtjU1@mid.individual.net> <1ipdkcpng932b6r2qsb9pikaufc87k2h30@4ax.com> <eqo809F3khiU1@mid.individual.net> <fk6ekc5e87vvaetbnk75qbot4jev4ubgf2@4ax.com> <e1acba3c-e2f2-4940-b9af-36a27dea08bd@googlegroups.com> <5hugkclddfggmulr2utnv83s90ekt8rm9o@4ax.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net TV7enonUxzjOF7lGugOJAwIw5f0Uo5Lr5vPMMBqgoo98wVDTYo |
| Cancel-Lock | sha1:qWiu7VFCc7/1uafrF3TInxLBsQA= |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.6.666 |
| In-Reply-To | <5hugkclddfggmulr2utnv83s90ekt8rm9o@4ax.com> |
| Xref | csiph.com sci.electronics.design:465083 |
Show key headers only | View raw
On 2017-06-19 18:28, krw@notreal.com wrote: > On Mon, 19 Jun 2017 13:04:58 -0700 (PDT), Lasse Langwadt Christensen > <langwadt@fonz.dk> wrote: > >> Den mandag den 19. juni 2017 kl. 02.30.12 UTC+2 skrev John Larkin: >>> 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 >> >> the problem start with the expectation that SPI is a standard, it is really >> just short hand for a couple of wires one of them probably a clock > > I2S has the same set of problems, in spades. > Worse ones. There are real hang-ups that sometimes require "banging the bus" or a power-cycle. So far I didn't have that with SPI and I used SPI a lot more than I2C, mostly much for that reason. -- Regards, Joerg http://www.analogconsultants.com/
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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