1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 23:25:54 +02:00
Commit Graph

316 Commits

Author SHA1 Message Date
Werner Almesberger
04d3cec2ba atusb/usb.sch: typo in VR1 footprint, should be 0402 instead of 0403 2011-01-03 15:41:51 -03:00
Werner Almesberger
59ae88ddf4 atusb/cam2: renamed to atusb/cam 2011-01-03 13:43:54 -03:00
Werner Almesberger
2ac2420227 atusb/cam: it's obsolete now - removed 2011-01-03 13:43:10 -03:00
Werner Almesberger
fd76be6f91 atusb.brd: increased RF ground zone
- atusb.brd: increased RF ground zone by 150 mil in an attempt to reduce
  interferences between the the antenna and the rest of the circuit
- atusb.brd: added more vias around and inside the RF ground zone
- atusb.brd: set version to 20110102
2011-01-02 18:02:46 -03:00
Werner Almesberger
478bfb558f atusb.brd: moved via and bumped version number
- atusb.brd: moved nRST_RF MCU-side via away from SLP_TR via, to avoid
  accidental solder bridges
- atusb.brd: increased version number to 20101230
2010-12-30 01:28:23 -03:00
Werner Almesberger
6a7b2de8b3 atusb/fw/atusb/Makefile: pass board version to cpp (when determining USB ID) 2010-12-29 20:42:06 -03:00
Werner Almesberger
f33b86b317 atusb.brd: reduced XTAL front ground to shorted "tongue" between pads 24 and 25 2010-12-29 18:51:01 -03:00
Werner Almesberger
cec090f7b2 atusb.brd: more layout cleanup to improve solderability
Traces leaving a pad on the side may invite solder bridges to "false pads"
exposed at the edges of the chip, with unknown consequences.

- atusb.brd: make trace from P0.0 (IRQ_RF) leave pad at the front, not
  at the side
- atusb.brd: make trave from P0.7 (SCLK) leave pad at front, not at the
  side
2010-12-29 17:45:50 -03:00
Werner Almesberger
6f956290c3 atusb/cam2/mkmk: double backslash to put into generated makefile
With one backslash, the newline was removed, so it still worked. It just
looked odd.
2010-12-29 17:44:08 -03:00
Werner Almesberger
7514fa8400 atusb.brd: added via from nRST/C2CK, to allow for addition of pull-up
- atusb.brd: nRST may need an external pull-up to VDD. Added via to bring
  nRST and VDD within reach (pull-up suggested by Joerg Reisenweber)
- atusb.brd: increased version to 20101229
2010-12-29 03:32:49 -03:00
Werner Almesberger
ed591cf635 atusb.brd: increased zone clearance from 8 mil to 10 mil, for solderability 2010-12-29 02:22:32 -03:00
Werner Almesberger
228eb2091b atusb/Makefile: add --fill-all-zones to PLOT_BRD, to make sure zones are filled 2010-12-28 13:05:44 -03:00
Werner Almesberger
aae86ca644 atusb/Makefile: move common plot command parts to variable $(PLOT_BRD) 2010-12-28 13:02:43 -03:00
Werner Almesberger
3385afca0d atusb: added "clean" targets to main and CAM makefile
- Makefile: added "clean" target
- cam2/Makefile: added "clean" target (for file generated in cam2/)
- cam2/mkmk: added "clean" target to generated makefile
2010-12-27 23:50:00 -03:00
Werner Almesberger
a0b064bd79 atusb/cam2/: streamlined CAM data processing, added generation of prerequisites
- mkmk: call generated makefile "Makefile.mkmk"
- Makefile: generate mkmk prerequisites, run mkmk, and execute targets in
  Makefile.mkmk
