1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-24 18:19:54 +02:00
Commit Graph

900 Commits

Author SHA1 Message Date
Werner Almesberger
836c89e8fd atusb: replaced old chip components with updated ones
- atusb.brd, atusb.cmp: changed all 0402-M to the new 0402
- atusb.brd, atusb.cmp: changed 0603-M to the new 0603
- atusb.brd: updated layout for component changes
2011-01-22 12:53:47 -03:00
Werner Almesberger
8b62741328 atben: introduced optional antenna matching capacitor
- atben.sch (C12): optional antenna matching capactor (typ. 0.5 pF)
- atben.cmp, atben.brd: added C12
- atben.brd: updated 0402 footprint for changed courtyard
2011-01-22 12:04:18 -03:00
Werner Almesberger
77a302933e atben.sch: rearranged spacing in schematics to make more room at the feed line 2011-01-22 11:55:48 -03:00
Werner Almesberger
e4f38d2228 atben: updated for 0402 resizing
- atben.cmp: changed 0402-M to 0402
- atben.brd: updated all 0402-M to the new 0402
- atben.brd: re-routed traces to the new pad centers
2011-01-22 10:29:00 -03:00
Werner Almesberger
8703fc1a0b qfn.fpd: added measurements and improved design of the central pad
- qfn.fpd: where were no measurements at all - added them
- qfn.fpd: parametrize 0.1 mm border between central pad and land pattern
  and increase it from 0.1 mm to 5 mil (recommended by Adam Wang)
- qfn.fpd: define solder paste of central pad separately and give it a 5
  mil border to the pad edge, 10 mil to the copper edge (parameters
  recommended by Adam Wang)
2011-01-21 21:59:34 -03:00
Werner Almesberger
705864d076 atrf-txrx: new option -r to select data rate
- atrf-txrx.c (set_rate, main): allow setting a non-standard high data
  rate on the AT86RF231
- atrf-txrx.c (usage, main): added option -r to select the data rate
2011-01-20 19:42:52 -03:00
Werner Almesberger
f16224f575 atrf-txrx: new option -P to select ping mode
- atrf-txrx.c (struct ping, enum rx_res, ping_tx, ping_rx, ping): send
  back a packet containing a locally generated sequence number and the
  last sequence number received whenever a packet arrives
- atrf-txrx.c (usage, main): added option -P to select ping mode
2011-01-20 19:42:52 -03:00
Werner Almesberger
fc226b2b51 atrf-txrc.c (usage, main): changed -P to -E to free -P for other use 2011-01-20 12:41:49 -03:00
Werner Almesberger
6282c334bc perdump: print relative receive timestamp
- perdump.h (struct result_ops), perdump.c (analyze, pcap_record): pass
  receive timestamp to reporter
- per-text.c (t_line, flush, text_undecided, text_packet): print relative
  receive timestamp before each packet
2011-01-19 19:34:16 -03:00
Werner Almesberger
6002759464 tools/atrf-txrx/perdump: new utility to analyze a PER dump
- Makefile: added perdump
- perdump.h, perdump.c: read and analyze a PER dump in pcap format
- per-text.c: report PER test results as text on the console
2011-01-19 18:29:14 -03:00
Werner Almesberger
1fb05c221d misctxrx.c (wait_for_interrupt): let "ignore" control printing more tightly
When some interrupt(s) happened but the one(s) wait_for_interrupt was
waiting for weren't among them, it printed the list of interrupts
even if they were all in "ignore". This made sequences like RX_START
followed by TRX_END unnecessarily noisy.

