Re: I2C interface problem with OmniVision OV7670
- Date: Wed, 14 May 2008 21:37:54 +0300
- From: Darius <augulis.darius@xxxxxxxxx>
- Subject: Re: I2C interface problem with OmniVision OV7670
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@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list
- References:
- I2C interface problem with OmniVision OV7670
- From: Darius
- I2C interface problem with OmniVision OV7670
- Prev by Date: Re: [GIT PATCHES] V4L/DVB fixes for 2.6.26
- Next by Date: Re: [GIT PATCHES] V4L/DVB fixes for 2.6.26
- Previous by thread: I2C interface problem with OmniVision OV7670
- Next by thread: Compro S300/S350 linux driver violates the GPL
- Index(es):