Date:2011-01-23 04:49:20 (8 years 9 months ago)
Author:Werner Almesberger
Commit:3a59aef2427f54d9a07e97e6b3f84fb97828c866
Message:qfn.fpd: corrected center pads, and general cleanup

- 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
Files: modules/qfn.fpd (2 diffs)

Change Details

modules/qfn.fpd
11/* MACHINE-GENERATED ! */
22
3frame center {
4    set pin = pins+1
3frame paste_pad {
4    __0: vec @(SX/2, SY/2)
5    __1: vec @(-SX/2, -SY/2)
6    pad " " . __0 paste
7}
58
6    set x = D2+2*go
9frame paste {
10    set x = SE*(xi-SNX/2-0.5)
711
8    set y = E2+2*go
12    set y = SE*(yi-SNY/2-0.5)
913
10    set go = 5mil
14    loop xi = 1, SNX
1115
12    set gi = 5mil
16    loop yi = 1, SNY
1317
14    set spx = D2-2*gi
18    __0: vec @(x, y)
19    frame paste_pad .
20}
1521
16    set spy = E2-2*gi
22frame center {
23    set pin = pins+1
1724
18    __0: vec @(x/2, y/2)
19    __1: vec @(-x/2, -y/2)
25    __0: vec @(X2/2, Y2/2)
26    __1: vec @(-X2/2, -Y2/2)
2027    pad "$pin" . __0 bare
21    __2: vec @(spx/2, -spy/2)
22    __3: vec @(-spx/2, spy/2)
23    pad "$pin" . __2 paste
28    frame paste @
2429}
2530
2631frame pad {
...... 
9398    line __2 . w
9499}
95100
96package "QFN$pins"
101package "QFN$pins-$variant"
97102unit mm
98103
99104table
100    { pins, X1, Y1, E, C1, C2, D2, E2 }
101    { 28, 0.25mm, 0.9mm, 0.5mm, 4.8mm, 4.8mm, 3.15mm, 3.15mm }
102    { 32, 0.29mm, 0.9mm, 0.5mm, 5.1mm, 5.1mm, 3.3mm, 3.3mm }
103
104set X2 = X1+(pins/4-1)*E
105
106set Y2 = X2
105    { pins, variant, X1, Y1, X2, Y2, E, C1, C2, SE, SNX, SNY, SX, SY }
106    { 28, "SiLabs", 0.25mm, 0.9mm, 3.3mm, 3.3mm, 0.5mm, 4.8mm, 4.8mm, 1.1mm, 3, 3, 0.9mm, 0.9mm }
107    { 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 }
108    { 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 }
107109
108110set w = 5mil
109111
110__0: vec @(D2/2, E2/2)
111112frame pads @
112113frame center @
113114frame outline @
114115measy side.__0 >> side.__0 3mm
115116meas side.__0 -> side.__0 -1mm
116measy center.__1 >> center.__0 2mm
117measy center.__1 >> center.__0 2.3mm
117118measy pad.__1 >> pad.__1 3.5mm
118119measy pad.__1 -> pad.__0 1mm
119120meas pad.__1 -> pad.__2 -1mm
120measy center.__2 >> center.__3 -2mm
121measy paste_pad.__1 -> paste_pad.__0 1.8mm
122measy paste.__0 -> paste.__0 -C1
123measy paste_pad.__1 >> paste_pad.__0 -C1-1mm

Archive Download the corresponding diff file



interactive