fix(tqfp): tqfp44 defaults to 0.8mm pitch and 0.55mm pad width - #793
Open
zkasuran wants to merge 1 commit into
Open
fix(tqfp): tqfp44 defaults to 0.8mm pitch and 0.55mm pad width#793zkasuran wants to merge 1 commit into
zkasuran wants to merge 1 commit into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.tsgroupedcase 44with the 0.5mm-pitch parts (48/64/100), sotqfp44came 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_pins44 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_w10vs KiCadTQFP-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%).tests/kicad-parity/tqfp44_kicad_parity.test.tswith pcb and boolean-difference svg snapshots.tqfp44_w10test to assert the corrected 0.55mm pad width and a 44-pad count.bun run buildandbunx 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, plusbunx biome format .. I own the change and will address review feedback.