Root/modules/zx62-b-5pa.fpd

Source at commit 7f3f9267cb007e13eca0af273f9eedad0c6c5659 created 1 year 6 months ago.
By Werner Almesberger, components/stm32.lib: add STM32L052x6/8 in QFN32 (KxU) package
1/* MACHINE-GENERATED ! */
2
3frame signals {
4    table
5        { sx, sy }
6        { 0.4mm, 1.35mm }
7
8    set e = 0.65mm
9
10    table
11        { ?rev, signal }
12        { 0, n }
13        { 1, 6-n }
14
15    loop n = 1, 5
16
17    __0: vec @(0mm, by)
18    __1: vec .((n-3)*e, 0mm)
19    __2: vec .(-sx/2, 0mm)
20    __3: vec __1(sx/2, -sy)
21    pad "$signal" __2 .
22}
23
24frame rpads {
25    table
26        { rox, rix }
27        { 8.3mm, 4.1mm }
28
29    set ry = 1.6mm
30
31    table
32        { dx }
33        { -1 }
34        { 1 }
35
36    set pad = 6.5+dx/2
37
38    __0: vec @(0mm, by)
39    __1: vec .(rox/2*dx, 0mm)
40    __2: vec .(0mm, -ry)
41    __3: vec __0(rix/2*dx, 0mm)
42    pad "$pad" __2 .
43}
44
45frame mpads {
46    table
47        { n, mox, mix }
48        { 0, 9.8mm, mix0 }
49        { 1, mox1, 0.5mm }
50
51    set my = 1.9mm
52
53    table
54        { dx }
55        { -1 }
56        { 1 }
57
58    set pad = 9.5+1.5*dx-n*dx
59
60    __0: vec @(mox/2*dx, 0mm)
61    __1: vec .(0mm, -my/2)
62    __2: vec @(mix/2*dx, 0mm)
63    __3: vec .(0mm, my/2)
64    pad "$pad" __1 .
65}
66
67frame edge {
68    table
69        { ex, ey }
70        { 7.9mm, 1.45mm }
71
72    __0: vec @(0mm, -ey)
73    __1: vec .(-ex/2, 0mm)
74    __2: vec __0(ex/2, 0mm)
75    line __1 . w
76}
77
78package "ZX62$var"
79unit mm
80
81set w = 0.2mm
82
83set sx = 7.9mm
84
85set by = 3.35mm
86
87table
88    { var, rev, mix0, mox1 }
89    { "-B-5PA", 0, 6.2mm, 4.3mm }
90    { "R-B-5P", 1, 6.6mm, 3.9mm }
91
92frame edge @
93frame mpads @
94frame rpads @
95frame signals @
96measx mpads.__1 >> mpads.__1 -2.5mm
97measx mpads.__2 >> mpads.__2 -2.5mm
98measx edge.__1 >> edge.__2 -1.5mm
99measy mpads.__1 -> mpads.__3 1mm
100measy rpads.__2 -> rpads.__1 1mm
101measy rpads.__0 << mpads.__0 -1mm
102measy edge.__2 >> mpads.__0 -2mm
103measy signals.__1 << signals.__1
104measx signals.__1 >> signals.__1 1mm
105measx rpads.__3 >> rpads.__3 1.5mm
106measx rpads.__1 >> rpads.__1 2mm
107measy signals.__3 -> signals.__1 0.5mm
108

Archive Download this file

Branches:
master



interactive