What the standard asks
Section 4, Assembly, modification, and repair, is worth 25% of the marks (WorldSkills Occupational Standards, Electronics, WorldSkills Shanghai 2026, checked 2026-11-25). It asks you to assemble surface-mount parts to industry standards and to replace them when needed. Fine-pitch chips are where that is hardest, and where a single hidden bridge can cost you a whole module.
The section page gives the outline: align, tack two corners, drag with flux, clear bridges. This lesson is the full method on one real chip, the STM32F103C8T6 in its LQFP-48 package, with times, settings, inspection and two electrical tests that prove the job before you rely on it.
IPC-A-610 has the acceptance criteria for gull-wing leads like these: how much of a lead may hang over its pad, and what the fillets at the heel and the toe must look like, for each class. They are in the standard, sold through the Global Electronics Association (IPC) (नए टैब में खुलता है). Our targets below are stricter and simpler, for practice.
The theory
The package
The LQFP-48 is a 7 × 7 mm body with 12 leads on each side at 0.5 mm pitch (STM32F103 datasheet, package section). Each lead is about 0.22 mm wide, so the gap between two leads is under 0.3 mm. Your 0.5 mm solder wire is wider than that gap.
The pins are numbered anticlockwise from the dot or bevel at pin 1: pins 1 to 12 down the left side, 13 to 24 along the bottom, 25 to 36 up the right side and 37 to 48 along the top. Pins 24 and 25 sit at the corner diagonally opposite pin 1.
Why it bridges, and why it does not
Molten solder is pulled by surface tension. With fresh flux, it prefers the clean metal of the lead and pad and pulls back out of the gap. A bridge forms when that pull loses: the flux is burnt or used up, too much solder is on the tip, or the tip moves too fast for the solder to separate. So the cure for a bridge is nearly always fresh flux and a cleaner tip, not more heat.
The heel, the toe and the lifted lead
A gull-wing lead bends down to a flat foot. The heel is the inside of the bend, and the joint there carries most of the strength. The toe is the outer end. Our target: a heel fillet you can see on every lead, the toe wetted, and no lead hanging over the side of its pad at 10x.
The defect people miss is the lifted lead. A bent lead can sit a few hundredths of a millimetre above its pad. From straight above, the pad looks soldered. From a low angle you see a dark line under the foot, and no solder climbing onto the lead. Electrically it is open.
Tools and settings
- A hoof or bevel tip about 2 mm across, or a mini-wave tip with a small cup that holds solder.
- Gel flux in a syringe, 1.5 mm desoldering wick, fine tweezers or a vacuum pick.
- A 10x to 20x stereo microscope, or a good loupe and a light you can move low.
- Our bench settings: 320 to 340 °C with leaded solder, 350 to 370 °C with lead-free.
Two tests that prove it
The diode test, power off. Every pin of the chip has a protection diode from its ground (VSS) to the pin. Put the meter on its diode range, the red lead on GND and the black lead on a pin. A pin that is joined to its pad reads the diode: about 0.4 to 0.7 V. A pin that is not joined reads OL. This finds open joints, one pin at a time. It cannot find a bridge between two signal pins: both still read a diode.
A test program, power on. Our bridge test finds bridges with no probe at all. It turns on every pin's internal pull-down: any pin that reads HIGH is joined to 3.3 V. Then every pull-up: any pin that reads LOW is joined to GND. Then it drives one pin HIGH at a time, with the rest pulled down: any other pin that reads HIGH is bridged to it. It prints the pin names and their package numbers, so you know exactly where to look. It leaves out the pins the board uses (the crystal, the LED, USB, the serial port and the programming pins), and you check those with the meter.
Worked example
Fitting an STM32F103C8T6 to a practice board, lead-free solder, hoof tip at 360 °C. The clock started at bare pads.
| Time | Step | What happened |
|---|---|---|
| 0:00 | Level the pads with wick and flux | Two pads had humps of old solder. Now flat |
| 1:30 | Flux all pads thinly. Place the chip, pin 1 to the board's dot | Checked all four sides at 10x: every lead centred |
| 3:30 | Tack pin 1. Check again. Tack pin 25 | The chip had moved 0.1 mm on the first tack. Re-melted pin 1 and nudged it back before tacking pin 25 |
| 4:30 | Drag each side, fresh flux before each | About 5 seconds a side |
| 6:30 | Clear bridges | Two bridges, pins 30 and 31, pins 43 and 44. Flux, clean tip, drag outwards: both gone |
| 8:00 | Inspect at 15x, low light | Pin 17 (PA7): lifted lead. Flux, then reflow while pressing the foot down lightly with the tweezers |
| 11:00 | Clean with IPA and a brush | Under the body too. Dried |
| 12:30 | Diode test on the suspect pins | PA7 now 0.52 V. Before the fix it read OL |
| 13:30 | Rail to GND, then power from a bench supply at 5 V, limit 100 mA | Normal resistance, normal current |
| 14:00 | Run the bridge test | One bridge found |
The program's report:
Test 1: all pulled down. HIGH means joined to 3.3 V
Test 2: all pulled up. LOW means joined to GND
Test 3: one pin HIGH at a time. Another HIGH means a bridge
bridge: PB13 (pin 26) and PB14 (pin 27)
1 fault(s). Fix them, then type r to test again.
A bridge between pins 26 and 27 hidden behind the heels, missed at inspection. Flux, a clean tip from the outside, then r in the serial terminal:
No bridges or shorts on the 25 pins tested.
Total 15 minutes: our State-level target. At World level, aim for under 10.
Practice task
- Get five cheap Blue Pill boards, or an LQFP-48 practice board and five chips.
- Remove the chip with hot air (the next lesson shows how), clean the pads, and fit it again with the method above. Time every step on the downloadable checklist.
- Before power: diode-test at least the 12 pins of one side. After power: flash the bridge test from STM32CubeIDE and run it. The Lab part below shows how to make it from our sketch.
- Log each fault you found, which test found it, and its cause.
- Repeat on the next board. Stop when two boards in a row pass both tests first time in under 15 minutes.
Common mistakes
- Tacking both corners before checking the alignment. Once two corners are down, a shifted chip means starting again. Tack one, check, then the second.
- Too much solder on the tip. Every pin bridges, then the wick strips the pads bare and starves the joints. A thin coat is enough.
- Pressing the tip into the leads. It bends them. Bent leads become lifted leads. Let the solder do the work, not the pressure.
- A second pass with no fresh flux. The first pass used it up. This is where most bridges come from.
- Pulling the wick off while the solder is solid. It tears the pads off. Lift the wick and the iron together, while it is molten.
- Inspecting only from straight above. Lifted leads and heel bridges hide there. Use a low light from each side.
- Chip turned 90°. Find pin 1 on the chip and on the board before you place it, every time.
- Powering a new fine-pitch board straight from the mains adapter. Use a bench supply with a low current limit, after a rail-to-GND check.
Self-check
- The gap between two leads on a 0.5 mm pitch LQFP is under 0.3 mm. Why does solder not simply fill it?
- You find a bridge after the drag. What two things do you change before you try to clear it?
- What is a lifted lead, and why does it pass a quick look from above?
- With the meter's diode test, red lead on GND and black on a pin, one pin reads OL and its neighbours read 0.5 V. What is the most likely fault?
- Why can the diode test not find a bridge between two signal pins, and what does?
- In the bridge test, why are pins that failed tests 1 or 2 never driven HIGH in test 3?
- Which pins does the bridge test leave out, and why?
Show answers
- Surface tension. With fresh flux, molten solder is pulled onto the clean metal of each lead and pad and away from the gap between them.
- Add fresh flux, and clean the tip so it carries only a little solder. Most bridges come from used-up flux or a loaded tip, not from too little heat.
- A lead whose foot sits just above its pad. The pad is soldered, so it looks right from above, but no solder joins the lead: it is open. A low-angle light shows the dark gap under the foot.
- An open joint on that pin, often a lifted lead. Reflow it with flux and test again.
- Both bridged pins still have their own protection diode to GND, so each reads normally. A test that drives one pin and reads the others finds it, such as our bridge test program.
- A pin that reads stuck HIGH or LOW may be shorted to a supply. Driving it could push a large current through the pin and damage it.
- PC13 (the LED), PC14 and PC15 (the 32 kHz crystal), PA9 and PA10 (the serial port), PA11 and PA12 (USB, and a Blue Pill pulls PA12 up), PA13 and PA14 (the programming pins: driving them would cut off the programmer) and PB2 (BOOT1). Their board connections would give false results. Check them with the meter.
Downloads
- pin_bridge_test.ino: the bridge test for an STM32F103C8, as a sketch for ARGYNIX Lab: the pin table in package order, the three tests and the report. The Lab part below shows how to move it to STM32CubeIDE for your own board.
- lqfp-fitting-checklist.md: the twelve steps with a time column, and a table for what you found.
Practise in ARGYNIX Lab
Open the pin bridge test on a Blue Pill in ARGYNIX Lab (नए टैब में खुलता है). Run it and read the Serial page: on the Lab's board every pin is clean, so you see the healthy report, three tests and "No bridges or shorts on the 25 pins tested." Read the code while it runs and follow each test in it. Type r to run it again.
The Lab's Blue Pill is a virtual board: it runs the program, but it does not model solder, so the Lab cannot show you a bridge. The real test is on a chip you soldered yourself, built in STM32CubeIDE. Make it from the sketch, in the USER CODE blocks of a CubeMX project for the STM32F103C8:
- Keep the sketch's pin table, with each pin as a port and a pin, such as
GPIOA, GPIO_PIN_0. - Set the pins with
HAL_GPIO_Init: ModeGPIO_MODE_INPUTwith PullGPIO_PULLDOWNorGPIO_PULLUPfor tests 1 and 2, andGPIO_MODE_OUTPUT_PPfor the pin you drive in test 3. Read each pin withHAL_GPIO_ReadPin. - Print the report with
HAL_UART_Transmiton USART1, PA9 and PA10, through a USB-to-serial adapter, and read therwithHAL_UART_Receive. - Set SYS Debug to Serial Wire in CubeMX. The generated code then turns JTAG off, which frees PA15, PB3 and PB4 for the test and keeps PA13 and PA14 for the ST-LINK.
Run it in your browser, then do it again on your own board.
Open in ARGYNIX Lab (नए टैब में खुलता है)