All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mpc52xx_psc_spi setting the tdfOnExit flag only on the last byte
@ 2008-09-30  9:22 Stefano Babic
       [not found] ` <1222766572-17499-1-git-send-email-sbabic-ynQEQJNshbs@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Stefano Babic @ 2008-09-30  9:22 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Stefano Babic

According to the manual the "tdfOnExit" flag must be set on the last byte
we want to send. The PSC controller holds SS low until the flag is set.
However, the flag was set always on the last byte of the FIFO, independently if
it is the last byte of the transfer. This generates spurious toggling of the
SS signals that breaks the protocol of some peripherals.

Signed-off-by: Stefano Babic <sbabic-ynQEQJNshbs@public.gmane.org>



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-10-01 14:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-30  9:22 [PATCH] mpc52xx_psc_spi setting the tdfOnExit flag only on the last byte Stefano Babic
     [not found] ` <1222766572-17499-1-git-send-email-sbabic-ynQEQJNshbs@public.gmane.org>
2008-09-30  9:22   ` Stefano Babic
     [not found]     ` <1222766572-17499-2-git-send-email-sbabic-ynQEQJNshbs@public.gmane.org>
2008-09-30 14:09       ` Grant Likely
2008-09-30 14:07   ` Grant Likely
     [not found]     ` <20080930140726.GG18313-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
2008-09-30 14:15       ` Stefano Babic
     [not found]         ` <48E23473.8060604-ynQEQJNshbs@public.gmane.org>
2008-09-30 14:44           ` Grant Likely
2008-10-01 11:12           ` Stefan Roese
     [not found]             ` <200810011312.27678.sr-ynQEQJNshbs@public.gmane.org>
2008-10-01 14:29               ` Stefano Babic

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.