![Omnivision CameraChip OV9650 Implementation Manual Download Page 14](http://html1.mh-extra.com/html/omnivision/camerachip-ov9650/camerachip-ov9650_implementation-manual_740719014.webp)
14
Proprietary to OmniVision Technologies
Version 1.1, December 7, 2004
OV9650 Color CMOS SXGA (1.3 MegaPixel) CameraChip™
O
mni
ision
2. Set the C
AMERA
C
HIP
Available Exposure Line (AEL):
Suppose N is integer, N = 1,2,3…
Available exposure line are: AEL = N
×
MEL where AEL should be equal or less than the maximum
exposure line limitation based on different resolutions.
3. Convert AEL to binary, and then send 2 LSBs hex number to register
[1:0] (0x04) and 8 MSBs hex
number to register
[7:0] (0x10) and 6 MSBs to register
[5:0] (0xA1).
Maximum Exposure Line Limitation
OV9650 maximum exposure line values are:
•
SXGA - 1048 lines
Register setting: {
[5:0] (0xA1) = 0x01,
[7:0] (0x10) = 0x06,
[1:0] (0x04) = 0x00}
•
VGA - 498 lines
Register setting: {
[5:0] (0xA1) = 0x00,
[1:0] (0x04) = 0x02}
•
QVGA - 248 lines
Register setting: {
[5:0] (0xA1) = 0x00,
[7:0] (0x10) = 0x3E,
[1:0] (0x04) = 0x00}
•
QQVGA - 248 lines
Register setting: {
[5:0] (0xA1) = 0x00,
[7:0] (0x10) = 0x3E,
[1:0] (0x04) = 0x00}
•
CIF - 382 lines
Register setting: {
[5:0] (0xA1) = 0x00,
[1:0] (0x04) = 0x02}
•
QQCIF - 190 lines
Register setting: {
[5:0] (0xA1) = 0x00,
[1:0] (0x04) = 0x02}
•
QQCIF - 190 lines
Register setting: {
[5:0] (0xA1) = 0x00,
[1:0] (0x04) = 0x02}
3.4.1.2 Automatic Exposure Control Mode (AEC)
The AEC function allows for the C
AMERA
C
HIP
to adjust the exposure without external command or
control. The registers
[5:0] (0xA1),
[1:0] (0x04) are adjusted
by the C
AMERA
C
HIP
internal controls and cannot be overwritten by an external device.
Auto-Exposure Control Enable Bit
To enable the AEC function, set register
[0] (0x13) to "1". The AEC controls image luminance
using registers
(0x24) and
(0x25). The register
(0x24) value indicates the high
threshold value and register
(0x25) indicates the low threshold value. When the target image
luminance average value (YAVG) is within the range specified by registers
(0x24) and
(0x25), the AEC keeps the image exposure. When YAVG, is greater than the value in register
(0x24), the AEC will decrease the image exposure. When YAVG is less than the value in register
(0x25), the AEC will increase the image exposure. Accordingly, the value in register
(0x24) should be greater than the value in register
(0x25). The gap between the
and
(0x25) register values controls the image stability. The recommended values for register
(0x25) are:
(0x24) = 0x74;
(0x25) = 0x68.