* I2C interface problem with OmniVision OV7670
@ 2008-05-14 11:44 Darius
2008-05-14 18:37 ` Darius
0 siblings, 1 reply; 2+ messages in thread
From: Darius @ 2008-05-14 11:44 UTC (permalink / raw)
To: video4linux-list
Hi,
OV7670 does not support repeated start.
When sending several messages (read or write) in one transaction,
repeated start is not accepted by OV7670. OV7670 thinks, that it is next
clock pulse, not repeated start and second message is not acknowledged.
It is known bug of OV7670 or my i2c adapter driver works not correct?
When sending one byte, everything is ok.
It is interesting, how works OV7670 driver, written by Jonathan Corbet?
Because there are used i2c_smbus_write_byte_data() and
i2c_smbus_read_byte_data() functions, which means, that in one
transaction two messages are sent - register address (write) and read data.
For me this does not work, only register address is acknowledged by
OV7670, and second message (read data) fails.
I want to know, is there possibility to use multi-message transactions
or not?
BR,
Darius
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: I2C interface problem with OmniVision OV7670
2008-05-14 11:44 I2C interface problem with OmniVision OV7670 Darius
@ 2008-05-14 18:37 ` Darius
0 siblings, 0 replies; 2+ messages in thread
From: Darius @ 2008-05-14 18:37 UTC (permalink / raw)
To: video4linux-list
btw, I got confirmation from OmniVision - OV7670 does not support
multiple I2C commands.
> Hi,
>
> OV7670 does not support repeated start.
> When sending several messages (read or write) in one transaction,
> repeated start is not accepted by OV7670. OV7670 thinks, that it is next
> clock pulse, not repeated start and second message is not acknowledged.
> It is known bug of OV7670 or my i2c adapter driver works not correct?
> When sending one byte, everything is ok.
> It is interesting, how works OV7670 driver, written by Jonathan Corbet?
> Because there are used i2c_smbus_write_byte_data() and
> i2c_smbus_read_byte_data() functions, which means, that in one
> transaction two messages are sent - register address (write) and read data.
> For me this does not work, only register address is acknowledged by
> OV7670, and second message (read data) fails.
>
> I want to know, is there possibility to use multi-message transactions
> or not?
>
> BR,
> Darius
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-14 18:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 11:44 I2C interface problem with OmniVision OV7670 Darius
2008-05-14 18:37 ` Darius
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox