
OV5017
8
Version 1.6
October 20, 1997
Confidential Preliminary Product Specification
O
MNI
V
ISION
 T
ECHNOLOGIES
, Inc.
EXCTL
AUTO
EXCTL[7]
Enables auto exposure. To select auto exposure mode, set this bit. To 
select manual exposure mode, clear this bit.
EX
EXCTL[6:0]
Sets the exposure time, where 7fh is the 1/50s, and 00h is the 1/
(50*128*2)s. This register is used in manual exposure mode only.
After updates are made to this register, it takes two frames for the 
chip to become stable. 
GCTL
GN 
GCTL[2:0]
Selects the post amplifier gain, where 111 is the 18dB gain and 000 is 
the 0dB in a linear relationship. This register is used in manual expo-
sure mode only. After updates are made to this register, it takes two 
frames for the chip to become stable. 
FRCTL
FDIV
FRCTL[5:0]
Divides the frame rate by 1 to 64 in steps of 1 by using this formula:
Frame Rate = F
0
 / (FDIV+1) 
Pixel Rate = f
osc
 / [(FDIV +1)*2]
where f
osc
 is the main clock frequency of XCLKi
F
0
 = f
osc
 / (458*625); F
0
=
50 @ 14.318Mhz
After updates are made to this register, it takes two frames for the 
chip to become stable. 
MCTL
GAMA 
MCTL[7]
Set this bit to select gamma = 0.45, and clear this bit for gamma = 1.
MIR
MCTL[6]
Set this bit to select mirror image.
NSR
MCTL[5]
Set this bit to turn on indoor mode, and clear for outdoor mode.
BKL
MCTL[4] 
Set this bit to turn on backlight compensation.
FZEX
MCTL[3]
Set this bit to freeze the exposure setting. This works in auto expo-
sure mode; it has no effect in manual exposure mode.
PCKS 
MCTL[2]
Clear this bit to output continuous pixel clock to PCLK; set to output 
pixel clock only during the valid pixel window
PCKI
MCTL[1]
Set this bit to inverse the polarity of 
PCLK
.
BPSHP
MCTL[0]
Set this bit to disable sharpness function.
HWCTL/
VWCTL
HWS
HWCTL[7:4]
Selects the start of the horizontal window.
HWE
HWCTL[3:0]
Selects the end of the horizontal window.
VWS
VWCTL[7:4]
Selects the start of the vertical window.
VWE
VWCTL[3:0]
Selects the end of the vertical window.
Table 3. Bit descriptions  (Continued)
Register 
Name
Bit name
Range
Function