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

285 Commits

Author SHA1 Message Date
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
Werner Almesberger
11202dde8c atusb: since we always drive TST, we don't need the pull-down
- atusb.sch (R2): removed TST pull-down
2010-11-30 05:36:02 -03:00
Werner Almesberger
370cf83041 atusb: use Johanson 2450FB15L0001 instead of discrete balun circuit
- components/balun-smt6.lib: balun using all six contacts (for Johanson
  2450FB15L0001)
- components/INFO: added balun-smt6.lib
- components/INFO (balun): added BOOKSHELF reference (to "748421245")
- AUTHORS: added forgotten balun.lib and new balun-smt6.lib
- atrf.sch: replaced discrete balun with integrated balun
- atrf.sch (C3): replaced output DC block with 0R resistor
2010-11-30 05:25:58 -03:00
Werner Almesberger
0463d30d89 atusb: switch from mini-USB receptacle to full-size USB plug
This way, we can plug the device into a USB port, like a USB stick.
We use a real plug (instead of shaping the PCB in the form of a plug)
for better mechanical stability.

- atusb.pro: change from components/mini_usb_b to components/usb_a_plug
- usb.sch (CON1): replace MINI_USB_B with USB_A_PLUG
2010-11-30 04:56:31 -03:00
Werner Almesberger
ee6c945db9 atusb: shrink C2 pads to test point size
The C2 pads were originally sized for permanently soldering a 100 mil
header. For development, a temporary connection is sufficient. Eventually,
we will just use pogo pins to make this connection.

- usb.sch: changed C2 pads from PAD_120x60 to PAD_60x60
- usb.sch: added comment that pads should be spaced at 100 mil interval
2010-11-30 04:45:54 -03:00
Werner Almesberger
6b639b2d1e atusb: remove test points from MCU-RF interconnect
- atusb.sch: removed test points for signals going between USB and RF side
- atusb.sch: TST is no longer a rework item - removed comment saying it is
- atusb.sch, usb.sch, atrf.sch: bumped version number to 100930
2010-11-30 04:34:22 -03:00
Werner Almesberger
fa08ac3f79 ants: added 105% and 115% antennas
- ants/meander.fpd: added 105% and 115% antennas
- ants/cam/pcb.pl: added sizes for 105% and 115% antennas
2010-11-29 01:25:42 -03:00
Werner Almesberger
eafb2a226f fix glitch in fft.c and add scripts to display data sets without temp file
- usrp/doall: new script to directly evaluate and plot data sets
- usrp/fft.c (fft_complex): don't square the magnitude
- usrp/plscan: if an argument name has the form title=name, use "name" as
  the file name and "title" as the title
2010-11-29 01:10:23 -03:00
Werner Almesberger
404a0eea04 ants: 80% antenna and adaptation of CAM script for various antenna sizes
- ants/meander.fpd: added 80% antenna
- ants/cam/pcb.pl: parametrized PCB size
- ants/cam/pcb.pl: defined PCB sizes for the various antenna sizes
2010-11-26 12:23:03 -03:00
Werner Almesberger
83d216244c usrp: support DCT in addition to complex FFT
- usrp/evscan (usage, main): treat all arguments but the last as options
  and pass them to "fft"
- usrp/fft.c (fft_complex, do_fft): moved actual FFT calculation to
  separate function
- usrp/fft.c (fft_real, do_fft): added real-valued FFT (DCT) as alternative
- usrp/fft.c (main): undocumented option -a to set the FFT algorithm
2010-11-26 12:16:34 -03:00
Werner Almesberger
59beaba426 usrp/plscan: truncate title at the last dot, not the first
- usrp/plscan: change ${n%%.*} to ${n%.*}
- usrp/README: updated description
2010-11-17 14:11:50 -03:00
Werner Almesberger
66f6ad6f7c usrp/README: described how to perform and evaluate a measurement run 2010-11-17 13:50:13 -03:00
Werner Almesberger
45d5946435 usrp/plscan: instead of echo ... sed ..., just use ${n%%.*} 2010-11-17 13:45:19 -03:00
Werner Almesberger
e31144ff5f usrp/fscan: fail if the directory name begins with a dash 2010-11-17 13:24:11 -03:00
Werner Almesberger
b7ad7f2a31 usrp/README: clarified distance between antennas and fixed typos in examples 2010-11-17 13:22:01 -03:00
Werner Almesberger
3684c0765a usrp/: new tools to run, evaluate, and plot a full frequency scan
- usrp/fscan: perform a frequency scan in my test setup
- usrp/evscan: determine the frequency-dependent signal strength from a
  frequency scan
