1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-26 22:07:12 +02:00

qfp.fpd: added Maxim C48 and Analog Device ST-48 variant

This commit is contained in:
Adam Wang 2012-05-25 18:19:04 +08:00
parent 6ee60a4607
commit bd5c1c3515
2 changed files with 62 additions and 23 deletions

View File

@ -64,6 +64,29 @@ N: sot617-3-lp
# "Generic" simple QFP (for now, just for Silabs' C8051F320) # "Generic" simple QFP (for now, just for Silabs' C8051F320)
F: qfp F: qfp
#
# - the C8051F320 data sheet
# http://www.silabs.com/Support%20Documents/TechnicalDocs/C8051F32x.pdf
#
# according to MAXIM web: http://www.maxim-ic.com/design/packaging/
# the LQPF48/TQFP48 referred to the same package drawing and land pattern
#
# - LQFP48, TQFP48: C48 -> package drawing
# http://pdfserv.maxim-ic.com/package_dwgs/21-0054.PDF
#
# - LQFP48, TQFP48: C48 -> package land pattern
# http://pdfserv.maxim-ic.com/land_patterns/90-0093.PDF
#
# according to Analog Device web:
# http://www.analog.com/en/technical-library/packages/qfp-quad-flat-pack/lqfp-1_4mm-thick/index.html
#
# - LQFP48: ST-48 -> package drawing
# http://www.analog.com/static/imported-files/packages/PKG_PDF/LQFP(ST)/ST_48.pdf
# note that its D and E (i.e. 9 mm) doesn't meet to land pattern suggested below as a total 8.8 mm
#
# - LQFP48: ST-48 -> package land pattern
# http://www.analog.com/static/imported-files/footprints/LQFP/ST-48.pdf
#
# Mini-USB B receptable (SMT; almost generic) # Mini-USB B receptable (SMT; almost generic)
F: mini_usb_b F: mini_usb_b

View File

@ -9,7 +9,9 @@ frame pad {
__0: vec @(px, py) __0: vec @(px, py)
__1: vec @(-px, -py) __1: vec @(-px, -py)
pad "$pin" __0 . pad "$pin" . __0
__2: vec @(px, -py)
__3: vec @(-px, py)
} }
frame side { frame side {
@ -33,41 +35,55 @@ frame pads {
frame side . frame side .
} }
frame index {
}
frame outline { frame outline {
set mx = D1/2 table
{ index, dx, dy }
{ 1, -1, 0 }
{ 0, 0, -1 }
{ 0, 1, 0 }
{ 0, 0, 1 }
set my = E1/2 set cx = (dx*C1+dy*C2)/2
set cf = 0.8 set cy = (dy*C2-dx*C1)/2
set rf = (1-cf)/2 set ax = -Y1/2*dx
set r = mx*rf set ay = -Y1/2*dy
__0: vec @(mx, my) set bx = -Y1/2*dy
__1: vec @(-mx, -my)
rect . __0 w set by = Y1/2*dx
__2: vec @(-mx*cf, my*cf)
__3: vec .(0mm, r) __0: vec @(cx, cy)
circ __2 . w 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 "$name" package "QFP$pins-$variant"
unit mm unit mm
table table
{ name, pins, X1, Y1, e, C1, C2, D1, E1 } { variant, pins, X1, Y1, e, C1, C2, D1, E1 }
{ "LQFP32", 32, 0.45mm, 1.3mm, 0.8mm, 8.45mm, 8.45mm, 7mm, 7mm } { "SiLabs", 32, 0.45mm, 1.3mm, 0.8mm, 8.45mm, 8.45mm, 7mm, 7mm }
{ "Maxim_C48", 48, 0.27mm, 1.45mm, 0.5mm, 8.2mm, 8.2mm, 7mm, 7mm }
set X2 = X1+(pins/4-1)*E { "AD_ST-48", 48, 0.3mm, 0.8mm, 0.5mm, 8mm, 8mm, 7mm, 7mm }
set Y2 = X2
set w = 5mil set w = 5mil
frame pads @ frame pads @
frame outline @ frame outline @
measy pad.__1 -> pad.__0 1mm measy pad.__1 -> pad.__0 2.5mm
meas side.__0 -> side.__0 -1.6mm
meas pad.__2 -> pad.__1 -0.5mm
meas pad.__1 -> pad.__2 -1.5mm
measy side.__0 >> side.__0 3.5mm
measy pad.__1 >> pad.__1 4mm
measx pads.__0 >> side.__0 -7.5mm
measx pad.__0 >> pad.__2 -5mm
measy pad.__0 >> pad.__3 3mm
measx pad.__3 >> pad.__1 -4mm