1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-05 05:59:44 +02:00
Commit Graph

35 Commits

Author SHA1 Message Date
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