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

468 Commits

Author SHA1 Message Date
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
Werner Almesberger
ff6703f0b5 atusd/Makefile: remove long-obsolete dependency on dtc123je.mod 2011-01-08 09:52:59 -03:00
Werner Almesberger
cb2a30aa80 atusd/Makefile: replaced board name by $(NAME) or pattern 2011-01-08 09:51:47 -03:00
Werner Almesberger
766b5759ea atusb/Makefile: removed claim that zones have to be filled in the .brd file 2011-01-08 09:46:24 -03:00
Werner Almesberger
88b742b3b6 atusd/Makefile: added targets "front", "back", "clean" 2011-01-08 09:45:52 -03:00
Werner Almesberger
b2d90cd3d3 atrf-txrx: added support for AT86RF231 continuous transmission mode
- atrf-txrx.c (test_mode): moved test mode setup to enter_test_mode_230
- atrf-txrx.c (enter_test_mode_231): enter test mode on AT86RF231 (untested)
- atrf-txrx.c (test_mode): reset AT86RF231 register 0x1c when leaving
2011-01-07 14:59:23 -03:00
Werner Almesberger
309a5ed6d5 atusb/fw/include/at86rf230.h: make 231-centric
- at86rf230.h (TX_AUTO_CRC_ON): changed to TX_AUTO_CRC_ON_230
- at86rf230.h (TX_AUTO_CRC_ON_231): changed to TX_AUTO_CRC_ON
- tools/atrf-txrx/atrf-txrx.c: updated for above changes
2011-01-07 14:31:27 -03:00
Werner Almesberger
f67a79b04e atusb/fw/include/at86rf230.h: many corrections, some additions
- at86rf230.h (REG_BATMON): address is 0x11, not 0x10
- at86rf230.h (TRX_CMD_MASK): width is 5 bits, not 3
- at86rf230.h (CLKM_CTRL_MASK): width is 3 bits, not 2
- at86rf230.h (PA_EXT_EN, IRQ_2_EXT_EN, TX_AUTO_CRC_ON_231): shifted by one
  bit
- at86rf230.h (RX_BL_CTRL, AACK_DIS_ACK): added missing field
- at86rf230.h: added fields PA_BUF_LT and PA_LT
- at86rf230.h (ANT_DIV): added fields of this register
- at86rf230.h (NATMON_VTH_SHIFT, NATMON_VTH_MASK): corrected typo
2011-01-07 14:29:00 -03:00
Werner Almesberger
02e394a706 atrf-txrx: set CRC and transmit power depending on chip (AT86RF230/231)
- atrf-txrx.c (tx_pwr, tx_pwr_230, tx_pwr_231, set_power): table of power
  values depends on chip
- atrf-txrx.c (set_power): location of TX_AUTO_CRC_ON and use of
  REG_PHY_TX_PWR depends on chip
2011-01-07 13:49:52 -03:00
Werner Almesberger
a9321cea7c libatrf: new function atrf_identify to identify the chip
- tools/lib/atrf.h, tools/lib/atrf.c (atrf_identify): added chip
  identification function to library
- tools/atrf-id/atrf-id.c (show_info): print information returned by
  atrf_identify
- tools/atrf-id/atrf-id.c (show_info): decode JEDEC manufacturer ID
2011-01-07 12:35:51 -03:00
Werner Almesberger
4ef7a829c2 atusd/cam/Makefile: updated for cameo-based process (forgot to commit this) 2011-01-07 12:34:53 -03:00
Werner Almesberger
4387d844dc atusb/fw/include/at86rf230.h: added remaining AT86RF231 values 2011-01-07 11:52:45 -03:00
Werner Almesberger
bd5b008c44 atusb/fw/include/at86rf230.h: make one section per register, not one per field
Looked too confusing.
2011-01-07 09:16:51 -03:00
Werner Almesberger
337e5d227d atusb/fw/include/at86rf230.h: started updates for AT86RF231 2011-01-07 09:11:29 -03:00
Werner Almesberger
6ccb252729 atusd/cam: updated to use cameo
- cam/pcb.pl, cam/doit: deleted
- cam/mkmk: CAM translation and conversion process
2011-01-05 23:12:35 -03:00
Werner Almesberger
e2c5d42137 atusd.brd: removed short edge segment left under larger segment 2011-01-05 23:09:03 -03:00
Werner Almesberger
475baa1640 atusd.brd: increased via density in RF areas
- atusd.brd: moved antenna by 20 mil to make more room for vias
- atusd.brd: increased RF via density to up to 50-60 mil per via
- atusd.brd: increased zone clearance to 10 mil, to make board easier to
  solder
