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

447 Commits

Author SHA1 Message Date
Werner Almesberger
2c29b5b22e Moved hardware design files from top-level directory to atrf/
- wpan-atrf.pro, wpan-atrf.sch, usb.sch, atrf.sch, wpan-atrf.cmp,
  wpan-atrf.brd, Makefile: moved to atrf/
- atrf/wpan-atrf.pro: updated paths to components/ and modules/
- Makefile: retained "dsv" section
2010-08-22 16:06:43 -03:00
Werner Almesberger
d8c71a3009 Additions to bookshelf: AT86RF230 programmer's guide and 2.4 GHz regulations. 2010-08-22 06:50:35 -03:00
Werner Almesberger
e514c0fff9 Added Makefile to build/install/etc. all the ATSPI utilities.
- tools/Makefile: build/install/etc. all the ATSPI utilities
- Makefile.recurse: general targets for recursive make (from IDBG)
2010-08-22 06:28:40 -03:00
Werner Almesberger
419b596c5d atspi-reset: utility to reset transceiver or entire board.
- tools/include/atspi.h, tools/lib/atspi.c (atspi_reset): new function to
  send the ATSPI_RESET command (MCU reset)
- tools/include/atspi.h, tools/lib/atspi.c (atspi_reset_rf): new function
  to send the ATSPI_RESET_RF command (transceiver reset)
- tools/atspi-reset/Makefile, tools/atspi-reset/atspi-reset.c: reset utility
2010-08-22 06:24:52 -03:00
Werner Almesberger
723cfad924 tools/atspi-rssi/: spectrum scan utility 2010-08-22 05:42:41 -03:00
Werner Almesberger
7a534d2269 Enter TRX_OFF to enable DVDD regulator. Plus minor cleanup.
- tools/atspi-txrx/Makefile, tools/atspi-txrx/atspi-txrx.c: new utility
  that, for now, just turns on the DVDD regulator
- tools/atspi-id/Makefile: corrected path in title
- fw/include/at86rf230.h: changed TRX_STATE_* to TRX_CMD_*
2010-08-21 01:42:58 -03:00
Werner Almesberger
44f0c38980 fw/atspi/atspi.c (reset_rf): added reset timing measurement 2010-08-21 01:08:46 -03:00
Werner Almesberger
1d777aa69e Added register definitons and simplified register naming.
- fw/include/at86rf230.h: added register definitions
- fw/include/at86rf230.h, tools/atspi-id/atspi-id.c (show_info): renamed
  register numbers from AT86RF230_REG_* to REG_*
2010-08-21 01:04:08 -03:00
Werner Almesberger
4b204210e7 We can now read the transceiver's registers.
- fw/atspi/atspi.c (init_io, reset_rf): reset the transceiver after setting
  up the IOs. Contrary to what the manual claims, the chip only produce
  garbage if not reset.
- fw/atspi/ep0.c (my_setup): call reset_rf instead of open-coding the reset
- fw/atspi/atspi.c (init_io): added #ifdef'ed-out code to disable the
  pull-ups, and an explanation why we can't do this.
- tools/atspi-id/atspi-id.c (show_info): also read and print the
  transceiver's ID registers
2010-08-20 22:16:58 -03:00
Werner Almesberger
14c1b4cbfc xxx_MODE were used as if they were port bits, not registers.
- fw/atspi/atspi.c (init_io): comment had the wrong initial value for SCLK
- fw/atspi/atspi.c (init_io): xxx_MODE are registers, not bits ...
- fw/common/io.h (IRQ_RF), fw/atspi/atspi.c (init_io): indicate pending
  moving of IRQ_RF
2010-08-20 17:50:12 -03:00
Werner Almesberger
1d07933a2a Active-high IRQ_RF was routed to active-low interrupt input
- usb.sch: route IRQ_RF to INT0, not nINT0
- wpan-artf.brd: updated layout and date code
- wpan-atrf.pro, wpan-atrf.sch, atrf.sch: KiCad update noise
2010-08-20 17:30:19 -03:00
Werner Almesberger
ac349b0bc0 Introduce library with ATSPI access functions (largely untested)
- tools/include/atspi.h, tools/lib/Makefile, tools/lib/atspi.c: library
  with ATSPI access functions
- tools/atspi-id/Makefile: use libatspi
- tools/atspi-id/atspi-id.c (main) use atspi_open instead of open_usb
- fw/atspi/at86rf230.h: moved to fw/include/
- fw/include/at86rf230.h: added ID registers
- fw/atspi/ep0.c: removed stray #endif
2010-08-20 16:27:24 -03:00
Werner Almesberger
bf74a0348b Fix typo and make "make dfu" work again.
- fw/atspi/atspi.c: fixed typo in title
- fw/atspi/Makefile: added ../include to include path for usb-ids.h
2010-08-20 15:11:41 -03:00
Werner Almesberger
bb4b07f86a Simplified the presentation of build date information and added a
command-line utility to retrieve it.

