* i2c 2 issues on omap3430
[not found] ` <ef0d8a250808250005sbf8bb8cg9cfacc6a6f2b4195-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-08-25 7:18 ` naveen krishna ch
2008-08-25 8:41 ` [i2c] " Felipe Balbi
[not found] ` <ef0d8a250808250018w587c2de0s726511c52c0794e3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 2 replies; 5+ messages in thread
From: naveen krishna ch @ 2008-08-25 7:18 UTC (permalink / raw)
To: i2c-GZX6beZjE8VD60Wz+7aTrA
[-- Attachment #1.1: Type: text/plain, Size: 1041 bytes --]
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
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,
--
Thanks,
(: Naveen Krishna Ch :)
[-- Attachment #1.2: Type: text/html, Size: 1291 bytes --]
[-- Attachment #2: Type: text/plain, Size: 157 bytes --]
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [i2c] i2c 2 issues on omap3430
2008-08-25 7:18 ` i2c 2 issues on omap3430 naveen krishna ch
@ 2008-08-25 8:41 ` Felipe Balbi
[not found] ` <ef0d8a250808250018w587c2de0s726511c52c0794e3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
1 sibling, 0 replies; 5+ messages in thread
From: Felipe Balbi @ 2008-08-25 8:41 UTC (permalink / raw)
To: naveen krishna ch; +Cc: i2c, linux-omap
Hi,
On Mon, Aug 25, 2008 at 10:18 AM, naveen krishna ch
<naveenkrishna.ch@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@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@users.sourceforge.net
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: i2c 2 issues on omap3430
[not found] ` <ef0d8a250808250018w587c2de0s726511c52c0794e3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-08-25 11:54 ` Nishanth Menon
[not found] ` <48B29D85.5030208-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Nishanth Menon @ 2008-08-25 11:54 UTC (permalink / raw)
To: naveen krishna ch; +Cc: i2c-GZX6beZjE8VD60Wz+7aTrA
Hi Naveen,
naveen krishna ch said the following on 08/25/2008 02:18 AM:
> 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.
>
Please see the discussion here:
http://groups.google.com/group/beagleboard/browse_thread/thread/ff79a14907cc8805/2dc9d0e5f08c9247?#2dc9d0e5f08c9247
You could also discuss this on linux-omap on vger mailing list.
Regards,
Nishanth Menon
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: i2c 2 issues on omap3430
[not found] ` <48B29D85.5030208-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2008-08-25 13:09 ` naveen krishna ch
[not found] ` <ef0d8a250808250609i2d95bdb8x5fa0bd78368bf610-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: naveen krishna ch @ 2008-08-25 13:09 UTC (permalink / raw)
To: Nishanth Menon; +Cc: i2c-GZX6beZjE8VD60Wz+7aTrA
[-- Attachment #1.1: Type: text/plain, Size: 580 bytes --]
>
> Hi,
I am working on a touch pad driver which uses i2c reads and writes
to the touch pad registers. But, i observe the i2c reads are not consistent.
when i try to read the Manufacturer information i get some junk values. when
i try resetting all the register and read those values i get some other
unexpected values.
I feel like its a serious OMAP3 I2C-2 timing issue.
But with same uImage some times i get correct values.
Do any one know what i am missing on. and how to debug this issue.
Thankfull for your suggestions.
>
>
(: Naveen Krishna Ch :)
[-- Attachment #1.2: Type: text/html, Size: 1052 bytes --]
[-- Attachment #2: Type: text/plain, Size: 157 bytes --]
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: i2c 2 issues on omap3430
[not found] ` <ef0d8a250808250609i2d95bdb8x5fa0bd78368bf610-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-08-25 13:23 ` Nishanth Menon
0 siblings, 0 replies; 5+ messages in thread
From: Nishanth Menon @ 2008-08-25 13:23 UTC (permalink / raw)
To: naveen krishna ch; +Cc: i2c-GZX6beZjE8VD60Wz+7aTrA
Naveen,
On Mon, Aug 25, 2008 at 8:09 AM, naveen krishna ch
<naveenkrishna.ch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Do any one know what i am missing on. and how to debug this issue.
please see response from Felipe here:
http://www.mail-archive.com/linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg03383.html
Regards,
Nishanth Menon
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-25 13:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <ef0d8a250808250005sbf8bb8cg9cfacc6a6f2b4195@mail.gmail.com>
[not found] ` <ef0d8a250808250005sbf8bb8cg9cfacc6a6f2b4195-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-08-25 7:18 ` i2c 2 issues on omap3430 naveen krishna ch
2008-08-25 8:41 ` [i2c] " Felipe Balbi
[not found] ` <ef0d8a250808250018w587c2de0s726511c52c0794e3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-08-25 11:54 ` Nishanth Menon
[not found] ` <48B29D85.5030208-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-08-25 13:09 ` naveen krishna ch
[not found] ` <ef0d8a250808250609i2d95bdb8x5fa0bd78368bf610-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-08-25 13:23 ` Nishanth Menon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.