
Revision 8.0 - 28 November 2001 : MCM20027
MOTOROLA
37
MOTOROLA
SEMICONDUCTOR TECHNICAL DATA
ImageMOS
The
Color Tile Configuration Register; Table 12
, defines
the maximum number of lines and the maximum num-
ber of colors per line. A maximum of four row and four
column definitions are permitted. The
Color Tile Config-
uration Register
defaults to two lines and two colors per
line. The user should leave this register in default unless
a unique CFA option has been ordered.
This register can be configured to any pattern combina-
tion of 1, 2, or 4 rows and 1, 2, or 4 columns.
The Color Tile Row Definition registers;
Table 13
,
Table
14
,
Table 15
, and
Table 16
define the sequence of col-
ors for each respective line. Each byte wide line defini-
tion allows a maximum of four unique color definitions
using 2 bits per color in a given line. Gain programming
for each color was described earlier in this section. The
default line definitions are colors 00
b
, 01
b
, 00
b
, 01
b
for
row 1 and 10
b
, 11
b
, 10
b
, 11
b
for row 2 which supports a
Bayer pattern as defined in
section 2.2
. The user should
leave these registers in default unless a unique CFA op-
tion has been ordered.
For the default Bayer configuration of the color filter ar-
ray;
Figure 4
, the Color Gain Register addresses are as
follows: Reg (01
h
): green pixel of a green-red row; Reg
(00
h
): red pixel; Reg (03
h
): blue pixel; and Reg
(02
h
):green pixel of a blue-green row. The predefined
5 - 0
Gain
PGA Gain Mode
Raw Gain Mode [cg4
d
= 0-32
d
] ---> Gain = 0.6956 + (0.02174* cg4
d
)
Raw Gain Mode [cg4
d
= 33-63
d
] --> Gain = 1.391+ (0.0434* (cg4
d
-32)
(Range 0.696 - 2.736)
Linear Gain Mode -----> Gain = 0.6956 +(0.0434 x cg4
d
)
(Range 0.696 - 2.736)
001110
b
Address
03
h
DPGA Color 4 Gain Code
Green of Blue-Green Row
Default
0E
h
msb (7)
6
5
4
3
2
1
lsb (0)
x
x
cg4[5]
cg4[4]
cg4[3]
cg4[2]
cg4[1]
cg4[0]
Table 11. DPGA Color 4 Gain Register
Address
05
h
Color Tile Configuration
Default
05
h
msb (7)
6
5
4
3
2
1
lsb (0)
x
x
x
x
nc[1]
nc[0]
nr[1]
nr[0]
Bit
Number
Function
Description
Reset
State
7 - 4
Unused
Unused
xxxx
3 - 2
Columns
00
b
= 1 Column in tile.
01
b
= 2 Columns in tile.
1x
b
= 4 Columns in tile.
01
b
1 - 0
Rows
00
b
= 1 Row in tile.
01
b
= 2 Rows in tile.
1x
b
= 4 Rows in tile.
01
b
Table 12. Color Tile Configuration Register