Skip to content

feat: implement UTDFN-4-EP (1x1mm) footprint - #704

Open
chengdazhi wants to merge 1 commit into
tscircuit:mainfrom
chengdazhi:feat/utdfn-4-ep
Open

feat: implement UTDFN-4-EP (1x1mm) footprint#704
chengdazhi wants to merge 1 commit into
tscircuit:mainfrom
chengdazhi:feat/utdfn-4-ep

Conversation

@chengdazhi

Copy link
Copy Markdown

Closes #183

Summary

Implements utdfn for the UTDFN-4-EP (1x1mm) package — 4 signal pads on the top/bottom rows plus a centered exposed pad on a 1.0 x 1.0mm body. This is the package used by the JLCPCB parts linked in the issue (FP6182-28X7, MIC5366-xYMT).

Dimensions follow two independent manufacturer references for this package class:

  • Diodes X2-DFN1010-4 (Type B) package outline + suggested pad layout (AP7354 datasheet / package drawing): pitch e = 0.65mm, pads X × Y = 0.35 × 0.35mm, outer spans X3 = 1.00mm / Y2 = 1.10mm, center pad 0.53 × 0.53mm, pad-to-EP gap X1 = 0.112mm.
  • Micrel/Microchip 4-pin 1x1mm Thin MLF (MT) (MIC5365/6 datasheet): body 1.0 x 1.0mm, pitch 0.625 BSC, EP 0.50 x 0.50mm — compatible with the same land pattern (0.65mm vs 0.625mm pitch differs by 0.025mm and pads fully cover both terminal positions).

Because a square 0.53mm exposed pad would overlap plain rectangular pads in this tiny package, each signal pad reproduces the manufacturer's suggested layout as a polygon with the inner corner chamfered at 45° (0.24mm legs, measured from the Diodes drawing). This keeps ≥0.11mm pad-to-EP clearance (matching X1 = 0.112mm), and a test asserts the pads never overlap the exposed pad.

Supported strings: utdfn_4_ep, utdfn4_ep, UTDFN-4-EP, UTDFN-4-EP(1x1) (JLCPCB package name).

Verification

  • bun test → 437 pass / 0 fail (new snapshot + alias + pad-overlap tests in tests/utdfn.test.ts)
  • bun run build succeeds
  • No KiCad parity test: the KiCad footprint library has no DFN-4 1x1mm footprint to compare against (checked Package_DFN_QFN.pretty).

Note: this PR was prepared with assistance from an AI coding agent; dimensions were verified against the manufacturer documents linked above.

Add utdfn for the ultra-thin DFN 4-pin 1.0x1.0mm package with exposed
pad, used by JLCPCB parts such as FP6182-28X7 and MIC5366-xYMT.

Dimensions follow the Diodes X2-DFN1010-4 (Type B) package outline and
suggested pad layout (pitch 0.65mm, 0.35x0.35mm pads with the inner
corner chamfered for exposed-pad clearance, 0.53x0.53mm center pad),
which also matches the Micrel 4-pin 1x1mm Thin MLF (MT) package.

- src/fn/utdfn.ts: chamfered polygon signal pads + rect exposed pad,
  corner silkscreen marks and pin-1 arrow, courtyard
- footprinter string support: utdfn_4_ep, utdfn4_ep and hyphenated
  aliases UTDFN-4-EP(1x1) / UTDFN-4-EP
- snapshot and alias tests, plus a pad/exposed-pad overlap check
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.

Implement UTDFN-4-EP(1x1)

1 participant