OV9625 ETC1 | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 30

Technical content

Features

  • Optical Black Level Calibration (BLC)  Improved micro lens design to decrease shading  Video or snapshot operations  Programmable/Auto Exposure and Gain Control  Programmable/Auto White Balance Control  Horizontal and vertical sub-sampling (4:2 and 4:2)  Programmable image windowing  Variable frame rate control  On-chip R/G/B channel and luminance average counter  Internal/External frame synchronization  SCCB slave interface  Power-on reset and power-down mode

Ordering Information

OV09625-C00A (Color, SXGA, VGA) CLCC-48 OV09121-C00A (B&W with microlens, SXGA, VGA) CLCC-48

Applications

 Digital still cameras  PC camera/dual mode  Video conference applications  Machine vision  Security cameras  Biometrics Key Specifications Figure 1 OV9625/OV9121 Pin Diagram Array Size SXGA 1280 x 1024 VGA 640 x 480 Power Supply Core 2.5VDC + 10% Analog 3.3VDC + 10% I/O 3.3VDC + 10% Power Requirements Active < 50 mA Standby < 10 µA Output Formats (10-bit) Raw RGB Data Lens Size 1/2" Max. Image Transfer Rate SXGA 15 fps VGA 30 fps Sensitivity 1.0 V/Lux-sec S/N Ratio 54 dB Dynamic Range 60 dB (due to ADC limitations) Scan Mode Progressive Gamma Correction N/A Electronics Exposure SXGA Up to 1050:1 VGA Up to 500:1 Pixel Size 5.2 µm x 5.2 µm Dark Current 28 mV/s Fixed Pattern Noise < 0.03% of VPEAK-TO-PEAK Image Area 6.66 mm x 5.32 mm Package Dimensions .560 in. x .560 in. 25 D1 24 D0

23 DGND

22 DVDD

21 ADGND

20 ADVDD

19 VrAD2

30 XCLK2

29 XCLK1

13 VGA

12 EXPSTB

11 SCCB_E

10 RESET

8 FREX

7 PWDN

18 ASUB

17 AGND

16 AVDD

15 VcCHG

14 FSIN

45SIO_D 46SIO_C 47VcCHG OV9625/OV9121

Version 1.3, September 15, 2003 Proprietary to OmniVision Technologies 5 Omni ision Reset The RESET pin (pin 10) is active high. There is an internal pull-down (weak) resistor in the sensor so the default status of the RESET pin is low. Figure 9 RESET Timing Diagram There are two ways for a sensor reset: 1. Hardware reset - Pulling the RESET pin high and keeping it high for at least 1 ms. As shown in Figure 9, after a reset has been initiated, the sensor will be most stable after the period shown as 4096 External Clock. 2. Software reset - Writing 0x80 to register 0x12 (see “COMH” on page 20) for a software reset. If a software reset is used, a reset operation done twice is recommended to make sure the sensor is stable and ready to access registers. When performing a software reset twice, the second reset should be initiated after the 4096 External Clock period as shown in Figure 9. Power-Down Mode The PWDN pin (pin 7) is active high. There is an internal pull-down (weak) resistor in the sensor so the default status of the PWDN pin is low. Figure 10 PWDN Timing Diagram 1ms RESET

4096 External Clock

Two methods of power-down or standby operation are available with the OV9625/OV9121.  Hardware power-down may be selected by pulling the PWDN pin (pin 7) high (+3.3VDC). When this occurs, the OV9625/OV9121 internal device clock is halted and all internal counters are reset. The current draw is less than 10 µA in this standby mode.  Software power-down can be effected by setting the COMC[4] register bit high. Standby current will be less then 1 mA when in software power-down. All register content is maintained in standby mode. SCCB Interface OV9625/OV9121 provides an on-chip SCCB serial control port that allows access to all internal registers, for complete control and monitoring of OV9625/OV9121 operation. Refer to OmniVision Technologies Serial Camera Control Bus (SCCB) Specification for detailed usage of the SCCB interface. Video Output RGB Raw Data Output The OV9625 C AMERACHIP offers 10-bit RGB raw data output. B&W Output The OV9121 offers 10-bit luminance signal data output.

