Skip to content

fix(tqfp): tqfp44 defaults to 0.8mm pitch and 0.55mm pad width - #793

Open
zkasuran wants to merge 1 commit into
tscircuit:mainfrom
zkasuran:fix/tqfp44-pitch-and-pad-width
Open

fix(tqfp): tqfp44 defaults to 0.8mm pitch and 0.55mm pad width#793
zkasuran wants to merge 1 commit into
tscircuit:mainfrom
zkasuran:fix/tqfp44-pitch-and-pad-width

Conversation

@zkasuran

@zkasuran zkasuran commented Aug 9, 2026

Copy link
Copy Markdown

What

TQFP-44 is a 10x10mm 0.8mm-pitch package (JEDEC MS-026 BBA), the same pitch and pad width as TQFP-32. src/fn/tqfp.ts grouped case 44 with the 0.5mm-pitch parts (48/64/100), so tqfp44 came out at 0.5mm pitch with 0.30mm pad width. That matches no real TQFP-44 and drifts far from the KiCad footprint.

This moves num_pins 44 into the same pitch and pad-width case as 32 (0.8mm pitch, 0.55mm pad width). Pad length was already 1.475mm and is unchanged.

Closes #792.

Verification

  • tqfp44_w10 vs KiCad TQFP-44_10x10mm_P0.8mm: courtyard diff 0.03%, pad-area diff 0.00%. That is the same parity bar the tqfp32/64/100 tests hold (< 0.5%).
  • New tests/kicad-parity/tqfp44_kicad_parity.test.ts with pcb and boolean-difference svg snapshots.
  • Extended the existing tqfp44_w10 test to assert the corrected 0.55mm pad width and a 44-pad count.
  • Sibling tqfp32/48/64/100 parity tests still pass, no regression. bun run build and bunx biome format . are clean.

AI assistance

AI (Claude, Anthropic) was used to write this change. Verified locally before submitting: the new tqfp44 kicad-parity test (0.03% courtyard, 0% pad area vs KiCad), the tqfp32/48/64/100 parity tests, bun run build, plus bunx biome format .. I own the change and will address review feedback.

TQFP-44 is a 10x10mm 0.8mm-pitch package (JEDEC MS-026 BBA), the same pitch
and pad width as TQFP-32. Its defaults were grouped with the 0.5mm-pitch parts
(48/64/100), so `tqfp44` produced a 0.5mm pitch with 0.30mm pad width. That
matches no real TQFP-44 and drifts far from the KiCad footprint.

Move num_pins 44 into the 0.8mm-pitch, 0.55mm-pad case alongside 32. With the
fix, tqfp44_w10 matches KiCad TQFP-44_10x10mm_P0.8mm to 0.03% courtyard diff
and 0% pad-area diff. Adds a kicad-parity test and guards the corrected
defaults in the existing tqfp44_w10 test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tqfp44 generates a 0.5mm pitch with 0.30mm pads, but TQFP-44 is a 0.8mm-pitch part

1 participant