[i2c] i2c 2 issues on omap3430
Felipe Balbi
felipebalbi at users.sourceforge.net
Mon Aug 25 10:41:03 CEST 2008
Hi,
On Mon, Aug 25, 2008 at 10:18 AM, naveen krishna ch
<naveenkrishna.ch at gmail.com> wrote:
>
>
> Hi,
> I am facing some i2c issues on omap3430 with linux 2.6.24 kernel.
>
> My device is a slave sitting on I2C2 of OMAP3430.
>
> I am observing the following,
>
> 1) Sometimes i get "i2c_omap.2: controller timed out"
>
> i2c_omap.2: No acknowledmentif i use i2c 2 at 100khz
> and i dont find them when i run at 400khz.
>
> 2) Sometimes the i2c write and read succeeds but data received is junk.
>
> 3) The I2C reads are not consistent. with same image if i boot several
> times
I think most of this (if not all of them) are fixed in current
linux-omap git tree.
Could you try that out and report if the same error appears on linux-omap
HEAD ?
Care to keep linux-omap at vger.kernel.org on the loop
>
>
> The readed values keep variying.
>
> I am not sure what could be the problem. The mux settings seems okay.
>
> The client creation seems fine. Can any one suggest me the exact
> i2c bus registration steps. right now i only have
>
>
>
> omap_register_i2c_bus(1, CONFIG_I2C_OMAP34XX_HS_BUS1, NULL, 0);
>
> in the board file. and
>
> MUX configurations in the
>
> arch/arm/plat-omap/i2c.c
> arch/arm/mach-omap2/mux.c
> include/asm/arch/mux.h
>
>
>
> files
>
> Am i missing something?
>
> Please advice,
--
Best Regards,
Felipe Balbi
felipebalbi at users.sourceforge.net
More information about the i2c
mailing list