public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Tom Deconinck <t.deconinck@gmail.com>
Cc: eCos Devel <ecos-devel@ecos.sourceware.org>
Subject: Re: [ECOS] TWI/I?C driver for AT91
Date: Thu, 22 Nov 2007 18:28:00 -0000	[thread overview]
Message-ID: <20071122182743.GA11305@lunn.ch> (raw)
In-Reply-To: <e37cb5250711220842k3204f4c2sbb50afd41698acb3@mail.gmail.com>

On Thu, Nov 22, 2007 at 05:42:11PM +0100, Tom Deconinck wrote:
> Hello,
> 
> Does anyone know if there exists a driver for the AT91 TWI peripheral?
> It's Atmels implementation of I?C and it's used on the AT91SAM7S
> family (and derivatives).
> I would create a driver that fits in the eCos I?C driver (master
> only), but I wanted to check to make sure nothing alike already
> exists.

I've been involved in a none eCos project which used an AT91SAM7S and
the TWI port. This turned out to be more difficult than expected. If
you don't feed it data fast enough it stops the transfer mid message
with an abort of something. Also, there is no DMA for this device. So
you need to make sure your other interrupt handlers are fast or you
run into problems. 

    Andrew       

       reply	other threads:[~2007-11-22 18:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e37cb5250711220842k3204f4c2sbb50afd41698acb3@mail.gmail.com>
2007-11-22 18:28 ` Andrew Lunn [this message]
2007-11-27 16:44   ` Jonathan Larmour

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=20071122182743.GA11305@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-devel@ecos.sourceware.org \
    --cc=t.deconinck@gmail.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).