6 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision Digital Video Port MSB/LSB Swap OV9625/OV9121 has a 10-bit digital video port. The MSB and LSB can be swapped with the control registers. Figure 11 shows some examples of connections with external devices. Figure 11 Connection Examples LSB D0 MSB D0 External Device OV9625 (OV9121) External Device OV9625 (OV9121) MSB D9 LSB D9 Default 10-bit Connection Swap 10-bit Connection LSB D0 MSB D0 External Device OV9625 (OV9121) External Device OV9625 (OV9121) MSB D9 LSB D9 Default 8-bit Connection Swap 8-bit Connection Line/Pixel Timing The OV9625/OV9121 digital video port can be programmed to work in either master or slave mode. In both master and slave modes, pixel data output is synchronous with PCLK (or MCLK if port is a slave), HREF and VSYNC. The default PCLK edge for valid data is the negative edge but may be programmed with register COMK[4] (see “COMK” on page 22) for the positive edge. Basic line/pixel output timing is illustrated in Figure 14 and Figure 15. To minimize image capture circuitry and conserve memory space, PCLK output can be programmed with register COMK[5] (see “COMK” on page 22 ) to be qualified by the active video period as defined by the HREF signal. See Figure 12 for details. Figure 12 PCLK Output Only at Valid Pixels Pixel Output Pattern Table 1 shows the output data order from the OV9625/OV9121. The data output sequence following the first HREF and after VSYNC is: B 0,0 G 0,1 B 0,2 G 0,3… B0,1278 G0,1279. After the second HREF, the output is G1,0 R1,1 G 1,2 R 1,3… G 1,1278 R 1,1279…, etc. If the OV9625/OV9121 is programmed to output VGA resolution data, horizontal and vertical sub-sampling will occur. The default output sequence for the first line of output will be: B 0,0 G0,1 B0,4 G0,5… B 0,1276 G0,1277. The second line of output will be: G1,0 R1,1 G1,4 R1,5… G 1,1276 R1,1277. Table 1 Data Pattern R/C 0 1 2 3 . . . 1278 1279 0B 0,0 G0,1 B0,2 G0,3 . . . B 0,1278 G0,1279 1G 1,0 R1,1 G1,2 R1,3 . . . G 1,1278 R1,1279 2B 2,0 G2 B2,2 G2,3 . . . B 2,1278 G2,1279 3G 3,0 R3,1 G3,2 R3,3 . . . G 3,1278 R3,1279

1022 B 1022,0 G1022,1 B1022,2 G1022,3 B1022,1278 G1022,1279

1023 G 1023,0 R1023,1 G1023,2 R1023,3 G1023,1278 R1023,1279

