From: Darius <augulis.darius@gmail.com>
To: video4linux-list@redhat.com
Subject: I2C interface problem with OmniVision OV7670
Date: Wed, 14 May 2008 14:44:56 +0300 [thread overview]
Message-ID: <482AD0B8.5050202@gmail.com> (raw)
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
next reply other threads:[~2008-05-14 11:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-14 11:44 Darius [this message]
2008-05-14 18:37 ` I2C interface problem with OmniVision OV7670 Darius
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=482AD0B8.5050202@gmail.com \
--to=augulis.darius@gmail.com \
--cc=video4linux-list@redhat.com \
/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