Winner of Name that Ware July 2007

September 6th, 2007

The Ware for July 2007 was indeed a pair of crystal devices. The top image is an SMT crystal oscillator. It embeds both a quartz crystal and some active circuitry to create an autonomous CMOS-level frequency reference. The bottom image is of a “tuning fork” quartz crystal–you can see the mounting for the tuning fork structure in the X-ray–and it is a passive device that requires an external chip to cause it to oscillate.

The bottom device is actually a sort of “trick question”. Nobody got it exactly right! The interesting thing about the bottom image is what it looks like in visible light:

Compare it to the X-ray:

You may ask, what is going on? Well, the X-ray goes right through the plastic, so you don’t see it in the lower image. Instead, you see the shadows of a classic “metal can” oscillator. Why would someone go through the trouble of burying a metal can in a rectangular plastic case? The reason the overmolding is done is to allow the part to be machine-assembleable. The round can normally used for these watch crystal oscillators are difficult for machines to pick up and place, whereas a flat plastic surface with four pads is much more amenable to the vacuum tweezers used for automated assembly.

Participants in the contest could have called it out as an overmolded device because you can see the dark shadows of the four pads used to tack the device to the board in the x-ray…well, at least none of us are radiologists trying to diagnose a patient, thankfully!

The winner for Name that Ware July 2007 is Hugo! Congrats, email me for your prize. This one was relatively easy to judge, thankfully. I’m of course behind on getting August’s up (my, it’s September already!) but I wanted to spend some time on the Made in China series before catching up on Name that Ware.

City Pictures from China

September 6th, 2007

After going through the many photos I took in my travels over the past several months, I found two that I thought were interesting and shareable. Both images are clickable links to a higher-resolution version; and remember, all content on this website is Creative Commons by-nc-sa.

This photo is a nice juxtaposition of an artery of speeding humanity against the steel-and-glass body of Hong Kong that it nourishes. This was taken from the balcony of the China Club in Hong Kong. The China Club is a members-only affair, and we were fortunate to be there as guests of Liam Casey, aka “Mr. China”.

This was an unusually sunny day for Shenzhen; in honesty, it’s rare to see blue sky due to the pollution in the area, but for several days in a row during that trip there was beautiful weather. Shenzhen’s skyline is growing at a frenetic pace, and it’s a very planned city, as evidenced by the regularly arrayed skyscrapers–it’s almost as if the city planners played way too much Sim City in a previous life. Shenzhen city is slated to have a minimum of 40% “green areas” and so far they are doing a good job of keeping to that. The ever-present construction cranes in the foreground are an indication of the eternally under-construction look of the area. This picture was taken from the front of the new Sheraton Futian Sheraton, a hulking, obsidian black palace of a hotel, a gaudy icon of parvenu Shenzhen. Comfortable rooms, so-so food (but good food can be found in walking distance) and as always, free bottled water and free internet (a custom I wish US hotels would adopt!).

More Scope Pr0n

September 6th, 2007

The Youscope demo is a hard act to follow up on, but I’ve had this scope screenshot for a while now and I thought it was so neat that I wanted to talk about it a bit on the blog.

Before I dive into the post, let me say that the best accessory I ever bought for my scope (a Tek TDS5104B–don’t let anyone ever tell you an Agilent is better than a Tek!) is the P6245 active probe. After suffering for many years with a Kikusui 100 MHz analog scope with second-hand passive probes, the quality of measurements I get with the active probe and the TDS5104B brings a tear to my eye. For the first time ever I can see traces that actually look like the darn SPICE simulations.

Here’s the background behind what we’re looking at in the screenshot. The top trace is the data line of a memory bus; the bottom line is the clock. The trigger is set on the data line–not the clock line as you’d expect. The test pattern being run is a repeated 0xFFFFFFFF-0x00000000 transition using four different bus drive strengths in sequence on the microprocessor. You can see each of the four drive strengths on the bottom clock trace, for example, at point “C”.

The particular bug this trace is supposed to capture is a ground bounce problem, as shown at point “B”. The rising transition “F” is what causes the ground bounce at “B” (note that the dip at “B” does not happen on anywhere else). The reason “F” trails the ground bounce event is because the cable of the passive probe used for the Data line has a fairly long delay–another measurement was used to calibrate out this fixed delay. The time difference of F – A approximates the delay differential between the active and the passive probes. You can also clearly see the rise time contrast between the two probes in this screen shot.

I think it is so cool that one can so clearly capture a problem as difficult to characterize as on-chip ground bounce using only conventional probes on external signals.

The other really neat thing about this set of scope traces is that it shows the timing of both the microprocessor->memory and the memory->microprocessor in a single shot. This is because I’m triggering off of the data line, not the clock line. On the data trace, you can clearly see the Processor-driven data trajectory (“D”) and the Memory-driven data trajectory (“E”). On the clock trace, you can see two phase-shifted versions of the clock. One of them is the clock timing relative to when the CPU drives the bus–this is G-F. The other one is the clock timing relative to when the Memory drives the bus–this is C-F (minus a clock period). So in a single picture, you can divine the available setup/hold margin in both directions of the bus!

You can also see other “good things” in the scope trace, such as the auxiliary measurements for frequency, amplitude, duty cycle, and rise time. You can also see how the clock trace is pretty well formed overall, with minimal over/undershoot, and you can get an idea of how much a passive scope probe introduces overshoot artifacts by contrasting it against the top trace. This picture is truly worthy of a thousand words!

OK, so I’m a real geek for getting so excited about a screen shot like this, but really, after teaching this sort of stuff for several years at MIT and then running countless simulations of chips to validate scenarios like this, it’s somehow very satisfying to be able to go into lab and actually see that the real world does match up with theory so nicely (even if it is a bug). If I ever teach digital design again, this shot is going into my slides and my problem sets.

And, yes, this was a problem found on the chumby DVT prototypes some months ago and it has since been resolved. This ground bounce, under certain conditions, would upset the internal clock multiplier of the CPU. The fix involved multiple improvements to the board layout, but in the end nothing can compensate for the relatively high inductance designed into the chip package. Therefore, the most important fix was to use a much higher clock frequency reference so the multiplication factor was only on the order of 20x instead of 10,000x (a 16 MHz reference instead of a 32.768 kHz reference). Reducing the period of ground-bounce noise integration by a factor of 500 resolved the stability problems of the internal VCO of the CPU’s clock multiplier PLL.

Youscope

August 30th, 2007

So…hardware geeks will find this just too cool.

I love it! Shout out to Mike Sung for sending me the link.

Name that Ware July 2007

August 2nd, 2007

The wares for July 2007 are shown below.

Again, I’m having fun with the X-ray machine. I like looking inside parts that you normally can’t look inside of. The prize this month goes to the first person who can correctly guess the Ware in either image!

I’ve also got some more posts from the Made in China series forthcoming, but it takes a long time to assemble the movies and write the text and I’ve had a busy schedule (since I last blogged I’ve been to China and Portland). Chumby just shipped its first 50 units and we’ve got the full production ramp right on the heels of these units–lots to do! Based on the enormous response Chumby got on the first 50 offer, demand is going to be quite high for chumbys so be sure to sign up on the website to be notified when broad distribution starts, or else you may not be able to get one for a while!