This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AT91 I2C driver


On Wed, Oct 28, 2009 at 11:27:36AM +0000, Steven Clugston wrote:
> Is anybody out there interested in having/testing an AT91 I2C driver?
> 
> I'm currently having a stab at writing one using the lpc2xxx one as
> a reference, although I'm not sure if I'll actually have time to see
> it through to completion yet.

A word of caution. The Linux kernel guys consider the AT91 I2C device
to be FUBAR. 

http://cateee.net/lkddb/web-lkddb/I2C_AT91.html
http://www.mail-archive.com/git-commits-head@vger.kernel.org/msg24797.html
http://www.mail-archive.com/i2c@lm-sensors.org/msg02209.html

I think it is O.K. for single byte transfers, but anything more than
that could lead to problems.

Maybe you should consider bit banging the pins?

      Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]