public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Regarding the I2C error
@ 2007-07-31 14:26 balaji  narayanam
  2007-08-01  1:27 ` Nishanth Menon
  0 siblings, 1 reply; 2+ messages in thread
From: balaji  narayanam @ 2007-07-31 14:26 UTC (permalink / raw)
  To: linux-omap-open-source

  
Hi,

I am trying to interface the OV7620 cmos Image sensor to the Expansion connector C pins of the OMAP5912 OSK.

FOR THAT WE DESIGNED A SIMPLE PCB to connect the Expansion Connector C of OSK5912 TO OV720 SENSOR.

While Building the Linux kernel image in the make menuconfig I had chosen the OVCAMCHIP as module in Linux/drivers/media/video/ovcamchip"
which contain the ov7620 kernel space driver module.
Even I selected the I2C in the menu configuration.
I verified that the camera  is receiving the necessary voltages.

But in the U-boot log we are not getting any OV7620 chip detected message. I am not getting any response at the i2c node in /dev/i2c-0 of OSK5912. 
when I give  # cat /dev/i2c-0
I am getting the following error

i2c_omap i2c_omap.1: timeout waiting for bus ready
cat: Read error: Connection timed out.

Please clarify

Balaji.N




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Regarding the I2C error
  2007-07-31 14:26 Regarding the I2C error balaji  narayanam
@ 2007-08-01  1:27 ` Nishanth Menon
  0 siblings, 0 replies; 2+ messages in thread
From: Nishanth Menon @ 2007-08-01  1:27 UTC (permalink / raw)
  To: balaji narayanam; +Cc: linux-omap-open-source

balaji narayanam stated on 7/31/2007 9:26 AM:
>   
> But in the U-boot log we are not getting any OV7620 chip detected message. I am not getting any response at the i2c node in /dev/i2c-0 of OSK5912. 
> when I give  # cat /dev/i2c-0
> I am getting the following error
>
> i2c_omap i2c_omap.1: timeout waiting for bus ready
> cat: Read error: Connection timed out.
>   

Usually camera sensors need a power up sequence and clock before they
start responding on i2c.. am not sure of ov sensors.. micron does at
least... so u'd need to know the datasheet of the sensor to be sure at
what stage u can start communicating with the sensor in i2c. I usually
would do it in kernel as lots more things would be functional there..

Regards,
NM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-01  1:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31 14:26 Regarding the I2C error balaji  narayanam
2007-08-01  1:27 ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox