linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* I2C Device Register Read problem in 440GP
@ 2002-11-21 13:38 Vishwanath
  0 siblings, 0 replies; only message in thread
From: Vishwanath @ 2002-11-21 13:38 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-21 13:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-21 13:38 I2C Device Register Read problem in 440GP Vishwanath

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).