Skip to content
Discussion options

You must be logged in to vote

Having a look again at the OV7670 driver, there is a comment within the driver which states:

	/*
	 * Read product ID from camera. This camera implements the SCCB,
	 * spec- which *should* be I2C compatible, but in practice does
	 * not seem to respond when I2C repeated start commands are used.
	 * To work around this, use a write then a read to interface with
	 * registers.
	 */

Or, the video_read_cci_reg IS doing repeated start, aka the log below:

[00:00:00.103,000] <dbg> i2c: i2c_dump_msgs_rw: I2C msg: i2c@58001c00, addr=21
[00:00:00.103,000] <dbg> i2c: i2c_dump_msgs_rw:    W Sr   len=01: 0a
[00:00:00.103,000] <dbg> i2c: i2c_dump_msgs_rw:    R Sr P len=01: 00
[00:00:00.103,000] <err> v…

Replies: 11 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@josuah
Comment options

josuah Sep 1, 2025
Collaborator

@mjs513
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@avolmat-st
Comment options

@josuah
Comment options

josuah Sep 2, 2025
Collaborator

@josuah
Comment options

josuah Sep 2, 2025
Collaborator

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@mjs513
Comment options

@mjs513
Comment options

@avolmat-st
Comment options

@avolmat-st
Comment options

Answer selected by josuah
@josuah
Comment options

josuah Sep 2, 2025
Collaborator

Comment options

You must be logged in to vote
2 replies
@josuah
Comment options

josuah Sep 3, 2025
Collaborator

@mjs513
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants