From d41c06bf45ff24b7fd878b9c7b557cdbacb15ae8 Mon Sep 17 00:00:00 2001 From: Dan White Date: Fri, 17 Feb 2012 16:37:10 -0600 Subject: [PATCH] Add footprints of remaining packages --- sch-pcb/devboard/atoi-5.sch | 4 +- sch-pcb/devboard/atoi-6.sch | 2 +- sch-pcb/devboard/atoi.gsch2pcb | 5 +- ...150LT-150WT__ADI_LFCSP_Package.footprinter | 114 ++++++++++++++++++ ...00L1-16N-150LT-150WT__ADI_LFCSP_Package.fp | 25 ++++ 5 files changed, 145 insertions(+), 5 deletions(-) create mode 100755 sch-pcb/fp/VQFN-50P-300L1-16N-150LT-150WT__ADI_LFCSP_Package.footprinter create mode 100644 sch-pcb/fp/VQFN-50P-300L1-16N-150LT-150WT__ADI_LFCSP_Package.fp diff --git a/sch-pcb/devboard/atoi-5.sch b/sch-pcb/devboard/atoi-5.sch index fc31b21..aa6ea62 100644 --- a/sch-pcb/devboard/atoi-5.sch +++ b/sch-pcb/devboard/atoi-5.sch @@ -19,7 +19,7 @@ pageof=?? C 41600 47700 1 0 0 adp323-1.sym { T 45100 51700 5 10 0 0 0 0 1 -footprint=LFCSP_WQ-16N__ADI.fp +footprint=VQFN-50P-300L1-16N-150LT-150WT__ADI_LFCSP_Package.fp T 43500 51000 5 10 1 1 0 3 1 refdes=U501 T 43500 51000 5 10 0 0 0 0 1 @@ -86,7 +86,7 @@ N 53600 48700 53800 48700 4 C 41600 42500 1 0 0 adp323-1.sym { T 45100 46500 5 10 0 0 0 0 1 -footprint=LFCSP_WQ-16N__ADI.fp +footprint=VQFN-50P-300L1-16N-150LT-150WT__ADI_LFCSP_Package.fp T 43500 45800 5 10 1 1 0 3 1 refdes=U502 T 43500 45800 5 10 0 0 0 0 1 diff --git a/sch-pcb/devboard/atoi-6.sch b/sch-pcb/devboard/atoi-6.sch index a58821b..fce7733 100644 --- a/sch-pcb/devboard/atoi-6.sch +++ b/sch-pcb/devboard/atoi-6.sch @@ -258,7 +258,7 @@ pintype=in ] { T 52300 43700 5 10 0 0 0 0 1 -footprint=TSSOP_16N__TI +footprint=TSSOP-65P-640L1-16N T 51300 49400 5 10 1 1 0 3 1 refdes=U603 } diff --git a/sch-pcb/devboard/atoi.gsch2pcb b/sch-pcb/devboard/atoi.gsch2pcb index 9208d74..1e4d83e 100644 --- a/sch-pcb/devboard/atoi.gsch2pcb +++ b/sch-pcb/devboard/atoi.gsch2pcb @@ -1,5 +1,6 @@ skip-m4 use-files -elements-dir fp -schematics atoi-1.sch +elements-dir ../waeda-fp +elements-dir ../fp +schematics atoi-1.sch atoi-2.sch atoi-3.sch atoi-4.sch atoi-5.sch atoi-6.sch atoi-7.sch atoi-8.sch output-name atoi diff --git a/sch-pcb/fp/VQFN-50P-300L1-16N-150LT-150WT__ADI_LFCSP_Package.footprinter b/sch-pcb/fp/VQFN-50P-300L1-16N-150LT-150WT__ADI_LFCSP_Package.footprinter new file mode 100755 index 0000000..780e182 --- /dev/null +++ b/sch-pcb/fp/VQFN-50P-300L1-16N-150LT-150WT__ADI_LFCSP_Package.footprinter @@ -0,0 +1,114 @@ +#!/usr/bin/env python +# -*- coding: ASCII -*- +'''Analog Devices LFCSP-16 +name CP-16-27 +from ADP322 / ADP323 datasheet +and http://www.intersil.com/data/pk/L16.3x3.pdf +equivalent to TI RGT package +''' +import sys +from footprinter import * + +# +# PCB fab minimums +# +MASK_SWELL = mil(5.0) +MIN_TRACE = mil(6.0) +MIN_SPACE = mil(6.0) +MIN_PAD_ANNULUS = mil(15.0) +MIN_VIA_ANNULUS = mil(10.0) + +# pcb's coordinates are graphics oriented +# x in increasing right +# y in increasing DOWN + +SILK_LINEWIDTH = mil(8.0) + + +padw = mm(0.60) +padh = mm(0.23) +ccspace = mm(2.80) +pitch = mm(0.50) + +bodyw = mm(3.0) +bodyh = mm(3.0) + +epw = mm(1.5) +eph = mm(1.5) + +npins = 16 + +pads = [] + +# even pins per side +if ((npins/4) % 2) == 0: + startpos = -pitch * (npins/8 - 0.5) +# odd pins per side +else: + startpos = -pitch * (npins/8) + +for side in range(4): + # pin num increasing in dimension coodinate + if side in (0,1): + incdir = 1 + # pin num increases in opposite direction of coordinate increment + else: + incdir = -1 + + for i in range(npins/4): + pinnum = 4*side + i + 1 + + row = incdir*(startpos + i*pitch) + + if side in (0,2): + xyxy = [ -incdir * ccspace/2 - padw/2, row - padh/2, + -incdir * ccspace/2 + padw/2, row + padh/2 ] + else: + xyxy = [ row - padh/2, incdir * ccspace/2 - padw/2, + row + padh/2, incdir * ccspace/2 + padw/2 ] + + + pad = Pad(pinnum, xyxy, + MIN_SPACE, MASK_SWELL, name=str(pinnum), sflags='square') + pads.append(pad) + +#exposed pad +pads.append( + Pad(npins+1, + [ -epw/2, -eph/2, + epw/2, eph/2 ], + MIN_SPACE, MASK_SWELL, name='EP', sflags='square') + ) + +# silkscreen +lines = [] +lines.append(ElementBox( + -((ccspace + padw + SILK_LINEWIDTH)/2 + MIN_SPACE), + -((ccspace + padw + SILK_LINEWIDTH)/2 + MIN_SPACE), + ((ccspace + padw + SILK_LINEWIDTH)/2 + MIN_SPACE), + ((ccspace + padw + SILK_LINEWIDTH)/2 + MIN_SPACE), + SILK_LINEWIDTH)) + +# pin 1 mark +lines.append(ElementLine( + -((ccspace + padw + SILK_LINEWIDTH)/2 + MIN_SPACE), + -bodyh/2, + -bodyw/2, + -((ccspace + padw + SILK_LINEWIDTH)/2 + MIN_SPACE), + SILK_LINEWIDTH)) + + + +fp = Footprint( + padpins=pads, + linearcs=lines, + sflags='', + description='' + ) + +fp.mx = 0 +fp.my = 0 +fp.tx = 0 +fp.ty = 0 +fp.write(sys.stdout) + diff --git a/sch-pcb/fp/VQFN-50P-300L1-16N-150LT-150WT__ADI_LFCSP_Package.fp b/sch-pcb/fp/VQFN-50P-300L1-16N-150LT-150WT__ADI_LFCSP_Package.fp new file mode 100644 index 0000000..bc3fdfe --- /dev/null +++ b/sch-pcb/fp/VQFN-50P-300L1-16N-150LT-150WT__ADI_LFCSP_Package.fp @@ -0,0 +1,25 @@ +Element ["" "" "" "" 0nm 0nm 0nm 0nm 0 100 ""] +( +Pad [-1585000nm -750000nm -1215000nm -750000nm 230000nm 152400nm 484000nm "1" "1" "square"] +Pad [-1585000nm -250000nm -1215000nm -250000nm 230000nm 152400nm 484000nm "2" "2" "square"] +Pad [-1585000nm 250000nm -1215000nm 250000nm 230000nm 152400nm 484000nm "3" "3" "square"] +Pad [-1585000nm 750000nm -1215000nm 750000nm 230000nm 152400nm 484000nm "4" "4" "square"] +Pad [-750000nm 1215000nm -750000nm 1585000nm 230000nm 152400nm 484000nm "5" "5" "square"] +Pad [-250000nm 1215000nm -250000nm 1585000nm 230000nm 152400nm 484000nm "6" "6" "square"] +Pad [250000nm 1215000nm 250000nm 1585000nm 230000nm 152400nm 484000nm "7" "7" "square"] +Pad [750000nm 1215000nm 750000nm 1585000nm 230000nm 152400nm 484000nm "8" "8" "square"] +Pad [1215000nm 750000nm 1585000nm 750000nm 230000nm 152400nm 484000nm "9" "9" "square"] +Pad [1215000nm 250000nm 1585000nm 250000nm 230000nm 152400nm 484000nm "10" "10" "square"] +Pad [1215000nm -250000nm 1585000nm -250000nm 230000nm 152400nm 484000nm "11" "11" "square"] +Pad [1215000nm -750000nm 1585000nm -750000nm 230000nm 152400nm 484000nm "12" "12" "square"] +Pad [750000nm -1585000nm 750000nm -1215000nm 230000nm 152400nm 484000nm "13" "13" "square"] +Pad [250000nm -1585000nm 250000nm -1215000nm 230000nm 152400nm 484000nm "14" "14" "square"] +Pad [-250000nm -1585000nm -250000nm -1215000nm 230000nm 152400nm 484000nm "15" "15" "square"] +Pad [-750000nm -1585000nm -750000nm -1215000nm 230000nm 152400nm 484000nm "16" "16" "square"] +Pad [0nm 0nm 0nm 0nm 1500000nm 152400nm 1754000nm "EP" "17" "square"] +ElementLine [-1954000nm -1954000nm -1954000nm 1954000nm 203200nm] +ElementLine [-1954000nm 1954000nm 1954000nm 1954000nm 203200nm] +ElementLine [1954000nm 1954000nm 1954000nm -1954000nm 203200nm] +ElementLine [1954000nm -1954000nm -1954000nm -1954000nm 203200nm] +ElementLine [-1954000nm -1500000nm -1500000nm -1954000nm 203200nm] +) -- 2.25.1