item 1:
To enable the raw image output from the ov7610 sensor, it looks like one
needs to clear the comh[2] bit (register 0x28). The YG feature seems to be
indirectly mentioned in the 2.2 Bus standards section on page 4 of the 7610
data sheet. I get the impression that the YG feature outputs the green(of
RGB) or Y(of YUV) on the y channel data stream. The doc says the y channel
datastream is either Y image plane data, G image plane data or odd line raw
pixel data.
item 2:
I have been pouring over the registers and noticed what appears to be an
error in the values used for lncnt. (claudio see line 845-856 of your latest
ov511.c). The values are set to 0x3d for 480 line modes which according to
the spec would allow 496 lines of data to be transfered from the sensor... I
think the correct values should be 0x4b. The other resolutions seem to have
a similar problem. The ov511 data sheet shows a default of 0x1d which
computes as (0x1d+1)*8 = 0xf0 = 240 lines. Is there a reason why we allow
the sensor to send up to 16 extra lines? The lncnt value ultimately gets
output to the ov511 register 0x13. I wonder if this may be the cause of the
overnight hanging problems... could we be getting extra data from the sensor
which is not being read by the driver, resulting in a pile up of unread data
(ov511 fifo full?).
=======================================================
Lawrence Glaister VE7IT email: [EMAIL PROTECTED]
1462 Madrona Drive http://jfm.bc.ca
Nanoose Bay BC Canada
V9P 9C9
=======================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]