Werner Almesberger
63a4b895d3
tornado/cpu/cpu.sch (CON3): nISP and nRESET were swapped
2012-12-28 18:44:56 -03:00
Werner Almesberger
121acf6ffa
tornado/cpu/cpu.brd: make connection to the MCU's GND pad straighter
2012-12-27 20:27:57 -03:00
Werner Almesberger
b75570a0a8
tornado/cpu/cpu.brd: include subsystem name (CPU) in text label
...
Also update the date code.
2012-12-27 14:36:22 -03:00
Werner Almesberger
12fc6cc099
tornado/led/led.brd: clean up layout
2012-12-27 14:34:18 -03:00
Werner Almesberger
352779a78f
tornado/led/: layout for new LED board version
2012-12-27 13:39:14 -03:00
Werner Almesberger
bf2e2c3046
tornado/led/led.cmp: update for new components and changed references
2012-12-26 23:00:35 -03:00
Werner Almesberger
d278ebb4ad
tornado/led/: update schematics for new power distribution
2012-12-26 22:59:13 -03:00
Werner Almesberger
9081d91ca8
tornado/cpu/: rearrange things and fix ERC problems
2012-12-26 21:48:00 -03:00
Werner Almesberger
ed61eabf16
tornado/cpu/cpu.sch: split overly crowded sheet into two
2012-12-26 21:38:15 -03:00
Werner Almesberger
0e9b093d2e
tornado/cpu/cpu.brd: improve 3V3 routing
2012-12-25 20:21:42 -03:00
Werner Almesberger
87b1fbb66c
tornado/cpu/: new version of the CPU board (WIP)
...
Differences:
- a bit smaller, 42.25 x 22.5 mm. The old version was 43.75 x 25.25 mm
- NXP LPC1112FHN33/202 MCU (Cortex-M0)
- step-down converter for the 3.3 V supply
- all-digital 3D acceleration sensor
- one local LED
- push-pull card holder
Note that the interface to the LED modules has changed as well. New
features:
- high supply voltage
- optional sharing of regulator
- double ground
2012-12-25 19:52:33 -03:00
Werner Almesberger
fbb75b7c6e
BOOKSHELF: add LIS3DH app note; add push-pull uSD card holder
2012-12-22 19:27:17 -03:00
Werner Almesberger
0f17c404d2
BOOKSHELF: add data sheets of parts for next Tornado iteration
2012-12-20 11:08:23 -03:00
Werner Almesberger
1c672a640c
tornado/doc/README: calculate image size
2012-12-19 14:11:42 -03:00
Werner Almesberger
2dc2fb278c
tornado/fw/tornado.c: update signal processing from sim/alg.c
2012-12-15 04:53:57 -03:00
Werner Almesberger
45f14d214a
tornado/fw/tornado.c: experimental code to log ADC samples to memory card
...
For a yet unknown reason, writing to the card fails if also processing
the samples. Maybe it's some side-effect of switching the LEDs.
2012-12-09 17:28:19 -03:00
Werner Almesberger
2c7d7b78b0
tornado/fw/sim/alg.c: dampen more, to also absorb chain jumps
2012-12-09 17:27:14 -03:00
Werner Almesberger
ce9caf0f3b
tornado/fw/sim/alg.c: tune EWMA weights; correct sample rate for simulation
2012-12-09 17:15:30 -03:00
Werner Almesberger
30c683effd
tornado/fw/sim/p: pass arguments to "alg"; label graphs; better separate "up"
2012-12-09 17:09:03 -03:00
Werner Almesberger
a11670bb7b
tornado/fw/sim/alg.c: accept data from standard input; fix "process"
2012-12-09 16:56:32 -03:00
Werner Almesberger
95cfa9202c
tornado/fw/sim/alg.c: take duration of simulation from command line
2012-12-09 16:33:12 -03:00
Werner Almesberger
07e0df0d6a
tornado/fw/sim/alg.c: separate data processing from sample generation
2012-12-09 16:29:00 -03:00
Werner Almesberger
4d09658036
tornado/fw/ben/ben.c: accept optional byte address argument
2012-12-05 13:25:25 -03:00
Werner Almesberger
3c343536b1
tornado/fw/mmc.[ch]: read/write address is not in sectors, just call it "addr"
2012-12-05 13:23:54 -03:00
Werner Almesberger
59b53f6e89
tornado/fw/mmc.c: print R1 response when running on Ben
2012-12-05 13:22:36 -03:00
Werner Almesberger
e2172b4eef
tornado/fw/ben/ben.c (main): use getopt
2012-12-05 13:01:13 -03:00
Werner Almesberger
cb324a81fc
tornado/fw/ben.c: new option -w to write to a sector
2012-12-05 12:56:51 -03:00
Werner Almesberger
0703611bbd
tornado/fw/mmc.c (mmc_wait): add 1 ms delay to wait loop
...
MMC-SPI specifies a card delay of up to 100 ms, which is easier to match
with an explicit delay than with a loop count.
2012-12-05 11:34:31 -03:00
Werner Almesberger
d2f569fbf2
tornado/fw/: apply platform separation by include also to io.h
2012-12-05 11:32:41 -03:00
Werner Almesberger
557a80c3c6
tornado/fw/: handle platform separation for delay function via include path
...
... and not via #ifdef
2012-12-05 11:30:50 -03:00
Werner Almesberger
c7ed8fbc4a
tornado/fw/Makefile (CFLAGS): don't -I../../ben-wpan/atusb/fw/include/
2012-12-05 11:28:52 -03:00
Werner Almesberger
f82f7c34bc
tornado/fw/mmc.c (mmc_wait): return success or failure (timeout)
2012-12-05 11:01:36 -03:00
Werner Almesberger
9bf1f83597
tornado/fw/mmc.c: call mmc_recv for low-level I/O, not mmc_read
2012-12-05 10:59:54 -03:00
Werner Almesberger
d5a4ffe139
tornado/fw/mmc-hw.c (mmc_recv): make sure to send 0xff when receiving
2012-12-05 10:58:26 -03:00
Werner Almesberger
c9e36f90a2
tornado/fw/mmc-hw.c (mmc_activate): allow card to "pre-charge" (Ben needs this)
2012-12-05 10:35:27 -03:00
Werner Almesberger
f449308cc5
tornado/fw/ben/Makefile: compile static binary and un-phony "ben"
2012-12-05 10:27:28 -03:00
Werner Almesberger
1e29171a26
tornado/fw/ben/: add cross-platform testing with the Ben (untested)
2012-12-04 22:39:38 -03:00
Werner Almesberger
4064698884
tornado/fw/mmc-hw.c: complete hardware driver (untested)
2012-12-04 11:56:56 -03:00
Werner Almesberger
a1c7a948d2
tornado/fw/: add MMC driver (WIP, based on Mass Storage for V-USB by "lleeloo")
2012-12-04 10:52:15 -03:00
Werner Almesberger
f3c22bc6ab
tornado/fw/: display test text on positive zero crossing
2012-12-04 07:28:55 -03:00
Werner Almesberger
c6bef66427
tornado/fw/led.[ch]: add led_show_pgm to display row from Flash
2012-12-04 07:27:49 -03:00
Werner Almesberger
2161eec066
tornado/fw/txt: xbm2tornado to create #include-able tornado binary; -g for t
2012-12-04 07:27:15 -03:00
Werner Almesberger
a5694eba05
tornado/fw/txt/: tools for text conversion
...
txt2xbm: convert text to XBM, using ghostscript
stretch: resample XBM with rotation correction (x-axis only)
xbm2gp: convert XBM to gnuplot, taking into account rotation
plot: plot xbm2gp output
t: run all the above to display "TEST"
2012-12-04 00:56:36 -03:00
Werner Almesberger
6ccdd5255a
tornado/fw/tornado.c: add test mode indicating positive zero-crossing
...
Works sometimes but often produces false zero-crossings, particularly
if there are many chain "jumps".
2012-12-03 21:55:21 -03:00
Werner Almesberger
bc00a4d979
tornado/fw/sim/: crude simulation of sensor behaviour and signal processing
2012-12-03 21:23:46 -03:00
Werner Almesberger
8c868198ed
tornado/fw/: acceleration sensor "driver"
2012-12-03 21:23:02 -03:00
Werner Almesberger
7b766ed93c
tornado/: use UART in SPI mode to send LED patterns (at 4 Mbps)
2012-11-23 19:28:38 -03:00
Werner Almesberger
bef7d5debf
tornado/doc/geom.fig: geometry as seen by the acceleration sensor
2012-11-23 12:34:52 -03:00
Werner Almesberger
936aa81114
tornado/doc/README: describe some technical parameters
2012-11-23 11:41:39 -03:00
Werner Almesberger
a2d224ba92
tornado/README: (very) brief introduction
2012-11-23 11:41:03 -03:00