linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Sylvain Munaut <tnt@246tnt.com>
To: iida <iida@ztec.com.br>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: bestcomm and i2c
Date: Mon, 05 Jul 2004 23:59:33 +0200	[thread overview]
Message-ID: <40E9CF45.7020009@246tNt.com> (raw)
In-Reply-To: <40E9C6D3.5020708@ztec.com.br>


iida wrote:

 >
 > I  am to use the bestcomm API with 2.4.25 denx to control the i2c

Are you really sure you want to do that ?
Your peripheral really require such I2C bandwidth that you just can't
use the actual code ?

 > Someone already used it ? Could provide a example /

Well, my last attempt was just to use interrupt to know when a
transfer was done instead of busy waiting. And I never got any
interrupts for the second I2C controller ( the one wired on the
lite5200 board ) unless I init both I2C controllers. I haven't yet
figured why ...

To get back at your original question, IIRC the BestCommAPI
package(Some big zip freescale will send you if you ask several times
;) ) has some code example of all devices, somewhere in a "validation"
directory. I can't send it, it's (c) Freescale.

Sylvain


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

      reply	other threads:[~2004-07-05 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05 21:23 bestcomm and i2c iida
2004-07-05 21:59 ` Sylvain Munaut [this message]

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=40E9CF45.7020009@246tNt.com \
    --to=tnt@246tnt.com \
    --cc=iida@ztec.com.br \
    --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).