OV7620ProductSpecifications-Rev.1.3(5/13/00)
PreliminaryCompanyConfidential
OV7620SINGLE-CHIPCMOSVGACOLORDIGITALCAMERA
Features
•326,688pixels,1/3”lens,VGA/QVGAformat
•Readout-progressive/Interlace
•Dataformat-YCrCb4:2:2,GRB4:2:2,RGBRawData
•8/16bitvideodata:CCIR601,CCIR656,ZVport
•VideoTiming-525line,30fps
•Widedynamicrange,anti-blooming,zerosmearing
•SCCB(SerialCameraControlBus)interface
•Electronicexposure/Gain/whitebalancecontrol
•Imageenhancement-brightness,contrast,gamma,saturation,
sharpness,window,etc.
•Internal/externalsynchronizationscheme
•Frameexposure/lineexposureoption
•5Voltoperation,lowpowerdissipation.
GeneralDescription
OV7620isahighlyintegratedhighresolution
(640x480)Interlaced/ProgressiveScanCMOSdigital
color/black&ital
videoportsupports60HzYCrCb4:2:216Bit/8Bitfor-
mat,ZVPortoutputformat,RGBrawdata16Bit/8Bit
outputformatandCCIR601/lt-
inSCCBinterfaceprovidesaneasywayofcontrolling
thebuilt-incamerafunctions.
•VideoConferencing
•VideoPhone
•VideoMail
•StillImage
•PCMultimedia
OV700148-PinOutDiagram
U
V
7/
B
8
U
V
6/
B
P
C
L
R
U
V
5
/
MI
R
U
V
4/
S
L
A
E
N
U
V
3/
E
C
L
K
O
U
V
2
/
Q
V
G
A
U
V
1/
C
C
6
5
6
U
V
0
/
G
A
M
DI
S
X
C
L
K
1
X
C
L
K
2
D
V
D
D
D
G
N
D
654321
4
8
4
7
4
6
4
5
4
4
4
3
A
G
N
D
V
R
E
Q
F
R
E
X
A
G
C
E
N/
R
A
MI
N
T
R
E
S
E
T
S
V
D
D
S
G
N
D
MI
D
SI
O-
0
SI
O-
1
A
V
D
D
A
G
N
D
7
8
9
10
11
12
13
14
15
16
17
18
AGND
AVDD
PWDN
VRS
VCCHG
SBB
VTO
AVDD
AGND
VSYNC/CSYS
FODD/SRAM
HREF/VSRAM
31
32
33
34
35
36
37
38
39
40
41
42
DOGND
DOVDD
PCLK/OUTX2
Y7/CS0
Y6/CS2
Y5/SHARP
Y4/CS1
Y3/RAW
Y2/G2X
Y1/PROG
Y0/CBAR
CHSYNC/BW
1
9
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
2
9
3
0
OV7620
ArrayElements664x492
PixelSize7.6x7.6um
ImageArea4.86x3.64mm
Electronic
Exposure
500:1
ScanMode
progressive
interlace
Gamma
Correction
128CurveSettings
Seespecifics
Minimum
Illumination
2.5lux@f1.4
0.5lux@f1.4
(3000K)
S/NRatio>48dB
PowerSupply5VDC,±5%
Power
Requirements
<120mWActive
<10uWStandby
Package48-pinLCC
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
2
PreliminaryCompanyConfidential
SECTION1
PRODUCTOVERVIEW
OV7620isahighlyintegratedhighresolution(640x480)Interlaced/ProgressiveScanCMOS
digitalcolor/black&italvideoportsupports60HzYCrCb4:2:2
16Bit/8Bitformat,ZVPortoutputformat,RGBrawdata16Bit/8BitoutputformatandCCIR601/
lt-inSCCB(SerialCameraControlBus)interfaceprovidesaneasyway
ofcontrollingthebuilt-incamerafunctions.
1.1FEATURES
•Singlechipdigitalcolor/black&whitevideocamerachip.
•Scanning-Interlaced/ProgressiveScan.
•Format-1/3”lenscompatible.
•Imagearea-4.86X3.64mm.
•Totalactivepixelelements-(H)664x(V)492squarepixel.
•Defaultactivepixelelement-(H)640x(V)480.
•Pixelsize:7.6x7.6um.
•10BittwochannelinternalA/DConverterand8/10BitOutput.
•PCLKandHREFpolarityprogrammable.
•DigitalOutputformat-
YCrCb16bit/8bitlectable
60Hz16BitYCrCb4:2:2-640x480
60Hz8BitYCrCb4:2:2-640x480
RGBRawDataDigitalOutput16Bit/8Bitlectable
•Two-lineoutput:
•YChannel:BGBGBG...
•UVChannel:GRGRGR...
Two-linealternateoutput:
YChannel:GGGGGG...
UVChannel:BRBRBR...
One-lineoutput,uYChannelonly,effectiveonlyinProgressiveScanMode
1stline:BGBGBGBG...
2ndline:GRGRGRGR...
•CCIR601/CCIR656standard.
•YCrCBorYUVoutputformattosupportTVormonitordisplay
•ZVPortYUV16Bitformat.
•QVGAformat(320x240).
•Y/UVorRGBoutputbyteMSBandLSBswap.
•SCCBinterface,supportfastmode:400kBit/s.
•ExternalFieldSyncinput.
•ExternalHorizontal/VerticalSyncinputformat,OV7620workedasslavechip.
•Supportexternalmicro-controllerandRAMinterface
•ProgressiveScanmode:supportwhole-frameexposure.
•Programmableframerate-0.5to30fps.
•Electronicshuttertting(u27Mhzcrystalanddefaultclockrate).
Interlaced:1/60to
1
/
15734
(s)
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
3
PreliminaryCompanyConfidential
ProgressiveScan:1/30to1/15734(s)
•AGC(+24dB)-auto/programmable.
•PreAmpGain6/12db.
•Auto-Exposure-ratioprogrammable.
•Whitebalance-auto/programmable.
•Auto-White-Balance-ratioprogrammable.
•Brightness&contrastadjustment.
•ColorSaturationadjustment.
•Aperturecorrection.
•Multiplegammacorrectioncurvelection.
•Multipleluminancegammacorrectioncurvelection.
•S/Nratio>48dB.
•Software/HardwareRet.
•Software/hardwarepowersavingcontrol
•Minimumillumination2.5luxatf1.4(3000k).
•Opticalfillfactoris40%.
•Supply:5voltforanalogandDigitalcircuit;5voltor3.3voltfordigitalinterface.
•Powerconsumption<120mW.
•Power-savemode<10uA.
•ChipSCCBID:010CS2CS1CS01R/W(CS2CS1CS0lectbyPINwhenpower-on,default0).
•48pinpackage.
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
4
PreliminaryCompanyConfidential
1.2PinAssignments
Table1:PinDescriptions(Pintypeanddefaultlevel:I-1:digitalinput+10kpullup;I-0:digitalinput+10kpull
down,XI/XO;xtalIO;/Secondaryfunctionsaretduringpowerup;O/I:digitalCMOSleveloutputBias:power
supplybias.).
Pin#NameClassFunction
1SVDDBiasSensingPower(+5V)pins.
8,14,44AVDDBiasAnalogPower(+5V)pins.
29DVDDBiasDigitalPower(+5V)pins.
32DOVDDBiasDigitalI/OPower(+5V/+3.3V)pins.
ttosupplycommon
6,7,15,ttosupplycommon
ttosupplycommon
31DOGNDBiasDigitalOutputgroundconnection.
2RESETIChipret,“high”active.
3AGCEN/RAMINTI-IAGCEN==0disablesit.
ThispinttingiffectivewhenpinSBB=1.
RAMINT=1initializesframetransfer.
4FREXIFrameexposurecontrolinput,effectiveinprogressivescanonly.
ThepositivewidthofFREXdefinestheexposuretime.
esan0.1uFdecouplingcapacitor
toground.
9PWDNI-0PWDN=1putschipinpowerdown(sleep)mode.
esan0.1uFdecouplingcapacitor
toground.
esan1.0uFdecouplingcapacitor
toground.
12SBBISBB=1lectsthepower-upmethodofprogrammingtheinternal
=0lectstheSCCBpinprogrammingmethod.
Resultsofthepower-upmethodcanonlybechangedbyanew
power-uporretquence.
13VTOOVideoTestOutput(NTSC)
16VSYNC/CSYSO/IVSYNC:nisasrtedhighduringv-
eralscanlinesintheverticalsyncperiod.
CSYS:tusingSCCB,a10kpullup
changespin42(CHSYNC)toCSYS.
17FODD/SRAMO/IFODD:edhighduringtheoddfield,lowduring
theevenfield.
SRAM:ExternalSRAM
18HREF/VSFRAMO/IHREF:highduringthe
activepixelwindow,otherwilow.
VSFRAM:VerticalSyncFrame.
19UV7/B8O/IUV7:7udfor16-bitoperationforout-
puttingchrominancedata.
B8:Switchfor8bitmodeluminance/tis16
bitmode.
20UV6/BPCLRO/IUV6:6udfor16-bitoperationforout-
puttingchrominancedata.
BPCLR:BypassRGBcolormatrix.
21UV5/MIRO/IUV5:5udfor16-bitoperationforout-
puttingchrominancedata.
MIR:Mirror.
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
5
PreliminaryCompanyConfidential
22UV4/SLAENO/IUV4:4udfor16-bitoperationforout-
puttingchrominancedata.
SLAEN:SlaveEnable.
23UV3/ECLKOO/IUV3:3udfor16-bitoperationforout-
puttingchrominancedata.
ECKLO:Swapclockoutput-changespin17(FODD)toXCLKout.
24UV2/QVGAO/IUV2:2udfor16-bitoperationforout-
puttingchrominancedata.
QVGA:QVGAformat(320x240)
25UV1/CC656O/IUV1:1udfor16-bitoperationforout-
puttingchrominancedata.
CC656:CCIR656mode.
26UV0/GAMDISO/IUV0:0udfor16-bitoperationforout-
puttingchrominancedata.
GAMDIS:DisablesChromaGamma(RGB).
27,28XCLK1,XCLK2XO,XIXCLK1andXCLK2aretheinput/outputoftheon-chipvideooscilla-
ternalclockis
ud,inputtoXCLK1,leaveXCLK2unconnected.
33PCLK/OUTX2O/IPCLK:ult,dataisupdatedatthefalling
nsatthepixel
ratein16-bitbusoperationsandtwicethepixelratein8-bitbus
operations
OUTX2:Doublescurrentoutput.
34Y7/CSOO/IY7:16-bitoperation,theluminancedatais
8-bitoper-
ation,theluminancedataandthechrominancedataismultiplexed
tothisbus.
CSO:IDconfiguationbitfortheSCCBslaveID.
35Y6/CS2O/IY6:16-bitoperation,theluminancedatais
8-bitoper-
ation,theluminancedataandthechrominancedataismultiplexed
tothisbus.
CS2:IDconfiguationbitfortheSCCBslaveID.
36Y5/SHARPO/IY5:16-bitoperation,theluminancedatais
8-bitoper-
ation,theluminancedataandthechrominancedataismultiplexed
tothisbus.
SHARP:EnableAnalogSharpness.
37Y4/CS1O/IY4:16-bitoperation,theluminancedatais
8-bitoper-
ation,theluminancedataandthechrominancedataismultiplexed
tothisbus.
CS1:IDconfiguationbitfortheSCCBslaveID.
38Y3/RAWO/IY3:16-bitoperation,theluminancedatais
8-bitoper-
ation,theluminancedataandthechrominancedataismultiplexed
tothisbus.
RAW:RawData.
39Y2/G2XO/IY2:16-bitoperation,theluminancedatais
8-bitoper-
ation,theluminancedataandthechrominancedataismultiplexed
tothisbus.
G2X:Gain2X.
Pin#NameClassFunction
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
6
PreliminaryCompanyConfidential
40Y1/PROGO/IY1:16-bitoperation,theluminancedatais
8-bitoper-
ation,theluminancedataandthechrominancedataismultiplexed
tothisbus.
PROG:ProgressiveScanMode.
41Y0/CBARO/IY0:16-bitoperation,theluminancedatais
8-bitoper-
ation,theluminancedataandthechrominancedataismultiplexed
tothisbus.
CBAR:ColorBarTestPattern.
42CHSYNC/BWO/ICHSYNC:Digitaloutputforeithercompositesyncorhorizontalsync
signal.
BW:EnablesBlack&White.
45SIO-1ISCCBSerialclockinputwithschmitttrigger.
46SIO-0IOSCCBSerialdata,inputwithschmitttrigger.
47MIDI-0MultipleSCCBslaveIDenable.
MID=1SCCBslaveIDisconfigurablethroughpowerupttingin
CS(2:0)
MID=0SCCBslaveIDispretto42H/43H.
Pin#NameClassFunction
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
7
PreliminaryCompanyConfidential
1.3CHIPOPERATION
ReferringtoFIG1.1,OV7620includesa664x492resolutionimagearray,ananalogsignalpro-
cessor,dual10bitA/Dconverters,analogvideomux,digitaldataformatterandvideoport,SCCB
interfacewithitsregisters,thedigitalcontrolsincludingtimingblock,exposureblockandwhite
balance.
FIG1.1OV7620BlockDiagram
OV7620isa1/sorcontainsapproximately326,688pixels.
Itisbaonfieldintegrationread-outsystemwithline-by-linetransferandanelectronicshutter
orfilterofthensorconsistsofprimarycolor
RG/GBarrayarrangedinlinealternatingfashion.
RVO
BUO
GYO
image
r
o
w
s
e
l
e
c
t
columnnamp
array
Cb
Cr
Y
VcSAT
GAMMA
whiteexposure
detect
WB
control
balance
detect
AWB
AGCEN
XVCLK1
(664X492)
RGB
1/2
sys-clk
AWBTH/
VcCNT
r
g
b
mx
FODD
VSYNC
HREF
PCLK
video
timing
generator
FZEX
exposure
control
VrEQ
VcSHP
FREZ
CHSYNC
mx
ADC
f
o
r
m
a
t
t
e
r
Y(7:0)
UV(7:0)
SCCB
interface
SIO-1
SIO-0
registers
vi
d
e
o
p
o
r
t
ADC
analog
processing
FSINMIR
DENB
mx
PROG
AWBTM
SBB
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
8
PreliminaryCompanyConfidential
Themajorityofsignalprocessingisperformedintheanalogprocessingblock,whichdoescolor
paration,matrixing,AGC,gammacorrection,colorcorrection,colorbalance,blacklevelcali-
bration,kneesmooth,aperturecorrection,controlsfortheluminanceandchrominancepicture
logvideosignalsarebadontheformula:
Y=0.59G+0.31R+0.11B;whereR,G,Bistheequivalentcolorcomponentsineachpixel
U=R-Y;
V=B-Y;
AnotheroutputdataformatisYCrCb,itsformulaisasfollows:
Y=0.59G+0.31R+0.11B
Cr=0.713x(R-Y)
Cb=0.564X(B-Y)
TheYCrCb/RGBRawDatasignalisfedtotwo10bitA/Dconverters,onefortheY/R&Gchan-
nel,oneissharedbyCr&Cb/B&/Dconverteddatastreamisfurthercondi-
tionedinthedigitalformatter,finallythe16bitor8bitdatamuxingisdoneinthedigitalvideoport.
Theon-chip10bitA/Dcanoperateupto13.5MSPS,sinceitisfullysynchronoustothepixel
rate,/Dblack-level-calibrationcircuitry
ensurestheblacklevelofY/RGBistranslatedtovalue16,andthepeakwhitelevelislimitedto
240;CrCbblacklevelis128,Peak/Bottomis240/dataoutputrangeis16/240,0&
7620supportnon-CCIRstandardoutputrange,thatis1/254,
0and255arerervedforsyncflag.
Thecomputationintheelectronicexposurecontrolisbadonthebrightnessofthefullimage.
Theexposurealgorithmisoptimizedfornormalscenewhichassumingthesubjectiswell-litrel-
ofadifferentbacklightcondition,thereisalsoaAECWhite/
Blackratiolectionregister,whichcanbeudasAECalgorithmadjustmenttogetspecialim-
achievepropercolortemperature,
isaparatesaturation,brightnesscontrastandsharpnessadjustmentforfurtherfinetuningof
7620provideatofregistertocontrolWhiteBalanceratioregisterwhich
canbeudasincrea/decreaimagefieldRed/ca,thede-
faultttingmaybesufficient.
Thewdow
issizabl-
edthisfunctiondoesnotchangetheframerateordatarate,itsimplychangetheasrtionofthe
HREFtomal
applicationforthisishardwarezooming,toutputwindowis640x480.
Thedigitalvideoportoffers16bit4:2:2formatcomplyingtothe60HzCCIR601timingstandard.
OV7620alsosupports8bitdataformatinCbYCrYorderbyusingportYonlyandrunningat
hanthe16bitdatabus,OV7620supplies
standardvideotimingsignalssuchasVSYNC,HREF,PCLK,FODD,CHSYNC.
idesVSYNC,CHSYNC,PCLKand
16Bitdatabus:Y<7:0>andUV<7:0>.PCLKrisingedgeclockdatabusintoZVport.
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
9
PreliminaryCompanyConfidential
Todecreadatatransferratewhilehighresolutionimageunnecessary,OV7620provideaso-
lution,
ineonlyoutputonehalf
erlacedMode,allfieldlineoutput(320),forProgressiveScanMode,onlyonehalf
linedataoutput.
ThedigitalvideoportalsoofferRGBRawData16Bit/putquenceis
matchedtoOV7620ColorFilterPattern,thatisUVchanneloutputquenceisGRGR...,Y
ChanneloutputquenceisBGBG,....To8BitRGBRawdataoutputformat,justuYchannel
anddisableUVchannel,outputquenceisBGRG....
OV7620supportCCIR656YCrCb4:2:(StartofActiveVideo)and
EAV(EndofActiveVideo)osition
ucanget8bitRGBrawdatawith
SAVandEAVinformation.
tandardYUV4:2:risUV
quenceswapformat,thatmeansUVchanneloutputVUVU...(16Bit)andVYUY...(8Bit).
The3rdformatisY/UVquenceswapin8Bitoutput,thatisYUYV....
OV7620canbeuasblack&mode,it’sverticalresolutionwillbehigher
(Y/RGB)
outputrateissameas16Bitmode.
OV7620canbeprogrammabletoswapY/UVorRGBoutputbyteMSBandLSB.Y7-Y0default
ap,Y7isLSBandY0isMSB,relativemiddle
bitsareswapped.
Animportantfactoraboutdigitalcameraishowconvenienttheinterfaceis,OV7620hasmade
theframerateprogrammableandtheA/ially,itis
heinternalAEChasarangeof1:260,and
AGChave24dB,forthemostofapplications,thecameracanadjustitlftomeetthelighting
conditionwithouturintervention.
OV7620supporthardware/softwareRESETfunction:whenRESETpintietohigh,wholechip
resleepingmode:whenPWDNtietohigh,chipclock
ereisaSCCBcontrolsoft-
wareretcontrolregister12bit7,whichissameashardwareRESETpinfunction.
OV7620hardwarerettimeminimumis1ms.
OV7620supporthardware/ePWDNpintietohigh,whole
twarepowerdown
control,rdownmode,allSCCBregistervalue
willbekept.
TwocontrolmechanismhavebeenbuiltintoOV7620:eread-inofpinstatesatpower
uporRESETstatus,includinghardwareandsoftwareret;hods
aremutuallyexclusive,onlyoneisudatatime,Ahaslimited
accesstofullchipfeatures.
Thepowerupretmethodisaonetimetting,s
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
10
PreliminaryCompanyConfidential
rup,thevideoportis
initiallytri-stated,allowingtheexternalpull-up/pull-downresistortotthedefaultoperatingcon-
ditions,ailofthepoweruppin
controlmethodixplainedintheindividualpinoutction.
ailisintheSCCBregistert.
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
11
PreliminaryCompanyConfidential
1.4VIDEOFORMAT
Table1.1:4:2:216bitFormat
DataBusPixelByteSequence
Y7Y7Y7Y7Y7Y7Y7
Y6Y6Y6Y6Y6Y6Y6
Y5Y5Y5Y5Y5Y5Y5
Y4Y4Y4Y4Y4Y4Y4
Y3Y3Y3Y3Y3Y3Y3
Y2Y2Y2Y2Y2Y2Y2
Y1Y1Y1Y1Y1Y1Y1
Y0Y0Y0Y0Y0Y0Y0
UV7U7V7U7V7U7V7
UV6U6V6U6V6U6V6
UV5U5V5U5V5U5V5
UV4U4V4U4V4U4V4
UV3U3V3U3V3U3V3
UV2U2V2U2V2U2V2
UV1U1V1U1V1U1V1
UV0U0V0U0V0U0V0
YFRAME012345
UVFRAME024
Table1.2:4:2:28bitFormat
DataBusPixelByteSequence
Y7U7Y7V7Y7U7Y7V7Y7
Y6U6Y6V6Y6U6Y6V6Y6
Y5U5Y5V5Y5U5Y5V5Y5
Y4U4Y4V4Y4U4Y4V4Y4
Y3U3Y3V3Y3U3Y3V3Y3
Y2U2Y2V2Y2U2Y2V2Y2
Y1U1Y1V1Y1U1Y1V1Y1
Y0U0Y0V0Y0U0Y0V0Y0
YFRAME0123
UVFRAME0123
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
12
PreliminaryCompanyConfidential
FIG1.2PixelDataBus(YUVOutput)
Note:7620systemclockis27MHz,Tclk=74nsfor16Bitout-
put;Tclk=REFt-uptime,maximumis15ns;ThdisHREFhold
time,maximumis15ns.
Y<7:0>
PCLK
HREF
UV<7:0>
1010YY
8080UV
repeatforalldatabytes
PixelData16bitTiming
Y<7:0>
PCLK
HREF
repeatforalldatabytes
PixelData8bitTiming
UYVY80101080
UPCLKrisingedgelatchdatabus
UPCLKrisingedgelatchdatabus
Tsu
Thd
Thd
Tclk
Tclk
10
Tsu
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
13
PreliminaryCompanyConfidential
1.5RGBRawDataFormat
RGBRawdataoutputfromYandUVport.
UVportoutputdataquence:GRGRGR...orBRBR...(refertoregister28bit2)
Yportoutputdataquence:BGBGBG...orGGGG...(refertoregister28bit2)
ArrayColorFilterPatterisBayer-Pattern
1.5.1InterlacedMode16BitFormat(HREFtotal242)
1.5.1.1Defaultmode:InODDFIELD,1stHREFoutputUVchannelis2ndline:G
21
R
22
G
23
R
24
...andYchannel
isRow1:B
11
G
12
B
13
G
14
....2ndHREFoutputUVchanneloutput4thline:G
41
R
42
G
43
R
44
...andYportoutput
3rdline:B
31
G
32
B
33
G
34
...,sshouldbelatchedbyPCLKrisingedgeandrelatedtotheexactphys-
icalpositionInEvenFIELD,1stHREFYchanneloutputB
31
G
32
B
33
G
34
...andUVchanneloutputG
21
R
22
G
23
R
24
...2ndHREFYchanneloutputB
51
G
52
B
53
G
54
...andUVoutputG
41
R
42
G
43
R
44
....
1.5.1.2YGmode:InODDFIELD,1stHREFYchanneloutputG
21
G
12
G
23
G
14
...andUVchannelisB
11
R
22
B
13
R
24
....2ndHREFYchanneloutputG
41
G
32
G
43
G
34
...andUVchanneloutputB
31
R
42
B
33
R
44
....InEVEN
FIELD,1stHREFYchanneloutputG
21
G
32
G
23
G
34
...andUVchanneloutputB
31
R
22
B
33
R
24
...2ndHREF
channeloutputG
41
G
52
G
43
G
54
...andUVchanneloutputB
51
R
42
B
53
R
44
...
Table1.3:
RC1234.641642643644
1B
11
G
12
B
13
G
14
BGBG
2G
21
R
22
G
23
R
24
GRGR
3B
31
G
32
B
33
G
34
BGBG
4G
41
R
42
G
43
R
44
GRGR
5B
51
G
52
B
53
G
54
BGBG
.
481BGBGBGBG
482GRGRGRGR
483BGBGBGBG
484GRGRGRGR
485BGBGBGBG
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
14
PreliminaryCompanyConfidential
1.5.2ProgressiveScanMode16BitFormat(HREFtotal484)
1.5.2.3Defaultmode:1stHREFUVchanneloutputunstabledata,YoutputB
11
G
12
B
13
G
14
....2ndHREFUV
channeloutputG
21
R
22
G
23
R
24
...,YoutputB
11
G
12
B
13
G
14
...3rdHREFUVchanneloutputG
21
R
22
G
23
R
24
...,
YoutputB
31
G
23
B
33
G
34
....Everylinedataoutputtwice.
1.5.2.4YGmode:1stHREFYandUVoutputunstabledata.2ndHREFYchanneloutputG
21
G
12
G
23
G
14
...,UV
outputB
11
R
22
B
13
R
24
...3rdHREFYisG
21
G
32
G
23
G
34
...,UVchannelisB
31
R
22
B
33
R
24
...Everylinedataout-
puttwice.
1.5.2.5Onelinemode:1stHREFYchanneloutputB
11
G
12
B
13
G
14
...,2ndHREFYchanneloutputG
21
R
22
G
23
R
24
...,neltri-state.
1.5.3InterlacedMode8Bit(242HREF)
1.5.3.6ODDFIELD:1stHREFYchanneloutputB11G21R22G12...2ndHREFYchanneloutputB31G41R42
G32...,neltri-state.
1.5.3.7EVENFIELD:1stHREFYchanneloutputB31G21R22G32...2ndHREFYchanneloutputB51G41R42
G52...,neltri-state.
1.5.4ProgressiveScanMode8Bit(484HREF)
1.5.4.81stHREFYchanneloutputunstabledata.2ndHREFYchanneloutputB11G21R22G12...2ndHREFY
channeloutputB31G21R22G32...,-
inedataoutputtwice.
RGBrawdatatimingchartisasfollows:
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
15
PreliminaryCompanyConfidential
FIG1.3PixelDataBus(RGBOutput)
Note:7620systemclockis27MHz,Tclk=74nsfor16Bitout-
put;Tclk=REFt-uptime,maximumis15ns;ThdisHREFhold
time,maximumis15ns.
UV<7:0>
PCLK
HREF
Y<7:0>
1010GR
1010BG
repeatforalldatabytes
PixelData16bitTiming
Y<7:0>
PCLK
HREF
10
10
BB
repeatforalldatabytes
PixelData8bitTiming
10GG
10
PCLKrisingedgelatchdatabus
PCLKrisingedgelatchdatabus
Tclk
Tclk
Thd
Thd
Tsu
Tsu
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
16
PreliminaryCompanyConfidential
1.6ZVPortInterlaceTiming
TheZVPortisasingle-sourceuni-directionalvideobusbetweenaPCCardsocketandaVGA
ortcomplieswithCCIR601timingtoallowNTSCdecoderstodeliverreal-
7620supportZVPort
Timing,whichoutputsignalcanbeoutputtoaPCCarddirectly,-
ingisasbelow:
FIG1.4ZVPortTiming
Notes:ZVPortformatoutputsignalinclude:
VSYNC:Verticalsyncpul.
HREF:Horizontalvaliddataoutputwindow.
PCLK:tfrequencyis13.5MHzwhen
edgeofPCLKisudtoclockthe16Bitdata.
Y<7:0>:8Bitluminancedatabus..
UV<7:0>:8Bitchrominancedatabus.
AllTimingParametersislistinfollowingtable.‘
VSYNC
PCLK
Y<7:0>
UV<7:0>
/
HREF
639640
t8t8
EvenField1(FODD=0)
OddField(FODD=1)
t6
t7
t1
t2
t3
t4
HorizontalTiming
VSYNC
Y<7:0>/
UV<7:0>
ValidData
1Line
TvsTve
t5
Tline
12
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
17
PreliminaryCompanyConfidential
Note:InInterlacedMode,thereareEven/Oddfielddifferent(t8).WhenInProgressiveScanMode,only
frametimingsameasEvenfield(t8).
AfterVSYNCfallingedge,OV7620willoutputblackreferencelevel,thelinenumberisTvs,
whichisthelinenumberbetweenthe1stHREFrisingedgeafterVSYNCfallingedgeand1st
liddata,thenblackreference,linenumberisTve,which
isthelinenumberbetweenlastvaliddataCHSYNCrisingedgeand1stCHSYNCrisingedge
ckreferenceoutputlinenumberisdependentonverticalwin-
dowtting.
Whenindefaulttting,Tvs=14*Tline,whichischangedwithregisterregister19<7:0>.Ifin
InterlacedMode,register19<7:0>change1step,ogressiveScan
Mode,register19<7:0>stepequalto2line.
Whenindefaulttting,Tve=4*TlineforOddField,Tve=3*TlineforEvenField,whichis
changedwithregisterregister1A<7:0>.IfinInterlacedMode,register1A<7:0>change1step,
ogressiveScanMode,register1A<7:0>stepequalto2line.
InProgressiveScanMode,Tve=3*TlineandTvs=35*Tline.
Table1.4:ZVPortACParameter
.
t1PCLKfalltiming4ns8ns
t2PCLKlowtime30ns
t3PCLKritime4ns8ns
t4PCLKhightime30ns
t5PCLKperiod74ns
t6Y/UV/HREFtuptime10ns
t7Y/UV/HREFholdtime20ns
t8VSYNCtup/holdtimetoHREF1us
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
18
PreliminaryCompanyConfidential
1.7InterfaceforExternalRAMControllerandMicro-controller
uctureblock
diagramisasfollows:
Thetimingdiagramisasfollows:
OV7620
FPGAu-CPU
DRAM/SRAM
Data
Add
ACK
SCCBandInitial
SRAM
DATA
HREF
VS
AGCEN
Tri-StateTri-State
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
19
PreliminaryCompanyConfidential
SRAMisin
programmedbySCCB(register27)AM=1,OV7620alldatabus
-controllerwillndainitialsignaltoFPGAto
retallRAMAddressblock,afterthat,therearetwomethodtogetoneframedataframe
OV7620:
-controllerndainitialpultoOV7620AGCENinputpin
-controllerndaSCCBcommandtoprogramOV7620ndSingleframedata
TheOV7620outputsignalVSistheACKsignalfromnsor,whenVSishighmeansOV7620
isinreadystatus,whenVSislow,meansOV7620willndoneframedata.
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
20
PreliminaryCompanyConfidential
1.8DigitalOutputFormatTable
Note:“Y”inthetablemeansthiscombinationissupportedbyOV7620.
R656formatmeans4-byteSAVandEAVisinrtedatthebeginningandendingof
HREF,u8-bitdatabuslineand
don’tneedVSYNCandCHSYNCsignalline.
2.Y/eloutputquenceisYUYV...ratherUYV
Y....
ormat,U/...ratherUV
UV...for16bit;VYUY...ratherUYVY...for8-bit.
ormat,U/rtopreview
RGBrawdataoutputformat,differentformatchangeaccordingly.
/LSBswapmeans:DefaultY/UVchanneloutputportrelationshipis:
Table1.5:DigitalOutputFormatType
InterlacedProgressiveScan
Resolution640x480320x240640x480320x240
YUV4:2:2
16BitYYYY
8BitYYYY
CCIR656YYYY
RGB
16BitYYYY
8BitYYYY
CCIR656
1YYYY
Y/UVswap
2
16Bit----
8BitYYYY
U/Vswap
YUV
3YYYY
RGB
4YYYY
YG
16BitYYYY
8Bit----
OneLine
16Bit--Y-
8Bit----
MSB/LSBswap
5YYYY
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
21
PreliminaryCompanyConfidential
Ifswap,quenceischangeto:
electedbyCOMA3=1;COMA3=0lectYUVmode.
7.8BitmodelectedbyCOMB5=1.
656modelectedbyCOMB4=1.
9.Y/UVswaplectedbyCOMA4=1.
lectedbyCOMH2=1.
emodelectedbyCOMH7=1.
12.U/VswapmodelectedbyCOMD0=1.
/LSBswapmodelectedbyCOMF2=1.
Table1.6:DefaultOutputSequence
MSBLSB
OutputPortY7Y6Y5Y4Y3Y2Y1Y0
InternalOutputdataY7Y6Y5Y4Y3Y2Y1Y0
Table1.7:SwapMSB/LSBoutputquence
MSBLSB
OutputPortY7Y6Y5Y4Y3Y2Y1Y0
InternalOutputdataY0Y1Y2Y3Y4Y5Y6Y7
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
22
PreliminaryCompanyConfidential
1.9QVGAResolutionDigitalOutputFormat
1.9.5InterlacedMode:
YchanneloutputY2Y3Y6Y7Y10Y11...UVchanneloutputU2V3U6V7U10V11...Everylineoutput
datanumberishalf(320pixels)andalllinedata(240line)inonefieldwillbeoutput.
1.9.6ProgressiveScanMode:
YchanneloutputY2Y3Y6Y7Y10Y11...UVchanneloutputU2V3U6V7U10V11...Everylineoutput
datanumberishalf(320pixels)andonlyonehalflinedata(everyotherline,total240line)in
oneframewillbeoutput.
1.9.7QVGA60Frame/sMode:
InInterlaceMode,QVGAmodeoutputframerateis30Frame/sand60Field/60Frame/s
mode,onlyOddfielddataoutputandframerateis60Frame/s.
1.9.8InterlacedMode(DefaultRGBtwolineoutputmode):
UVchanneloutputG0R1G4R5G8R9...YchanneloutputB0G1B4G5B8G9...Everylineoutputhalf
data(320pixels)andalllinedata(240line)inonefieldwillbeoutput.
1.9.9InterlacedMode(YGtwolineoutputmode):
YchanneloutputG0G1G4G5G8G9...UVchanneloutputB0R1B4R5B8R9...Everylineoutputhalf
data(320pixels)andalllinedata(240line)inonefieldwillbeoutput.
1.9.10ProgressiveScanMode(DefaultRGBtwolineoutputmode):
UVchanneloutputG0R1G4R5G8R9...YchanneloutputB0G1B4G5B8G9...Everylineoutputhalf
data(320pixels)andallline(480line)datainoneframewillbeoutput.
1.9.11ProgressiveScanMode(YGtwolineoutputmode):
UVchanneloutputG0R1G4R5G8R9...YchanneloutputB0G1B4G5B8G9...Everylineoutputhalf
data(320pixels)andallline(480line)datainoneframewillbeoutput.
Table1.8:QVGADigitalOutputFormat(YUV,beginningofline)
Pixel#12345678
YY0Y1Y2Y3Y4Y5Y6Y7
UVU0,V0U1,V1U2,V2U3,V3U4,V4U5,V5U6,V6U7,V7
Table1.9:QVGADigitalOutputFormat(RGBRawdata,beginningofline)
Pixel#12345678
Line1B0G1B2G3B4G5B6G7
Line2G0R1G2R3G4R5G6R7
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
23
PreliminaryCompanyConfidential
1.10SlaveModeOperation
tOV7620isamasterdevice,itprovide
Hsync,asslavedevice,(register29bit6=1),externalmasterdevicemust
provide:
SystemclockCLKtoXCLK1pin;
HorizontalsyncHsynctoCHSYNCpin,positiveacted.
VerticalframesyncVsynctoVSYNCpin,positiveacted.
Wheninslavemode,
synchronizethechip,OV7620uexternalsystemclockCLKsynchronizeexternalhorizontal
syncHsync,thenusynchronizedhorizontalsynctosynchronizeexternalverticalframesync
atchinternalcounter,thethreemustkeepexactrelationasbelow:
Hsyncperiodis2*858*CLK
Vsyncperiodis525*2*858*CLK
FIG1.5SlaveModeExternalSyncTiming
OV7620willbestableafter1frame.(2ndVsync).
1.11FrameExposureMode
eFREXpinis
EX=1,thewholearrayis
osuretimeisthendeterminedbytheexternalmasterdevicewhichcontrols
EX=0,ataisoutput,the
OV7620mustbeblockedfromlightbyusingamechanicalshutter,sothatthewholearrayix-
ultlineexposuremode,the
arrayprechargeandreadmodeisfirstcharge1stline,afteronelinereadout,precharge2nd
line,thofFREX=1mustlargetheafixedtimingtomakesurewholearrayhasbeen
precharged.
Frameexposuremodetimingisasbelow:
CLK
Hsync
Vsync
1frame=525*2*858*Tclk
1line=2*858*Tclk
Tclk
Tvs
Note:(1)Ths>6*Tclk(2)Ths
Ths
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
24
PreliminaryCompanyConfidential
FIG1.6FrameExposureTiming
Note:Tpr=492*4*Pclk,ault27MHz,Tclk=<5:0>tto
dividednumber,Tclkwillincreaaccordingly.
Texisarrayexposuretimewhichisdecidedbyexternalmasterdevice.
TinisundeterminedduetotheuofHSYNCrisingedgetosynchronizeFREX,Tin
WhenFREX=0,=4*ataisoutput
whenHREF=1.
Tt=Tin+Tpr+>Tpr+eTinisuncertain,soexposuretimettingresolutionis
Ths(oneline).
FREX
DATA
HSYNC
OUTPUT
VSYNC
ARRAY
PRECHARGE
BlackDataInvalidData
ValidData
1Frame(484line)
PrechagebeginatrisingedgeofHSYNC
ArrayExposurePeriodTex
ArrayPrecharge
periodTpr
Tt
NextFrame
Mechanicalshutterclod
HeadofValiddata
Tin
Ths
Thd
HREF
(8line)
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
25
PreliminaryCompanyConfidential
1.12SCCBBUS
SCCBaccessinabledonlyifpinSBB=7620isaslavedevicethatsupports400kbit/s7bit
eachbyte,MSBisalwaystransferredfirst,read/writecon-
trolbitistheLSBofthefirstbyte
Thtabitcan
onlychangestatewhenisSIO-1LOW.
OV7620rervesCS(2:0)fortheslaveID,whichmakeightslavecameracombinations.
tecycle,themastermust
supplythesubaddress,however,themasterdoesnotsupplythesubaddressinthereadcycle,
therefore,i-bytewrite
ormulti-bytereadcycles,thesubaddressisautoincrementafterthefirstdatabytesothatcon-
multi-bytecycleoverwritesitsorig-
inalsubaddress,ifareadcyclefollowsimmediatelytoamulti-bytecycle,itisnecessarytoinrt
asinglebytewritecyclethatprovidesanewsubaddress.
IfOV7620support400kBit/sfastSCCBmode,systemclock(CLK)mustbeatleast10Mhz.
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
26
PreliminaryCompanyConfidential
1.13SCCBREGISTERSETS
OV7620canbeconfigured,byttingpinCS<2:0>highorlowatret/powerup,tooneofeight
slaveIDsaslistedbelow,theIDcannotbealteredoncethechipisoutofretorpowerupstate.
OV7620supporttwooption:etto
LOW(Defaultvalue),chipslaveIDis42(forwrite)and43(forread).IfMIDttoHIGH,OV7620
tMIDisLOWbyinternaltting.
Inwritecycle,thecondbyteinSCCBbusisthesubaddressforlectingtheindividualonchip
registers,gtounimplementedsub-
addressandrervedsubaddressisignored.
Inreadcycle,-
ingofunimplementedsubaddressreturnsunknown.
Registers[00]~[02]containsimageeffectparametersthatalsocanbemodifiedbyinternalcon-
ovidesasimplewaytoreadoutthoparameterscomputedby
is,firsttthechipinautoadjustmode(Register13bit0=1,reg-
ister12bit2=1,register12bit5=1),waitfortheimageisstable,theregister[00],[01]and[02]
turnsittomanualadjustmode(register13bit
0=0),alltheregistersretainthelastadjustedvaluesandcanbereadoroverwrittenbyexternal
echipisoperatedinautoadjustmode(register13bit0=1),register[00]~[02]will
beupdatebyinternalalgorithmandifwritedatatothem,therewillbenoeffectonchipparame-
isterdatacanbereadout.
Thedetaileddefinitionsofeachregisteraredescribedbelow.
AGC<5:0>-gainttingfortheentireimagechannel.
Theformulais:
Gain=(AGC<3:0>/16+1)*(AGC<4>+1)*(AGC<5>+1);range(1x~7.75x),AGC<5>and
AGC<4>controlSA2.
Table1.10:SlaveID
CS<2:0>1
WRITEID(hex)42464a4e52565a5e
READID(hex)43474b4f53575b5f
Register00-rw:AGCgaincontrol
BitsNullAGC6AGC5AGC4AGC3AGC2AGC1AGC0
Default--000000
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
27
PreliminaryCompanyConfidential
Register01-rw:Bluegaincontrol
BLU<6:0>-whitebalancevalueforthebluechannel.
Theformulais:
Blue_gain=1+(BLU<7:0>-[80])/[100];range(0.5x~1.5x).
BLU<7>-“1”,Bluegainincrea;“0”gaindecrea.
Register02-rw:Redgaincontrol
RED<6:0>-whitebalancevaluefortheredchannel.
Theformulais:
Red_gain=1+(RED<7:0>-[80])/[100];range(0.5x~1.5x).
RED<7>-“1”,Redchannelgainincrea;“0”gaindecrea.
SAT<7:0>-saturationadjustmentfortheUVchannelbadonthedefaulttting;
range(-4dB~+6dB).IfSAT<7:0>>[80],increa;ifSAT<7:0><[80],decrea.
Register04&05-w:RervedRegister
atatothisregisterwillbenofunction.
BRT<7:0>-brightnessadjustmentfortheY/RGBchannelbadonthedefaulttting;
range(-200mv~+200mv).IfBRT<7:0>>[80],brightnessincrea;IfBRT<7:0><[80],bright-
gisterisauto/ster2Dbit4=1,thisregisteris
controlledbychipautomatically,ifwritevaluetothisregister,thisvaluewillbeupdatedby
enregister2Dbit4=0,thisregistercanbettoanyvalue
BitsBLU7BLU6BLU5BLU4BLU3BLU2BLU1BLU0
Default10000000
BitsRED7RED6RED5RED4RED3RED2RED1RED0
Default10000000
Register03-rw:Saturationcontrol
BitsSAT7SAT6SAT5SAT4SAT3SAT2SAT1SAT0
Default10-000000
Register06-rw:Brightnesscontrol
BitsBRT7BRT6BRT5BRT4BRT3BRT2BRT1BRT0
Default10000000
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
28
PreliminaryCompanyConfidential
SHP<7:4>-SharpnessThreshold.
SHP<3:0>-SharpnessMagnitude.
Register[08]~[0B]-w:Rerved.
atatotheregisterswillnotfunction.
Register0C-rw:WhiteBalancebackgroundcontrol--Bluechannel
ChangesAWBHueControl
ABLU<4:0>-resolutionis
0.625%andtotalrangeis(+20%--20%)Thisregisterisudtoofftimagebackgroundblue
componentratio.
ABLU<5>-“1”,decreabackgroundbluecomponentratio;“0”increabluecomponentratio.
Register0D-rw:WhiteBalancebackgroundcontrol--Redchannel
ChangesAWBHueControl
ARED<4:0>-resolutionis1.5%
andtotalrangeis(+20%--20%)Thisregisterisudtoofftimagebackgroundredcompo-
nentratio.
ARED<5>-“1”,decreabackgroundredcomponentratio;“0”increaredcomponentratio.
Register0E~0F-rw:Rerved
atatotheregisterswillnotfunction.
Register07-rw:AngalogSharpnesscontrol
BitsSHP7SHP6SHP5SHP4SHP3SHP2SHP1SHP0
Default11000011
BitsNullNullABLU5ABLU4ABLU3ABLU2ABLU1ABLU0
Default--100000
BitsNullNullARED5ARED4ARED3ARED2ARED1ARED0
Default--100000
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
29
PreliminaryCompanyConfidential
Register10-rw:Auto-Exposure-ControlRegister
AEC<7:0>-exposuretimetting;theformulais
Interlaced:T
EXPOSURE
=T
LINE
xAEC(7:0);
Progressive:T
EXPOSURE
=T
LINE
xAEC(7:0)x2;
whereT
LINE
=FrameTime/525
ifu27MHz,T
LINE
=63.5uS
Rangeis:[00]-[7F]forInterlaced;[00]-[FF]forProgressiveScan.
*Thisregisterttingisonlyeffectivewhenoperatedinmanualadjustmode(register13bit0=0).Never-
theless,ster13bit0=1,this
registerwillbeupdatedbyinternalcircuitaccordingAECalgorithm,andifwritespecialvalue
istervaluecanbereadoutatanytimeandlatestAEC
ster13bit0=0,orregister29bit7=1,theregisterwillholdlastvalue
unchanged(eitherinputfromSCCBorAECalgorithmresult).
*Itgenerallytakesnomorethantwofieldsfortheimagetoreachtheintendedexposureafterchangingthe
tting.
Register11-rw:Clockratecontrol
CLK<5:0>-systemclockprescaler;thisregisterdefinesthechippixelclockrate,clockrateisdefinedby
followingfulmar:
(16Bitmode)PCLK=(CLK_input/((CLK<5:0>+1)*2))
(8Bitmode)PCLK=(CLK_input/(CLK<5:0>+1))
SYN<7:6>-Threesyncoutputpolaritylection:
SYN7=0,SYN6=0:HSYNCnegative,CHSYNCnegative,VSYNCpositiveedge;
SYN7=0,SYN6=1:.HSYNCnegative,CHSYNCnegative,VSYNCnegative;
SYN7=1,SYN6=0:HSYNCpositive,CHSYNCnegative,VSYNCpositive.
SYN7=1,SYN6=1:HSYNCnegative,CHSYNCpositive,VSYNCpositive.
*Theeffectofthechangeisimmediate,however,itgenerallytakesabouttwofieldsfortheimagetoreach
thestablestate
BitsAEC7AEC6AEC5AEC4AEC3AEC2AEC1AEC0
Interlace01111111
Progres-
siveScan
11111111
BitsSYN7SYN6CLK5CLK4CLK3CLK2CLK1CLK0
Default00000000
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
30
PreliminaryCompanyConfidential
.
COMA7-“1”initiatesthechipsoftret,therettakesplaceaftertheacknowledgebitisissued,the
effectisthesameaspowerupthechip,thechipisinitializedtoadefaultstate,allregisters
includingSCCB’scontentsarettodefault,thisbitislfclearedaftertheret.
COMA6-“1”lectsmirrorimage
COMA5-“1”enablesAGC.“0”-stopAGCandtregister[00]fectiveinauto
adjustmode.
COMA4-“1”lect8BitDigitaloutputformatisYUYVYUYV...
COMA3-“1”lectsrawdatasignalasvideodataoutput,“0”
lectionappliestobothanalogvideoanddigitalvideo.
COMA2-“1”enableautowhitebalance,“0”AWBstopandAWBregister[01]and[02]valueisheldatlast
nlyinautomode.
COMA1-“1”lectsColorBarTestpatternoutput.
COMA0-“1”lectpreciA/DBlackLevelCompensation(BLC)linemethod.“0”ustandardblacklevel
compensationtodoA/DBLCfieldmethodwhichismorestablebutlesspreci.
COMB7-Rerved.
COMB6-Rerved.
COMB5-“1”lects8bitdataformat,Y/CrCbandRGBvideodataismultiplexedtotheeightbitYbus,tri-
stateUVbus;“0”lects16bitformat,datagotobothY<7:0>busandUV<7:0>bus.
COMB4-“0”enablesdigitaloutputinCCIR601format.“1”enablesCCIR656format.
COMB3-“0”lectshorizontalsyncforoutputtopinCHSYNC,“1”lectscompositesyncforoutput.
COMB2-“1”tri-statesbusY<7:0>andUV<7:0>,“0”enablesbothbus.
COMB1-“1”initiatesthesingleframetransfer,forthisfunctiontowork,fielddropmode(FD<1:0>inregis-
ter[16])musttto“OFF”.hisbitist,forInterlacedmode,HREFis
tisclearedautomati-
gressiveScanmode,HREFisonlyasrtedforone
ngthisbitinthemiddleofactiveframehasnoeffecttotheasrtionofcurrent
HREF.
COMB0-“1”enablesautoadjustmode,inthismode,internalexposurecircuitryoverwritesthoparame-
tersinregisters[00]~[02],thechipadjuststheimagebadonapretalgorithm.“0”manual
adjustmode.
Register12-rw:CommoncontrolA
BitsCOMA7COMA6COMA5COMA4COMA3COMA2COMA1COMA0
Default00100100
Register13-rw:CommoncontrolB
BitsCOMB7COMB6COMB5COMB4COMB3COMB2COMB1COMB0
Default--000001
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
31
PreliminaryCompanyConfidential
.
VSYNC
COMB1
HREF
SCCBBITSET
SCCBBITSET
ENDOFFRAME
SCCBBITCLEAR
BITCLEAR
FODD
FD<1:0>
SCCBBITCLEAR
1FRAME
FIG1.7SingleFrameTransferExample(InterlacedMode)
VSYNC
COMB1
HREF
SCCBBITSET
SCCBBITSET
ENDOFFRAME
SCCBBITCLEAR
BITCLEAR
FD<1:0>
SCCBBITCLEAR
1FRAME
FIG1.8SingleFrameTransferExample(ProgressiveScanMode)
SCCBBITCLEAR
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
32
PreliminaryCompanyConfidential
Register14-rw:CommoncontrolC
COMC7-AWBactivationthresholdlection:1-high;0-low.
COMC6-Rerved.
COMC5-QVGAdigitaloutputformatlection.1-320x240;0-640x480.
COMC4-Field/FrameverticalsyncoutputinVSYNCportlection:1-framesync,onlyinrtedinODD
fieldverticalsync;0-fieldverticalsync,effectinInterlacedmode
COMC3-HREFpolaritylection:0-HREFpositiveeffective,1-HREFnegative.
COMC2-RGBgammalection:1-Gammaon,valuedefinedbyregister[62]value;0-gammais1(lin-
ear).
COMC1-Rerved.
COMC0-Rerved.
COMD7-Rerved.
COMD6-PCLKpolaritylection.“0”OV7620outputdataatPCLKfallingedgeanddatabuswillbestable
atPCLKrisingedge;“1”
OV7620workasCCIR656format,COMB4=1,thisbitisdisableandshoulduPCLKrising
edgelatchdatabus.
COMD<5:1>-Rerved.
COMD0-UVdigitaloutputquenceexchangecontrol.0-VUVU...for16Bit,VYUY...for8Bit;1-U
VUV...for16BitandUYVY...for8Bit.
FD<7:2>-Framedroplection,itoperatesinODDandEVENmodeasdefinedbyFD<1:0>,itisignored
inOFF&poistodividethevideosignalintoprogrammednumberof
timeslotsinunitoffield/frame,andtoallowHREFtobeactiveonlyonefield/frameduringthe
nctiondoesnotaffectthevideodataorpixelrate.
000000-000001:disabledigitaldataoutput,onlyoutputblackreferencelevel.
000010-111111:Output1of(2~63)egister33bit1=1,thatmeans
onlydrop1framefrom(2~63)frame.
BitsCOMC7COMC6COMC5COMC4COMC3COMC2COMC1COMC0
Default0-0001--
Register15-rw:CommoncontrolD
BitsCOMD7COMD6COMD5COMD4COMD3COMD2COMD1COMD0
Default-0-----1
Register16-rw:FrameDrop
BitsFD7FD6FD5FD4FD3FD2FD1FD0
Default00000011
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
33
PreliminaryCompanyConfidential
Interlaced:
FD<1:0>-ameconsistsoftwofields:Odd&Even,thebitsdefinesthe
asrtionofHREFinrelationtothetwofields.
00-OFFmode;HREFisnotasrtedinbothfields,oneexceptionisthesingleframetransfer
operation(ethedescriptionfortheregister[13])
01-ODDmode;HREFisasrtedinoddfieldonly.
10-EVENmode;HREFisasrtedinevenfieldonly.
11-FRAMEmode;<7:2>uless(default).
ProgressiveScan:
FD<1:0>-framemodelection.
00-OFFmode;HREFisnotasrtedinbothfields,oneexceptionisthesingleframetransfer
operation(ethedescriptionfortheregister[13])
01,10-SLOTmode;HREFisasrtedinframeaccordingFD<7:2>.
11-FRAMEmode;<7:2>uless
FODD
HREF
slot1slot2slot3slot4slot1slot2slot3slot4
HREF
slot2slot1slot2slot1slot2slot1slot2slot1
EVENMODE
FD<7:2>=000010
E
V
E
N
M
O
D
E
O
D
D
M
O
D
E
ODDMODE
FD<7:2>=000001
FIG1.9FieldDivisionExamples(InterlacedMode)
FD<1:0>=10
FD<1:0>=01
1field
HREF
slot2slot1slot2slot1slot2slot1slot2slot1S
L
O
T
M
O
D
E
FD<7:2>=000001
FIG1.10FrameDivisionExamples(ProgressiveScanMode)
FD<1:0>=01
VSYNC
1frame
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
34
PreliminaryCompanyConfidential
Register17-rw:HorizontalWindowstart
HS<7:0>-lectsthestartingpointofHREFwindow,eachLSBreprentsfourpixelsforInter-
laced/Progressivefullresolutionmode,twopixelsforQVGAresolutionmode,thisvalueist
badonaninternalcolumncounter,thedefaultvaluecorrespondsto640horizontalwindow.
<7:0>programmablerange
is[2C]-[D2],andshouldlessthanHE<7:0>.HS<7:0>shouldbeprogrammabletovaluelarger
thanorequalto[2C].Valuelargerthan[D2]ure1.14.
Register18-rw:HorizontalWindowend
HE<7:0>-lectstheendingpointofHREFwindow,eachLSBreprentsfourpixelsforfullresolution
andtwopixelsforQVGAresolution,thisvalueistbadonaninternalcolumncounter,the
<7:0>programmablerangeis
[2D]-[D2].HE<7:0>shouldbelargerthanHS<7:0>andlessthanorequalto[D2].Value
largerthan[D2]ure1.14.
Register19-rw:VerticalWindowstart
VS<7:0>-lectsthestartingrowofverticalwindow,infullresolutionmode,eachLSBreprents1scan
lineinonefieldforInterlacedMode,
QVGAresolution(tbyregister14bit5),eachLSBreprents1scanlineinonefieldfor
InterlacedMode,
[05],[F6]andshouldlessthanVE<7:0>.
VE<7:0>-lectstheendingrowofverticalwindow,infullresolutionmode,eachLSBreprents1scan
lineinonefieldforInterlacedMode,
QVGAresolution,eachLSBreprents1scanlineinonefieldforInterlacedMode,1scanline
[05],[F6]andshould
largerthanVS<7:0>.
BitsHS7HS6HS5HS4HS3HS2HS1HS0
Default00101111
BitsHE7HE6HE5HE4HE3HE2HE1HE0
Default11001111
BitsVS7VS6VS5VS4VS3VS2VS1VS0
Default00000110
Register1A-rw:VerticalWindowend
BitsVE7VE6VE5VE4VE3VE2VE1VE0
Default11110101
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
35
PreliminaryCompanyConfidential
Asshownabove,HS<7:0>definesthestartingpixelwithinascanline,HE<7:0>definestheendingpixel
<7:0>definesthestartingrowwithinafield,VE<7:0>definestheending
/t-
angularwindowdefinedbyHS/HE/VS/xelsinsidesthis
windowisvalid,alongwiththeHREFtimingsignals,blacklevelsubstitutesthepixeldata
whenoutsidetheactivewindow.
IdenticalvalueforHS/HEorVS/VEisnotpermittedsinceitcausundefinedwindowsize.
Ifendpointislowerthanthestartingpoint,thewindowbeginsfromthestartingpointandendsatthefar
endoftheavailableimageboundary.
Thewindowsizecalculateformulaisasbelow:
ntalsize:VGAmode:Horizontalwindowsize=(Register[18]-Register[17])*4.
QVGAmode:Horizontalwindowsize=(Register[18]-Register[17])*2.
alsize:VGAmode:Verticalwindowsize=(Register[1A]-Register[19]+1);
QVGAmode:Horizontalwindowsize=(Register[1A]-Register[19]+1).
VS
VE
HS
HE
FULLimageboundary
ActiveWindow
FIG1.11WindowSizing
HREF
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
36
PreliminaryCompanyConfidential
PS<7:0>-toprovideawaytofinetunetheoutputtimingofthepixeldatarelativetothatofHREF,itphys-
icallyshiftsthevideodataoutputtimeearlyorlateinunitofpixelclockasshowninthefigure
nctionisdifferentfromchangingthesizeofthewindowasisdefinedby
HS<7:0>&HE<7:0>inregister[17]and[18].
Register1B-rw:Pixelshift
BitsPS7PS6PS5PS4PS3PS2PS1PS0
Default
00000000
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
37
PreliminaryCompanyConfidential
mshiftpixelnumberis255.
MIDH<7:0>-readonly,alwaysreturns“7F”.
Register1C-r:ManufactureIDhighbyte
BitsMIDH7MIDH6MIDH5MIDH4MIDH3MIDH2MIDH1MIDH0
Default01111111
Register1D-r:ManufactureIDlowbyte
BitsMIDL7MIDL6MIDL5MIDL4MIDL3MIDL2MIDL1MIDL0
Default10100010
HREF
Y<7:0>-DEFAULT
Y<7:0>-LATE
defineby
HS<7:0>
defineby
HE<7:0>
Full=664
physicalimageboundary
ACTIVEWINDOW
BLACKLEVEL
FIG1.12PixelShiftExamples
LEFTSIDE
PIXELADDED
RIGHTSIDE
PIXELLOST
right
shift
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
38
PreliminaryCompanyConfidential
MIDL<7:0>-readonly,alwaysreturns“A2”
Register1E~1F-rw:Rerved
atatotheregisterswillnotfunction.
Register20-rw:CommoncontrolE
COME7-ModifiedCCIR656formatverticalsizingenabled.“1”willenableverticalwindowingfunction.“0”
willlimitverticalsizeto480lines-unchangedby[19]and[1B].
sstoredinregister[7C]
COME5-“1”tionstrengthwillbedecidedbyregister[07].“0”
disablefirststageaperturecorrection.
COME4-“1”tionstrengthandthresholdvaluewillbe
decidedbyregister26bit7~register26bit4.
COME3-AWBsmartmodeenable.1-Dropoutpixelwhencomparepixelred,blueandgreencomponent
leveltochangeregister[01]and[02],whichluminancelevelishigherthanprettingleveland
lowerthanprettinglevel,thistwolevelistbyregister[0F].0-calculateallpixelstoget
nlywhenregister13bit0=1andregister12bit2=1
COME2-Rerved.
COME1-AWBfast/slowmodelection.“1”-AWBisalwaysfastmode,thatisregister[01]and[02]is
changedeveryfield/frame.“0”AWBisslowmode,[01]and[02]changeevery16/64field/
Benable,register12bit2=1,AWBisworkingas
fastmodeatfirst1024field/frame,thanasslowmodelater.
COME0-Digitaloutputdrivercapabilityincrealection:“1”Doubledigitaloutputdrivercurrent;“0”low
outputdrivercurrentstatus.
Y6-Y0::+127mV~-2=0,thisregister
willbeupdatedbyinternalautoA/DBLCcircuit,andwriteavaluetothisregisterwithSCCB
2=1,Ychannelofftadjustmentwillutheregisterstoredvalue
1=0,thisregisterhasnoadjustmenteffecttoA/D
utRGBrawdata,thisregisterwilladjustR/G/Bdata.
Y7:Offtadjustmentdirection0-AddY[6:0];1-SubtractY[6:0].
BitsCOME7COME6COME5COME4COME3COME2COME1COME0
Default00000-00
Register21-rw:YChannelOfftAdjustment
BitsY7Y6Y5Y4Y3Y2Y1Y0
Default10000000
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
39
PreliminaryCompanyConfidential
U6-U0::+128mV~-ster27bit2=0,this
registerwillbeupdatedbyinternalautoA/DBLCcircuit,andwriteavaluetothisregisterwith
ster27bit2=1,Uchannelofftadjustmentwillutheregister
ster26bit1=1,thisregisterhasnoeffect
toA/utRGBrawdata,thisregisterwilladjustR/G/Bdata.
U7:Offtadjustmentdirection:0-AddU[6:0];1-SubtractU[6:0].
Ifregister2Dbit0=0,thisregisterhasnofunction.
Register23-rw:CrystalCurrentcontrol.
CC7-CC6:Crystalamplifiercurrentgain.(00)maximumcurrent;(11)minimumcurrent
CC5~CC0:Rerved
Register24-rw:AEWAutoExposureWhitePixelRatio
Registers24and25togethercontroltheAECtargetvaluesforimagebrightness.
Forabrighterimage,increaregister24anddecrearegister25.
Foradarkerimage,decrearegister24anddecreareister25.
7620AECalgorithmcountsthewholefield/frame
whitepixel(itsluminancelevelishigherthanafixedlevel)andblackpixel(itsluminancelevel
islowerthanafixedlevel)ite/blackpixelratioissameastheratiodefined
byregisters[25]and[26],gisterisudtodefinethewhitepixelratio,
defaultis25%,eachLSBreprentstep:Interlaced:1.3%;ProgressiveScan:0.7%.Change
rangeis:Interlaced:[01]~[4A];ProgressiveScan:[01]~[96].IncreaAEW<7:0>will
elightcondition,theimagebrightnesswillincreaif
AEW<7:0>increa.
Note:AEW<7:0>mustcombinedwithregister[26]AEB<7:0>.Keeptherelationalwaystrue:AEW<7:0>+
AEB<7:0>>[4A]forInterlaced;AEW<7:0>+AEB<7:0>>[90].
Register22-rw:UChannelOfftAdjustment
BitsU7U6U5U4U3U2U1U0
Default10000000
BitsCC7CC6CC5CC4CC3CC2CC1CC0
Default000-----
BitsAEW7AEW6AEW5AEW4AEW3AEW2AEW1AEW0
Interlace00001000
ProgressiveScan00010000
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
40
PreliminaryCompanyConfidential
Register25-rw:AECAutoExposureBlackPixelRatio
7620AECalgorithmiscountwholefield/frame
whitepixel(itsluminancelevelishigherthanafixedlevel)andblackpixel(itsluminancelevel
islowerthanafixedlevel)ite/blackpixelratioissameastheratiodefined
byregisters[25]and[26],gisterisudtodefineblackpixelratio,default
is75%,eachLSBreprentstep:Interlaced:1.3%;ProgressiveScan:0.7%.Changerangeis:
Interlaced:[01]~[4A];ProgressiveScan:[01]~[96].IncreaAEB<7:0>willincreablack
elightcondition,theimagebrightnesswilldecreaifAEB<7:0>increa.
Note:AEB<7:0>mustcombinedwithregister[25]AEW<7:0>.Keeptherelationalwaystrue:AEW<7:0>+
AEB<7:0>>[4D]forInterlaced;AEW<7:0>+AEB<7:0>>[90].
Register26-rw:CommoncontrolF
COMF7-COMF6:DigitalSharpnessthresholdlection.
[00]-Differenceofneighborpixelluminanceislargerthan8mV,correctionon.
[01]-16mV.
[10]-32mV.
[11]-64mV.
COMF5-COMF4:DigitalSharpnessMagnitudelection.
[01]-Strengthis50%ofdifferenceofneighborpixelluminance.
[10]-100%.
[11]-200%.
COMF3-Rerved
COMF2-SwapbusMSB/LSB.“1”LSB->Bit7,MSB->Bit0;“0”normal.
COMF1-“1”A/“0”.
COMF0-“1”Outputfirst4lineblacklevelforInterlacedModeand8lineblacklevelforProgressiveScan
mberwillincrea4/8relatively.“0”noblacklevel
output.
BitsAEB7AEB6AEB5AEB4AEB3AEB2AEB1AEB0
Interlace01001010
ProgressiveScan10001010
BitsCOMF7COMF6COMF5COMF4COMF3COMF2COMF1COMF0
Default10100010
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
41
PreliminaryCompanyConfidential
Register27-rw:CommoncontrolG
COMG7:Rerved.
COMG6:Rerved.
COMG5:Rerved.
COMG4:RGBmatrixdisable.“1”-BypassRGBmatrix.“0”-EnableRGBmatrix.
COMG3:Rerved.
COMG2:“1”EnablesmanualadjustmentofA/Dofft:1-A/Ddatawilladdorsubtractavaluedefinedby
registers[21]and[22].0-A/Ddatawillbeshiftedbyavaluedefinedbyregisters[21],[22]and
[2E],whichisupdatedbyinternalcircuit.
COMG1:-DisablesCCIRrangeclip.
COMG0:-ingchart.
Register28-rw:CommoncontrolH
COMH7:-“1”lectsOne-LineRGBrawdataoutputformat,“0”lectsnormaldual-line(repetitive)raw
dataoutput,effectiveonlyinProgressiveScanmode.
COMH6:-“1”enableBlack/Whitemode.
COMH5:-“1”lectProgressiveScanmode;“0”lectInterlacedmode.
COMH4:-FreezeAEC/effectiveonlywhenregister13bit0=1.
COMH3:-AGCdisable.
COMH2:-Rawdataoutputformat:“1”-GreenonYchannel,BRBR....onUVchannel(GRB422),“0”-G
RGR....onYchannel,BGBG.....onUVchannel.
COMH1:-2xGainboost.“1”DoublePreAmpgainto6dB.“0”PreAmpgainis0dB.
COMH0:-Rerved.
Register29-rw:CommoncontrolI
COMI7:-AECdisable.“1”Ifregister13bit0=1,AECstopandregister[10]valuewillbeheldatlastAEC
valueandnotbeupdatedbyinternalcircuit.“0”-ifregister13bit0=1,register[10]valuewill
beupdatedbyinternalcircuit
COMI6:-Enableslavesyncmodelection.“1”slavemode,uexternalCHSYNCandVSYNC.
“0”mastermode
COMI<5:4>-Rerved.
COMI3:-Centralweightedexposurecontrol.
COMI2:-Rerved.
COMI1-COMI0:Versionflag.
BitsCOMG7COMG6COMG5COMG4COMG3COMG2COMG1COMG0
Default11100010
BitsCOMH7COMH6COMH5COMH4COMH3COMH2COMH1COMH0
Default00000000
BitsCOMI7COMI6COMI5COMI4COMI3COMI2COMI1COMI0
Default00000000
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
42
PreliminaryCompanyConfidential
Register[2A]-rw:FrameRateAdjustRegister1
EHSH7-FrameRateadjustmentenablebit.“1”Enable.
EHSH<6:5>-lanationinregister[2B].
EHSH4-“1”-UVcomponentdelay2pixel.“0”no2*Tpdelay.
MF2=1active.
EHSH2-ForQVGArawdataformat.“1”willforceYtooutputBGBGandUVtooutputGRGR
EHSH<1:0>-Rerved.
Register[2B]-rw:FrameRateAdjustRegister2
EHSL<7:0>-ateadjustmentresolutionis0.12%.
ountdecreasframerateby0.12%.Rangeis0.12%-112%.If
framerateadjustmentinabled,COME7mustbetto“0”.
Register[2C]-rw:BlackExpandingRegister
EXBK<7:4>-s0.08%-1.3%
EXBK<3:0>-s0.08%-1.3%.
Register[2D]-rw:CommonControlJ
tto“1”.
COMJ6-QVGA60frame/slection.“1”OnlyOddfieldinInterlaceModedataoutput,“0”Odd/Evenfield
dataoutputframerateis30frames/utputat60frames/sinduallinemoderawdata.
tto“0”.
COMJ4-Autobrightnesnabled.
tto“0”.
djustframeratetomatchindoorlightfrequency,thisbitenableadif-
ferentexposurealgorithmtocutlightbandinducedbyfluorescentlight.
tto“0”.
tto“1”.
BitsEHSH7EHSH6EHSH5EHSH4EHSH3EHSH2EHSH1EHSH0
Default00000000
BitsEHSL7EHSL6EHSL5EHSL4EHSL3EHSL2EHSL1EHSL0
Default00000000
BitsEXBK7EXBK6EXBK5EXBK4EXBK3EXBK2EXBK1EXBK0
Default10001000
BitsCOMJ7COMJ6COMJ5OMJ4COMJ3COMJ2COMJ1COMJ0
Default100000-1
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
43
PreliminaryCompanyConfidential
V7-V0::+128mV~-2=0,thisregister
willbeupdatedbyinternalautoA/DBLCcircuit,andwriteavaluetothisregisterwithSCCB
2=1,Vchannelofftadjustmentwillutheregisterstoredvalue
1=1,thisregisterhasnoeffecttoA/
outputrawdata,thisregisterwilladjustR/G/Bdata.
V7:Offtadjustmentdirection:o-AddV[6:0];0-SubstrateV[6:0].
IfCOMJ0=0,thisregistervalueiscommontoUandVchannel.
Register2F~5F-w:Rerved
Address[2F]-[5F]arerervedforinternalu.
Register60-rw:SignalProcessControlA
SPCA7:1.5xgainboost.
SPCA6:Rerved.
SPCA5:“1”disablesgreenaveragingforUVchannel.
SPCA4:“1”disablesgreenaveragingforlumninancechannel.
SPCA<3:2>Rerved.
SPCA<1:0>:etto“0111”;B&Wtto“0000”.
Register61-rw:SignalProcessControlB
SPCB7:“1”YUVmode;“0”rawdatamode.
SPCB6:tto“0”.
SPCB5:tto“0”.
SPCB4:tto“0”.
SPCB3:tto“0”.
SPCB2:Limitsrangeofregister[6]tohalfvalue.
SPCB<1:0>:AutoBrightnesstargetreferencelevel:(00)--0IRE;(01)--6IRE;(10)--10IRE;
(11)--20IRE.
Register[2E]-rw:VChannelOfftAdjustment
BitsV7V6V5V4V3V2V1V0
Default10000000
BitsSPCA7SPCA6SPCA5SPCA4SPCA3SPCA2SPCA1SPCA0
Default00100111
BitsSPCB7SPCB6SPCB5SPCB4SPCB3SPCB2SPCB1SPCB0
Default10000010
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
44
PreliminaryCompanyConfidential
Register62-rw:RGBGammaControl
RGM<7:1>rawdataorUVgammacurvelection.
RGM0:tto“0”.
Register63-rw:Rerved
Address[63]arerervedforinternalu.
Register64-rw:YGammaControl
YGM<7:1>:Ygammacurvelection.
YGM<0>:“1”enable;“0”disable(linear).
Register65-rw:SignalProcessControlC
SPCC<7:3>Rerved.
SPCC2:A/A/Drangeby1.5X
SPCC<1:0>:A/Dreferencelection.<00>:inputsignalrange0.9V;<01>:1.0Vpeak
<10>:1.15Vpeak;<11>:<00>lection.
BitsRGM7RGM6RGM5RGM4RGM3RGM2RGM1RGM0
Default00010010
BitsYGM7YGM6YGM5YGM4YGM3YGM2YGM1YGM0
Default01011001
BitsSPCC7SPCC6SPCC5SPCC4SPCC3SPCC2SPCC1SPCC0
Default01000010
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
45
PreliminaryCompanyConfidential
Register66-rw:AWBProcessControl
Whitebalancelimitingfunction-YUVmatrixcontrol.
Register74:7mustbeenabledforAWBprocesscontrol.
AWBC<7:6>:SmartAWBignoresRGBrawdatapixelvaluesabove(00):70%,(01):80%,(10):90%,
(11):100%.
AWBC<5:4>:SmartAWBignoresRGBrawdatapixelvaluesbelow(00):10%,(01)20%,(10)30%,
(11)40%.
AWBC<3:2>:UthresholdlevellectionifuU/Vaswhitebalancefeedback
00:(-10%~10%);01:(-20%~20%);10:(-30%~30%);11:(-40%~40%)
AWBC<1:0>:VthresholdlevellectionifuU/Vaswhitebalancefeedback
00:(-10%~10%);01:(-20%~20%);10:(-30%~30%);11:(-40%~40%)
Register67-rw:ColorSpaceSelection
YUV<7:6>:UVcoefficientlection(U/Visoutputandu/visinput)
•[00]:YUV
•[01]:AnalogYUV
•[10]:CCIR601YCrCb
•[11]:PALYUV
YUV5:U/Vsignaldelay2pixellection
YUV4:U/Vsignalwith3pointchromaaverage(2pixeldelayaccordingly)
YUV<3:2>:Ysignaldelaylection:(00)-0;(01)-1;(10)-2;(11)-3pixels
YUV1:Autosaturationcontrol(decreascolornoi)enable.
YUV0:Autosaturationcontrolrangelection:0-1.5x;1-1x.
Register68-rw:SignalProcessControlD
SPCD<7:5>:AEC/AGCBrighnessTargetlevellection.
000-10%;001-30%;010-50%;011-70%;100-80%;101-90%;110-100%;111-110%.
SPCD4:tto“0”.
SPCD<3:2>:Anti-aliasthreshold:11lowestthreshold;01,10midrangethreshold;00highestthreshold.
SPCD<1:0>:Anti-aliasmagnitude:00-lowstrength;01,10midstrength;11:highstrength.
BitsAWBC7AWBC6AWBC5AWBC4AWBC3AWBC2AWBC1AWBC0
Default01010101
BitsYUV7YUV6YUV5YUV4YUV3YUV2YUV1YUV0
Default00011010
BitsSPCD7SPCD6SPCD5SPCD4SPCD3SPCD2SPCD1SPCD0
Default11001100
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
46
PreliminaryCompanyConfidential
Register69-rw:AnalogSharpness
EDGE<7:3>Rerved.
EDGE2:er20:5mustbetto“1”.
EDGE<1:0>:Rerved.
Register6A-rw:VerticalEdgeEnhancementControl
VEG<6:4>:VerticalEdgeEnhancementthresholdrange
VEG<3:0>:VerticalEdgeEnhancementmagnitudevalue.0000:weakest;1111:strongest.
Register6B-6Erw:Rerved
Address[6B]-[6E]arerervedforinternalu.
Register6F-rw:Even/OddNoiCompensationControl
EOC<7:6>:Rerved.
EOC<5:4>:ColorKillluminancethresholdlection:00-none;01-2.6v;10-2.4v;umi-
nancelectionwillactivatecolorkill.
EOC<3:0>:Settofactoryrecomendedvalues.
BitsEDGE7EDGE6EDGE5EDGE4EDGE3EDGE2EDGE1EDGE0
Default01110010
BitsVEG7VEG6VEG5VEG4VEG3VEG2VEG1VEG0
Default-1000010
BitsEOC7EOC6EOC5EOC4EOC3EOC2EOC1EOC0
Default--111010
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
47
PreliminaryCompanyConfidential
Register70-rw:CommonControlK
COMK7-“1”HREFedgescoincident(nodelay)withPCLKnegative/fallingedges(COMD6mustbetto
“0”).“0”HREFedgeoccurs10nsafterPCLKpositive/risingedge.
COMK6-Outputportdrivecurrentadditional2xcontrolbit.
COMK5-Rerved.
COMK4-SelectsZVporttiming.“1”VSYNCoutputZVportverticalsyncsignal.“0”normalTVvertical
syncsignal.
COMK3-Acceleratedsaturationmodeforcameramodechange.(QVGA,8Bitoutput,CCIR656mode
andProgressiveScanMode).Afterrelativecontrolbitt,thefirstVSwillbethestableimage
withsuitableAEC/AWBtting.“0”-slowmode,aftermodechangeneedmorefield/frameto
getstableAEC/AWBttingimage.
COMK2-Rerved.
COMK1-AWBupdateratelection.“1”fastmode;“0”slowmode.
COMK0-Setto“1”insinglelinemode,otherwitto“0”andtCOMG4todisable.
Register71-rw:CommonControlJ
COML7-AutoBrightnessupdaterate:“1”-Slowmode;“0”-fastmode.
COML6-GatedPCLKlection.“1”-EnablesPCLKgatedbyHREF;“0”-PCLKisfreerunningclock
COML5-SwapHREFoutputpinwithCHSYNC.“1”-HREFpinoutputCHSYNCsignal;“0”-Noswap.
COML4-SwapCHSYNCoutputpinwithHREF.“1”-CHSYNCpinoutputHREFsignal;“0”-normalout-
put.
COML<3:2>-Highest2bitforHSYNCrisingedgeshiftcontrol,combinedwithregister[72]
COML<1:0>-Highest2bitforHSYNCfallingedgeshiftcontrol,combinedwithregister[73]
Register72-rw:HorizontalSync1stEdgeshifting
HSDY<7:0>-s[000]-[3FF].
Everycountequals1PCLK.
BitsCOMK7COMK6COMK5COMK4COMK3COMK2COMK1COMK0
Default10000001
BitsCOML7COML6COML5COML4COML3COMK2COML1COML0
Default00000000
BitsHSDY7HSDY6HSDy5HSDY4HSDY3HSDY2HSDY1HSDY0
Default00010100
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
48
PreliminaryCompanyConfidential
Register73-rw:HorizontalSync2ndEdgeshifting
HSDY<7:0>-s[000]-[3FF].
Everycountequals1PCLK.
Register74-rw:CommonControlM
COMM7-EnableUVSmartAWBthresholdcontrol.
COMM<6:5>-AGCmaximumgainlection:00-2x;01-4x;10-2x;11-8x
COMM<4:0>-Rerved.
Register75-rw:CommonControlN
COMN7-“1”mwillbe[40].Otherwiwillbe[00]~[FF].
COMN<6:3>-Rerved.
COMN2-Thisbitfurtherreducestheexposuretimeto1/120condor1/100condwhenthebandingfil-
terinabledandthelightistoostrong.
COMN1-Ifenabled,manualwritewhitebalancevalue,thenchangetoauto,thestabletimewillbeless.
SpeedswhitebalancestabletimewhenswitchingfrommanualtoAWB.
COMN0-Enablesadditionof2pixelaveraging.
Register76-rw:CommonControlO
COMO7-OutputXCLKfromFODDpin.
COMO6-Rerved.
COMO5-Softwarepowerdownenable:1-enable;0-wakeup
COMO4-Rerved.
COMO3-LimitstheMinimumExposuretimeto4linesrather1linewithAECenable
COMO2-Tri-statesyncandCLKoutput,exceptdataline
COMO<1:0>-Rerved.
BitsHEDY7HEDY6HEDY5HEDY4HEDY3HEDY2HEDY1HEDY0
Default01010100
BitsCOMM7COMM6COMM5COMM4COMM3COMM2COMM1COMM0
Default00100000
BitsCOMN7COMN6COMN5COMN4COMN3COMN2COMN1COMN0
Default10000010
BitsCOMO7COMO6COMO5COMO4COMO3COMO2COMO1COMO0
Default00000000
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
49
PreliminaryCompanyConfidential
Register77-7B-rw:Rerved
Address[2F]-[5F]arerervedforinternalu.
Register7C-rw:FieldAverageLevelStorage
AVG<7:0>--Stroragefileldluminanceaveragevalueifregister20bit6=1.
Notice:forQVGAandProgressiveScanmode,therealluminanceaveragevalueisdoubleofthisregister
value,oRGBrawdatamode,thevalueisGreencomponentaver-
agevalue.
BitsAVG7AVG6AVG5AVG4AVG3AVG2AVG1AVG0
Default00000000
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
50
PreliminaryCompanyConfidential
SECTION2PINDESCRIPTION
2.1PINOUT
FIG2.1OV762048PinDigitalPackage
7
8
9
10
11
12
13
14
15
16
17
18
6543214
8
4
7
4
6
4
5
4
4
4
3
1
9
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
2
9
3
0
AGND
AVDD
PWDN
NS1
VcCHG
SBB
VTO
ADVDD
ADGND
VSYNC/CSYS
FODD/SRAM
HREF/VSFRAM
A
S
U
B
V
r
E
Q
F
R
E
X
A
G
C
E
N
F
SI
N
S
V
D
D
S
G
N
D
M
U
L
T
SI
O-
0
SI
O-
1
D
E
V
D
D
D
E
G
N
D
BW/CHSYNC
CBAR/Y0
PROG/Y1
G2X/Y2
RGB/Y3
CS1/Y4
SHARP/Y5
CS2/Y6
CS0/Y7
PWDB/PCLK
DOVDD
DOGND
42
41
40
39
38
37
36
35
34
33
32
31
U
V
7
/
B
8
U
V
6
/
B
P
A
L
F
U
V
5
/
MI
R
U
V
4
/
S
L
A
E
N
U
V
3
/
E
C
L
K
O
U
V
2
/
Q
V
G
A
U
V
1
/
C
C
6
5
6
U
V
0
/
G
A
M
M
A
X
C
L
K
1
X
C
L
K
2
D
V
D
D
D
G
N
D
OV7620
topview
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
51
PreliminaryCompanyConfidential
ELECTRICALSPECIFICATION
Table3.1:DCCHARACTERISTICS(0
o
C
o
C,VoltagesreferencedtoGND)
SymbolDescriptionsMinMaxTypUnits
Supply
V
DD1
Supplyvoltage-internalanalog
DEVDD,ADVDD,AVDD,SVDD,AOVDD,DVDD
4.755.255.0V
V
DD2
Supplyvoltage-internaldigital&outputdigital
(DOVDD)
4.5
3.0
5.5
3.6
5.0
3.3
V
V
I
DD1
SupplyCurrent(@60Hzframerate&5volt
digitalI/O,25pf+1TTLloadon16bitdatabus)
-40-mA
I
DD2
Standbysupplycurrent-105uA
DigitalInputs
V
IL
inputvoltageLOW-0.8-V
V
IH
inputvoltageHIGH2.0--V
Cininputcapacitor-10-pF
DigitalOutputs-standardload25pf,1.2kΩto3.0volts
V
OH
outputvoltageHIGH2.4--V
V
OL
outputvoltageLOW-0.6-V
SCCBInputs-
V
IL
SIO-0andSIO-1(V
DD2
=5V)-0.51.50V
V
IH
SIO-0andSIO-1(V
DD2
=5V)3.0Vdd+.55V
V
IL
SIO-0andSIO-1(V
DD2
=3V)-0.510V
V
IH
SIO-0andSIO-1(V
DD2
=3V)2.53.53
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
52
PreliminaryCompanyConfidential
Table3.2:ANALOGCHARACTERISTICS(T
A
=25
o
C;Vdd=5V)
SymbolDescriptionsMinMaxTypUnits
RGB/YCrCboutput
I
so
maximumsourcingcurrent15mA
V
rgb
DClevelatzerosignal
RGBpeak-peakamplitude
1
1
V
V
V
y
DClevelatzerosignal
Ypeak-peak100%amplitude(withoutsync)
syncamplitude
1
1
0.3
V
V
V
V
ry
DClevelatzerosignal
Crpeak-peak(75%saturation)
1.2
700
V
mV
V
by
DClevelatzerosignal
Cbpeak-peak(75%saturation)
1.2
890
V
mV
UrAdjustableControls
(VcBRT)
R
i
inputresistance100ΚΩ
factorytreferencebias
(VrAD1,VrAD2,VrAD3,VrEQ,VrPK,NSSA1,VcCHG,VcBLM)
VrEQbiadlevel2.03.02.5V
NS1SA1SA1referencelevel2.2V
VcCHGPhotocellChargelevel2.6V
ADCparameters
BanalogbandwidthMHz
DLEDCdifferentiallinearityerror0.5LSB
ILEDCintegrallinearityerror0.5LSB
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
53
PreliminaryCompanyConfidential
Table3.3:ACCHARACTERISTICS(0
o
C
o
C,VoltagesreferencedtoGND)
SymbolDescriptionsMinMaxTypUnits
Oscillator&Clockin
f
osc
frequency(XCLK1,XCLK2)103027.0MHz
t
r,
t
f
clockinputri/falltime5ns
CLKO
V
clockinputdutycycle455550%
SCCBtiming(400kbit/s)
t
BUF
BusfreetimebetweenSTOP&START1.3--us
t
HD:SAT
SIO-1changeafterSTARTstatus0.6--us
t
LOW
SIO-1lowperiod1.3--us
t
HIGH
SIO-1highperiod0.6--us
t
HD:DAT
Dataholdtime0--us
t
SU:DAT
Datat-uptime0.1--us
t
SU:STP
Set-uptimeforSTOPstatus0.6--us
Digitaltiming
t
pclk
PCLKcycletime
16bitoperation
8bitoperation
74
37
--ns
ns
t
r,
t
f
PCLKri/falltime-15-ns
t
pdd
PCLKtodatavalid-15-ns
t
phd
PCLKtoHREFdelay52010ns
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
54
PreliminaryCompanyConfidential
FIG2.2PixelTiming
Y<7:0>
PCLK
HREF
UV<7:0>
t
pclk
10Y
Y10
80U
V
80
t
r
t
f
tpdd
t
phd
t
phd
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
55
PreliminaryCompanyConfidential
FIG2.3SCCBBusTiming
SIO-0
SIO-1
t
BUF
t
HD:SAT
t
LOW
t
HD:DAT
t
HIGH
t
SU:DAT
t
SU:STP
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
56
PreliminaryCompanyConfidential
FIG2.416Bit4:2:2VideoPortTiming(InterlacedMode)
(a)HORIZONTALTIMING
(b)VERTICALTIMING(InterlacedMode)
Y0Y1h10Y643Y642
h10
4843241
U0V0h10V643
h10
U642
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
57
PreliminaryCompanyConfidential
FIG2.516Bit4:2:2VideoPortTiming(ProgressiveScanMode)
(a)HORIZONTALTIMING
(b)VERTICALTIMING(ProgressiveScanMode)
Y0Y1h10Y643Y642
h10
U0V0h10V643
h10
U642
12483484
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
58
PreliminaryCompanyConfidential
entMethodtogetQVGAformatCompare
Note:Togettheframerate,OV7620mustu27MHzcrystal.
Table3.4:CompareofQVGAMethod
MethodResolutionFrameRateLens
A320x24060frame/s1/3”
B320x24030frame/s1/3”
C322x24030frame/s1/4”
D354x28830frame/s1/4”
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
59
PreliminaryCompanyConfidential
FIG2.6PackageMechanicalData
31
30
19
187
6
43
42
48
+0.010
0.060-0.005
TYP.
0.040±0.007
TYP.
0.440±0.005
0.040±0.003
0.085±0.010
0.020±0.003
TYP.
R0.0075
48PLCS
R0.0075
4CORNERS
0.003
0.002
0.020±0.002
0.015±0.002
0.030
0.003
0.065±0.007
NOTES:
1)Alldimensionsininches
±0.003
BottomView
TopView
SideView
42
43
6
19
30
31
48
18
1
7
42
43
31
30
19
18
6
7
0.006MAX.
0.002TYP.
0.350SQ.±0.005
0.430SQ.±0.005
0.560SQ.-0.005
+0.012
0
.
0
3
6
MI
N.
OV7620ProductSpecifications-Rev.1.2(5/13/00)OMNIVISIONTECHNOLOGIESINC.
60
PreliminaryCompanyConfidential
.
FIG2.7OV7620SensorArrayLocation(ininches)
OmniVisionTechnologies,estherighttomakechangeswithoutfurthernoticetoanyproducthereintoimprovereliability,function,or
sionTechnologies,tassumeanyliabilityarisingoutoftheapplicationoruofanyproductorcircuitdescribed
herein;neitheofthispublicationmaybecopiedorrepro-
duced,inanyformwithoutthepriorwrittenconntofOmniVisionTechnologies,Inc.
OrderingInformation
PartNumberDescriptionComments
OV7620ColorDigitalSensor48pinLCC
1
Sensor
Array
DIE
TopView
PackageCenter
(0,0)
ArrayCenter
(0.0094,0.0015)
本文发布于:2022-12-28 12:43:07,感谢您对本站的认可!
本文链接:http://www.wtabcd.cn/fanwen/fan/90/46695.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |