From: "naveen krishna ch" <naveenkrishna.ch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: i2c 2 issues on omap3430
Date: Mon, 25 Aug 2008 12:48:04 +0530 [thread overview]
Message-ID: <ef0d8a250808250018w587c2de0s726511c52c0794e3@mail.gmail.com> (raw)
In-Reply-To: <ef0d8a250808250005sbf8bb8cg9cfacc6a6f2b4195-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- 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
next parent reply other threads:[~2008-08-25 7:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ef0d8a250808250005sbf8bb8cg9cfacc6a6f2b4195@mail.gmail.com>
[not found] ` <ef0d8a250808250005sbf8bb8cg9cfacc6a6f2b4195-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-08-25 7:18 ` naveen krishna ch [this message]
2008-08-25 8:41 ` [i2c] i2c 2 issues on omap3430 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
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=ef0d8a250808250018w587c2de0s726511c52c0794e3@mail.gmail.com \
--to=naveenkrishna.ch-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org \
/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