2010-12-27 23:37:10 -03:00
Werner Almesberger
fe607055f7 atusb/Makefile: targets "front" and "back" to print layers for toner transfer 2010-12-27 23:20:42 -03:00
Werner Almesberger
5dde617de5 atusb.brd: saving with the zones filled, to avoid surprises 2010-12-27 23:14:41 -03:00
Werner Almesberger
d5f7820329 atusb/fw/common/config.h: corrected BOARD_xxx names in #if defined() 2010-12-19 21:19:16 -03:00
Werner Almesberger
8f2dbf73f0 atusb/cam2/mkmk: compensate deflection when cutting the board outline 2010-12-19 21:17:58 -03:00
Werner Almesberger
63e17049f9 atusb: more small layout improvements
- atusb.brd: increase clearance between RF clock front ground area and MCU
  (ground area acted as solder trap)
- atusb.brd: route nRST_RF trace out of corner (to avoid accidental
  contact)
- atusb.brd: don't route VBUS corner trace underneat chip (for general
  tidiness)
- atusb.brd: bumped version to 20101219
2010-12-19 20:24:40 -03:00
Werner Almesberger
429e054e57 atusb.brd: several small solderability improvements
- atusb.brd: reduced RF front ground area to avoid interconnections very
  close to the chip
- atusb.brd: reduced RF power front ground area to avoid interconnections
  very close to the chip
- atusb.brd: moved via next to TXRX pad 18 (GND) to make room for making
  CLK trace leave the pad at its end, not at its side
- atusb.brd: bumped design date to 20101217
2010-12-17 23:39:27 -03:00
Werner Almesberger
3cb382744a usb.sch: explain how the the ID pin works 2010-12-17 23:04:37 -03:00
Werner Almesberger
9fa026eae5 atusb.brd: avoid track leaving pad 16 of U2 laterally, for better solderability 2010-12-17 23:02:00 -03:00
Werner Almesberger
ad2c72fa7f atusb: firmware update for the 2010-12-16 board series
- fw/Makefile: replaced "make" with $(MAKE) (just for style)
- common/Makefile.common: Makefile settings shared within project. For now,
  this contains only the board version, which defaults to 2010-12-16.
- fw/common/Makefile, fw/boot/Makefile, fw/atusb/Makefile: include
  common/Makefile.common
- fw/common/Makefile, fw/boot/Makefile, fw/atusb/Makefile: pass board
  version to cpp and gcc
- fw/atusb/atusb.c (init_io): individually set IRQ_RF to one, LED and TST
  to zero
- fw/atusb/atusb.c (init_io): added macros to set all unused pins to zero
  in a way that doesn't need updating if a signal moves from one pin to
  another
- include/atusb/ep0.h: added hardware type 1 (2010-12-16 design)
- common/config.h: set hardware type depending on board version
- common/io.h: assign pins depending on board version
2010-12-17 23:01:31 -03:00
Werner Almesberger
ba310a8ce4 atusb: updated and improved CAM script
- atusb/cam2/mkmk: updated for new board
- atusb/cam2/mkmk: further increased board to board spacing, to reduce
  board deflection
- atusb/cam2/mkmk: decreased nominal mill diameter to 20 mil to compensate
  for board/tool deflection
- atusb/cam2/mkmk: added target "dplot" to visualize the sequence in which
  holes are drilled
2010-12-16 16:35:06 -03:00
Werner Almesberger
d7719afb5b atusb.brd: removed stray pad
- atusb.brd: bumped version number to 20101216
- atusb.brd: removed stray TST pad
2010-12-16 05:18:21 -03:00
Werner Almesberger
1bef41f0d7 mkmk: further improvements and updates
- mkmk: adjust board position
- mkmk: reorder output such that the edge is cut last, reducing board shift
- mkmk: reduce nominal mill diameter for large holes and slots, to increase
  hole/slot size
- mkmk: generate "plot" target in Makefile, to visualize the output
- mkmk: use toolpath file for "cngt" instead of calculating the reference
  point manually
