MCM20014
MOTOROLA
7
WOI is defined using the WOI Pointer, WOI Depth, and
WOI Width registers, (
Table 29 on page 35
through
Ta-
ble 36 on page 37
). Please refer to
Figure 6
for a picto-
rial representation of the WOI within the active pixel
array.
Figure 6. WOI Definition
2.1.6 WOI Sub-sampling Control
The WOI can be sub-sampled per user control. The
user can read out the pixel data in either monochrome
or bayer pixel space in four different sampling rates in
each direction: full, 1/2, 1/4, or 1/8. The user controls
the subsampling via the
Sub-sample Control Register,
(Table 25), on page 32
. An example of Bayer space
sub-sampling is shown in
Figure 7
.
Figure 7. Bayer Space Sub-sampling Example
2.1.7 CFCM Frame Rate and Integration Time
Control
In addition to the minimum time required to readout the
selected resolution and WOI, the user has the ability to
control the frame rates while operating in CFCM. This is
done by varying the size of a Virtual Frame surrounding
the WOI. Please refer to
Figure 8
for a pictorial descrip-
tion of the Virtual Frame and its relationship to the WOI.
Figure 8. Virtual Frame Definition
The frame rate (time required to readout an entire frame
of data plus the required boundary timing) is completely
defined by the size of the Virtual Frame and can be ex-
pressed as:
Frame Time = vrd
d
* T
row
+ T
fc
for T
row
< T
lim
Frame Time = (vrd
d
+ 1) * T
row
for T
row
> T
lim
where vrd
d
defines the number of rows in the virtual
frame. The user controls vrd
d
via the CFCM Virtual
Frame Row Depth registers (
Table 40 on page 39
and
Table 41 on page 40
).
Row Time (T
row
) is the length of time required to read
one row of the virtual frame and can be defined as:
T
row
= (vcw
d
+ shs
d
+ shr
d
+ 19) * MCLK
period
where vcwd defines the number of columns in the virtual
frame and shs
d
and shr
d
are internal timing control reg-
isters. The user controls vcw
d
via the CFCM Virtual
Frame Column Width registers (
Table 42 on page 40
and
Table 43 on page 41
). The user controls the shs
d
and shr
d
values via the
Internal Timing Control Register;
Table 28
and is strongly encouraged to write an 00
h
to
this register.
T
lim
is the minimum amount of time required for the in-
ternally generated frame clamp signal and is defined as:
T
lim
= 719 * MCLK
period
T
fc
is the minimum amount of time required to perform
a frame clamp with timing overhead and is defined as:
T
fc
= (719 + shs
d
+ shr
d
+ 19) * MCLK
period
0
703
0
511
WOI Pointer (wcp,wrp)
W
WOI Column Width (wcw)
ACTIVE PIXEL ARRAY
Window of Interest (WOI)
R
G
R
G
R
G
R
G
R
G
R
G
G
B
G
B
G
B
G
B
G
B
B
B
R
G
R
G
R
G
R
G
R
G
R
G
G
G
B
G
B
G
B
G
B
G
B
G
B
B
R
G
R
G
R
G
R
G
R
G
R
G
G
G
B
G
B
G
B
G
B
G
B
G
B
B
R
G
R
G
R
G
R
G
G
B
G
B
G
B
G
B
R
G
R
G
R
G
R
G
G
B
G
B
G
B
G
B
R
G
R
G
R
G
R
G
G
B
G
B
G
B
G
B
R
G
R
G
R
G
G
B
G
B
G
B
R
G
R
G
R
G
G
B
G
B
G
B
R
G
R
G
R
G
G
B
G
B
G
B
R
G
G
B
R
G
G
B
R
G
G
B
G
G
R
G
B
B
G
B
R
G
G
R
G
B
B
G
B
R
G
R
G
R
G
G
B
G
B
G
B
Sub-sample Control Register =
x01x0101
b
=
Progressive Scan
Bayer Pattern
Read 1 Pattern, Skip 1 Pattern
in both directions
R
G
R
G
R
G
R
G
R
G
R
G
B
B
G
B
G
B
G
B
G
R
G
R
G
R
G
R
G
R
G
R
G
B
G
B
G
B
G
B
G
B
G
G
R
G
R
G
R
G
R
G
B
G
B
G
B
G
B
G
B
G
R
G
B
G
B
R
G
G
B
0
vcw[13:0]
0
vrd[13:0]
WOI Pointer (wcp,wrp)
W
WOI Column Width (wcw)
Virtual Frame
Window of Interest (WOI)