Csi Control Register 2; Table 31-6 Csi Control Register 2 Description - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

CMOS Sensor Interface Module

31.5.2 CSI Control Register 2

The CSI Control Register 2 indicates to the statistic block the live view resolution, the pixel of the Bayer
pattern where the sensor starts, and the horizontal and vertical count that determines the number of pixels
×
to skip between the 64
×
than 512
384 pixels.
CSICR2
BIT
31
30
29
TYPE
r
r
r
0
0
0
RESET
BIT
15
14
13
TYPE
rw
rw
rw
0
0
0
RESET
Name
Reserved
Reserved—These bits are reserved and should read 0.
Bits 31–27
DRM
Double Resolution Mode—Indicates whether an array
Bit 26
of 8 x 6 values or 8 x 12 values is produced for the
statistic data. See Table 31-11 on page 31-14.
AFS
Auto Focus Spread—Indicates how a group of 4 or 8
Bits 25–24
green pixels is paired up for computation of absolute
difference for the auto focus statistic data.
SCE
Skip Count Enable—Enables/Disables skip counting.
Bit 23
To enable the StatValidMask Block (refer to Figure 31-2
on page 31-13), the HSC and VSC are used for counting
the number of pixels to be skipped.
Reserved
Reserved—These bits are reserved and should read 0.
Bits 22–21
BTS
Bayer Tile Start—Indicates the pattern of the Bayer
Bits 20–19
data (starting with green, followed by red and then for
the next line, the pattern is blue followed by green).
31-8
64 blocks of statistic when generating statistics on live view images that are larger
CSI Control Register 2
28
27
26
25
DRM
r
r
rw
rw
0
0
0
0
12
11
10
9
VSC
rw
rw
rw
rw
0
0
0
0
Table 31-6. CSI Control Register 2 Description
Description
MC9328MX1 Reference Manual
24
23
22
21
AFS
SCE
rw
rw
r
r
0
0
0
0
0x0000
8
7
6
5
rw
rw
rw
rw
0
0
0
0
0x0000
0 = Statistic grid of 8 x 6
1 = Statistic grid of 8 x 12
00 = Compute absolute difference on
consecutive green pixels
01 = Compute absolute difference on
every third green pixels
1x = Compute absolute difference on
every fifth green pixels
0 = Skip count disable
1 = Skip count enable
00 = GR next line is BG
01 = RG next line is GB
10 = BG next line is GR
11 = GB next line is RG
Addr
0x00224004
20
19
18
17
BTS
LVRM
rw
rw
rw
rw
0
0
0
0
4
3
2
1
HSC
rw
rw
rw
rw
0
0
0
0
Settings
MOTOROLA
16
rw
0
0
rw
0

Advertisement

Table of Contents
loading

Table of Contents