[ECOS] AT91 I2C driver

Andrew Lunn andrew@lunn.ch
Wed Oct 28 12:38:00 GMT 2009


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



More information about the Ecos-discuss mailing list