- fw/include/atspi/ep0.h, fw/atspi/ep0.c (my_setup): merged
  ATSPI_BUILD_NUMBER and ATSPI_BUILD_DATE into single ATSPI_BUILD
- fw/atspi/ep0.c (my_setup): added work-arounds for compiler bugs
- tools/atspi-id/Makefile, tools/atspi-id/atspi-id.c: command-line utility
  to query hardware and firmware version
2010-08-20 15:09:45 -03:00
Werner Almesberger
537c67598d More config rearranging: USB IDs are now in include/atspi/usb-ids.h, which
common/config.h includes.
2010-08-20 03:00:27 -03:00
Werner Almesberger
9a6b3fc20d - fw/atspi/Makefile (USB_ID): corrected and updated USB ID extraction 2010-08-20 02:28:58 -03:00
Werner Almesberger
5447951c6e Implemented AT86RF230 reset and access modes. (Completely untested.)
- fw/atspi/at86rf230.h: AT86RF230 SPI protocol commands and buffer sizes
- fw/atspi/atspi.c (init_io): set all IOs to their initial state
- fw/include/atspi/ep0.h, fw/atspi/ep0.c (my_setup): command ATSPI_RF_RESET
  to reset the AT86RF230
- fw/include/atspi/ep0.h, fw/atspi/ep0.c (my_setup): commands
  ATSPI_{REG,BUF,SRAM}_{READ,WRITE} for the six SPI access modes
2010-08-20 01:50:51 -03:00
Werner Almesberger
3c87d9f8c7 Turn the LED on while in the boot loader.
- fw/common/config.h: added platform defines to enable the LED while in
  the boot loader
- fw/common/io.h: updated path in title
2010-08-19 23:14:55 -03:00
Werner Almesberger
f8cd15e84d Generate port, bit, and output mode definitions from io.h
- fw/common/Makefile: generate related definitions from io.h (from IBDG)
- fw/Makefile: build the various firmware elements (from IDBG, without the
  target parts)
2010-08-19 22:02:38 -03:00
Werner Almesberger
57f34270fb A new try at config.h management: moved it to ../common, along with io.h
- fw/boot/Makefile, fw/atspi/Makefile: add ../common to include path
- fw/boot/config.h, fw/atspi/io.h: moved to ../common
- fw/common/config.h: updated comment - it's no longer specific to boot.c
2010-08-19 21:57:59 -03:00
Werner Almesberger
ada1ee037f fw/atspi/: added application with basic EP0 protocol 2010-08-19 09:04:51 -03:00
Werner Almesberger
2c8c609316 Boot loader Makefile cleanup.
- fw/boot/Makefile: removed object file rules now in Makefile.common (of
  f32xbase)
- fw/boot/Makefile: removed setting of -DLOW_SPEED, which can now go into
  config.h and which was enabled by accident only
  accident
2010-08-19 01:14:21 -03:00
Werner Almesberger
00f28250c5 Added boot loader for C8051F326 (using f326xbase)
- fw/boot/Makefile: build DFU-capable bootloader from f326xbase
- fw/boot/config.h: product-specific configuration
2010-08-19 01:05:04 -03:00
Werner Almesberger
c9e61eedf1 Net name correction, layout update.
- atrf.sch: typo: CLKN net is really CLKM, like the signal driving it
- wpan-atrf.brd: updated layout for VBUS/VDD correction
- wpan-atrf.brd: set date code to "100818"
2010-08-18 17:21:47 -03:00
Werner Almesberger
524665fa14 Brown paper bag time: the VDD net was connected to VBUS, not VDD/VIO. 2010-08-18 15:45:26 -03:00
Werner Almesberger
12ebe2cb20 Typo causing silent failure: forgot the semicolon, so "doit" thought these
were empty lines and didn't add the Z offset.
2010-08-14 23:57:56 -03:00
Werner Almesberger
9bf969ed27 Typo causing silent failure. $z would be Perl, but this is Python. 2010-08-14 23:55:39 -03:00
Werner Almesberger
2cb3f18151 cam/: scripts for cutting the PCB (just the board - traces are etched) 2010-08-14 22:38:47 -03:00
Werner Almesberger
a7c04ad696 More board cleanup.
- wpan-atrf.brd: rearranged ground areas to prevent sections from being
  cut off
- wpan-atrf.brd: on PCB, added descriptive text, chip orientation, and
  version
2010-08-13 07:21:27 -03:00
Werner Almesberger
6b72015e6e Added ground fill areas. 2010-08-12 23:21:05 -03:00
Werner Almesberger
8e6fef19f9 First layout draft. (No GND areas, not quite following design rules.)
- wpan-atrf.brd: first attempt at a layout for the USB prototype
- wpan-atrf.cmp: (redundant) component list, to keep pcbnew from complaining
- atrf.sch: added labels to previously anonymous nets
- wpan-atrf.pro: added libraries (and noise from cvpcb and pcbnew)
2010-08-12 22:35:54 -03:00
Werner Almesberger
090ea77cb4 usb.sch cleanup.
- usb.sch: labeled D+ and D- nets
- usb.sch: moved VDD to avoid connected cross intersection
2010-08-12 16:02:14 -03:00
Werner Almesberger
245d87e93d Updated the LED.
- BOOKSHELF: added LTST-C190KRKT data sheet
- usb.sch: changed R1 to 68 Ohm. C8051F326 VOH at -10 mA is typ.
  VIO-0.8 V = 2.5 V, the LTST-C190KRKT has Vf at 10 mA typ. ~1.8 V
  (fig. 2), so we need to burn about 0.7 V.
