All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Gatliff <bgat-uPd5UNENI//N9NzbbXoYwQ@public.gmane.org>
To: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Nicolas Ferre
	<nicolas.ferre-XEyKDsrmbOsS+FvcfC7Uqw@public.gmane.org>,
	Haavard Skinnemoen
	<hskinnemoen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>,
	andrew-eS41wJS13H5l57MIdRCFDg@public.gmane.org
Subject: Re: problem with converting from at91_spi to atmel_spi (AT91RM9200)
Date: Thu, 24 May 2007 12:20:22 -0500	[thread overview]
Message-ID: <4655C956.8080300@billgatliff.com> (raw)
In-Reply-To: <200705240931.43663.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1048 bytes --]

David:

David Brownell wrote:
> Yet, I got the report (at91rm9200 specific).  Bill?  (I remember
> MODFDIS acting oddly, non-rm9200, but forget the details.)  And in
> any case there seem to be other folk reporting rm9200 + dataflash
> issues ... while mtd_dataflash doesn't seem to be at fault.  So
> maybe that combination of errata isn't the issue, but something
> else is making the problem. 
>   

Good recall!  :)

Rev. F of the AT91RM9200 manual says, in 41.9.4:

    "If Mode fault is disabled, Chip Select 0 cannot be driven by a
    component other than the SPI otherwise the transfer does not occur".

... but if you enable mode faulting, something else breaks IIRC.

IOW, CS0 for the 9200 doesn't work if the SPI controls it.  And SPI 
doesn't work for CS0 if the SPI controller _doesn't_ control it, 
either.  So I've just quit using CS0.  :( 

At least, that's where I left it with 2.6.20 during my investigations.  
Haven't come back to this topic since then.




b.g.

-- 
Bill Gatliff
bgat-uPd5UNENI//N9NzbbXoYwQ@public.gmane.org


[-- Attachment #1.2: Type: text/html, Size: 1641 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 210 bytes --]

_______________________________________________
spi-devel-general mailing list
spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

  parent reply	other threads:[~2007-05-24 17:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-23 11:34 problem with converting from at91_spi to atmel_spi (AT91RM9200) Ivan Kuten
2007-05-23 16:06 ` David Brownell
     [not found]   ` <200705230906.13353.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2007-05-23 16:29     ` Ivan Kuten
2007-05-24 11:36     ` Haavard Skinnemoen
     [not found]       ` <20070524133646.62bbc386-RzfXdsu3MTOUA/xf2v/QOMGzbamoMwWuEvhb3Hwu1Ks@public.gmane.org>
2007-05-24 16:31         ` David Brownell
     [not found]           ` <200705240931.43663.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2007-05-24 17:20             ` Bill Gatliff [this message]
     [not found]               ` <4655C956.8080300-uPd5UNENI//N9NzbbXoYwQ@public.gmane.org>
2007-05-24 18:24                 ` Ivan Kuten
2007-05-24 18:43                   ` Bill Gatliff
2007-05-25  7:07                   ` Andrew Victor
     [not found]                     ` <1180076844.23793.6.camel-WDSYOcD6Br5jTuWFell1NFaTQe2KTcn/@public.gmane.org>
2007-05-25 14:19                       ` Ivan Kuten
2007-05-25 14:41                         ` Andrew Victor
2007-05-25 16:51                         ` David Brownell
     [not found]                           ` <200705250951.06614.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2007-05-25 16:54                             ` Bill Gatliff
2007-05-25 15:02         ` Ivan Kuten
2007-05-25 15:55           ` Haavard Skinnemoen
     [not found]             ` <20070525175502.4927c151-RzfXdsu3MTOUA/xf2v/QOMGzbamoMwWuEvhb3Hwu1Ks@public.gmane.org>
2007-05-26 14:02               ` Ivan Kuten
2007-05-27 12:45                 ` Haavard Skinnemoen
2007-05-24 15:27     ` Ivan Kuten

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4655C956.8080300@billgatliff.com \
    --to=bgat-upd5uneni//n9nzbbxoywq@public.gmane.org \
    --cc=andrew-eS41wJS13H5l57MIdRCFDg@public.gmane.org \
    --cc=david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org \
    --cc=hskinnemoen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org \
    --cc=nicolas.ferre-XEyKDsrmbOsS+FvcfC7Uqw@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.