All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Kastner <thomas.kastner@marekmicro.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ack problem in common/soft_i2c.c?
Date: Fri, 22 Jul 2005 13:38:35 +0200	[thread overview]
Message-ID: <42E0DABB.3030406@marekmicro.de> (raw)
In-Reply-To: <c166aa9f05071116052149024b@mail.gmail.com>

Andrew Dyer wrote:
> I am working with the soft i2c code on my target and I believe
> there is a problem in the send_ack() function.
> 
[snip]
> In my case changing the order to:
> 
> I2C_SCL(0);
> I2C_DELAY;
> I2C_ACTIVE;

I ported U-Boot to the AT91M55800A (ARM7DTMI) which has multi-driver
capable GPIOs, but didn't want to spend the time to change the I2C code
and left the ACTIVE/TRISTATE mechanism - and also came across the same
problem.
A 24C08 worked fine, but e.g. a ADV7181 would only give me a few
consecutive reads.

So yes, I can confirm there is a problem and also that the above
mentioned fix is OK.

Thomas
-- 
Thomas Kastner
Dipl.-Ing. (FH)
Entwicklung Hard- und Software

MarekMicro GmbH
Fuggerstr. 9
D-92224 Amberg

Tel:   +49 96 21 / 97 32 - 124
Fax:   +49 96 21 / 97 32 - 199
eMail: thomas.kastner at marekmicro.de
http://www.marekmicro.de

PGP: http://pgpkeys.pca.dfn.de/pks/lookup?search=0xA197D41B

  parent reply	other threads:[~2005-07-22 11:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-11 23:05 [U-Boot-Users] ack problem in common/soft_i2c.c? Andrew Dyer
2005-07-12  7:07 ` AW: " Reinhard Meyer
2005-07-22 11:38 ` Thomas Kastner [this message]
2005-07-26 18:42   ` [U-Boot-Users] PATCH was(ack problem in common/soft_i2c.c) Andrew Dyer

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=42E0DABB.3030406@marekmicro.de \
    --to=thomas.kastner@marekmicro.de \
    --cc=u-boot@lists.denx.de \
    /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.