- usrp/plscan: plot one or more data sets produced by evscan
2010-11-17 13:12:56 -03:00
Werner Almesberger
cc5090b179 usrp/README: description of the preparation for antenna measurements. 2010-11-16 21:17:33 -03:00
Werner Almesberger
c4d906bd8b usrp/range: obtain avg/min/max from a series of values and eliminate outliers 2010-11-16 21:16:41 -03:00
Werner Almesberger
489acc49a5 usrp/fft: one more analysis tool for antenna measurements
- usrp/fft.c: utility to read a set of samples obtained with
  usrp2_rx_cfile.py and to perform a Fourier transform on them
- usrp/Makefile: use LDLIBS for libraries, not LDFLAGS
- usrp/Makefile: added "fft"
2010-11-16 20:28:03 -03:00
Werner Almesberger
6f8665e5a2 scripts/fpd2pdf: moved over to eda-tools 2010-11-13 18:47:36 -03:00
Werner Almesberger
bb548642dc scripts/fpd2pdf (usage): don't call the input files .pdf - they're .fpd ! 2010-11-13 18:45:55 -03:00
Werner Almesberger
e76af7dd9a usrp/: gave tools slightly more self-explaining names
- usrp/d.c: renamed to avg.c
- usrp/p.c: renamed to peak.c
- usrp/Makefile (all): renamed for d and p
- usrp/plot: renamed to plpk
2010-11-12 11:56:12 -03:00
Werner Almesberger
044c1528c7 usrp/plot: enable grid and accept center sensitivity from the command line 2010-11-12 11:54:17 -03:00
Werner Almesberger
417ef7b8c1 usrp/p: cleanup and more command-line control
- usrp/p.c (find_peak, main): moved data processing to separate function
- usrp/p.c (find_peak, usage, main): new option -s skip to set the number
  of samples to skip (default: 0)
- usrp/p.c (find_peak, usage, main): new option -d to dump the histogram
  instead of picking the peak
- usrp/p.c (find_peak, usage, main): the percentile can now be set on the
  command line (default: 0.9)
2010-11-12 11:54:17 -03:00
Werner Almesberger
38e5b8a3a9 usrp/d: cleanup and allow number of samples to be set on command line 2010-11-12 11:54:13 -03:00
Werner Almesberger
d78dd4ee8c usrp/: move first "step" runs to directory usrp/step/ 2010-11-12 11:44:51 -03:00
Werner Almesberger
000c087789 fw/atusb/atusb.c: make the LED flash 1/4 the previous time in test mode
This is purely for esthetical reasons.
2010-11-11 21:40:03 -03:00
Werner Almesberger
22288a2932 atrf-txrx can now run a shell command while emitting a test wave
- atrf-txrx.c (test_mode, usage, main): optionally run a shell command while
  in test mode
- atrf-txrx.c (usage): explain all parameters
2010-11-11 21:31:15 -03:00
Werner Almesberger
b2049e7074 Various items in CNTR referred to ATSPI/atspi
- cntr/tools/Makefile, cntr/fw/cntr/descr.c, cntr/fw/cntr/Makefile: files
  were originally from ATSPI/ATRF and has comments left over from there
2010-11-11 10:56:42 -03:00
Werner Almesberger
7f9488e156 The Great ATSPI Renaming, part 11: TODO update and fix script using a tool
- TODO: changed reference to atspi-txrx to atrf-txrx
- TODO: removed renaming from the list of pending issues
- usrp/step: atspi-txrx is now called atrf-txrx
2010-11-11 10:52:39 -03:00
Werner Almesberger
d1953cd47f The Great ATSPI Renaming, part 10: more title comment fixes
- atusb/fw/boot/Makefile: still referred to the project as ATSPI (not ATRF)
  in title comment
- atusb/fw/include/atusb/usb-ids.h: still had old atspi path in title comment
2010-11-11 10:47:39 -03:00
Werner Almesberger
4d7cb125ee atusb.sch: mention that the TST connection is a rework and not in the layout 2010-11-11 10:36:57 -03:00