Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #464743 > unrolled thread
| Started by | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| First post | 2017-06-16 16:57 -0400 |
| Last post | 2017-06-19 23:12 -0400 |
| Articles | 20 on this page of 28 — 13 participants |
Back to article view | Back to sci.electronics.design
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
Page 1 of 2 [1] 2 Next page →
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2017-06-16 16:57 -0400 |
| Subject | ADC layout screwup |
| Message-ID | <KOKdnXfU-4O329nEnZ2dnUU7-T3NnZ2d@supernews.com> |
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! Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
[toc] | [next] | [standalone]
| From | John Larkin <jjlarkin@highland_snip_technology.com> |
|---|---|
| Date | 2017-06-16 14:51 -0700 |
| Message-ID | <hlk8kc1lripvocufgt7ebcaggi6flg1rok@4ax.com> |
| In reply to | #464743 |
On Fri, 16 Jun 2017 16:57:12 -0400, Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> 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. Sounds like VREF noise. What happens near full 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! > >Cheers > >Phil Hobbs -- John Larkin Highland Technology, Inc picosecond timing precision measurement jlarkin att highlandtechnology dott com http://www.highlandtechnology.com
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2017-06-16 18:09 -0400 |
| Message-ID | <U-adnavmmqH_y9nEnZ2dnUU7-XGdnZ2d@supernews.com> |
| In reply to | #464751 |
On 06/16/2017 05:51 PM, John Larkin wrote: > On Fri, 16 Jun 2017 16:57:12 -0400, Phil Hobbs > <pcdhSpamMeSenseless@electrooptical.net> 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. > > Sounds like VREF noise. What happens near full scale? Something else saturates at the moment--I need to change a couple of resistor values. But it gets suddenly worse near 1/4 scale, rather than gently increasing. So it might be SDO crap getting into Vref, good point. > >> >> 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! Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highland_snip_technology.com> |
|---|---|
| Date | 2017-06-16 15:23 -0700 |
| Message-ID | <e9m8kcdgeqo4jalv9b0kh3mgrkrg06ce89@4ax.com> |
| In reply to | #464752 |
On Fri, 16 Jun 2017 18:09:45 -0400, Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote: >On 06/16/2017 05:51 PM, John Larkin wrote: >> On Fri, 16 Jun 2017 16:57:12 -0400, Phil Hobbs >> <pcdhSpamMeSenseless@electrooptical.net> 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. >> >> Sounds like VREF noise. What happens near full scale? > >Something else saturates at the moment--I need to change a couple of >resistor values. But it gets suddenly worse near 1/4 scale, rather than >gently increasing. So it might be SDO crap getting into Vref, good point. > >> >>> >>> 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! > > >Cheers > >Phil Hobbs Some of those TI parts, and others, do the successive-approximation logic as the data is being clocked. So even if the analog input is sampled before the data is clocked, noise could affect the conversion, even though it theoretically can't affect the sampled value. But VREF is (probably) used all through the conversion. -- John Larkin Highland Technology, Inc picosecond timing precision measurement jlarkin att highlandtechnology dott com http://www.highlandtechnology.com
[toc] | [prev] | [next] | [standalone]
| From | "John Miles, KE5FX" <jmiles@gmail.com> |
|---|---|
| Date | 2017-06-16 16:17 -0700 |
| Message-ID | <c5777267-0457-4153-8556-9f17241b3d73@googlegroups.com> |
| In reply to | #464743 |
On Friday, June 16, 2017 at 1:57:22 PM UTC-7, 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. Offset binary versus signed output? What does it sound like if you load the data into an audio editor as a .raw file and hit 'Play'? -- john, KE5FX
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2017-06-16 19:31 -0400 |
| Message-ID | <hNudnUD8Macd9NnEnZ2dnUU7-KednZ2d@supernews.com> |
| In reply to | #464759 |
On 06/16/2017 07:17 PM, John Miles, KE5FX wrote: > On Friday, June 16, 2017 at 1:57:22 PM UTC-7, 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. > > Offset binary versus signed output? It's twos-complement. Potentially a nice part, if you don't screw up the layout. :( > > What does it sound like if you load the data into an audio editor as > a .raw file and hit 'Play'? > > -- john, KE5FX Dunno. Based on the scope trace, it wouldn't be a pure tone, for sure. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highland_snip_technology.com> |
|---|---|
| Date | 2017-06-16 18:12 -0700 |
| Message-ID | <pd09kcptfbfo248usng64krevsekdu7if4@4ax.com> |
| In reply to | #464759 |
On Fri, 16 Jun 2017 16:17:07 -0700 (PDT), "John Miles, KE5FX" <jmiles@gmail.com> wrote: >On Friday, June 16, 2017 at 1:57:22 PM UTC-7, 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. > >Offset binary versus signed output? > >What does it sound like if you load the data into an audio editor as >a .raw file and hit 'Play'? > >-- john, KE5FX It could be a digital problem. SPI can be tricky. What's fun is to use the wrong clock edge and have things usually work. -- John Larkin Highland Technology, Inc picosecond timing precision measurement jlarkin att highlandtechnology dott com http://www.highlandtechnology.com
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2017-06-17 11:25 -0400 |
| Message-ID | <74edndIiBYZm1NjEnZ2dnUU7-eudnZ2d@supernews.com> |
| In reply to | #464772 |
On 06/16/2017 09:12 PM, John Larkin wrote: > On Fri, 16 Jun 2017 16:17:07 -0700 (PDT), "John Miles, KE5FX" > <jmiles@gmail.com> wrote: > >> On Friday, June 16, 2017 at 1:57:22 PM UTC-7, 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. >> >> Offset binary versus signed output? >> >> What does it sound like if you load the data into an audio editor as >> a .raw file and hit 'Play'? >> >> -- john, KE5FX > > It could be a digital problem. SPI can be tricky. > > What's fun is to use the wrong clock edge and have things usually > work. > > Maybe. I didn't write the code, so I'll try switching SPI modes and see if it gets better. (So scientific.) Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2017-06-17 11:04 -0700 |
| Message-ID | <32rakchddh6h0a87omb984957fi0ciksvb@4ax.com> |
| In reply to | #464825 |
On Sat, 17 Jun 2017 11:25:47 -0400, Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote: >On 06/16/2017 09:12 PM, John Larkin wrote: >> On Fri, 16 Jun 2017 16:17:07 -0700 (PDT), "John Miles, KE5FX" >> <jmiles@gmail.com> wrote: >> >>> On Friday, June 16, 2017 at 1:57:22 PM UTC-7, 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. >>> >>> Offset binary versus signed output? >>> >>> What does it sound like if you load the data into an audio editor as >>> a .raw file and hit 'Play'? >>> >>> -- john, KE5FX >> >> It could be a digital problem. SPI can be tricky. >> >> What's fun is to use the wrong clock edge and have things usually >> work. >> >> > >Maybe. I didn't write the code, so I'll try switching SPI modes and see >if it gets better. (So scientific.) > >Cheers > >Phil Hobbs We used one ADI part that had a bit in a control register that selected which clock edge the SPI interface uses. Think about that for a few seconds. Another ADI part did *not* clear anything in the SPI interface (not even the bit counters or shift registers) when CS went false. We've also had clock edge problems on some SPI parts for no observable reason. Analog Devices seems to do the digital parts of mixed-signal stuff badly. TI is much better. Makes sense. The problem with TI lately is that when you need help, they'll say "Oh, that's a National (or B-B) part, nobody knows anything about that." Are your clock and CS lines short or terminated? -- John Larkin Highland Technology, Inc lunatic fringe electronics
[toc] | [prev] | [next] | [standalone]
| From | Martin Riddle <martin_ridd@verizon.net> |
|---|---|
| Date | 2017-06-16 21:17 -0400 |
| Message-ID | <de09kc52vaquerftrp6ck6059desu52abj@4ax.com> |
| In reply to | #464743 |
On Fri, 16 Jun 2017 16:57:12 -0400, Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> 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! > >Cheers > >Phil Hobbs The first thing I check for is Errata, but there is none. It's a National part if that matters. But It does sound like it might be a diff vs single ended mode selection problem, or your inputs are crossed some how. I doubt a noisy vref would cause that much of a problem. The second to last page of the data sheet has layout guidelines, and looking at the pin out it's hard to imagine a layout problem with the clock. Have you tried terminating the clock into some resistance? Cheers
[toc] | [prev] | [next] | [standalone]
| From | "Tim Williams" <tiwill@seventransistorlabs.com> |
|---|---|
| Date | 2017-06-16 21:22 -0500 |
| Message-ID | <oi23if$d8q$1@dont-email.me> |
| In reply to | #464743 |
At liberty to share the layout? (Via email if not NG) Tim -- Seven Transistor Labs, LLC Electrical Engineering Consultation and Contract Design Website: http://seventransistorlabs.com "Phil Hobbs" <pcdhSpamMeSenseless@electrooptical.net> wrote in message news:KOKdnXfU-4O329nEnZ2dnUU7-T3NnZ2d@supernews.com... > 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! > > Cheers > > Phil Hobbs > > -- > Dr Philip C D Hobbs > Principal Consultant > ElectroOptical Innovations LLC > Optics, Electro-optics, Photonics, Analog Electronics > > 160 North State Road #203 > Briarcliff Manor NY 10510 > > hobbs at electrooptical dot net > http://electrooptical.net
[toc] | [prev] | [next] | [standalone]
| From | pcdhobbs@gmail.com |
|---|---|
| Date | 2017-06-17 03:06 -0700 |
| Message-ID | <7fc8049a-537b-4a79-b39d-82b2f8daad1e@googlegroups.com> |
| In reply to | #464786 |
>At liberty to share the layout? (Via email if not NG) Unfortunately not. (It would be good for my humility if I could--this isn't the only problem I didn't catch.) Cheers Phil Hobbs
[toc] | [prev] | [next] | [standalone]
| From | Gunther Mannigel <newsgroups@mannigel.net> |
|---|---|
| Date | 2017-06-18 17:29 +0200 |
| Message-ID | <eqnki8Ftm2fU1@mid.individual.net> |
| In reply to | #464743 |
Am 16.06.2017 um 22:57 schrieb Phil Hobbs: > 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. Any chance that it might be a signal voltage level mismatch of some kind? We've had similar problems... cheers Gunther
[toc] | [prev] | [next] | [standalone]
| From | Joerg <news@analogconsultants.com> |
|---|---|
| Date | 2017-06-18 13:12 -0700 |
| Message-ID | <eqo553F2vtjU1@mid.individual.net> |
| In reply to | #464743 |
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. Bypass VREF really well, shortest path to GND plane. 0.1uF right at pin, 2.2uF or so right next to that. Same for VA. You need a low-Z reference source. If the analog inputs are driven hi-Z (not a good thing at all) there should be some sort of filter cap right at the input pins. Such converters can spew impressive re-charge spikes on their inputs. I know you wrote you can't share the layout but maybe just the immediate ADC area? -- Regards, Joerg http://www.analogconsultants.com/
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2017-06-18 13:51 -0700 |
| Message-ID | <1ipdkcpng932b6r2qsb9pikaufc87k2h30@4ax.com> |
| In reply to | #464974 |
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. Series termination at the source is probably better. 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. We did one parallel ADC to FPGA interface at 250 MHz and the FPGA guy got the clock edge wrong. It usually worked! -- John Larkin Highland Technology, Inc lunatic fringe electronics
[toc] | [prev] | [next] | [standalone]
| From | Joerg <news@analogconsultants.com> |
|---|---|
| Date | 2017-06-18 14:00 -0700 |
| Message-ID | <eqo809F3khiU1@mid.individual.net> |
| In reply to | #464980 |
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. -- Regards, Joerg http://www.analogconsultants.com/
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2017-06-18 17:30 -0700 |
| Message-ID | <fk6ekc5e87vvaetbnk75qbot4jev4ubgf2@4ax.com> |
| In reply to | #464981 |
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
[toc] | [prev] | [next] | [standalone]
| From | makolber@yahoo.com |
|---|---|
| Date | 2017-06-19 09:06 -0700 |
| Message-ID | <465b23ea-8f45-411c-8b0b-805dc400f6ab@googlegroups.com> |
| In reply to | #464993 |
Phil, Some ADCs can have very odd inputs whose loading changes in odd ways and over time as the conversion takes place. Are you driving the ADCs with the correct Z. Sometimes a cap across the differential input can help hold the signal steady during the conversion. But you prob know this already. m
[toc] | [prev] | [next] | [standalone]
| From | Lasse Langwadt Christensen <langwadt@fonz.dk> |
|---|---|
| Date | 2017-06-19 13:04 -0700 |
| Message-ID | <e1acba3c-e2f2-4940-b9af-36a27dea08bd@googlegroups.com> |
| In reply to | #464993 |
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
[toc] | [prev] | [next] | [standalone]
| From | krw@notreal.com |
|---|---|
| Date | 2017-06-19 21:28 -0400 |
| Message-ID | <5hugkclddfggmulr2utnv83s90ekt8rm9o@4ax.com> |
| In reply to | #465026 |
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.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | sci.electronics.design
csiph-web