OV9625/OV9121 supports frame exposure mode. EXPSTB pins high at the same time (see Figure 19). shutter closes (see Figure 18). detailed timing for this mode. Figure 17. Refer to Table 2 for the actual pixel rate at

  1. Clock prescaler (see “CLKRC” on page 20)
  2. Line adjustment (see “COML” on page 24 and see

altered while the pixel rate remains the same. resolution control register bit COMH[6]. on, frame rate is adjusted by the main clock divide method.

8 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision Pin Description Table 3 Pin Description Pin Number Name Pin Type Function/Description 01 SVDD Power 3.3 V power supply for the pixel array 02 VrHIGH Analog Sensor high reference - bypass to ground using a 0.1 µF capacitor 03 NBIT Analog Sensor bit line reference - bypass to ground using a 0.1 µF capacitor 04 DEVDD Power 3.3 V power supply for the sensor array decoder

05 DEGND Power Ground for the sensor array decoder

06 VrLOW Analog Sensor low reference - bypass to ground using a 0.1 µF capacitor

07 PWDN Input (0)

a Power down mode enable, active high

08 FREX Input (0) Snapshot trigger, used to activate a snapshot sequence

09 NC — No connection

10 RESET Input (0) Chip reset, active high

11 SCCB_E Input (0) SCCB interface enable, active low

12 EXPSTB Input (0)

Snapshot exposure start trigger 0: Sensor starts exposure - only effective in snapshot mode 1: Sensor stays in reset mode

13 VGA Input (0)

Sensor Resolution Selection 0: SXGA resolution (1280 x 1024) 1: VGA resolution (640 x 480)

14 FSIN Input (0) Frame synchronization input

15 VcCHG Analog Sensor reference - bypass to ground using a 1 µF capacitor

16 AVDD Power 3.3 V power supply for analog circuits

17 AGND Power Ground for analog circuits

18 ASUB Power Ground for analog circuit substrate

19 VrAD2 Analog A/D converter reference - bypass to ground using a 0.1 µF capacitor 20 ADVDD Power 3.3 V power supply for A/D converter

21 ADGND Power Ground for A/D converter

22 DVDD Power 2.5 V power supply for digital circuits

23 DGND Power Ground for digital circuits

24 D0 Output Digital video output bit[0]

25 D1 Output Digital video output bit[1]

26 D2 Output Digital video output bit[2]

27 D3 Output Digital video output bit[3]

28 D4 Output Digital video output bit[4]

Version 1.3, September 15, 2003 Proprietary to OmniVision Technologies 9 Omni ision

29 XCLK1 Input Crystal clock input

30 XCLK2 Output Crystal clock output

31 PCLK Output Pixel clock output

32 D5 Output Digital video output bit[5]

33 D6 Output Digital video output bit[6]

34 D7 Output Digital video output bit[7]

35 D8 Output Digital video output bit[8]

36 D9 Output Digital video output bit[9]

37 DOVDD Power 3.3 V power supply for digital video port

38 DOGND Power Ground for digital video port

39 HREF Output Horizontal reference output

40 CHSYNC Output Horizontal synchronization output when chip is in master mode. 41 VSYNC Output Vertical synchronization output when chip is in master mode.

42 NC — No connection

43 NC — No connection

44 NC — No connection

45 SIO_D I/O SCCB serial interface data I/O

46 SIO_C Input SCCB serial interface clock input

47 VcCHG Analog Sensor reference - bypass to ground using a 1 µF capacitor

48 SGND Power Ground for pixel array. a. Input (0) represents an internal pull-down low resistor. Table 3 Pin Description (Continued) Pin Number Name Pin Type Function/Description

10 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision

Electrical Characteristics

NOTE: Exceeding the Absolute Maximum ratings shown above invalidates all AC and DC electrical specifications and may result in permanent device damage. Table 4 Absolute Maximum Ratings Ambient Storage Temperature -40ºC to +125ºC Supply Voltages (with respect to Ground) VDD-A 3.3V VDD-C 2.5V VDD-IO 3.3V All Input/Output Voltages (with respect to Ground) -0.3V to VDD-IO+1V Lead Temperature, Surface-mount process +230ºC ESD Rating, Human Body model 2000V Table 5 DC Characteristics (0°C < T A < 70°C) Symbol Parameter Min Typ Max Unit Supply VDD-A Supply voltage (DEVDD, ADVDD, AVDD, SVDD) 3.0 3.3 3.6 V VDD-IO Supply voltage (DOVDD) 3.0 3.3 3.6 V VDD-C Supply voltage (DVDD) 2.25 2.5 2.75 V IDD1 Active (Operating) Current 40 60 mA IDD2 Standby Current 1 mA IDD3 Standby Current 10 µA Digital Inputs VIL Input voltage LOW 0.8 V VIH Input voltage HIGH 2 V CIN Input capacitor 10 pF Digital Outputs (standard loading 25 pF, 1.2 K/g58 to 3 V) VOH Output voltage HIGH 2.4 V VOL Output voltage LOW 0.6 V SCCB Inputs VIL SIO_C and SIO_D -0.5 0 1 V VIH SIO_C and SIO_D 2.5 3.3 V DD + 0.5 V

Version 1.3, September 15, 2003 Proprietary to OmniVision Technologies 11 Omni ision Table 6 AC Characteristics (T A = 25°C, VDD = 3V) Symbol Parameter Min Typ Max Unit ADC Parameters B Analog bandwidth 12 MHz DLE DC differential linearity error 0.5 LSB ILE DC integral linearity error 1 LSB Settling time for hardware reset <1 ms Settling time for software reset <1 ms Settling time for VGA/XSGA mode change <1 ms Settling time for register setting <300 ms Table 7 Timing Characteristics Symbol Parameter Min Typ Max Unit Oscillator and Clock Input fOSC Frequency (XCLK1, XCLK2) 8 24 48 MHz tr, tf Clock input rise/fall time 2 ns Clock input duty cycle 45 50 55 %

12 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision Timing Specifications Figure 13 SCCB Timing Diagram Table 8 SCCB Timing Specifications Symbol Parameter Min Typ Max Unit fSIO_C Clock Frequency 400 KHz tLOW Clock Low Period 1.3 /g80s tHIGH Clock High Period 600 ns tAA SIO_C low to Data Out valid 100 900 ns tBUF Bus free time before new START 1.3 /g80s tHD:STA START condition Hold time 600 ns tSU:STA START condition Setup time 600 ns tHD:DAT Data-in Hold time 0 /g80s tSU:DAT Data-in Setup time 100 ns tSU:STO STOP condition Setup time 600 ns tR, tF SCCB Rise/Fall times 300 ns tDH Data-out Hold time 50 ns SIO_C tSU:STA tHD:STA SIO_D IN SIO_D OUT tF tLOW tHIGH tR tHD:DAT tSU:DAT tAA tDH tBUF tSU:STO SCCB_E

16 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision OV9625/OV9121 Light Response Figure 20 OV9625/OV9121 Light Response OV-9620spectrum response 100 120 140 160 180 200 300nm 380nm 420nm 460nm 500nm 540nm 580nm 620nm 660nm 700nm 740nm 780nm 820nm 860nm 900nm 940nm 980nm 1020nm 1060nm 1100nm 1180nm Wavelength Sensitivity R G B Monochrome Response 0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00 400 450 500 550 600 650 700 750 800 850 900 9501000105011001150 Wavelength Efficiency 200 180 160 140 120 100 1.00 0.90 0.80 0.70 0.60 0.50 0.40 0.30 0.20 0.10 0.00 400 450 500 550 600 650 700 750 800 850 900 950 1000 1050 1100 1150 Wavelength Efficiency Monochrome Response Efficiency 300 380 420 460 500 540 580 620 660 700 740 780 820 860 900 940 Wavelength (nm) Normalized Spectrum Response 980 1020 1060 1100 1180

Version 1.3, September 15, 2003 Proprietary to OmniVision Technologies 17 Omni ision Register Set Table 11 provides a list and description of the Device Control registers contained in the OV9625/OV9121. The device slave addresses are 60 for write and 61 for read. Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

00 GAIN 00 RW

AGC – Gain Control Bit[7:6]: Reserved Bit[5:0]: Gain control gain setting  Range: 1x to 8x Set COMI[0] = 0 (see “COMI” on page 21) to disable AGC

01 BLUE 80 RW

Blue gain control MSB, 8 bits (LSB 2 bits in COMA[3:2], see “COMA” on page 17) Note: This function is not available on the B&W OV9121.

02 RED 80 RW

Red gain control MSB, 8 bits (LSB 2 bits in COMA[1:0], see “COMA” on page 17) Note: This function is not available on the B&W OV9121.

03 COMA 40 RW

Bit[7:4]: AWB update threshold Bit[3:2]: BLUE channel lower 2 bits gain control Bit[1:0]: RED channel lower 2 bits gain control Note: This function is not available on the B&W OV9121.

04 COMB 00 RW

Bit[7,4]: AWB – Update speed select 00: Slow 01: Slowest 10: Fast 11: Fast Bit[6:5]: AWB – Step select 00: 1023 steps 01: 255 steps 10: 511 steps 11: 255 steps Bit[3]: Reserved Bit[2:0]: AEC lower 3 bits, AEC[2:0] (see “AEC” on page 19 for most significant 8 bits, AEC[10:3])

05 BAVG 00 RW B Channel Average

06 GbAVG 00 RW G Channel Average - picked G pixels in the same line with B pixels. 07 GrAVG 00 RW G Channel Average - picked G pixels in the same line with R pixels.

08 RAVG 00 RW R Channel Average

18 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision

09 COMC 0C RW

Bit[7:5]: Reserved Bit[4]: Sleep or power-down mode enable 0: Normal 1: Sleep mode Bit[3:2]: Crystal oscillator output current 00: Weakest 11: Strongest Bit[1:0]: Output Drive Select 00: Weakest 01: Double capability 10: Double capability 11: Triple drive current 0A PIDH 96 R Product ID Number MSB (Read only) 0B PIDL B1 R Product ID Number LSB (Read only) 0C COMD 28 RW Common Control D Bit[7]: Reserved Bit[6]: Swap MSB and LSB at the output port Bit[5:2]: Reserved Bit[1]: Sensor precharge voltage selection 0: Selects internal reference as precharge voltage 1: Selects SVDD as precharge voltage Bit[0]: Snapshot option 0: Enable live video output after snapshot sequence 1: Output single frame only 0D COME 00 RW Common Control E Bit[7]: Reserved Bit[6]: Anti-blooming control 0: Anti-blooming ON 1: Anti-blooming OFF Bit[5:3]: Reserved Bit[2]: Clock output power-down pin status 0: Maintain internal default states at power-down 1: Tri-state the VSYNC and CHSYNC pins upon power-down Bit[1]: Reserved Bit[0]: Digital port output 0: Enable data port output 1: Disable data port output Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

Version 1.3, September 15, 2003 Proprietary to OmniVision Technologies 19 Omni ision 0E COMF 01 RW Common Control F Bit[7]: System clock selection 0: Use 24 MHz system clock 1: Use 48 MHz system clock Bit[6:3]: Reserved Bit[2]: Port output range selection 0: Output data range is [001] to [3FE] 1: Output data range is [000] to [3FF] Bit[1]: Reserved Bit[0]: AEC option 0: Disable this function 1: Enable larger AEC step increase with correct exposure time 0F COMG 47 RW Common Control G Bit[7]: Optical black output selection 0: Disable 1: Enable Bit[6]: Black level calibrate selection 0: Use electrical black reference 1: Use optical black pixels to calibrate Bit[5:4]: Reserved Bit[3]: Channel offset adjustment 0: Disable offset adjustment 1: Enable offset adjustment, B/Gb/Gr/R channel offset levels stored in registers RBIAS (see “BBIAS” on page 24), GbBIAS (see “GbBIAS” on page 24), GrBIAS (see “GrBIAS” on page 24) and RBIAS (see “RBIAS” on page 25). Bit[2]: Data range selection 0: Data range limited to [010] to [3F0] 1: Full range Bit[1]: ADC black level calibration bias selection 0: 040 1: 010 Bit[0]: ADC black level calibration enable 0: Disable 1: Enable

10 AEC 43 RW

Automatic Exposure Control Most Significant 8 bits for AEC[10:3] (least significant 3 bits, AEC[2:0], in register COMB[2:0] - see “COMB” on page 17). AEC[10:0]: Exposure time TEX = tLINE x AEC[10:0] Set COMI[2] = 0 (see “COMI” on page 21) to disable the AEC. Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

20 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision

11 CLKRC 00 RW

Bit[7]: Internal PLL ON/OFF selection 0: PLL disabled 1: PLL enabled Bit[6]: Digital video port master/slave selection 0: Master mode, sensor provides PCLK 1: Slave mode, external PCLK input from XCLK1 pin Bit[5:0]: Clock divider CLK = XCLK1/(decimal value of CLKRC[5:0] + 1)

12 COMH 20 RW

Bit[7]: SRST 1: Initiates soft reset. All register are set to factory default values after which the chip resumes normal operation Bit[6]: Resolution selection 0: SXGA 1: VGA Bit[5]: Average luminance value pixel counter ON/OFF 0: OFF 1: ON Bit[4]: Reserved Bit[3]: Master/slave selection 0: Master mode 1: Slave mode Bit[2]: Window output selection 0: Output only pixels defined by window registers 1: Output all pixels Bit[1]: Color bar test pattern 0: OFF 1: ON Bit[0]: Reserved Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

Version 1.3, September 15, 2003 Proprietary to OmniVision Technologies 21 Omni ision

13 COMI 07 RW

Bit[7]: AEC speed selection 0: Normal 1: Faster AEC correction Bit[6]: AEC speed/step selection 0: Small steps (slow) 1: Big steps (fast) Bit[5]: Banding filter ON/OFF 0: OFF 1: ON, set minimum exposure to 1/120s Bit[4]: Banding filter option 0: Set to 0, if system clock is 48 MHz and the PLL is ON. 1: Set to 1, if system clock is 24 MHz and the PLL is ON or if the system clock is 48 MHz and the PLL is OFF. Bit[3]: Reserved Bit[2]: AGC auto/manual control selection 0: Manual 1: Auto Bit[1]: AWB auto/manual control selection 0: Manual 1: Auto Bit[0]: Exposure control 0: Manual 1: Auto

14 COMJ 76 RW

Bit[7:6]: AGC gain ceiling 00: 2x 01: 4x 10: 8x 11: 8x Bit[5:4]: Reserved Bit[3]: Auto banding filter 0: Banding filter is always ON/OFF depending on COMI[5] setting (see “COMI” on page 21) 1: Automatically disable banding filter if light is low Bit[2]: VSYNC drop option 0: VSYNC is always output 1: VSYNC is dropped if frame data is dropped Bit[1]: Frame data drop option 0: Disable data drop 1: Drop data frame if exposure is not within tolerance. In AEC mode, data is normally dropped when data is out of range Bit[0]: Freeze current Expo sure and Gain values 0: Normal 1: Freeze Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

22 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision

15 COMK 00 RW

Bit[7]: CHSYNC pin output swap 0: CHSYNC 1: HREF Bit[6]: HREF pin output swap 0: HREF 1: CHSYNC Bit[5]: PCLK output selection 0: PCLK always output 1: PCLK output qualified by HREF Bit[4]: PCLK edge selection 0: Data valid on PCLK falling edge 1: Data valid on PCLK rising edge Bit[3]: HREF output polarity 0: Output positive HREF 1: Output negative HREF, HREF negative for data valid Bit[2]: Reserved Bit[1]: VSYNC polarity 0: Positive 1: Negative Bit[0]: HSYNC polarity 0: Positive 1: Negative

16 RSVD XX – Reserved

17 HREFST

(13 in VGA) RW Horizontal Window Start Most Significant 8 bits, LSB in register COMM[1:0] (see “COMM” on page 26). HREFST[9:0]: Selects the beginning of the horizontal window, each LSB represents two pixels. Adjustment steps must be 2 pixels. Note: 1. HFREFST[9:0] should be less than HREFEND[9:0]. 2. For maximum output window size of 1292x1024, minimum value of this register is 0x1C.

18 HREFEND

(63 in VGA) RW Horizontal Window end most significant 8 bits, LSB in register COMM[3:2] (see “COMM” on page 26). HREFEND[9:0]: Selects the end of the horizontal window, each LSB represents two pixels. Adjustment steps must be 2 pixels. Note: 1. HREFEND[9:0] should be larger than HREFST[9:0]. 2. For maximum output window size of 1292x1024, maximum value of this register is 0xBD. Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

Version 1.3, September 15, 2003 Proprietary to OmniVision Technologies 23 Omni ision

19 VSTRT

(02 in VGA) RW Vertical Window line start most significant 8 bits, LSB in register COMM[4] (see “COMM” on page 26). Bit[8:0]: Selects the start of the vertical window, each LSB represents four scan lines in SXGA or two scan lines in VGA. Note: 1. VSTRT[8:0] should be less than VEND[8:0]. 2. For maximum output window size of 1292x1024, minimum value of this register is 0x01. 1A VEND (7A in VGA) RW Vertical Window line end most significant 8 bits, LSB in register COMM[5] (see “COMM” on page 26). Bit[8:0]: Selects the end of the vertical window, each LSB represents four scan lines in SXGA and two scan lines in VGA. Note: 1. VEND[8:0] should be larger than VSTRT[8:0]. 2. For maximum output window size of 1292x1024, maximum value of this register is 0x81. 1B PSHFT 00 RW Pixel Shift Bit[7:0]: Pixel delay count. Provides a method to fine tune the 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. 1C MIDH 7F R Manufacturer ID Byte – High (Read only = 0x7F) 1D MIDL A2 R Manufacturer ID Byte – Low (Read only = 0xA2) 1E-1F RSVD XX – Reserved

20 BOFF 10 RW

B Channel Offset Adjustment - auto controlled by internal circuit if COMG[0] = 1 (see “COMG” on page 19) Bit[7]: Offset direction 0: Add BOFF[6:0] 1: Subtract BOFF[6:0] Bit[6:0]: B channel offset adjustment value

21 GbOFF 0F RW

Gb Channel Offset Adjustment - auto controlled by internal circuit if COMG[0] = 1 (see “COMG” on page 19) Bit[7]: Offset direction 0: Add GbOFF[6:0] 1: Subtract GbOFF[6:0] Bit[6:0]: Gb channel offset adjustment value

22 GrOFF EF RW

Gr Channel Offset Adjustment - auto controlled by internal circuit if COMG[0] = 1 (see “COMG” on page 19) Bit[7]: Offset direction 0: Add GrOFF[6:0] 1: Subtract GrOFF[6:0] Bit[6:0]: Gr channel offset adjustment value Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

24 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision

23 ROFF EF RW

R Channel Offset Adjustment - auto controlled by internal circuit if COMG[0] = 1 (see “COMG” on page 19) Bit[7]: Offset direction 0: Add ROFF[6:0] 1: Subtract ROFF[6:0] Bit[6:0]: R channel offset adjustment value

24 AEW A0 RW

Luminance Signal High Range for AEC/AGC Operation AEC/AGC values will decrease in auto mode when average luminance is greater than AEW[7:0]

25 AEB 88 RW

Luminance Signal Low Range for AEC/AGC Operation AEC/AGC values will increase in auto mode when average luminance is less than AEB[7:0].

26 VV F4 RW

Fast Mode Large Step Range Thresholds - effective only in AEC/AGC fast mode (COMI[7] = 1, see “COMI” on page 21) Bit[7:4]: High threshold Bit[3:0]: Low threshold AEC/AGC may change in larger steps when luminance average is greater than VV[7:4] or less than VV[3:0].

27 BBIAS 80 RW

B Channel Offset Manual Adjustment Value - effective only when COMG[3] = 1 (see “COMG” on page 19). Bit[7]: Offset direction 0: Add BBIAS[6:0] 1: Subtract BBIAS[6:0] Bit[6:0]: B channel offset adjustment value

28 GbBIAS 80 RW

Gb Channel Offset Manual Adjustment Value - effective only when COMG[3] = 1 (see “COMG” on page 19). Bit[7]: Offset direction 0: Add GbBIAS[6:0] 1: Subtract GbBIAS[6:0] Bit[6:0]: Gb channel offset adjustment value

29 GrBIAS 80 RW

Gr Channel Offset Manual Adjustment Value - effective only when COMG[3] = 1 (see “COMG” on page 19). Bit[7]: Offset direction 0: Add GrBIAS[6:0] 1: Subtract GrBIAS[6:0] Bit[6:0]: Gr channel offset adjustment value 2A COML 00 RW Common Control L Bit[7]: Line interval adjustment. Interval adjustment value is in COML[6:5] and FRARL[7:0] (see “FRARL” on page 25). 0: Disabled 1: Enabled Bit[6:5]: Line interval adjust value MSB 2 bits Bit[4]: Reserved Bit[3:2]: HSYNC timing end point adjustment MSB 2 bits Bit[1:0]: HSYNC timing start point adjustment MSB 2 bits Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

Version 1.3, September 15, 2003 Proprietary to OmniVision Technologies 25 Omni ision 2B FRARL 00 RW Line Interval Adjustment Value LSB 8 bits The frame rate will be adjusted by changing the line interval. Each LSB will add 2/1520 Tframe in SXGA and 2/800 Tframe in VGA mode to the frame period. 2C RBIAS 80 RW R Channel Offset Manual Adjustment Value - effective only when COMG[3] = 1 (see “COMG” on page 19). Bit[7]: Offset direction 0: Add RBIAS[6:0] 1: Subtract RBIAS[6:0] Bit[6:0]: R channel offset adjustment value 2D ADDVSL 00 RW VSYNC Pulse Width LSB 8 bits Bit[7:0]: Line periods added to VSYNC width. Default VSYNC output width is 4 x tline. Each LSB count will add 1 x tline to the VSYNC active period. 2E ADDVSH 00 RW VSYNC Pulse width MSB 8 bits Bit[7:0]: Line periods added to VSYNC width. Default VSYNC output width is 4 x tline. Each MSB count will add 256 x tline to the VSYNC active period. 2F YAVG 00 RW Luminance Average This register will auto update when COMH[5] = 1 (see “COMH” on page 20). Average Luminance is calculated from the B/Gb/Gr/R channel average as follows: (BAVG[7:0] + GbAVG[7:0] + GrAVG[7:0] +RAVG[7:0])/4

30 HSDY 08 RW

HSYNC Position and Width Start Point Lower 8 bits This register and COML[1:0] (see “COML” on page 24) define the HSYNC start position, each LSB will shift HSYNC start point by 1 pixel period.

31 HEDY 30 RW

HSYNC Position and Width End Point Lower 8 bits This register and COML[3:2] (see “COML” on page 24) define the HSYNC start position, each LSB will shift HSYNC start point by 1 pixel period. Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

26 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision

32 COMM

(0Ffor VGA) RW Common Control M Bit[7:6]: Reserved Bit[5]: Vertical window end position LSB (MSBs in register VEND[7:0] - see “VEND” on page 23) Bit[4]: Vertical window start position LSB (MSBs in register VSTRT[7:0] - see “VSTRT” on page 23) Bit[3:2]: Horizontal window end position LSBs (MSBs in register HREFST[7:0] - see “HREFEND” on page 22) Bit[1:0]: Horizontal window start position LSBs (MSBs in register HREFST[7:0] - see “HREFST” on page 22) Note: For maximum output window size of 1292x1024, value of this register should be 0x0D.

33 CHLF 28 RW

Bit[7:6]: Sensor current control 00: Minimum 11: Maximum Bit[5]: Sensor current range control 0: CHLF[7:6] current control at normal range 1: CHLF[7:6] current at half range Bit[4]: Sensor current double ON/OFF 0: Normal 1: Double current Bit[3]: Sensor buffer current control 0: Normal 1: Half current Bit[2]: Column buffer current control 0: Normal 1: Half current Bit[1]: Analog DSP current control 0: Normal 1: Half current Bit[0]: ADC current control 0: Normal 1: Half current

34 RSVD XX – Reserved

35 VBLM 90 RW Reference Voltage Control

36 VCHG 17 RW

Sensor Precharge Voltage Control Bit[7]: Reserved Bit[6:4]: Sensor precharge voltage control 000: Lowest voltage 111: Highest voltage Bit[3:0]: Sensor array common reference control 000: Lowest voltage 111: Highest voltage Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

Version 1.3, September 15, 2003 Proprietary to OmniVision Technologies 27 Omni ision

37 ADC 04 RW

Bit[7:4]: Reserved Bit[3]: ADC input signal range 0: Input signal x 1 1: Input signal x 0.7 Bit[2:0]: ADC range control 000: Minimum 111: Maximum

38 ACOM 12 RW

Bit[7]: Analog gain control 0: Normal 1: Gain increase 1.5x Bit[6]: Analog black level calibration control 0: Analog BLC ON 1: Analog BLC OFF Bit[5:0]: Reserved NOTE: All other registers are factory-reserved. Please contact OmniVision Technologies for reference register settings. Table 11 Device Control Register List Address (Hex) Register Name Default (Hex) R/W Description

28 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision Package Specifications The OV9625/OV9121 uses a 48-pin ceramic package. Refer to Figure 21 for package information and Figure 22 for the array center on the chip. Figure 21 OV9625/OV9121 Package Specifications Table 12 OV9625/OV9121 Package Dimensions Dimensions Millimeters (mm) Inches (in.) Package Height 2.23 + 0.28 .088 + .011 Substrate Height 0.51 + 0.05 .020 + .002 Cavity Size 8.89 + 0.13 SQ .350 + .005 SQ Castellation Height 1.14 + 0.13 .045 + .005 Pin #1 Pad Size 0.51 x 2.16 .020 x .085 Pad Size 0.51 x 1.02 .020 x .040 Pad Pitch 1.02 + 0.08 .040 + .003 End-to-End Pad Center-Center 11.18 + 0.13 .440 + .005 Glass Height 0.55 + 0.05 .022 + .002 .022 ± .004 0.0287 Image Plane .001 to .005 TYP .030 ± .002 .065 ± .007 .088 ± .011 .020 ± .002 .015 ± .002 3142 .350 SQ ± .005 .430 SQ ± .005 .032 MIN 1918 4848 Pin 1 Index .085 TYPR .0075 (48 PLCS)R .0075 (4 CORNERS) .040 TYP .040 ± .003 31 42 .440 ± .005 718 .020 TYP .488 .012 TYP REF ± .004

Version 1.3, September 15, 2003 Proprietary to OmniVision Technologies 29 Omni ision Sensor Array Center Figure 22 OV9625/OV9121 Sensor Array Center NOTE: Picture is for reference only, not to scale. Die shift (x,y) = 0.15 mm (6 mils) max. Die tilt = 1 degrees max. Die rotation = 3 degrees max. Package Center (0, 0) Sensor Array Package Positional T olerances Pin 1 Die Important: Most optical systems invert and mirror the image so the chip is usually mounted on the board with pin 1 (SVDD) down as shown. Array Center (0.62 mil, -10.69 mil)

30 Proprietary to OmniVision Technologies Version 1.3, September 15, 2003 OV9625/OV9121 CMOS SXGA (1.3 MPixel) CAMERACHIP™ Omni ision 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).  Reproduction of information in OmniVision product documentation and specifications is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations and notices. In such cases, OmniVision is not responsible or liable for any information reproduced.  This document is provided with no warranties whatsoever, including any warranty of merchantability, non-infringement, fitness for any particular purpose, or any warranty otherwise arising out of any proposal, specification or sample. Furthermore, OmniVision Technologies Inc. disclaims all liability, including liability for infringement of any proprietary rights, relating to use of information in this document. No license, expressed or implied, by estoppels or otherwise, to any intellectual property rights is granted herein.  ‘OmniVision’, ‘CameraChip’ 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. For further information, please feel free to contact OmniVision at info@ovt.com OmniVision Technologies, Inc.

1341 Orleans Drive

Sunnyvale, CA USA (408) 542-3000