1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-23 03:13:20 +02:00
IEEE 802.15.4 subsystem, IEEE 802.15.4 Low-Rate Wireless Personal Area Network (WPAN) http://projects.qi-hardware.com/index.php/p/ben-wpan/
Go to file
Werner Almesberger 42483d67b4 atusb/fw/: added improved support for interrupt synchronization
At an interrupt barrier, the host must be able to ensure that no
interrupt generated before reaching the barrier is still pending and
will be delivered after crossing the barrier.

For this, we introduce the following concept:

- interrupts have a serial number. This number is sent to the host
  on EP 1 (currently bulk) to signal the interrupt, instead of the
  zero byte we used previously.

- the new request ATUSB_SPI_WRITE2_SYNC returns the interrupt
  serial number from after the register write (the register write
  itself is the interrupt barrier).

- the host can now check if the serial indicated from bulk and the
  serial from ATUSB_SPI_WRITE2_SYNC are the same. If yes, interrupts
  are synchronized. If not, it has to wait for the interrupt to be
  signaled on EP 1.

We should also consider the case that the interrupt serial has gotten
ahead of ATUSB_SPI_WRITE2_SYNC. But that seems to happen rarely. In
any case, it's something for the host driver to worry about, not for
the firmware.

- board.h (irq_serial), board_app.c (irq_serial, INT0_vect): count
  the interrupt serial number and return it when signaling the
  interrupt
- include/atusb/ep0.h (ATUSB_SPI_WRITE2_SYNC), ep0.c (my_setup):
  new request ATUSB_SPI_WRITE2_SYNC that does a register write, then
  returns the interrupt serial
2011-07-07 15:51:07 -03:00
ants meander.fpd: use new pad type "trace" without solder paste and mask opening 2011-01-17 22:18:51 -03:00
atben atben: include the position of fiducials in atben-pos.csv 2011-06-07 16:39:17 -03:00
atusb atusb/fw/: added improved support for interrupt synchronization 2011-07-07 15:51:07 -03:00
atusb-pgm atusb-pgm: changed LED color; cleanup of silk screen 2011-02-28 02:27:39 -03:00
atusb-sil atusb-sil/: moved C8051F326-related material out of atusb/ 2011-02-22 00:17:13 -03:00
bom atusb: varistor Vdc was off by 100 mV; made it clearer that we use Vdc, not Vb 2011-05-19 14:23:33 -03:00
cntr Makefile.recurse: moved into makefiles/ 2011-03-22 12:37:16 -03:00
components atmega8u2.lib (PB2): end list of pin names with a slash if wrapped 2011-02-01 05:01:27 -03:00
ecn ecn/ecn0007.txt: Revised via spacing (for the antenna) 2010-12-06 18:58:56 -03:00
install install/INSTALL-Ben: switch linux-zigbee tools source from (old) tarball to git 2011-07-05 07:24:59 -03:00
makefiles dropped f32xbase dependency on Makefile.common 2011-05-29 06:03:11 -03:00
modules modules/INFO: corrected island size of QFN32-VHHD-2 2011-03-31 06:48:07 -03:00
prod prod/atusb (led): show keys to press in reverse 2011-06-20 22:36:24 -03:00
tools Revert "tools/atrf-id/atrf-id.c: new option -D to read atusb debug log" 2011-07-05 19:40:43 -03:00
usrp usrp/sps/20110306: examine sidebands ("spikes") and try to reduce them 2011-03-07 04:45:15 -03:00
web web/index.html: removed duplicate IMG tag 2011-06-15 03:22:42 -03:00
AUTHORS AUTHORS: werner@openmoko.org is now werner@almesberger.net 2011-07-04 22:53:28 -03:00
BOOKSHELF BOOKSHELF: added RFC4944 (6LoWPAN) as "rfc4944" and "6lowpan" 2011-06-19 08:39:54 -03:00
COPYING Added COPYING (GPL 2/LGPL 2.1/CC-BY-SA 3.0) and AUTHORS. Put pointer 2010-08-12 09:44:48 -03:00
COPYING.GPLv2 COPYING mentioned COPYING.GPLv2, COPYING.LGPLv21 which weren't included. Added them. 2011-07-04 22:51:17 -03:00
COPYING.LGPLv21 COPYING mentioned COPYING.GPLv2, COPYING.LGPLv21 which weren't included. Added them. 2011-07-04 22:51:17 -03:00
Makefile Moved dsv to eda-tools. 2010-10-03 21:56:22 -03:00
README Added COPYING (GPL 2/LGPL 2.1/CC-BY-SA 3.0) and AUTHORS. Put pointer 2010-08-12 09:44:48 -03:00
TODO TODO: removed EPERM, added usb_read_bulk vs. signal, toolchain, DFU on U1010 2011-07-05 08:28:20 -03:00

IEEE 802.15.4 Low-Rate Wireless Personal Area Network (WPAN)
============================================================


IEEE 802.15.4 defines physical layers and a media access control for
wireless networks. ZigBee and 6loWPAN are based on IEEE 802.15.4.

This project aims to add experimental WPAN functionality to the Ben
NanoNote, in order to permit evaluation of overall network performance
and to examine possible integration into future devices.

This work is licensed under the terms detailed in the file COPYING.


Hardware architecture
---------------------

IEEE 802.15.4 transceiver chips are available from several manufacturers,
including Atmel, Freescale, and Texas Instruments. These chips are similar
in size, functionality, and cost. The first prototype is based on the
Atmel AT86RF230.

The RF module will be physically placed on the left side of the LCD
module, replacing part of the display's PCB.

When installed in the Ben, the transceiver will connect directly via SPI
to the Jz4720. For development, a SiLabs C8051F326 microcontroller
implements a USB to SPI conversion.