cd34021-a.fm 15/01/98 26
VV6300 Sensor
Status 0 [000_00102]
The loading of certain system parameters is timed to avoid disturbing the video signal part way through a
frame. Bits 0-2 can be polled to check that a value written to either the exposure, gain or clock division
registers has been consumed or not. Bit 3 is essentially an internal flag differentiating between consecutive
frames.
Line_count [000_01002]
The video timing logic is controlled by the pixel counter and the line counter. To reduce the level of digital
switching noise these counters implement a gray count sequence, where only a single counter register can
change state in a clock period. However the gray count sequence is user unfriendly,e.q. 248,232,233,
235,234. A binary version of the line count is generated internally, realising a 0,1,2,3,4..... sequence, and it
is this count sequence that is read by the serial interface and hence made available to the sensor user.
Line_avg 0 [000_01012] & Line_avg 1 [000_01102]
The exposure controller accumulates the pixel output values. On a line by line basis the accumulation is
performed in two stages. The qualified pixels in the left half of the video line are accumulated and then stored
in a latch. The process is then repeated during the right half of the video line. During the interline line period
(up until the latch that stores the value for the left half of the line is updated during the next line) the latches
will present valid average 8-bit pixel values for both halves of the line.
Bit Function Default Comment
0 Exposure value update pending 0 New exposure setting sent but not yet con-
sumed by the exposure controller
1 Clock division value update
pending
0 New clock division setting sent but not yet
consumed by the exposure controller
2 Gain value update pending 0 New gain value sent but not yet consumed by
the exposure controller
3 Odd/even frame 0 The flag will toggle state on alternate frames
4 Black Calibration fail flag 0 If the black calibration algorithm returns very
poor black leve ls - o utwi th both the c alibrati on
and monitor windows then this fla g will be set
and it will stay set until the next successful cal-
ibration is complete
7:5 Unused 0
Status 0 [000_00102]
Bits Function Default Comment
7:0 Line count 0000_00002Displays current line count
Line_count [000_01002]
Bits Function Default Comment
7:0 Line average 0 Average pixel value for first half of current line.
Line_avg 0 [000_01012]
Bits Function Default Comment
7:0 Line average 0 Average pixel value for second half of current line.
Line_avg 1 [000_01102]