Offsets › JLCPCB › LQFP-48

LQFP-48 rotation for JLCPCB: +270°

A 48-pin LQFP in a 7 × 7 mm body at 0.5 mm pitch. Used for mid-size MCUs. Twelve leads per side, gull-wing, pin 1 marked by a dot and a chamfered corner. JLCPCB delta 270°.

KiCad 0° → CPL 270° on top, 90° on the bottom. Offset: +270°.

The offset comes from the community rotation table rule ^LQFP-.*. LQFP is a quad flat pack with gull-wing leads on all four sides and 0.5 mm pitch (0.8 mm on the 32-pin size). Pin 1 is marked by a dot and a chamfered corner in KiCad; JLCPCB's library draws the same package rotated 270° relative to KiCad, so the delta is 270°. With 64–144 pins, a 90° error shorts power to ground on some pins — verify the dot in the JLCPCB placement preview, not just the number.

Worked rotation table

KiCad rotationCPL rotation — topCPL rotation — bottom
0°270°90°
90°0°0°
180°90°270°
270°180°180°

Read it as: if KiCad says LQFP-48 is at 0°, write 270° in the CPL for a top-side part and 90° for a bottom-side part. Top: (rot + 270) % 360. Bottom (JLCPCB): (180 − rot + 270) % 360.

Pin-1 diagram

Top side — final 270°KiCad 0° → CPL 270°Bottom side — final 90°KiCad 0° → CPL 90°

The dot is pin 1. The arrow is the direction pin 1 points after the offset is applied, for a part KiCad drew at 0°. Top is cyan, bottom is amber. The diagram is schematic — it shows direction, not the package outline to scale.

How the JLCPCB bottom layer works

For JLCPCB, the bottom-side formula is (180 − rot + delta) % 360 — a bottom part is seen from below, so its rotation is mirrored before the delta is added. Mid Y is also negated (KiCad Y points down, JLCPCB Y points up) and Mid X is unchanged (bottomMirrorX is false). The (360 − rot + delta) formula you will see in some write-ups is wrong: it agrees at 0° and 180° but rotates every 90°/270° part by 180°.

Package: LQFP-48 · 48 pins · 0.5 mm pitch · body 7 × 7 mm · KiCad footprint LQFP-48_7x7mm_P0.5mm. Commonly used for: MCUs (STM32F103 in LQFP-64), and larger logic / interface ICs.

Verify in the JLCPCB placement preview. This offset comes from a community table (JLCKicadTools / Fabrication Toolkit), not from JLCPCB's library for your exact part number. If the preview's pin-1 mark disagrees with this page, trust the preview — it is final.

Fix your whole CPL file

Drop your KiCad .pos or Altium / Eagle .csv here — the normalizer applies this offset (and every other footprint's) and returns a corrected CPL for JLCPCB.

Drop a .pos or .csv file here, or click to choose one.


Related offsets