- usb.sch: set the value of VR1, VR2, VR3 (add more details later)
2010-08-12 15:50:38 -03:00
Werner Almesberger
91591ff77d Added default footprints to schematics.
- atrf.sch: added footprint defaults, preferring 0402
- usb.sch: added footprint defaults, preferring 0603
- wpan-atrf.sch: added footprint defaults
- usb.sch: tentatively set R1 to 100 Ohm
2010-08-12 15:35:32 -03:00
Werner Almesberger
28e2c757bc Added modules for test points and solder pads. Some cleanup.
- AUTHORS, modules/INFO, modules/Makefile, modules/pads.fpd: added pads
- modules/Makefile: added forgotten "qfn" module
- modules/xtal-4.fpd: renamed crystal module from xtal-4-* to xtal4-*, for
  clarity
2010-08-12 15:28:03 -03:00
Werner Almesberger
0efc213a26 Made first draft of schematics.
- usb.sch: largely based on reference design, with fewer caps
- atrf.sch: reference design plus LC-balun from AVR2004
- wpan-atrf.sch: tie it all together
- components/at86rf230.lib, components/at86rf230.dcm: changed bidirectional
  power pins to passive
2010-08-12 13:09:36 -03:00
Werner Almesberger
73d2b7dbfb Copied antenna symbol from gta02-core. Updated footprint, and added
new items to schematics.

- AUTHORS, components/INFO, components/antenna.lib: copied antenna symbol
  by Rene Harder from gta02-core
- modules/meander.fpd: changed pin "numbers" from "GND" and "FEED" to
  more conventional "1" and "2"
- wpan-atrf.pro, atrf.sch: added crystal and antenna to schematics
2010-08-12 10:59:50 -03:00
Werner Almesberger
c0127b490c KiCad module build and xtal-4 cleanup.
- modules/Makefile: generate .mod files from .fpd
- components/xtal-4.lib: changed symbol name inside the .lib file as well
- modules/xtal-4.fpd: added package dimensions measurements
2010-08-12 10:50:48 -03:00
Werner Almesberger
05b0105591 Added NX3225SA 16 MHz crystal (symbol and footprint)
- BOOKSHELF: data sheet of NDK NX3225SA 16 MHz, 15 ppm, 8 pF crystal
- AUTHORS, components/INFO, components/xtal-4.lib: copied Alvaro's
  tas4025a.lib over from gta02-core and gave it a more general name
- AUTHORS, modules/INFO, modules/xtal-4.fpd: added footprint for
  four-padded SMT crystals
2010-08-12 10:33:59 -03:00
Werner Almesberger
22af20222c Added COPYING (GPL 2/LGPL 2.1/CC-BY-SA 3.0) and AUTHORS. Put pointer
to COPYING into README.
2010-08-12 09:44:48 -03:00
Werner Almesberger
87588bed0e Added QFN28 and QFN32 footprints for MCU and TXRX. 2010-08-12 09:39:13 -03:00
Werner Almesberger
6ec22bc755 Added a data sheet viewer. It improves upon the design used in gta02-core by
allowing a hierarchy of caches, by using only one directory for each cache,
and by putting only one command in the PATH.

- scripts/dsv: new and improved data sheet viewer (successor of gta02-core's
  dsv)
- Makefile: added "dsv" target to update the bookshelf
- ds/INFO, components/INFO, modules/INFO: ds/INFO moved to BOOKSHELF
- components/INFO, modules/INFO: renamed "D" tag to "N", for consistency with
  BOOKSHELF
- BOOKSHELF: changed "stdpass" URL to the actual PDF
2010-08-10 12:26:24 -03:00
Werner Almesberger
42e8ecb722 Oops, forgot to commit wpan-atrf.pro 2010-08-10 07:00:22 -03:00
Werner Almesberger
9eefe60b8a Added AT86RF230 schematics symbol and some misc. stuff.
- Makefile: "make sch", "make brd", plus a few placeholders
- wpan-atrf.sch, usb.sch, atrf.sch: schematics sheets (with little on)
- components/INFO, components/at86rf230.lib, components/at86rf230.dcm
2010-08-09 21:31:23 -03:00
Werner Almesberger
4aa4f44b5b Reuse some symbols and footprints from IDBG and gta02-core. 2010-08-09 15:48:06 -03:00
Werner Almesberger
e754b057c3 Meandered inverted F PCB antenna from TI's AN043. 2010-08-09 01:17:33 -03:00
Werner Almesberger
0cfb6491bb Initial commit. Just the goals and a few links. 2010-08-07 08:46:28 -03:00