mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 22:09:34 +02:00
3a59aef242
- qfn.fpd: package names now also include the variant (for now: SiLabs, VHHD-2, or VHHD-6) - qfn.fpd: inlarged center pad of QFN28-SiLabs (was QFN28) from 3.25 mm to 3.3 mm - qfn.fpd: reverted QFN32-VHHD6 (was QFN32) to original geomtry - qfn.fpd: introduced QFN32-VHHD2 for the ATmega32U2 - qfn.fpd: distribute solder paste in little islands (in progress) - qfn.fpd: deleted stray unused vector in root frame
124 lines
2.0 KiB
Plaintext
124 lines
2.0 KiB
Plaintext
/* MACHINE-GENERATED ! */
|
|
|
|
frame paste_pad {
|
|
__0: vec @(SX/2, SY/2)
|
|
__1: vec @(-SX/2, -SY/2)
|
|
pad " " . __0 paste
|
|
}
|
|
|
|
frame paste {
|
|
set x = SE*(xi-SNX/2-0.5)
|
|
|
|
set y = SE*(yi-SNY/2-0.5)
|
|
|
|
loop xi = 1, SNX
|
|
|
|
loop yi = 1, SNY
|
|
|
|
__0: vec @(x, y)
|
|
frame paste_pad .
|
|
}
|
|
|
|
frame center {
|
|
set pin = pins+1
|
|
|
|
__0: vec @(X2/2, Y2/2)
|
|
__1: vec @(-X2/2, -Y2/2)
|
|
pad "$pin" . __0 bare
|
|
frame paste @
|
|
}
|
|
|
|
frame pad {
|
|
set px = (dx*X1+dy*Y1)/2
|
|
|
|
set py = (dy*X1+dx*Y1)/2
|
|
|
|
set pin = side*pins/4+i+1
|
|
|
|
__0: vec @(px, py)
|
|
__1: vec @(-px, -py)
|
|
pad "$pin" __0 .
|
|
__2: vec @(px, -py)
|
|
}
|
|
|
|
frame side {
|
|
set pos = i-(pins/4-1)/2
|
|
|
|
loop i = 0, pins/4-1
|
|
|
|
__0: vec @(E*pos*dx, E*pos*dy)
|
|
frame pad .
|
|
}
|
|
|
|
frame pads {
|
|
table
|
|
{ side, dx, dy }
|
|
{ 0, 0, -1 }
|
|
{ 1, 1, 0 }
|
|
{ 2, 0, 1 }
|
|
{ 3, -1, 0 }
|
|
|
|
__0: vec @(dy*C1/2, -dx*C2/2)
|
|
frame side .
|
|
}
|
|
|
|
frame index {
|
|
}
|
|
|
|
frame outline {
|
|
table
|
|
{ index, dx, _, dy }
|
|
{ 1, -1, 0, 0 }
|
|
{ 0, 0, 0, -1 }
|
|
{ 0, 1, 0, 0 }
|
|
{ 0, 0, 0, 1 }
|
|
|
|
set mx = dx*C1/2
|
|
|
|
set my = dy*C2/2
|
|
|
|
set cx = mx+my
|
|
|
|
set cy = my-mx
|
|
|
|
set ax = -Y1/2*dx
|
|
|
|
set ay = -Y1/2*dy
|
|
|
|
set bx = -Y1/2*dy
|
|
|
|
set by = Y1/2*dx
|
|
|
|
__0: vec @(cx, cy)
|
|
w: vec .(ax, ay)
|
|
line __0 . w
|
|
__2: vec __0(bx, by)
|
|
line __0 . w
|
|
__1: vec .(index*(ax-bx), index*(ay-by))
|
|
line __2 . w
|
|
}
|
|
|
|
package "QFN$pins-$variant"
|
|
unit mm
|
|
|
|
table
|
|
{ pins, variant, X1, Y1, X2, Y2, E, C1, C2, SE, SNX, SNY, SX, SY }
|
|
{ 28, "SiLabs", 0.25mm, 0.9mm, 3.3mm, 3.3mm, 0.5mm, 4.8mm, 4.8mm, 1.1mm, 3, 3, 0.9mm, 0.9mm }
|
|
{ 32, "VHHD-2", 0.26mm, 0.69mm, 3.7mm, 3.7mm, 0.5mm, 5.1mm, 5.1mm, 0.8mm, 3, 3, 0.5mm, 0.5mm }
|
|
{ 32, "VHHD-6", 0.26mm, 0.69mm, 3.4mm, 3.4mm, 0.5mm, 5.1mm, 5.1mm, 1.2mm, 2, 2, 0.7mm, 0.7mm }
|
|
|
|
set w = 5mil
|
|
|
|
frame pads @
|
|
frame center @
|
|
frame outline @
|
|
measy side.__0 >> side.__0 3mm
|
|
meas side.__0 -> side.__0 -1mm
|
|
measy center.__1 >> center.__0 2.3mm
|
|
measy pad.__1 >> pad.__1 3.5mm
|
|
measy pad.__1 -> pad.__0 1mm
|
|
meas pad.__1 -> pad.__2 -1mm
|
|
measy paste_pad.__1 -> paste_pad.__0 1.8mm
|
|
measy paste.__0 -> paste.__0 -C1
|
|
measy paste_pad.__1 >> paste_pad.__0 -C1-1mm
|