linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Vishwanath" <vishwanath@mistralsoftware.com>
To: <linuxppc-embedded@lists.linuxppc.org>
Subject: I2C Device Register Read problem in 440GP
Date: Thu, 21 Nov 2002 19:08:13 +0530	[thread overview]
Message-ID: <001201c29163$3d2e9cd0$faffa8c0@VISHWANATH> (raw)


Hi all,

I have written custom driver for accessing a device sitting on the I2C bus
of IBM 440GP. I am operating in the master mode of I2C controller of 440GP.
I was able to write a particular value onto the device register. But when I
try to read the value back, it is returning 0. I have disabled the
interrupts.

When I was debugging, I found that data was arriving on the I2C bus. But
before I could read the Master Data Buffer Register of 440 GP, the register
is getting cleared. Does anyone no why?

Pls help me. I am stuck.

Thanks and regards,
vishwa


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

                 reply	other threads:[~2002-11-21 13:38 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='001201c29163$3d2e9cd0$faffa8c0@VISHWANATH' \
    --to=vishwanath@mistralsoftware.com \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).