Now, wait_for_interrupt only prints the pending interrupts if at
least one of them is not in "ignore".
2011-01-19 18:27:17 -03:00
Werner Almesberger
96e8fc6dbf atrf-txrx: renamed BER (bit error rate) test to PER (packet ...) test
- atrf-txrx.c (usage, main): changed option -B to -P
- atrf-txrx.c (usage): "BER test mode" is now "PER test mode"
- atrf-txrx.c (main): mode_ber is now mode_per
2011-01-19 18:27:17 -03:00
Werner Almesberger
ea81e70cf9 atrf-txrx: define the pcap file magic number (0xa1b2c3d4) in pcap.h
- pcap.h (PCAP_FILE_MAGIC): define the pcap file magic number
- atrf-txrx.c (write_pcap_hdr): use PCAP_FILE_MAGIC instead of open-coding
  the magic number
2011-01-19 18:27:16 -03:00
Werner Almesberger
999ce5302e atrf-txrx: added BER test pattern transmit mode
- atrf-txrx.c (main): indicate mode of operation in variable "mode" instead
  of dual-using "cont_tx"
- atrf-txrx.c (usage, main): added option -B to enter BER test pattern
  transit mode
- atrf-txrx.c (transmit_pattern): transmit raw frames with a cyclic frame
  number
2011-01-19 18:27:16 -03:00
Werner Almesberger
f9aee54323 atrf-txrx: added ability to record received frames in pcap format
- pcap.h: basic pcap file structure definitions
- atrf-txrx.c (usage, main): added option "-o file" to write received
  frames to a pcap file instead of displaying them
- atrf-txrx.c (receive): moved code to receive and display a single message
  into new function receive_message
- atrf-txrx.c (write_pcap_hdr, write_pcap_rec, receive_pcap): receive
  messages into a pcap file
2011-01-19 18:27:16 -03:00
Werner Almesberger
5407180c32 atrf-txrx: cleaned up the usage output
- atrf-txrx.c (usage): split options and arguments for different modi into
  separate sections
- atrf-txrx.c (usage): moved details for common options to a separate
  section
- atrf-txrx.c (usage): added -C mhz to synopsis
2011-01-19 01:11:48 -03:00
Werner Almesberger
c95761df59 cntr.brd: updated PAD_120x60 to update pad type 2011-01-18 16:00:09 -03:00
Werner Almesberger
478f600502 atben/Makefile (clean), atusb/Makefile (clean): remove Gerbers 2011-01-17 22:40:15 -03:00
Werner Almesberger
af4ce1f5f9 atusb.brd: removed unused Adhesive Front layer 2011-01-17 22:38:19 -03:00
Werner Almesberger
7d91ee60c6 atusb/Makefile: replaced board name by $(NAME) or pattern 2011-01-17 22:35:55 -03:00
Werner Almesberger
38fe79863a atben/README: manufacturing notes 2011-01-17 22:30:22 -03:00
Werner Almesberger
2c96bcb85a atben/atben.brd, atusb/atusb.brd: updated PAD_60x60 to update pad type 2011-01-17 22:29:09 -03:00
Werner Almesberger
d64464293f atben.brd: updated 8_10-card, to update pad type 2011-01-17 22:18:51 -03:00
Werner Almesberger
c6532c7435 meander.fpd: use new pad type "trace" without solder paste and mask opening
- ants/meander.fpd: changed all pads from "normal" to "trace"
- atben/atben.brd, atusb/atusb.brd: updated MEANDER-110
2011-01-17 22:18:51 -03:00
Werner Almesberger
98b43876ef great atusd -> atben renaming: update references in bom/ as well
- Makefile (all, spotless): changed all occurrences of "atusd" to "atben"
- atrf.sub, atrf.inv: uSD-Card is now 8:10-card
2011-01-17 12:25:43 -03:00
Werner Almesberger
5281f2c5a2 great atusd -> atben renaming: use 8_10-card.fpd instead of usd-card.fpd
- atben.pro (LibName5) : use ../../kicad-libs/modules/8_10-card instead of
  ../../kicad-libs/modules/usd-card
- atben.sch: use footprint "8:10-card" instead of "uSD-Card"
- atben.cmp, atben.brd: updated for renaming of usd-card.fpd
2011-01-17 12:18:35 -03:00
Werner Almesberger
1cd079ee82 great atusd -> atben renaming: changed remaining references in tools/
- Makefile.common (MACROS_ben_jlime, MACROS_ben_openwrt), lib/atrf.c
  (atrf_open): changed HAVE_USD to HAVE_BEN
- lib/atben.c: changed "uSD version" in title to "Ben 8:10 card version"
- lib/atrf.c, lib/atben.c: changed all occurrences of "atusd" to "atben"
2011-01-17 12:06:16 -03:00
Werner Almesberger
32de4b6ad4 great atusd -> atben renaming: renamed tools/atusd.c and Makefile reference
- lib/atusd.c: renamed to lib/atben.c
- lib/Makefile (OBJS_ben_jlime, OBJS_ben_openwrt): changed "atusd" to
  "atben"
2011-01-17 11:56:17 -03:00
Werner Almesberger
f7a8bbdd7a great atusd -> atben renaming: changed "uSD" in project title to "8:10 card"
- atben.sch, atben.brd: changed "uSD Transceiver" to "Transceiver [...]
  as 8:10 card"
- atben.pro: updated to catch automatic LastNetListRead change
- atben.sch: automatic LIBS change
2011-01-17 11:50:54 -03:00
Werner Almesberger
fb07d57377 great atusd -> atben renaming: updated references in atben/cam/
- Makefile: changed "atusd" to $(NAME)
- mkmk: changed "atusd" to $NAME
2011-01-17 11:36:54 -03:00
Werner Almesberger
0dc344a0ec removed atben/tools/ (functionality has moved to atrf-id long ago) 2011-01-17 11:33:27 -03:00
Werner Almesberger
319bd8345d great atusd -> atben renaming: renamed design files and some references
- atben/TODO: changed all occurrences of "atusd" to "atben"
- atben/TODO: added reminder that the file isn't current anymore
- atben/Makefile (NAME): changed project name from "atusd" to "atben"
- atben/atusd.brd: renamed to atben/atben.brd
- atben/atusd.cmp: renamed to atben/atben.cmp
- atben/atusd.pro: renamed to atben/atben.pro
- atben/atusd.sch: renamed to atben/atben.sch
2011-01-17 11:27:28 -03:00
Werner Almesberger
3392647574 great atusd -> atben renaming: changed the directory name 2011-01-17 10:53:55 -03:00
Werner Almesberger
6ac9168535 atusd.brd: rearranged component references and values for printing/display
- atusd.brd: moved component references for proper printing on silk screen
- atusd.brd: moved component values for easy display (do not print on
  silk screen !)
2011-01-17 09:27:01 -03:00
Werner Almesberger
62994dab86 atusd.brd: re-layout to slightly reduce size, and added more text
- atusd.brd: rotated crystal by 90 degrees
- atusd.brd: increased density of digital signal lines by making them "hug"
  each other
- atusd.brd: reduced board length by 1.4 mm
- atusd.brd: chamfered upper left corner
- atusd.brd: removed "8:10 CARD" to make room for more important text
- atusd.brd: added "CC-BY-SA"
- atusd.brd: added silk screen text: "802.15.4", "qi-hw.com", "CC-BY-SA",
  and "by Werner Almesberger"
- atusd.brd: updated version to 20110116
2011-01-17 00:13:16 -03:00
Werner Almesberger
bf3189fe4d atusd.brd: moved SLP_TR via a bit further from the chip 2011-01-16 16:25:23 -03:00
Werner Almesberger
ebe667197a dirtly made the atrf tools run with the new atusd board
- lib/atusd.c: renamed CLK to SLP_TR
- lib/atusd.c (atusd_cycle, atusd_cycle, atusd_open, atusd_close):
  #ifdef'ed all uses of CLK and changed them to SLP_TR (along with the
  change in function)
