ov7670-no-ram-arduino-uno icon indicating copy to clipboard operation
ov7670-no-ram-arduino-uno copied to clipboard

Setting non default reserved bits

Open abbanerjeersm opened this issue 9 years ago • 1 comments

Hello Mr. Arduino,

I am new to the platform and learning new tricks every day. I plan to build a system that transmits QCIF over RF module to another arduino board. As a starter step I plan to capture an image.

I was exploring your code and plan to restructure it to use as a .ino file. I saw that in your code ov7670.c, in the structure regval_list qvga_ov7670 you set register 0x73 to 0xf1 which is overwriting the reserved MSB where the default is 0. Am I understanding it correctly ? I am looking at the datasheet I found here http://www.voti.nl/docs/OV7670.pdf . I think this should be set to 0x01 instead. What do you think ?

Regards, Abhishek

abbanerjeersm avatar Jun 07 '15 01:06 abbanerjeersm

First of all the latest version of the datasheet that I could find was 1.4 http://www.mediafire.com/view/42fci9if9ji8a1y/OV7670_datasheet%28V1.4%29.pdf

You were using version 1.1 of the datasheet. However even when using version 1.4 I cannot find what those supposedly reserved bits do. For Omnivision reserved sometimes means: It does something I just don't want to tell you what it does yet.

I copied and pasted those registers from the Linux driver https://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/drivers/media/video/ov7670.c. The author had more information on the ov7670 than I do. I will try and contact him to see if I can get a different datasheet out of him.

ComputerNerd avatar Jun 07 '15 15:06 ComputerNerd