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

309 Commits

Author SHA1 Message Date
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
Werner Almesberger
08eec5b3a9 atusb/usb.sch: specified capacitance of TVSs (33 pF) and explained why 2011-01-03 16:32:52 -03:00
Werner Almesberger
882558b953 atusb/usb.sch: typo: the LED is called LTST-C190KRKT, not LTST-C190KTKR 2011-01-03 15:54:35 -03:00
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
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
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
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
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
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
Werner Almesberger
96b6a50b3a The Great ATSPI Renaming, part 2: rename ATSPI_* identifiers to ATUSB_*
- atusb/fw/include/atusb/ep0.h, atusb/fw/atusb/ep0.c: rename all ATSPI_*
  identifiers (EP0 commands, protocol revision, etc.) to ATUSB_*
- tools/lib/atusb.c, tools/atspi-id/atspi-id.c: track identifier change
2010-11-11 08:41:25 -03:00
Werner Almesberger
7e71f98007 The Great ATSPI Renaming, part 1: rename atusb firmware files from atspi to atusb
- atusb/fw/atspi/atspi.c: renamed to atusb/fw/atspi/atusb.c
- atusb/fw/atspi/Makefile: track above change
- atusb/fw/include/atspi/: renamed to atusb/fw/include/atusb/
- atusb/fw/common/config.h, atusb/fw/atspi/atspi.c, atusb/fw/atspi/descr.c,
  atusb/fw/atspi/ep0.c: track change of include location
- atusb/fw/atspi/: renamed to atusb
- atusb/fw/Makefile: track above change
- tools/atspi-id/atspi-id.c, tools/atspi-trim/atspi-trim.c,
  tools/lib/atusb.c: track change of include location
2010-11-11 08:26:01 -03:00
Werner Almesberger
2337557a8c atusd firmware now supports setting the TST pin.
- common/io.h: TST is connected to P0_7
- include/at86rf230.h: added test mode registers REG_CONT_TX_0 (0x36) and
  REG_CONT_TX_1 (0x3d), with their values
- atspi/atspi.c (set_test_mode): set or reset TST and the LED
- atspi/atspi.c (reset_rf): leave test mode
- atspi/atspi.c (test_mode): enter test mode
- atspi/atspi.c (main): flash the LED when in test mode
- include/atspi/ep0.h (enum atspi_requests), atspi/ep0.c (my_setup): new
  command ATSPI_TEST to enter test mode
- include/atspi/ep0.h (EP0ATSPI_MINOR): bumped protocol to version 0.1
- include/at86rf230.h: corrected comment before TRX_CMD field to indicate
  that the register is called TRX_STATE
2010-11-11 02:25:54 -03:00
Werner Almesberger
c45f1bb3c8 atusb/: connect TST to P0_7 (rework of existing boards) 2010-11-11 02:12:45 -03:00
Werner Almesberger
a0f0781a96 atusb/atrf.sch (X1): don't explicitly say that the tolerance is a maximum 2010-10-25 00:53:35 -03:00
Werner Almesberger
9d6906d7d8 Cleanup of values in atusb/*.sch
- atusb/atrf.sch (C6, C7): use canonical name 820fF instead of 0.82pF
- atusb/usb.sch (VR1, VR2, VR3): changed value from 5V6 to 5V5 for
  compatibility with selected part
- atusb/atusb.sch: commit noise
- atusb/atusb.brd: reloaded for value changes
2010-10-25 00:26:27 -03:00
Werner Almesberger
b493f09363 Great renaming: atrf/wpan-atrf* becomes atusb/atusb*
- atrf/: rename to atusb/
- atrf/wpan-atrf.pro, atrf/wpan-atrf.sch, atrf/wpan-atrf.brd,
  atrf/wpan-atrf.cmp: rename to atusb.*
- atrf/Makefile: change ben-wpan to atusb
- atrf/atusb.pro (LastNetListRead): update for name change
- tools/Makefile.common (CFLAGS): change fw/ include location from atrf/
  to atusb/
2010-10-25 00:10:00 -03:00