Every once in a while, you’ll find some weirdness that will send your head spinning. Most of the time you’ll chalk it up to a bad solder joint, some bad code, or just your own failings. This time it’s different. This is a story of weirdness that’s due entirely to a pin that shouldn’t be there. This is a package for an integrated circuit that has a pin zero.
The story begins with [Erich] building a few development boards for the Freescale Kinetis K20 FPGA. This is a USB-enabled microcontroller, and by all accounts, a worthwhile effort. So far, so good. The problem with the prototype boards was soon apparent. On some of the boards, the external 32 kHz oscillator was not starting. Resoldering the oscillator or microcontroller sometimes solved the problem, but not always. This is troubling, because that means the issue isn’t code, and it’s not the PCB. This is going to take a deep dive and a good inspection microscope.
One of [Erich]’s friends, [Christian B] somehow found the problem. When the Freescale K40 is manufactured, the die is carefully laid in a chip carrier and coated with epoxy, putting it in a small QFN package. The problem is, there’s an extra connection sticking out of one corner of this chip. This is just an artifact of the chip carrier, but if you leave exposed metal connected to ground, something is eventually going to go wrong.
The best guess [Erich] has is that this additional connection is from the manufacturing and packaging process, with the exposed metal pad in this application being bridged to an adjacent pad. Now, if there’s one failure to [Erich]’s design, it’s that the trace comes out of the pin on the adjacent pad at 90 degrees; this isn’t a best practice, but most of the time you can get away with it. This time, though, somebody got burned.
We don’t know how [Christian] ever found this issue. When you look at a tiny QFN package, you don’t expect there to be an extra pin attached to ground that can be easily bridged with a bit of solder paste. It’s either a lot of luck or skill to find this problem, but it’s a great example of the weird things you have to look out for.
[Erich Styger] was bit by a nasty gotcha when soldering a QFN surface mount chip. The problem rears its ugly head when combining a chip possessing a padless conductor and a PCB without a solder mask. As you can see in the image above, there is a conductor exiting the side of the plastic QFN, but there is no pad associated with it. For this reason, you won’t see the conductor documented in the datasheet as a pin. It is documented in the mechanical drawing of the package, without any explicit reference to its existence. This is the Jason Bourne of package quirks.
The PCB layout just happens to have a trace exiting right under this conductor. The two aren’t touching, but without solder mask, a bit of melted metal was able to mind the gap and connect the two conductors. [Eric] notes that although the non-pad isn’t documented, it’s easy to prove that it is connected to ground and was effectively pulling down the signal on that trace.
In a recent article on Hackaday I talked about “dangling pointers” and the challenge when interrupts expose the bug. [Erich’s] covered a ton of posts about embedded software. I was doing some poking around and was delighted to find that he covered the same concept and a solution for it using a program called cppcheck.
What do you do when you have ATMega328s in QFN package burning a hole in your bug box, but you aren’t set up for SMD and have limited access to parts? You man up and do what [Djpanjan] did: make your own breakout board with solder, right angle header, and many tiny, beautiful wires.
[Djpanjan] says the process is a simple one that requires great concentration. Once he had it broken out, he covered the wires with hot glue to make sure they all stay in place. He programmed it using an Arduino as an ISP and he was able to run the blink sketch without issue. He blinked all the output pins to make sure there were no shorts.
[Djpanjan] says that if he can’t get a breakout for his LQFP-144, he’s going to make his own again. Good luck, [Djpanjan]. We’re all counting on you.
If you’re set up for SMD and etching, there’s always the surface mount breakout route. If not, you can always use magnet wire and protoboard.
If you’re free the first week of April and don’t mind sitting on a plane for a looooong time you should check out the Hacker Camp that Dangerous Prototypes is planning. We’re sure you remember [Ian Lesnet] who is a Hackaday Alum, creator of the Bus Pirate, and geeky world traveler. Now’s your chance to try out what to him is a way of life.
The event is April 3-5 in Shenzhen, China. Although marketed as a “Hacker Camp”, to us it sounds more like training for those interested in running hardware companies that use the Shenzhen manufacturing district as the anchor of their supply chain. Part of the prep-work for the trip includes submitting board files which will be fabbed and ready for you on the first day. [Ian] and his crew will be your guides for the culture of the area; complete with meals and bar time. But there are also soldering workshops as part of the package. Don’t pooh-pooh the idea. This is unhuman soldering… BGA and QFN soldering instruction from the people who repair cellphones and other microelectronics.
This [Rick Steves] style adventure is the first that we remember hearing about that targets the open hardware community. But we must admit, it sounds like a lot more fun than a European river cruise!
Now we don’t sit around reading application notes for fun. But if hard pressed we would have to admit that we do read quite a few of them even if the concepts aren’t currently on our project list. That’s because they’re a great way to learn stuff and for the most part the information within is trustworthy.
The latest one that we looked at is this Maxim app note 5681 on recycling Lithium-ion batteries. It’s more a reuse than a recycle but you get the point. If you have some Lithium-Ion cells left over from older equipment this resource delivers a lot of good information on how to use them to power something else.
Obviously they’re showing off their own hardware here, but that’s okay. The MAX8677A chips has a ton of features and can be had for $3-5 depending on your vendor. It automatically switches between powering your device from the battery, or from the charging source if connected. This allows you to source up to 500mA when connected to USB or 2A when charging from an external DC supply. There is also all of the protection you would normally want with a Li-ion setup, including temperature monitoring.
The catch is the not-so-hand-solderable QFN package. They’ve got a solution to this as well. The diagram on the right shows how to hand solder the chip — albeit with a hot air pencil — by drilling through the board to get at the ground pad from the underside of the PCB.
[Thanks Jaded and Amos]
Using FTDI chips as a USB to Serial solution is nothing new, but this MicroFTX board takes the footprint to a new low. If you’re space limited this should have no problem fitting into your project. But if you plan to use it for prototyping we predict it’ll be lost in the parts bin forever as soon as you take your eyes off of it.
The USB Mini-B connector is becoming quite popular with hobby electronics these days. But here [Jim Paris] chose to use its little brother, the USB micro connector. Want to put this together by hand? How are you with 0402 footprints and QFN chips? In fact, there’s a ground pad on the bottom of that IC which means you really need to use a reflow oven to do the job right.
Aside from the diy-unfriendly fabrication size, we do like the design. There are four output pins (voltage, ground, TX, and RX) with a set of four solder jumpers to configure them. It can be powered from the USB port or an external connection, with the option for 5V or 3.3V output.
Take a few minutes to watch this amazingly informative video on how to solder QFN or MLF components without solder paste. The quality of the video and the information within is quite nice. Even if you don’t intend to work with these parts, you could pick up some tips for soldering with hot air.