On Feb 12, 2008 3:43 PM, Ned Forrester <[EMAIL PROTECTED]> wrote:
>
> I thought you might be doing lots of little transfers; that would
> explain your need.  Is each transfer in a separate message, because you
> have to interact with every transfer, or can you put several transfers
> in one message, to be executed without higher level interaction?

Yes, good idea. Unfortunately the transfers are of the form "how many
bytes are waiting" followed by "please send x bytes" so they need to
be separate transfers.

> Does your pxa2xx_spi.c contain the function
> "set_dma_burst_and_threshold()"? If it does, you have Stephen's
> 12/7/06 patch.

Yes thanks, I have that function.

> Actually, it is scheduled from each of the xx_error_stop() and
> xx_transfer_complete() routines, which all run in interrupt context.

Yep sorry - picked that one up in my followup email as I'm sure you've
already seen.

> You might want to check the kernel config parameters for your system and
> make sure that the timer ticks are at least 1000HZ.   I notice that mine
> is set by default (by Gumstix perhaps) to be a tickless system (dynamic
> ticks):
>
> CONFIG_TICK_ONESHOT=y
> CONFIG_NO_HZ=y
> CONFIG_HIGH_RES_TIMERS=y
>
> I don't know if this helps; it is just the way mine is set.

I'll give it a try. Thanks.

Cheers,
Zik

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to