From: Wolfgang Denk <wd@denx.de>
To: "Stephan Linke" <Stephan.Linke@epygi.de>
Cc: "Linuxppc-Embedded" <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: problems running I2C and/or SPI on 857 board
Date: Tue, 26 Mar 2002 13:25:14 +0100 [thread overview]
Message-ID: <20020326122519.3849C109F3@denx.denx.de> (raw)
In-Reply-To: Your message of "Tue, 26 Mar 2002 12:13:18 +0100." <FCEAKDJJAPHPLJFINDAJIENECDAA.Stephan.Linke@epygi.de>
In message <FCEAKDJJAPHPLJFINDAJIENECDAA.Stephan.Linke@epygi.de> you wrote:
> I'm using 1.1.4 at the moment. (Can't update for now.)
> I found the problem with I2C. Looks like I don't need the microcode patch.
> But I need to do the settings as if I would use the microcode patch. I don't
> know why but maybe the 857/862 ERRATA ESAR6 says something like that...
>
> I still think that there are some buggy pathes in the code. But let me
> see...
I'll happily accept patches...
> > I wonder why you use the CPM code at all. I always found it much
> > easier to use CONFIG_SOFT_I2C ...
> >
> Well, I don't know the soft I2C. I guess, when we started playing with the
> 8260 there was no soft I2C. Is there a timing difference? Is there a soft
> SPI too?
There has always been a soft-i2c. The timing is dictated by the
external hardware (i2c bus), so no, there is not much of a
difference. The main difference is where the CPU burns it's cycles:
with soft-i2c it's running the delay loops, and with the CPM it's
setting up the CPM stuff and waiting for the transfer to be done.
Not much practical difference, if you ask me. And the soft-i2c
solution is much simpler...
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Physician: One upon whom we set our hopes when ill and our dogs when
well. - Ambrose Bierce
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next parent reply other threads:[~2002-03-26 12:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <FCEAKDJJAPHPLJFINDAJIENECDAA.Stephan.Linke@epygi.de>
2002-03-26 12:25 ` Wolfgang Denk [this message]
2002-03-25 12:59 problems running I2C and/or SPI on 857 board Stephan Linke
2002-03-25 13:11 ` Wolfgang Denk
2002-03-26 10:03 ` Stephan Linke
2002-03-26 10:29 ` Wolfgang Denk
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=20020326122519.3849C109F3@denx.denx.de \
--to=wd@denx.de \
--cc=Stephan.Linke@epygi.de \
--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).