Packages & Solderability#

The package a microcontroller comes in determines how the board is assembled, how prototyping works, and whether rework is feasible. A design that requires BGA reflow is not getting hand-assembled in a home lab. Conversely, choosing a DIP package for production adds unnecessary board area and limits MCU selection to a shrinking set of legacy parts. Package choice is a design constraint that affects the entire project lifecycle from first prototype to volume manufacturing.

DIP โ€” Through-Hole Prototyping#

Dual In-line Package (DIP) parts plug directly into breadboards and through-hole PCBs with 2.54 mm (0.1") pin spacing. The ATmega328P-PU (28-pin DIP) and PIC16F877A (40-pin DIP) are common examples. DIP packages are large โ€” a 28-pin DIP occupies roughly 35 x 7 mm โ€” and are limited to low pin counts. Almost no modern 32-bit MCU is available in DIP. Visual inspection and rework are trivial: each through-hole joint is fully visible, and desoldering requires only a solder sucker or wick. For prototyping with modern parts, breakout boards (Adafruit, SparkFun, dev modules) bridge the gap between surface-mount MCUs and breadboard workflows. SOIC (Small Outline IC) serves as a transitional form factor โ€” it uses surface-mount pads at 1.27 mm pitch, wide enough for hand soldering with a standard iron, while occupying roughly half the board area of DIP.

QFP โ€” The Hand-Solder Standard#

Quad Flat Package (QFP) variants โ€” LQFP, TQFP โ€” expose leads on all four sides at pitches from 0.8 mm down to 0.4 mm. LQFP-48 at 0.5 mm pitch (e.g., STM32F103C8T6) is reliably hand-solderable with a fine-tip iron, flux, and solder wick. LQFP-144 at 0.5 mm pitch (e.g., STM32F429ZIT6) is still manageable with drag soldering. Inspection is straightforward โ€” solder bridges and lifted pins are visible under a standard 10x loupe or stereo microscope, with no special equipment needed. Rework is equally accessible: individual pins can be reflowed with a soldering iron, and complete removal requires only hot air and patience. QFP remains the best choice for prototypes and low-volume production where hand assembly or rework is expected.

QFN โ€” Compact but Challenging#

Quad Flat No-lead (QFN) packages โ€” also called DFN or MLF โ€” have pads on the bottom edges and typically an exposed thermal pad underneath. A QFN-48 at 0.5 mm pitch (e.g., nRF52840-QIAA) is roughly 6 x 6 mm, significantly smaller than the equivalent LQFP. Hand soldering is possible with a hot-air station, flux, and careful technique, but the hidden pad underneath requires either a reflow oven or hot-plate soldering to make reliable thermal contact. Inspection is difficult โ€” shorts between pads under the package body are invisible without X-ray equipment. Even visible peripheral pads are harder to inspect than QFP leads because there is no gull-wing profile to judge wetting. Rework requires a hot-air station: the entire package must be heated evenly for removal, and the pad must be cleaned and retinned before replacement.

The exposed thermal pad demands careful PCB layout. IPC-7351 recommends solder paste coverage of 50โ€“80% on the thermal pad area, applied as a grid of smaller apertures rather than one large opening โ€” a single large aperture traps volatiles and causes the part to “tombstone” or float during reflow. Via-in-pad designs (thermal vias connecting the exposed pad to an internal ground plane) improve heat dissipation but require the vias to be filled and planarized (plugged vias) to prevent solder wicking down during reflow, which starves the joint. For prototype builds without via filling, tenting the vias from the bottom side with solder mask is an acceptable compromise.

BGA and WLCSP โ€” Reflow Only#

Ball Grid Array (BGA) packages (e.g., STM32H7 in TFBGA-240, 0.8 mm pitch) and Wafer-Level Chip-Scale Packages (WLCSP, 0.4 mm pitch) are the smallest options but require reflow soldering and X-ray inspection for quality assurance. A WLCSP part may be only 2 x 2 mm for a complete MCU, enabling extremely compact designs. These packages are appropriate for volume production with proper equipment and are effectively off-limits for hand prototyping. Board layout is more constrained โ€” BGA fanout requires multiple PCB layers (typically 4+), and via-in-pad design is standard.

BGA rework is a specialized process. Removing a BGA requires a dedicated rework station with programmable top and bottom heaters to follow a precise thermal profile โ€” ramping too fast cracks the package or lifts adjacent components. After removal, the PCB pads must be cleaned and inspected, and the replacement part may need reballing (applying new solder spheres to the BGA substrate) if the original balls were damaged. For production, X-ray inspection is the only reliable method to verify BGA solder joint quality โ€” visual inspection reveals nothing about the hundreds of joints hidden under the package body.

Prototype vs Production Package Strategy#

For early prototyping and bringup, DIP and SOIC packages (where available) or LQFP variants minimize assembly risk and maximize rework flexibility. A first prototype in LQFP-64 can be hand-assembled in an hour; the same MCU in QFN-48 may take a full afternoon with higher defect rates. As a design matures toward production, migrating to QFN or BGA reduces board area (often by 40โ€“60%) and improves high-frequency signal integrity due to shorter lead inductance. The migration path works best when the MCU offers the same die in multiple packages โ€” many STM32 parts are available in both LQFP and QFN with identical pinouts, allowing a package change without a schematic revision.

Thermal Considerations#

The package’s thermal resistance (theta-JA) determines how effectively the MCU dissipates heat. An LQFP-64 might have theta-JA of 40-50 C/W, while a QFN-48 with a properly soldered exposed pad achieves 20-25 C/W. For MCUs running at high clock speeds (STM32H7 at 480 MHz can dissipate 500+ mW), thermal performance directly affects maximum sustained clock speed. An unsoldered QFN thermal pad can raise junction temperature by 20-40 C under load, potentially triggering thermal shutdown or reducing device lifetime.

The following summary captures inspection and rework characteristics across package types:

PackageVisual InspectionRework ToolX-ray Needed?Hand-Assembly Feasibility
DIPTrivialSolder suckerNoEasy
SOICEasySoldering ironNoEasy
QFP (0.5 mm)10x loupeIron or hot airNoModerate
QFP (0.4 mm)MicroscopeHot airRarelyDifficult
QFNPeripheral pads onlyHot airRecommendedDifficult
BGANot possibleRework stationRequiredNot feasible
WLCSPNot possibleRework stationRequiredNot feasible

Tips#

  • Default to LQFP for first prototypes of new designs โ€” the ability to visually inspect every joint and rework individual pins saves significant debug time.
  • Invest in a hot-air rework station ($80-150 range) before attempting QFN โ€” it converts QFN from “nearly impossible” to “routine” for hand assembly.
  • Always apply solder paste to the exposed pad on QFN packages, even for hand-soldered prototypes โ€” use a syringe of solder paste and a hot plate or hot air from below.
  • Order stencils for any build with more than 5 boards โ€” laser-cut stainless stencils cost $10-25 from PCB vendors and dramatically improve QFN and fine-pitch QFP yield.
  • Verify that the chosen package has a dev board or breakout board available before committing โ€” soldering a BGA to evaluate an MCU is not a productive use of evaluation time.
  • For QFN thermal pads, use a grid of small stencil apertures (e.g., 1 mm squares on 1.5 mm centers) rather than one large aperture โ€” this prevents solder paste outgassing from shifting the part during reflow.
  • When routing a BGA, plan the layer stack and via strategy before placing other components โ€” BGA fanout often dictates the minimum layer count for the entire board.

Caveats#

  • QFN exposed pads are not optional โ€” Omitting solder on the thermal pad may work at room temperature on the bench but causes thermal failure, ground bounce, or both under real operating conditions.
  • Fine-pitch QFP below 0.4 mm is a different skill level โ€” 0.5 mm pitch is forgiving; 0.4 mm pitch requires magnification, thinner solder wick, and significantly more patience. The error rate roughly doubles.
  • BGA rework requires the right equipment โ€” Removing and replacing a BGA MCU needs a dedicated rework station with bottom heating and profiled top heating. A standard hot-air gun risks damaging adjacent components.
  • WLCSP has no leads to inspect โ€” There is literally nothing visible to confirm solder quality without X-ray or electrical testing. Functional testing becomes the only verification path for prototypes.
  • Package availability varies by MCU variant โ€” The same MCU die may be offered in LQFP-100, QFN-68, and BGA-144, but each package exposes different GPIO counts and peripheral access. The datasheet pin table must be checked per package.

In Practice#

  • An MCU that resets randomly under load on a QFN board but works perfectly on a dev board with the same firmware almost certainly has a poorly soldered or unconnected exposed thermal pad.
  • Solder bridges on fine-pitch QFP (visible under magnification as shiny connections between adjacent pins) are the most common hand-assembly defect and are easily corrected with flux and solder wick.
  • A prototype run where 3 out of 10 QFN boards fail to program likely has pad alignment issues โ€” checking the stencil aperture sizing and paste deposition with a loupe before reflow catches most of these.
  • A compact production design that uses BGA to save board space but then requires 3 board revisions due to assembly defects often would have reached market faster with a larger QFP layout and fewer fabrication issues.
  • An MCU running 10-15 C hotter than expected in a QFN package despite adequate airflow is usually missing thermal vias under the exposed pad โ€” adding a grid of 0.3 mm vias to an internal ground plane can drop junction temperature by 10-20 C.
  • A production build that passes electrical testing but fails field reliability often has marginal BGA joints that crack under thermal cycling โ€” X-ray inspection during process qualification catches these before they become field returns.
  • A design team that selects a WLCSP package to meet size constraints but lacks X-ray inspection capability at the assembly house faces a quality assurance gap โ€” functional test coverage must be thorough enough to catch solder defects that cannot be seen.
Page last modified: February 28, 2026