- atrf-txrx/atrf-txrx.c (init_txrx): always use the crystal oscillator
2011-01-16 16:03:11 -03:00
Werner Almesberger
507bcaff5a atusd: added missing connection for SLP_TR
- atusd.sch, atusd.brd: connect SLP_TR to MMC CLK (PD09)
- atusd.brd: changed text "WPAN" to "802.15.4"
2011-01-15 17:31:29 -03:00
Werner Almesberger
c0941dbe00 atusd: use crystal instead of trying to obtain an external clock from the Ben
Known bug: didn't connect SLP_TR.

- atusd.sch, atusd.brd: replaced external clock with crystal
- atusd.sch, atusd.brd: increased version number to 20110115
- atusd.brd: changed "ATUSD" text on PCB to "8:10 CARD"
2011-01-15 16:35:37 -03:00
Werner Almesberger
e90c59635b atrf-txrx.c (enter_test_mode_231): disable CLKM in AT86RF231 test mode
According to the data sheet, it has to be enabled. The Software Model
doesn't mention it. Experiments show that it's indeed useless and just
adds noise.
2011-01-12 20:11:28 -03:00
Werner Almesberger
cb7afe132d atrf-txrx: new option -C to control CLKM output
- atrf-txrx.c (usage, main): added option -C mhz to enable the CLKM output
  and to set its frequency
- atrf-txrx.c (init_txrx): if requested, enable CLKM and set to maximum
  drive strength
2011-01-12 20:11:14 -03:00
Werner Almesberger
6ff235e8ea tools/lib/misctxrx.c (wait_for_interrupt): restore signal also after timeout 2011-01-10 13:52:57 -03:00
Werner Almesberger
110d5abe32 tools/atrf-txrx/atrf-txrx.c (enter_test_mode_231): clean up and exit on error 2011-01-10 00:14:35 -03:00
Werner Almesberger
8d487739b7 atusd: removed resistor of futility
- atusd.sch (R1): removed useless 0R resistor in clock path
- atusd.sch (R2): renamed to R1
- atusd.cmp, atusd.brd: updated for above resistor change
- atusd.sch, atusd.brd: set version number to 20110109
2011-01-09 20:36:29 -03:00
Werner Almesberger
9b498ae244 atrf-txrx: small 231 continuous transmission mode cleanup (doesn't work yet)
- atrf-txrx.c (enter_test_mode_231): test value read from TRX_STATUS
- atrf-txrx.c (enter_test_mode_231): wait indefinitely for the PLL to lock
2011-01-09 20:16:11 -03:00
Werner Almesberger
1befc69e37 tools/lib/misctxrx.c: decode AMI and CCA_ED_DONE interrupts (231 only) 2011-01-09 19:38:33 -03:00
Werner Almesberger
0c7146cad9 atrf-txrx: updated for AT86RF231 interrupt handling
- atrf-txrx.c (init_txrx): unmask all interrupts for 231 compatibilit,
  where masked interrupts are now indicated in IRQ_STATUS
- atrf-txrx.c (init_txrx): on the 231, wait for (and clear) the CCA_ED_DONE
  interrupt when entering TRX_OFF after reset
2011-01-09 19:36:29 -03:00
Werner Almesberger
e8d7150c28 atusd/cam/mkmk: updated for making the 20110104 prototypes 2011-01-09 19:01:27 -03:00
Werner Almesberger
45e55fe2f1 tools/: renamed OpenWRT target from "ben" to "ben_openwrt" and added "ben_jlime"
- tools/Makefile (upload): make destinastion host name ("ben" or "jlime")
  depend on TARGET
- tools/Makefile.common (CC_ben, CFLAGS_ben, LDLIBS_ben, MACROS_ben):
  renamed to *_openwrt and added *_jlime equivalents
- tools/atrf-rssi/Makefile: added settings to use SDL_gfx on Jlime
- tools/lib/Makefile (OBJS_ben): renamed to OBJS_ben_openwrt and added
  OBJS_ben_jlime
2011-01-09 19:01:27 -03:00
Werner Almesberger
4d2395e23c atrf-rssi.c: unmask IRQ_PLL_LOCK, for 231 compatibility 2011-01-09 19:01:27 -03:00