Commit graph

292 commits

Author SHA1 Message Date
Mariano Alvira 512ddc3e87 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x
pulled in the new maca driver.

gets 238.5 kbps sustained with 125 byte payloads (133 bytes total)

and 194.9 kbps with 16 byte payloads (24 bytes total)

The difference is speeds is due to the overhead in the handlers and
such which is at 88 us right now but can probably be improved.

Conflicts:

	TODO
2010-03-08 14:51:24 -05:00
Mariano Alvira 36f213017e use thumb again. 2010-03-08 14:49:58 -05:00
Mariano Alvira 06e3e0b207 add maca_init()
changed tests to use it.
2010-03-08 14:49:31 -05:00
Mariano Alvira 386f190720 first byte can't be anything you want it to be. 2010-03-08 12:42:37 -05:00
Mariano Alvira 362cfe43eb add starting maca_isr call.
need to put all this into maca_init()
2010-03-08 12:30:25 -05:00
Mariano Alvira 571861c6ea post_receive still needs to timeout if it can't find any free
bufferes.
2010-03-08 12:29:49 -05:00
Mariano Alvira 2a07cbe665 enabled softclk timeouts
fixed post interleaving problem

fixed interrupts in ResumeMACASync.

This seems quite solid now.
2010-03-08 12:03:20 -05:00
Mariano Alvira d3f6ef07f2 sort out the length details. 2010-03-07 18:48:47 -05:00
Mariano Alvira fb922c0ab9 transmit at max power 2010-03-07 18:48:36 -05:00
Mariano Alvira e8eaece25a fix print_packet so that it doesn't break everything 2010-03-07 17:28:40 -05:00
Mariano Alvira fece5269c7 get the newlines straight in packet_print 2010-03-07 17:14:00 -05:00
Mariano Alvira a04a69480b add the 4 byte preamble 2010-03-07 17:07:54 -05:00
Mariano Alvira 024448e65e add an offset to packet_t to compensate for the added length byte on
reception
2010-03-07 17:04:30 -05:00
Mariano Alvira 8421031d4a condense print_packet output 2010-03-07 16:50:32 -05:00
Mariano Alvira 667b238148 rftest-tx and refine post_tx for fast transmission 2010-03-07 16:49:57 -05:00
Mariano Alvira 4b17c144d0 LEDs now indicate bit position (instead of (1 << pos)) which is more
consistent with how everything else works
2010-03-07 15:39:56 -05:00
Mariano Alvira c218d1bffa update rftest-rx to use new maca. 2010-03-06 21:47:22 -05:00
Mariano Alvira 0dac24e1eb this is pretty close to working together. 2010-03-06 19:54:55 -05:00
Mariano Alvira e8550f26ba this receive seems to work well.
It has checksum errors at 123 byte payloads, but this was tested with
the old rftest-tx --- so the transmit side could be the problem.
2010-03-06 19:14:55 -05:00
Mariano Alvira f5391e88dc commented the data indication printf 2010-03-06 18:50:47 -05:00
Mariano Alvira cca5e57261 add timestamps someday 2010-03-06 18:49:08 -05:00
Mariano Alvira 2d68c30934 this receive works 2010-03-06 18:48:13 -05:00
Mariano Alvira 0f400b4341 lots of fixes.
major fix is adding a completion counter based on packet length to
restart the MACA when it freezes on transmit.
2010-03-06 17:58:49 -05:00
Mariano Alvira 5c20312744 this does 127 B packets as fast as possible (with these settings).
Transmitts are every 5.8ms and are 4.48ms long
2010-03-05 19:25:38 -05:00
Mariano Alvira 8e3c2a8622 added locking and interrupt disables.
transmit looks pretty good.
2010-03-05 17:06:08 -05:00
Mariano Alvira 0c3947ddd6 forgot to add packet.h 2010-03-05 06:59:51 -05:00
Mariano Alvira 3955bbd355 more TODO items 2010-03-04 20:50:16 -05:00
Mariano Alvira 5bda57ed39 progress on maca overhaul 2010-03-04 18:52:42 -05:00
Mariano Alvira b92dec6ee8 disable thumb for now (gdb isn't working with thumb) 2010-03-04 18:52:22 -05:00
Mariano Alvira 20f6a749d1 isr updates 2010-03-04 18:52:04 -05:00
Mariano Alvira 0037fd9527 general header updates 2010-03-04 18:51:27 -05:00
Mariano Alvira 0678e778b1 initial packet error rate test skeleton 2010-03-03 18:48:29 -05:00
Mariano Alvira 46e25b463f change rf_tests over to using new MACA_CONTROL fields. 2010-03-03 18:47:22 -05:00
Mariano Alvira 02c0442d84 fill out MACA_CONTROL fields 2010-03-03 18:46:39 -05:00
Mariano Alvira 80c25e2602 add bitfield macros 2010-03-03 18:46:23 -05:00
Mariano Alvira 43b57ea41a fix board message 2010-03-03 14:07:00 -05:00
Mariano Alvira 664a058884 status is 16-bit 2010-03-03 13:39:22 -05:00
Mariano Alvira d4cd92141e convert to printf 2010-03-03 13:39:14 -05:00
Mariano Alvira 3969c56a0f remove put from lib 2010-03-03 08:10:53 -05:00
Mariano Alvira 8abb7baabe add command line option to set flow control mode 2010-03-03 08:10:35 -05:00
Mariano Alvira 00224dd7eb pulled put out of lib
still need set __putc as a fuction pointer to the uart_putc
2010-03-03 08:09:19 -05:00
Mariano Alvira 4b22b25e38 changed maca.c over to printf 2010-03-02 18:23:23 -05:00
Mariano Alvira e9d8dbe5c5 removed old include directory. 2010-03-02 17:53:09 -05:00
Mariano Alvira 1b4dd3b4dc use printf instead of put 2010-03-02 17:52:31 -05:00
Mariano Alvira bec0f1d477 correctly order the libs 2010-03-02 17:09:20 -05:00
Mariano Alvira a00b9f7bd0 better start file
removed unnecessary line from tmr-int test
2010-03-02 16:26:42 -05:00
Mariano Alvira 9b05f05503 add uart1_init to loopback test 2010-03-02 16:08:36 -05:00
Mariano Alvira 8bd9f182d4 link objects in as archives so only what we need gets linked.
Add an option to build objects without space resevered for rom calls.
2010-03-02 14:32:34 -05:00
Mariano Alvira 4a61c10879 updated todo list 2010-03-02 10:40:34 -05:00
Mariano Alvira 225fb3e553 fix these for the putchr and putstr name changes 2010-03-02 10:39:47 -05:00