* AT91 SPI Slave - Anyone get it to work?
@ 2007-05-25 14:06 Jason Mcmullan
0 siblings, 0 replies; only message in thread
From: Jason Mcmullan @ 2007-05-25 14:06 UTC (permalink / raw)
To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
I'm working on an AT91SAM9260EK board, and am trying to use the
SPI1 bus in slave mode under Linux.
I have an interrupt handler, and am doing byte-at-time transactions
using SPI_TDR and SPI_RDR (and SPI_TDRE and SPI_RDRF interrupts)
I can receive bytes fine, but my transmitted bytes seem garbled.
My scoped lines looks like clean data and clock, just *wrong* data.
I am running at 100Khz, so it shouldn't be a speed issue.
I'm using 8-bit data buffers.
I've been working on this for about a week, and I'm ready to tear my
hair out in frustration.
Has *anyone* gotten their AT91 SPI to work in slave mode in any fashion?
Thanks.
--
Jason Mcmullan <jason.mcmullan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Evil Labs
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-25 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-25 14:06 AT91 SPI Slave - Anyone get it to work? Jason Mcmullan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.