Feature

Finding clock glitches

Tales From The Cube: Debugging this optical backplane problem required a sharp eye and a darkened lab.

By Glen Chenier, Consultant -- EDN, 4/17/2008

It was a dark and stormy night. It was dark because we had turned off all the lights in the lab as we anxiously studied the bright-blue-green glow of the oscilloscope, and it was stormy because our prototypes were not cooperating with our troubleshooting efforts, and the boss was getting antsy. (Note that “antsy” is an anagram of “nasty.”)

The previous Friday afternoon, all had been working great. Four of our brand-new babies were finally debugged, tucked safely into their card slots, and obediently passing error-free bits back and forth over the backplane and across the optical links. We went home with big smiles and plans for a weekend celebration, thinking that the project was near completion.

On Monday morning, the bit-error counters had climbed to record numbers and were steadily increasing. All the optical-link SNRs (signal-to-noise ratios) were great, but each card insisted on periodically, randomly, and independently flipping bits. The following days of troubleshooting efforts concentrated on the analog optical links. Who ever heard of digital circuits giving this kind of trouble? Digital circuits either work, or they don’t, right?

Read more
Tales from The Cube

After chasing down many blind alleys, late one night we finally looked at the buffered-system clock and backplane data on the scope—a Tektronix dual-channel analog job with a nice, bright CRT screen. In the dark of the lab, one sharp-eyed colleague looked at the clock trace and said, “What’s that?” A little smudge of light had appeared where none belonged.

Cranking up the timebase and vertical scale to position the brightest trace portions off screen (but still with a phosphor glow from reflected electrons), we were able to just discern the ghost of something that was not right. Just after the clock’s falling edge, we observed an occasional small pulse, made very faint by its infrequent occurrence. Bingo!

Today, a digital scope set to “runt trigger” or “infinite persistence” would have immediately found this problem, but analog scopes from back then did not have those features. Finding problems like this took a lot of effort and perseverance, combined with good eyesight and a darkened lab at night.

It turned out that placing the card’s backplane interface buffers 3 in. away from the connector formed stubs. As more and more of these cards loaded the parallel backplane bus, the problem got worse. The backplane clock edges were ringing under the stub loading to the point at which the ringing occasionally passed the buffer’s digital threshold and added an extra clock cycle.

We respun the card, and it worked great.

Glen Chenier is a former telecom engineer and is now a design consultant. You can reach him at glen@teetertottertreestuff.com. Like Glen, you can share your Tales from the Cube and receive $200. Contact edn.editor@reedbusiness.com.



EDN Resource Center

EDN Featured Vendor

Screaming Circuits

Screaming Circuits is an industry pioneer in the online quick-turn prototype pc board assembly market. Located in Canby, OR, the company offers assembly, prototype, pilot production and short-run production pc boards in as little as 24 hours for short runs. Screaming Circuits is a subsidiary of the Milwaukee Electronics Corporation, which offers full service contract manufacturing.
View More
View All Resources
ADVERTISEMENT

ADVERTISEMENT

Feedback Loop


Post a CommentPost a Comment

There are no comments posted for this article.

Related Content

 

By This Author

There are no additional articles written by this author.


ADVERTISEMENT

Knowledge Center


Events

System Verilog Assertions (SVA) Language and Methodology Training Class
Dates: 12/4/2008 - 12/4/2008
Location: San Jose, CA

BIT Life Sciences' 2nd Annual World Congress of Gene 2008
Dates: 12/5/2008 - 12/7/2008
Location: Guangzhou, China

Transitioning to Lead-Free — Strategies for Implementation an IPC/JEDEC Conference
Dates: 12/8/2008 - 12/10/2008
Location: Dallas, TX

R&D-Product Development Innovation Summit
Dates: 12/9/2008 - 12/11/2008
Location: Norwood, Ma

MUSIC Silicon Valley
Dates: 4/2/2009 - 4/2/2009
Location: Santa Clara, CA

Submit an EventSubmit an Event




Technology Quick Links

EDN Marketplace


©1997-2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites

ADVERTISEMENT
You will be redirected to your destination in few seconds.