Ov5620 - CLCC - DS (1.3)
Ov5620 - CLCC - DS (1.3)
Advanced Information
® Preliminary Datasheet
DATA_N
DATA_P
XVCLK
CLK_N
CLK_P
DGND
EGND
EVDD
PVDD
AVDD
© 2007 OmniVision Technologies, Inc. VarioPixel, OmniVision, and the OmniVision logo are registered trademarks of OmniVision Technologies, Inc.
Version 1.3, February 15, 2007 OmniPixel2 and CameraChip are trademarks of OmniVision Technologies, Inc.
These specifications are subject to change without notice.
OV5620-CLCC Color CMOS QSXGA (5.17 MPixel) OmniPixel2™ CAMERACHIP™ Sensor Omni ision
Functional Description
Figure 2 shows the functional block diagram of the • 10-Bit A/D Converter
OV5620 image sensor. The OV5620 includes: • Test Pattern Generator
• Image Sensor Array (2592+16) x (1944+4) • Digital Signal Processor (DSP)
resolution) • Snapshot (Frame Exposure) Mode Timing
• Analog Amplifier • Frame Rate Adjust
• Gain Control • SCCB Interface
• Balance Control • Channel Average Calculator
(DVP) VSYNC
image
array gain 50/60 Hz balance
control auto control buffer DSP*
detect
compact CP
camera CN
test
port DP
pattern
(CCP) DN
generator
RESET_B
PWDN
FREX
EXP_STB
SCL
SDA
Image Sensor Array Figure 3 Sensor Array Region Color Filter Layout
7 G R G R G R G R G R G R dummy
8 B G B G B G B G B G B G
The sensor array design is based on a field integration 1944
active
read-out system with line-by-line transfer and an lines
1951 G R G R G R GRGRGR
electronic shutter with a synchronous pixel read-out 1952 B G B G B G BGBGBG
8
scheme. dummy
1959 G R G R G R GRGRGR lines
5620CLCC_DS_003
Windowing
Gain Control
The OV5620 allows the user to define window size or
The amplifier gain can either be programmed by the user region of interest (ROI), as required by the application.
or controlled by the internal automatic gain control circuit Window size setting (in pixels) ranges from 2 x 4 to
(AGC). The gain adjustment range is 0-24 dB. 2592 x 1944 (QSXGA) or 2 x 2 to 1280 x 960 (1.3 Mpixel)
and 640 x 480 (VGA), and can be anywhere inside the
2592 x 1944 boundary. The windowing control merely
alters the assertion of the HREF signal to be consistent
Balance Control with the programmed horizontal and vertical ROI.
rows
The balanced signal is then digitized by the on-chip 10-bit
ADC. It can operate at up to 27 MHz and is fully
synchronous to the pixel clock. The actual conversion rate
is determined by the frame rate. row start
HREF display
window
row end
Test Pattern Generator
sensor array boundary
The Test Pattern Generator features the following:
• 8-bar color bar pattern 5620CLCC_DS_004
VarioPixel (Binning) 1:2, 1:3, 1:4 Figure 9 Vertical 1:4 Average (Binning)
5620CLCC_DS_006
Flash Control Output (Strobe Pin)
Figure 7 Vertical 1:3 Average (Binning) The OV5620 has a Strobe mode that allows it to work with
an external flash and LED.
B Gb
Gr R
Snapshot (Frame Exposure) Mode Timing
B Gb
The OV5620 supports snapshot (frame exposure) mode.
Gr R Typically, the snapshot mode must work with the aid of an
B Gb B Gb external shutter.
Gr R Gr R The frame exposure pin, FREX (pin 10), is the snapshot
B Gb B Gb mode enable pin and the EXP_STB pin (pin 12) serves as
the sensor's exposure start trigger. When the external
Gr R Gr R master device asserts the FREX pin high, the sensor array
B Gb is quickly pre-charged and stays in reset mode until the
EXP_STB pin is pulled low (sensor exposure time can be
Gr R defined as the period between EXP_STB low to shutter
B Gb close). After the FREX pin is pulled low, the video data
stream is then clocked to the output port in a line-by-line
Gr R 5620CLCC_DS_007
manner. After completing one frame of data output, the
OV5620 will output continuous live video data unless in
Figure 8 Horizontal 1:4 Average (Binning) single frame transfer mode. Figure 17 shows detailed
timing of the Frame Exposure mode and Table 10 shows
the timing specifications for this mode.
Digital Video Port Also, PCLK output can be programmed using register
COM10[5] to be gated by the active video period defined
by the HREF signal. See Figure 13 for details.
MSB/LSB Swap Figure 13 PCLK Output Only at Valid Pixels
The OV5620 has a 10-bit digital video port. The MSB and
PCLK
LSB can be swapped with the control registers. Figure 12
PCLK active edge negative
shows some examples of connections with external
devices. HREF
OV5620 external OV5620 external Table 1 shows the output data order from the OV5620.
device device
The data output sequence following the first HREF and
default 10-bit connection swap 10-bit connection
after VSYNC is: B0,0 G0,1 B0,2 G0,3… B0,2590 G0,2591.
MSB Y9 Y7 LSB Y9 After the second HREF the output is G1,0 R1,1 G1,2 R1,3…
Y8 Y6 Y8 G1,2590 R1,2591…, etc.
Y7 Y5 Y7 Y0
Y6 Y4 Y6 Y1 Table 1 Data Pattern
Y5 Y3 Y5 Y2
Y4 Y2 Y4 Y3 R/C 0 1 2 3 ... 2590 2591
Y3 Y1 Y3 Y4
Y2 Y0 Y2 Y5 0 B0,0 G0,1 B0,2 G0,3 ... B0,2590 G0,2591
Y1 Y1 Y6
1 G1,0 R1,1 G1,2 R1,3 ... G1,2590 R1,2591
LSB Y0 MSB Y0 Y7
external external 2 B2,0 G2 B2,2 G2,3 ... B2,2590 G2,2591
OV5620 OV5620
device device
default 8-bit connection swap 8-bit connection
3 G3,0 R3,1 G3,2 R3,3 ... G3,2590 R3,2591
5620CLCC_DS_012
. .
. .
Pin Description
Table 2 Pin Description
06 NC – No connection
07 NC – No connection
08 NC – No connection
09 PWDN Input (0) Power down control, active high (hardware standby)
17 NC – No connection
18 NC – No connection
19 NC – No connection
31 NC – No connection
32 NC – No connection
41 NC – No connection
42 NC – No connection
Electrical Characteristics
a. Exceeding the stresses listed may permanently damage the device. This is a stress rating only and functional operation
of the sensor at these and any other condition above those indicated in this specification is not implied. Exposure to
absolute maximum rating conditions for any extended period may affect reliability.
Supply
VDD1 Supply voltage (EVDD, PVDD, AVDD, SVDD) 2.6 2.8 3.0 V
Digital Inputs
Digital Outputs
SCCB Inputs
ADC Parameters
Timing Specifications
tF tHIGH tR
SCL
tLOW tSU:STO
tHD:STA tSU:DAT
SDA (OUT)
tDH
5620CLCC_DS_014
Figure 15 QSXGA, 1.3 Mpixel, VGA and HF Mode Line/Pixel Output Timing
tp tpr
PCLK or
MCLK
tpf
tdphr tdphf
HREF
tdpd tsu
invalid
Y[9:0] P1279/2591 data P0 P1 P2 P1078/2590 P1279/2591
thd
5620CLCC_DS_015
TFRAME
TVALID
VSYNC
4 x TLINE
HREF
shutter open
shutter
FREX
tdef
tdes
turn on flash
EXP_STB
tpre exposure time
sensor sensor
precharge
timing
tdfvr tdvsc
tdfvf
VSYNC
tdvh
HREF
Y[9:0]
row X row 0 row 1 row 1943 no following live video frame if
set to transfer single frame
5620CLCC_DS_017
tdfvr 8 9 tp
tdfvf 8 tline
tdvsc 2 tline
tdhso 0 ns
tdef 20 tp
NOTE 1) FREX must stay high long enough to ensure the entire sensor has been reset.
2) Shutter must be closed no later then 6000 tp after VSYNC falling edge.
Register Set
Table 11 provides a list and description of the Device Control registers contained in the OV5620. The device slave addresses
for the OV5620 are 60 for write and 61 for read.
Table 11 Device Control Register List (Sheet 1 of 9)
Common Control 1
Bit[7:6]: Dummy frame control
00: Not used
01: Allow 1 dummy frame
03 COM1 4A RW 10: Allow 3 dummy frames
11: Allow 7 dummy frames
Bit[5:4]: Reserved
Bit[3:2]: Vertical window end line control 2 LSBs
Bit[1:0]: Vertical window start line control 2 LSBs
Register 04
Bit[7]: Horizontal mirror
04 REG04 00 RW Bit[6]: Vertical flip
Bit[5:3]: Reserved
Bit[2:0]: AEC lower 3 bits – AEC[2:0]
Common Control 2
Bit[7:5]: Reserved
Bit[4]: Sleep mode enable
0: Normal mode
1: Sleep mode
Bit[3]: Reserved
09 COM2 01 RW Bit[2]: Pins PWDN and RESET_B used as SLVS and SLHS,
respectively
Bit[1:0]: Output drive current select
00: Weakest
01: Double capability
10: Double capability
11: Triple drive current
Common Control 3
Bit[7]: Array horizontal output size select
0: 1280, if COM4[7] = 1; 864, if COM4[0] = 1;
otherwise, 2592
1: 1280, if in 1.3 Mpixel, QFMD, or HF mode; 864, if in
D1MD mode; otherwise, 2592
Bit[6]: Array vertical skip mode select
0: Skip 2, if COM4[6] = 1;
skip 3, if COM4[5] = 1;
skip 4, if COM4[4] = 1;
skip 8, if COM4[3] = 1;
otherwise, no skip or full mode
1: Skip 2, if in 1.3 Mpixel mode;
skip 3, if in D1MD mode;
skip 4, if in QFMD mode;
skip 8, if in HF mode;
otherwise, no skip or full mode
Bit[5:4]: Reserved
Bit[3]: Number of vertical blanking line select
0: 24 lines, if in full mode;
16, if in 1.3 Mpixel, D1MD, QFMD, or HF mode
1: Full mode:
DMLN > 24: determined by DMLN
DMLN < 24: 24 lines
1.3 Mpixel/D1MD/QFMD/HF:
DMLN > 16: determined by DMLN
DMLN < 16: 16 lines
0C COM3 08 RW Note: DMLN is set by registers {DMLNH[7:0] (0x47), DMLNL[7:0]
(0x46)}
Bit[2]: Array vertical output size select
0: Full mode: 1944
1.3 Mpixel: 960
D1MD: 600
QFMD: 480
HF: 240
1: Output size determined by registers COM32[7:0]
and COM30[5:4]
Output size = 2 x {COM32[7:0], COM30[5:4]}
Bit[1]: Number of horizontal blanking line select
0: Full mode: 660
1.3 Mpixel: 360
D1MD: 436
QFMD: 332
HF: 280
1: Determined by register EXHC[11:0]
Note: EXCH[11:0] is set by registers {REG2A[7:4] (0x2A),
EXHCL[7:0] (0x2B)}
Bit[0]: Array horizontal output size select
0: Full mode: 1944
1.3 Mpixel: 960
D1MD: 600
QFMD: 480
HF: 240
1: Output size is determined by COM31[7:0] and
COM30[2:0]
Output size = 2 x {COM31[7:0], COM30[2:0]}
Common Control 4
Bit[7:3]: Reserved
Bit[2]: Clock output power-down pin status
0: Tri-state data output pin at power-down
1: Data output pin hold at last status before
0D COM4 06 RW power-down
Bit[1]: Data output pin status selection at power-down
0: Tri-state data VSYNC, PCLK, HREF, and CHSYNC
pins upon power-down
1: VSYNC, PCLK, HREF, and CHSYNC pins hold on
last state before power-down
Bit[0]: Reserved
Common Control 5
0E COM5 01 RW
Bit[7:0]: Reserved
Common Control 6
Bit[7:2]: Reserved
Bit[1]: Reset enable/disable when sensor working mode
0F COM6 43 RW changes
0: Sensor timing does not reset when mode changes
1: Sensor timing resets when mode changes
Bit[0]: Reserved
Common Control 7
Bit[7]: SRST
1: Initiates soft reset. All register are set to factory
default values after which the chip resumes normal
operation
Bit[6:3]: Resolution selection
12 COM7 00 RW
0000: 5 Mpixel (full size) mode - no binning
0001: HF mode - 1:8 binning
0010: QFMD mode - 1:4 binning
0100: D1MD mode - 1:3 binning
1000: 1.3 Mpixel mode - 1:2 binning
Bit[2:0]: Reserved
Common Control 8
Bit[7]: AEC speed selection
0: Normal
1: Faster AEC correction
Bit[6:3]: Reserved
Bit[2]: AGC auto/manual control selection
0: Manual
13 COM8 C7 RW
1: Auto
Bit[1]: AWB auto/manual control selection
0: Manual
1: Auto
Bit[0]: Exposure control
0: Manual
1: Auto
Common Control 9
Bit[7:5]: AGC gain ceiling
000: 2x
001: 4x
010: 8x
011: 16x
100: Reserved
101: Reserved
110: Reserved
111: Reserved
14 COM9 40 RW
Bit[4:3]: Reserved
Bit[2]: VSYNC drop option
0: VSYNC is always output
1: VSYNC is dropped if frame data is dropped
Bit[1]: Frame data drop
0: Disable data drop
1: Drop frame data if exposure is not within tolerance.
In AEC mode, data is normally dropped when data
is out of range.
Bit[0]: Reserved
Common Control 10
Bit[7:6]: Reserved
Bit[5]: PCLK output selection
0: PCLK always output
1: PCLK output qualified by HREF
Bit[4]: PCLK edge selection
0: Data is updated at the failing edge of PCLK (user
can latch data at the next rising edge of PCLK)
1: Data is updated at the rising edge of PCLK (user can
latch data at the next falling edge of PCLK)
15 COM10 00 RW Bit[3]: HREF output polarity
0: Output positive HREF
1: Output negative HREF, HREF negative for valid
data
Bit2]: Reserved
Bit[1]: VSYNC polarity
0: Positive
1: Negative
Bit[0]: HSYNC polarity
0: Positive
1: Negative
Pixel Shift
Bit[7:0]: Pixel delay count - provides a method to fine tune the
1B PSHFT 00 RW output timing of the pixel data relative to the HREF pulse.
It physically shifts the video data output time in units of
pixel clock counts. The largest delay count is [FF] and is
equal to 255 x PCLK.
Register 2A
Bit[7:4]: 4 MSBs of EXHC (8 LSBs in register EXHCL[7:0])
2A REG2A 00 RW
Bit[3:2]: HSYNC timing end point adjustment 2 MSBs
Bit[1:0]: HSYNC timing start point adjustment 2 MSBs
2C RSVD XX – Reserved
Register 32
Bit[7:6]: Pixel clock divide option
00: No effect on PCLK
00 01: No effect on PCLK
32 REG32 RW
in 1.3 Mp 10: PCLK frequency divide by 2
11: PCLK frequency divide by 4
Bit[5:3]: Horizontal window end position 3 LSBs
Bit[2:0]: Horizontal window start position 3 LSBs
Register 45
45 REG45 00 RW Bit[7:6]: AGC[9:8], AGC 2 MSBs
Bit[5:0]: AEC[15:10], AEC 6 MSBs
Common Control 19
Bit[7:2]: Reserved
48 ZOOMSL 00 RW
Bit[1:0]: Zoom mode vertical start window 2 LSBs (see register
ZOOMSH[7:0] (0x49) for 8 MSBs)
Common Control 30
Bit[7:6]: Reserved
Bit[5:4]: Array vertical output size (valid only when COM3[2] = 1)
5F COM30 00 RW
Bit[3]: Reserved
Bit[2:0]: Array hoizontal output size (valid only when
COM3[0] = 1)
Common Control 31
60 COM31 00 RW Bit[7:0]: Array horizontal output size (valid only when
COM3[0] = 1)
Common Control 32
61 COM32 00 RW
Bit[7:0]: Array vertical output size (valid only when COM3[2] = 1)
62 RSVD XX – Reserved
Common Control 34
Bit[7]: Reserved
Bit[6]: De-noise enable
0: Disable
63 COM34 00 RW 1: Enable
Bit[5]: Strength of de-noise select
0: DNSTH x 1
1: DNSTH x 4
Bit[4:0]: De-noise threshold setting
DSP01
Bit[7:4]: Reserved
Bit[3]: WBC delay option when DSP01[1] and DSP01[2] are
disabled
0: Do not delay
1: Delay output
Bit[2]: Black pixel canceling enable
81 DSP01 00 RW 0: Disable
1: Enable
Bit[1]: White pixel canceling enable
0: Disable
1: Enable
Bit[0]: White and black pixel canceling enable
0: Disable
1: Enable
82 RSVD XX – Reserved
DSP Control
85 DSPCTRL 00 RW
Bit[7:0]: Reserved
DSP09
Bit[7:6]: Reserved
Bit[5]: AWB gain enable
89 DSP09 29 RW
0: Disable
1: Enable
Bit[4:0]: Reserved
8A RSVD XX – Reserved
DSP0B
Bit[7:6]: Reserved
Bit[5]: Gamma enable
8B DSP0B 1F RW
0: Disable
1: Enable
Bit[4:0]: Reserved
NOTE: All other registers are factory-reserved. Please contact OmniVision Technologies for reference register settings.
Package Specifications
The OV5620 uses a 48-pin ceramic package. Refer to Figure 18 for package information and Figure 19 for the array center
on the chip.
.560 SQ +.012/-.005
.464 SQ ±.005 .440 ±.005
.418 SQ ±.005 .088 ±.009 .06 +.010/-.005
.040 ±.003
42 31 .065 ±.007 31 42
.030 ±.002
43 42 31 30 glass .015 ±.002 30 43
43 30 .020 ±.002 .040 TYP
.018
.022 ±.002
MIN .001 to .005 TYP
die
48 .002 ±.001 TYP 48
48
.535 ±.004
1 1 .029 ±.001 1
pin 1 index .038 ±.007 pin 1 index
image
6
7
19
18
plane .020 TYP
6 19 19 6
.012 TYP REF
7 18 R .0075 18 R .0075 7
(4 corners) (48 plcs) .085 TYP
note 1 all exposed metallized areas shall be gold-plated 0.50 μm min. thk. over nickel plate
unless otherwise specified in purchase order.
note 2 seal area and die attach area shall be without metallization. 5620CLCC_DS_018
Package edge to first lead center 1.52 +0.26 / -0.13 .06 +.010 / -.005
5808 μm
package center
(0 μm, 0 μm)
4294.4 μm
array center
sensor (23.2 μm, -464.4 μm)
array (0.913 mil, -18.283 mils)
die
package
pin 1
The recommended lens chief ray angle for the OV5620 is 12.5° degrees.
Note: For OVT devices that are lead-free, all part marking letters are
lower case.
300.0
Z1 Z2 Z3 Z4 Z5 Z6 Z7 end
275.0
250.0
225.0
200.0
temperature (°C)
175.0
150.0
125.0
100.0
75.0
50.0
25.0
0.0
-22
-2
18
38
58
78
98
118
138
158
178
198
218
238
258
278
298
318
338
358
369
time (sec) 5620CLCC_DS_020
Condition Exposure
Average ramp-up rate (30°C to 217°C) Less than 3°C per second
Note:
• All information shown herein is current as of the revision and publication date. Please refer
to the OmniVision web site (http://www.ovt.com) to obtain the current versions of all
documentation.
• OmniVision Technologies, Inc. reserves the right to make changes to their products or to
discontinue any product or service without further notice (It is advisable to obtain current product
documentation prior to placing orders).
• ‘OmniVision’, ‘VarioPixel’, and the OmniVision logo are registered trademarks of OmniVision
Technologies, Inc. ‘CameraChip’ and ’OmniPixel2’ are trademarks of OmniVision Technologies,
Inc. All other trade, product or service names referenced in this release may be trademarks or
registered trademarks of their respective holders. Third-party brands, names, and trademarks are
the property of their respective owners.
DESCRIPTION OF CHANGES
• Initial Release
Omni ision TM
DESCRIPTION OF CHANGES
The following changes were made to version 1.0:
• Under Features on page 1, deleted (previously 11th) bulleted item “Vertical VarioPixel®
(binning) 1:2, 1:3
• Under Featuress on page 1, changed 10th bulleted item from “Horizontal VarioPixel®
(binning) 1:2, 1:3, 1:4, 1:8” to “VarioPixel® (binning) 1:2, 1:3, 1:4”
• Under Features on page 1, changed 11th bulleted item from “Vertical skip 1:2, 1:3, 1:4,
1:8” to “Subsampling (skip) 1:2, 1:3, 1:4, 1:8”
• Moved section title “Horizontal VarioPixel/Binning 1:2, 1:3” to page 4 and changed it to
“VarioPixel (Binning) 1:2, 1:3, 1:4”
• On page 4, deleted section title “Vertical VarioPixel/Binning 1:2, 1:3”
• On page 4, deleted “Horizontal 1:2 Skip” figure (previously Figure 8)
• Under General Description on page 1, changed the second line in the second paragraph
from “...can also output 864 x 648 ...” to “...can also output 864 x 600 ...”
• Under Key Specifications on page 1, changed Digital Power Supply specification from
“1.2V + 5%” to “1.3V + 5%”
• Under Key Specifications on page 1, changed Standby Power Requirements from
“<10 µA” to “250 µA”
• Under Key Specifications on page 1, corrected Shutter specification from “Electronic
rolling shutter, snapshort” to “Electronic rolling shutter, snapshot”
• Under Key Specifications on page 1, changed specification for Lens Chief Ray Angle
from “TBD” to “12.5°”
• Under Key Specifications on page 1, changed Max Image Transfer Rate parameter from
“SXGA” to “1.3 Mpixel”, from “D1” to “D1MD”, and from “HF” to “QVGA”
• In Figure 1 on page 1, changed OV5620 chip so that pin 1 is down
• Under Gain Control subsection on page 3, changed the last line from “The gain adjustment
range 0-42 dB” to “The gain adjustment range is 0-24 dB”
• On page 4, deleted section title “Vertical Skip 1:2, 1:3, 1:4, 1:8”
• On page 4, deleted “Vertical 1:2 Skip” figure (previously Figure 9), “Vertical 1:3 Skip”
figure (previously Figure 10), “Vertical 1:4 Skip” figure (previously Figure 11), and
“Vertical 1:8 Skip” figure (previously Figure 12)
• On page 4, added Figure 8 “Horizontal 1:4 Average (Binning)” and Figure 9 “Vertical 1:4
Average (Binning)”
• Under Frame Rate Adjust on page 5, changed first line from “The OV5620 offers three
methods ...” to “The OV5620 offers four methods ...”
Omni ision TM
DESCRIPTION OF CHANGES
The following changes were made to version 1.1:
• Under Key Specifications on page 1, changed specification for Active Power
Requirements from “TBD” to “75 mA”
• Under Key Specifications on page 1, changed specification for Standby Power
Requirements from “250 µA” to “350 µA”
• In Table 4 on page 9, changed description of VDD1 from “Supply voltage (RVDD, EVDD,
PVDD, AVDD, SVDD)” to “Supply voltage (EVDD, PVDD, AVDD, SVDD)”
• In Table 4 on page 9, changed description of VDD3 from “Supply voltage (DVDD)” to
“Supply voltage (RVDD)”
• In Table 4 on page 9, changed Min, Typ, and Max for VDD3 from “1.24”, “1.3”, and
“1.37” to “1.7”, “2.8”, and “3.3”, respectively
• In Table 4 on page 9, changed Typ for VDD1, VDD2, and VDD3 from “TBD”, “TBD”, and
“TBD” to “45 (30a)”, “10 (35a)”, and “20 (10a)”, respectively
• In Table 4 on page 9, added table footnote “a”
Omni ision TM
DESCRIPTION OF CHANGES
The following changes were made to version 1.2:
• Under Key Specifications on page 1, changed specification for Dark Current from “TBD”
to “3 mV/sec @ 60°C”
• Under Key Specifications on page 1, changed specification for Fixed Pattern Noise from
“TBD” to “< 1% of VPEAK-TO-PEAK”