2011-01-04 17:16:30 -03:00
Werner Almesberger
d833b5042f atusd.brd: removed layer alignment targets (they confuse cameo) 2011-01-04 03:10:22 -03:00
Werner Almesberger
7b10db1bd3 atusd.brd: use 110% antenna; better follow 8:10 card shape
- atusd.pro: changed ../modules/meander to ../ants/meander
- atusd.cmp: changed ANT1 footprint from "meander" to "MEANDER-110"
- atusd.brd: updated antenna, board outline, and dimensions
- atusd.brd: made board outline follow 8:10 card shape more accurately
2011-01-04 03:04:38 -03:00
Werner Almesberger
47236cbf84 atusd.brd: updated U1, added C9, and rearranged things for XTAL1/2 swap 2011-01-04 02:34:32 -03:00
Werner Almesberger
7d75642305 atusd.sch (C1, C2, C9): added "/RF" to make BOOM select UHI Q type 2011-01-04 01:52:58 -03:00
Werner Almesberger
3ea0199f17 atusd: switched to Johanson 2450FB15L0001 balun
- atusd.pro: changed ../components/balun to ../components/balun-smt6
- atusd.sch (B1): replaced Wuerth 748421245 with less expensive Johanson
  2450FB15L0001
2011-01-04 01:48:24 -03:00
Werner Almesberger
b44e731ee1 atusb/atrf.sch: defined footprint of B1 (0805-6) 2011-01-04 01:43:16 -03:00
Werner Almesberger
6ee76112e9 atusd: switched schematics from the AT86RF230 to the AT86RF231
- atusd.pro: changed ../components/at86rf230 to ../components/at86rf231
- atusd.sch (U1): set to AT86RF231
- atusd.sch: moved clock input from pin 29 to pin 28 (still XTAL1)
- atusd.sch: changed version to 20110104
2011-01-04 01:39:17 -03:00
Werner Almesberger
9f8a77e879 atusb: switched from the AT86RF230 to the AT86RF231, added missing RF ground
- atrf.sch: replaced the AT86RF230 with the AT86RF231
- atusb.sch, usb.sch, atrf.sch: removed TST signal
- atrf.sch: grounded former TST pin
- atusb.brd: updated for TST removal
- atusb.brd: increased space between SLP_TR and nRST_RF vias
- atusb.brd: connect U2 pin 6 to ground pad
- atusb.sch, usb.sch, atrf.sch, atusb.brd: changed version to 20110104
2011-01-04 01:19:54 -03:00
Werner Almesberger
56b93a12be Added AT86RF231 schematics symbol
- components/at86rf231.lib, components/at86rf231.dcm, components/INFO,
  AUTHORS: added the AT86RF231 symbol
2011-01-04 00:31:45 -03:00
Werner Almesberger
66f5fff9f0 Added the AT86RF231 to the bookshelf and the BOM resources
- BOOKSHELF (at86rf231): the AT86RF231, successor of the AT86RF230
- BOOKSHELF (avt2027, aes): the AT86RF231's AES module
- BOOKSHELF: moved the aliases "transceiver", "txrx", and "atrf" from the
  AT86RF230 to the AT86RF231
- BOOKSHELF: added aliases "rf230" and "rf231" for the transceivers
- bom/atrf.equ, bom/dk/digi-key.equ: added the AT86RF231(-ZU)
2011-01-03 23:45:42 -03:00
Werner Almesberger
155dfba7ec atusb/cam/mkmk: update for on-going work; showcase use of "rotate" 2011-01-03 23:11:00 -03:00
Werner Almesberger
9c2f37bedb usrp/plscan: comment out yrange (the experiments now cover all sorts of ranges) 2011-01-03 23:09:32 -03:00
Werner Almesberger
ed20053cc9 BOM update for atusb
- bom/atrf.sub, bom/atrf.inv: added PAD_60x60
- bom/atrf.sub: added capacitance/RF notation for capacitors (C*)
- bom/atrf.sub: added capacitance parameter for VR*
- bom/atrf.chr, bom/dk/digi-key.equ: added TDK AVR-M1005C080MTACB (TVS
  for USB, 33 pF)
2011-01-03 23:08:38 -03:00
Werner Almesberger
6698174351 bom/Makefile: invoke eeschema to generate the BOM, some cleanup
- Makefile: added %.lst target to generate the BOM with eeschema --bom
- Makefile: removed vpaths
- Makefile (spotless): remove .lst files as well
- Makefile (spotless): corrected typo arusb.ord (should be atusb.ord)
2011-01-03 22:57:26 -03:00
Werner Almesberger
f26d735dac tools/lib/atusd.c (atusd_open): open /dev/mem with O_SYNC to disable caching 2011-01-03 18:53:56 -03:00
Werner Almesberger
9851e3ca88 atusb/atrf.sch: changed C3, C8, C9 to "22pF/RF", to make BOOM select UHI Q type 2011-01-03 17:21:20 -03:00