Project

General

Profile

Statistics
| Revision:

root / branches / encoders / code / projects / libdragonfly / spi.c @ 771

History | View | Annotate | Download (1.81 KB)

# Date Author Comment
752 04/30/2008 01:23 AM Brad Neuman

fixed lost of bugs in the libraries for spi and encoder

749 04/28/2008 10:00 PM Brad Neuman

added another function pointer to encoders which gets called after all bytes are recv'd.
working on a behavior to drive in a straight line, but encoders are giving invalid on robot 5

731 04/23/2008 10:56 AM Ben Poole

code commented and cleaned up. should work but untested.

727 04/22/2008 06:36 PM Ben Poole

encoders work

694 04/09/2008 07:34 PM Ben Poole

reads first byte of left encoder correctly, still can't get second byte

619 03/20/2008 06:52 PM Ben Poole

encoders might work now

573 02/18/2008 01:30 PM Ben Poole

potentially functional SPI driver, will test tonight

572 02/18/2008 01:19 PM Ben Poole

more broken code

565 02/13/2008 06:52 PM Kevin Woo

More testing. Transmission is messed up.

564 02/13/2008 02:58 PM Kevin Woo

Read the datasheet again and I think we had things out of order.
Reversed the order but didn't test yet.

546 02/11/2008 09:53 PM Kevin Woo

Modified spi.c/h. Sends 1 packet before failing. Funny light blinking
thing happens when sending, no idea where that came from. It looks like
the orbs are used as transmit lights but there's no code for that as far
as I know.

495 02/06/2008 08:21 PM Kevin Woo

Modified the spi module a bit. Didn't test it but this might be better.
Need to talk to Ben about it.

Started the encoders file. Nothing in there because I don't have a
stable SPI interface to work with yet.

490 02/06/2008 07:21 PM Ben Poole

slave -> master kind of works

367 01/23/2008 09:18 PM Kevin Woo

SPI Master->Slave works. Slave->Master not working yet. /template/main.c has the test bench. Yay!

350 01/21/2008 09:23 PM Kevin Woo

Changed formatting so that it isn't as messy. Probably won't compile.
Still probably doesn't work.

316 12/05/2007 07:46 PM Ben Poole

SPI update, still not functional

252 11/12/2007 02:16 AM Kevin Woo
  • Fixed measurement issue with new encoder boards. Chip is now in the
    same location as the original encoder (give or take a couple hundreths
    of a mil because it won't allign perfectly).
  • Added basic SPI module framework. Needs to be worked on seriously