2010-12-16 04:56:01 -03:00
Werner Almesberger
000d270b85 atusb/cam2/mkmk: new-style CAM script
Run ./mkmk to generate toolpaths and a Makefile. Then
make cng	changes tools (used for drill and mill)
make drill	does the drilling
make mill	does the milling
2010-12-16 02:39:10 -03:00
Werner Almesberger
fbd3e530db ecn/ecn0007.txt: Revised via spacing (for the antenna) 2010-12-06 18:58:56 -03:00
Werner Almesberger
b8877e0cf2 atusb: add automatic board revision detection; clean up feed line
- usb.sch: use P0.2 as board revision ID pin
- atrf.sch: label feed line
- atusb.brd: set feed line width via design rule, not as user size
- atusb.brd: increase feed line width from 18 mil to 19 mil (it should be
  58 mil, but we don't have room for more)
2010-12-02 23:56:03 -03:00
Werner Almesberger
876e12b0a9 atusb/cam: updated CAM process for new board
- cam/Makefile: added "spool" target
- cam/pcb.pl: removed rotation
- cam/pcb.pl: updated board outline (now it's just a rectangle)
- cam/pcb.pl: updated step sizes
2010-12-02 23:27:16 -03:00
Werner Almesberger
fb2694116a atusb: bumped version number to 20101202
- atusb.brd: bumped version number to 20101202
- atusb.brd: put version number on PCB
- atusb.sch, usb.sch, atrf.sch: bumped version number to 20101202
2010-12-02 22:05:27 -03:00
Werner Almesberger
a641eb7198 atusb: move traces to coincide with thermal relief
- atusb.brd: moved traces into USB plug such that they coincide with
  thermal relief
- atusb.brd: moved trace into antenna ground such that it coincides
  with thermal relief
2010-12-02 21:56:52 -03:00
Werner Almesberger
c7d485a395 atusb/atusb.brd: added ground zones on front layer as well 2010-12-02 21:02:29 -03:00
Werner Almesberger
8a3a428e35 atusb: added bottom ground zones (on-going)
- atusb.pro: reduced edge and drawing line width from 15 mil to 5 mil
- atusb.brd: added ground zones on bottom layer
- atusb.brd: moved IRQ_RF and VDD traces for better ground area coverage
2010-12-02 20:48:44 -03:00
Werner Almesberger
20c0517010 atusb.brd: more layout work (on-going)
- atusb.brd: move antenna to its rightful place
- atusb.brd: added two more GND vias after antenna move
- atusb.brd: added proper board edge
- atusb.brd: added board dimensions (16.3 x 33.2 mm)
- atusb.brd: moved via next to C11 closer to C11 and away from RF section
2010-12-02 17:34:23 -03:00
Werner Almesberger
ecaab606e9 atusb.brd: new layout (in progress)
- atusb.brd: update for component changes
- atusb.brd: change board orientation to mimick USB stick
- atusb.brd: add vias, mainly around the antenna (before: 24 vias, now: 35)
2010-12-02 12:18:11 -03:00
Werner Almesberger
36ea2be989 atusb: rearrange I/Os for new layout
- usb.sch: rotated and reordered TST, nRST_RF, SLP_TR, SCLK, MISO, MOSI,
  and nSS for new layout
- atrf.sch: commit noise
2010-12-02 12:16:49 -03:00
Werner Almesberger
c2b489d0bb usrp: adjust outlier rejection and signal range for improved antennas
- usrp/evscan: reduce outlier limit from 10 dB to 5 dB
- usrp/plscan: raise lower bound from -40 dB to -30 dB
2010-12-01 23:57:15 -03:00
Werner Almesberger
60d78fdbb5 usrp/fscan: results are now quite stable, so 20 instead of 100 runs are enough 2010-12-01 23:37:34 -03:00
Werner Almesberger
521dab850d atusb: remove two unnecessary test points
- atrf.sch (P15): removed TST test point
- usb.sch (P10): removed nSYSCLK test point
- atusb.sch: commit noise
2010-12-01 13:28:05 -03:00
Werner Almesberger
e137bc42c5 atusb/cam: modernize, and change setup for current workpiece
- atusb/cam/doit: new workpiece parameters
- atusb/cam/doit: use "cameo", increase feed rate, increase tool clearance
- atusb/cam/pcb.pl: removed radii from toolpath (cameo takes care of them)
2010-12-01 11:08:41 -03:00
Werner Almesberger
9ad0609d97 atusb: updated footprint assignment
- atusb/atusb.pro: instead of modules/meander, use experimental ants/meander
- atusb/atusb.pro: typo - it's modules/usb_a_plug_smt, not
  modules/usb_a_plug
- atusb/atusb.cmp (ANT1): change antenna from "meander" to "MEANDER-110"
  (10% enlarged)
- atusb/atusb.cmp (CON1): change from "miniUSB_B" USB receptacle to
  "USB-A-PLUG-SMT" plug
- atusb/atusb.cmp (VR1, VR2, VR3): update value from schematics
2010-12-01 11:08:41 -03:00
Werner Almesberger
8ea171512b usrp/range: more useful diagnostic output and harden against underflows
- usrp/range: ignore "-inf" values
- usrp/range: print the average value when reporting an outlier
2010-12-01 11:08:41 -03:00
Werner Almesberger
e52b92f00f usrp/doall: usage and allow passing of arguments to evscan as well
Examples:

doall 'run/*'				# no arguments
doall -o foo.png 'run/*'		# arguments for plscan
doall -a 1 -- -o foo.png 'run/*'	# arguments for evscan and plscan

- usrp/doall: added usage()
- usrp/doall: arguments before -- are passed to evscan
2010-12-01 11:08:41 -03:00
Werner Almesberger
b3c0b4bf62 usrp: update filtering and display for uncorrupted measurement setup
We now have a much wider dynamic range of the signal (with better SNR).
The outliers are mainly WLAN interferences.

- usrp/evscan: changed threshold from -50 dB to -70 dB
- usrp/evscan: increase outlier tolerance from 2 dB to 10 dB
- usrp/plscan: changed display range from [-35:-25] to [-40:-5]
2010-12-01 11:08:16 -03:00
Werner Almesberger
04972bb2f6 ants/cam: update for latest workpiece
- ants/cam/doit: coordinates for new workpiece
- ants/cam/pcb.pl: new margins (specific to workpiece)
- ants/cam/pcb.pl: changed width and slot (specific to board being cut)
2010-12-01 10:44:17 -03:00
Werner Almesberger
40d1234bf4 usrp: try to bring back sanity to pre- and post-processing of FFT data
The pre- and post-processing of FFT data was tweaked based on results
obtained from a mis-configured measurement setup, in an only partially
successful attempt to right the wrong data.

- usrp/fft.c (fft_complex): square the magnitude on output but don't
  square the scaling
- usrp/fft.c (fft_real): square the magnitude on input (does this make
  sense ?)
- usrp/fft.c (fft_real): scale the output with the square root of the
  FFT size (dubious)
2010-12-01 10:32:43 -03:00
Werner Almesberger
fea4ee551a usrp/README: change threshold to avoid making section reference look like a typo
- usrp/README: changed threshold from 50 to 60, such that the reference
  "5)" right next to it doesn't look like a mistyped "50"
2010-12-01 10:30:02 -03:00
Werner Almesberger
23c37261b7 atusb: use 0402 as the preferred component size and replace bad TVS
We know from CNTR that the capacitance of the 0603 TVS (EPCOS CT0603M4G,
200 pF) is too large and can disturb the USB signal. The 0402 TVS
(Panasonic EZJ-P0V080GA, 100 pF) works much better.

Since we have lots of 0402 components already, just change the remaining
0603 to 0402, too.

- usb.sch (VR1, VR2, VR3): change from 0603 to 0402 and from 5V5 to 5V6
- usb.sch (C1, C2, R1): change from 0603 to 0402
- atrf.sch (R3): set footprint to 0402
- atusb.pro: replaced modules/mini-usb with modules/usb_a_plug
- atusb.pro: removed extension from components/balun-smt6.lib
- atusb.cmp: update footprints for above changes
- atusb.cmp: change 0402 to 0402-M and 0603 to 0603-M, for easier
  soldering
2010-11-30 06:39:48 -03:00