Date:2012-06-07 07:42:15 (7 years 1 month ago)
Author:Adam Wang
Commit:eb8132ce8e6b43a2f04ab5c151cfcebf7929a93b
Message:xtal-2.fpd: added 2-pins smd xtal pattern -> xtal2-11.5mmx4.83mm

Files: modules/INFO (1 diff)
modules/xtal-2.fpd (1 diff)

Change Details

modules/INFO
306306# USB 2.0 from usb_20_040908, page 99
307307F: usb-a-pcb
308308
309# 2-pins rectangular smd xtal
310F: xtal-2
311#
312# - xtal2-11.5mmx4.83mm package drawing, land pattern
313# for example R49SSA-028636-F20-YYY-YQA
314# http://downloads.qi-hardware.com/hardware/milkymist_one/datasheet/VideoIn/Qi%20R49SSA-028636-F20-YYY-YQA.pdf
315#
316
309317# 4-pins rectangular smd xtal
310318F: xtal-4
311319#
312# - xtal4-3.2mm*2.5mm package drawing, land pattern
320# - xtal4-3.2mmx2.5mm package drawing, land pattern
313321# for example NX3225SA
314322# http://www.ndk.com/images/products/catalog/c_NX3225SA-STD-CSQ-1_e.pdf
315323#
316# - xtal4-6mm*3.6mm package drawing, land pattern
324# - xtal4-6mmx3.6mm package drawing, land pattern
317325# for example ABMM2-24.576MHZ-E2-T
318326# http://www.abracon.com/Resonators/ABMM2.pdf
319327#
modules/xtal-2.fpd
1/* MACHINE-GENERATED ! */
2
3frame pad {
4    __0: vec @(Px/2, Py/2)
5    __1: vec @(-Px/2, -Py/2)
6    pad "$pin" . __0
7}
8
9frame pads {
10    table
11        { pin, dx, dy }
12        { 1, -1, -1 }
13        { 2, 1, -1 }
14
15    __0: vec @(dx*Gx/2, 0mm)
16    frame pad .
17}
18
19frame outline {
20    table
21        { px, py, x, y }
22        { 0mm, Dy/2+w, Dx+2*w, 0mm }
23        { 0mm, -Dy/2-w, Dx+2*w, 0mm }
24        { -(Dx+2*w)/2, Dy/2+w-Py/2, 0mm, Py }
25        { -(Dx+2*w)/2, -(Dy/2+w-Py/2), 0mm, Py }
26        { (Dx+2*w)/2, Dy/2+w-Py/2, 0mm, Py }
27        { (Dx+2*w)/2, -(Dy/2+w-Py/2), 0mm, Py }
28
29    __0: vec @(px, py)
30    __1: vec .(x/2, y/2)
31    __2: vec __0(-x/2, -y/2)
32    line . __1 w
33}
34
35package "xtal2-${Dx}x${Dy}"
36unit mm
37
38table
39    { Dx, Dy, Gx, Ix, Px, Py }
40    { 11.5mm, 4.83mm, Px+Ix, 3mm, 5.5mm, 1.5mm }
41
42set w = 5mil
43
44frame pads @
45frame outline @
46measy pad.__1 -> pad.__0 1mm
47measx pad.__1 -> pad.__0 -1mm
48measy outline.__0 >> outline.__0 -(Gx/2+Px/2+1mm)
49measx pad.__0 >> pad.__1 1mm
50measx outline.__2 >> outline.__1 -1mm
51meas pads.__0 >> pads.__0 3mm

Archive Download the corresponding diff file

Branches:
master



interactive