LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: 向宇 <noname1.c@hotmail.com>
To: <linuxppc-dev@ozlabs.org>
Subject: Confusing of using SPIE register in MPC8377E
Date: Fri, 27 Feb 2009 22:41:12 +0800	[thread overview]
Message-ID: <BLU127-W16625432C3103A605192F9B5AA0@phx.gbl> (raw)

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]


I'm writing a spi driver for MPC8377E.

I use a GPIO as the chip select signal.

I'm tring to use the NE or NF bits to decide when to read or when the transmit is over.

But I found that I have just write the command,the NE is set.Also I found that the transmit is not over the GPIO has been pulled up.

 

So I don't know what the real meaning of these two bits.Or it just indicates that the register can be write but not the operation has been over.

 

Can anyone give me a help?

Or anyone who has ever written the spi driver can give a source code for reference.

 

Thank you!

_________________________________________________________________
MSN新版在线社交网络,与您的MSN好友更全面互动!
http://im.live.cn/msn9/ 

[-- Attachment #2: Type: text/html, Size: 998 bytes --]

                 reply	other threads:[~2009-02-27 14:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=BLU127-W16625432C3103A605192F9B5AA0@phx.gbl \
    --to=noname1.c@hotmail.com \
    --cc=linuxppc-dev@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox