Revision 8.0 - 28 November 2001 : MCM20027
MOTOROLA
35
MOTOROLA
SEMICONDUCTOR TECHNICAL DATA
ImageMOS
13.0 Detailed Register Block Assignments
This section describes in further detail the functional op-
eration of the various MCM20027 programmable regis-
ters. The registers are subdivided into various blocks for
ease of addressability and use (see
Table 6
).
In each table where a suffix code is used; h = hex, b =
binary, and d = decimal.
13.1 Analog Register Interface Block
The address range for this block is 00
h
to BF
h
.
13.1.1 Analog Color Configuration
The four Color Gain Registers,
Color Tile Configuration
Register
, and four Color Tile Row definitions define how
white balance is achieved on the device. Six-bit gain
codes can be selected for four separate colors:
Table 8
,
Table 9
,
Table 10
, and
Table 11
. Gain for each individ-
ual color register is programmable given the gain func-
tion defined in the table. The gain function used
depends on what Gain mode (White balance gain
mode) the sensor is set (
PGA Gain Mode; Table
25
).The user programs these registers to account for
changing light conditions to assure a white balanced
output. The default value in each register is provides for
a unity gain. In addition, the default CFA pattern color is
listed in the title of each register.
Address
00
h
DPGA Color 1 Gain Code
Green of Green-Red Row
Default
0E
h
msb (7)
6
5
4
3
2
1
lsb (0)
x
x
cg1[5]
cg1[4]
cg1[3]
cg1[2]
cg1[1]
cg1[0]
Bit
Number
Function
Description
Reset
State
7 - 6
Unused
Unused
xx
5 - 0
Gain
PGA Gain Mode
Raw Gain Mode [cg1
d
= 0-32
d
] ---> Gain = 0.6956 + (0.02174* cg1
d
)
Raw Gain Mode [cg1
d
= 33-63
d
] --> Gain = 1.391+ (0.0434* (cg1
d
-32)
(Range 0.696 - 2.736)
Linear Gain Mode -----> Gain = 0.6956 +(0.0434 x cg1
d
)
(Range 0.696 - 2.736)
001110
b
Table 8. DPGA Color 1 Gain Register
Address
01
h
DPGA Color 2 Gain Code
Red
Default
0E
h
msb (7)
6
5
4
3
2
1
lsb (0)
x
x
cg2[5]
cg2[4]
cg2[3]
cg2[2]
cg2[1]
cg2[0]
Bit
Number
Function
Description
Reset
State
7 - 6
Unused
Unused
xx
Table 9. DPGA Color 2 Gain Register