ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 ICM202B CIF/QCIF CMOS image sensor with digital YUV output Data Sheet V2.0 IC Media Corporation IC Media Technology Corporation 545 East Brokaw Road San Jose, CA 95112, U.S.A. Phone: (408) 451-8838 Fax: (408) 451-8839 Email: [email protected] Web Site: www.ic-media.com 6F, No. 61, ChowTze Street., NeiHu District Taipei, Taiwan, R.O.C. Phone: 886-2-2657-7898 Fax: 886-2-2657-8751 Email: [email protected] Web Site: www.ic-media.com.tw Important notice: This document contains information of a new product. IC Media technology Inc reserves the right to make any changes without further notice to any product herein to improve design, function or quality and reliability. No responsibility is assumed by IC Media Technology for its use, nor for any infringements of patents of third parties which may result from its use. ©2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp 1 web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 1 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 Features • • • • • • • • • • • • • • 101,376 (352x288) pixels, CIF format, used with 1/7” optical system Correlated double sampling On-chip 9-bit ADC On-chip digital signal processing • Real-time color interpolation • Programmable/Automatic exposure control • Programmable/Automatic white balancing and color correction • Programmable sharpening control • Programmable color saturation control • Programmable gamma correction • Programmable brightness correction • Programmable hue correction • Programmable contrast correction • Programmable anti-flickering (50Hz, 60Hz or off, like outdoor) Progressive readout Video mode and single frame mode Output data format: 8/16-bit YUV/YCbCr, 24-bit RGB, 16-bit RGB, 8-bit raw data Output modes: CIF and Sub-sampling QCIF, programmable Input/output interface: SIF Power down mode Automatic optical black compensation Left-Right Mirror image Up-down Mirror image Single power supply, 2.8+/- 0.2V and/or 3.3V +/- 0.15V General Description This is a single-chip digital color imaging device. It incorporates a 352 x 288 sensor array operating at max. 30 frames per second in progressive manner. Each pixel is covered by a color filter, which formed a so-called Bayer pattern. Correlated double sampling is performed by the internal ADC and timing circuitry. Depending on the brightness of the scene, the raw data can be adjusted by the digital gain for all pixels, or be adjusted separately for the 4 Bayer pattern pixels. This is done either by the built-in automatic exposure control circuit, or can be done manually by the external CPU via serial bus control. The data are then processed by the color interpolation module so that each pixel will get a complete set of RGB values. To correct or enhance color, automatic white balance circuit is built-in. The user may perform white balancing and color correction manually by external CPU via serial bus too. Color saturation control is programmable via serial bus, if user is not satisfied with the default settings At the final stage, the gamma correction can also be performed, in addition to default value. The output formats include 8/16-bit YUV or YCbCr, 24-bit, 16-bit RGB, and 8-bit raw data which can be fed to other DSP, color processing, or compression chips. ©2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp 2 web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 2 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 Application • • • • • • • • • • • • Video cellular phone PDA Digital camcorder Digital still camera Video phone Video conferencing Video mail PC camera Security system Visual toy Industrial image capture/analysis Environment monitor system Key Parameters • • • • • • • • • • • • • Number of Active Pixels: 352 x 288 Number of Physical Pixels: 362 x 298 Frame Rate: from 30 to 1 fps, flexible Pixel Size: 6.0 µm x 6.0 µm Sensor Area: 2.2 mm x 1.8 mm (for 1/7” lens) Main Clock Frequency: 3 to 12 MHz Exposure Time: 83 µs (@ 30 fps, 1 line, 12 MHz) ~ 164 s (@ 1 fps, 65535 lines, 12 MHz), every step: 83 µs Digital gain 1x – 64x @ 2N for all pixels RGB gain from 1/256 to 8 in step of 1/256 for individual Bayer pattern pixels S/N Ratio: TBD dB @ TBD lux Target Power Supply: 2.8V +/- 0.2V Target Power Requirement: <31mW (@ 15fps, 6 MHz, 2.8V), Package: Shrunk Plastic LCC48 (ICM202Bsa) ©2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp 3 web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 3 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 202B Pin Assignment Pin # 13 14 2 21 22 Name Xin Xout PCLK TEST SYNCMODE Class* A, I A, O D, O D, I, N D, I, Function Descriptions 23 PWRDOWN D, I, 25 Enable D, I, 24 I2CA D, I, 20 MSSEL D, I, 26 27 16 18 SCLOCK SDATA GNDS RSET D, I/O D, I/O P A, I 10 45, 46, 47, 48, 1, 3, 4, 9 28, 30, 34, 35, 36, 37, 38, 39 41 42 40 15 11, 33 12, 32 6, 19, 43 5, 17, 44 7, 31 8, 29 RSTN DOUT[7:0] (msb:lsb) D, I, U D, O DOUT[15:8] (msb:lsb) D, I/O 1) Input: Test Data Input 2) Sensor Data output[15:8] HSYNC VSYNC BLANK RAMP AVDD AGND DVDD DGND PVDD PGND D, I/O D, I/O D, O A, O P P P P P P Horizontal sync signal Vertical sync signal Video blank signal Analog ramp output Analog power Analog ground Digital power Digital ground Pad power Pad ground Crystal in Crystal out Pixel clock output Test Mode Input Pin Sync. Mode. 0: External Sync, 1: Internal Sync Power Down Mode. 0:Enable 1:Disable Data Output . 0:Disble 1:Enable LSB of serial bus address. 0: Device ID address 0x20 1: Device ID address 0x21 Serial bus master/slave selection. 0: Slave 1: Master Serial bus clock Serial bus data Subtract GND Resistor to ground 51 KΩ @ Clock = 12Mhz Chip reset, active low Sensor Data output[7:0] Class Code: A – Analog signal, D – Digital signal, I – Input, O – Output, P – Power or ground, U – Internal pull-up, N – Internal pull-down ©2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp 4 web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 4 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 Functional Description 1.1 Image Array The image array consists of 352x288 pixels. Each pixel has a light sensitive photo diode and a set of control and transfer transistors. At the beginning of the cycle, a row of pixels are pre-charged to its maximum value. Then they are exposed to light for several lines worth of time and sampled by the ADC. Correlated double sampling (CDS) is performed by subtracting the reset value (sampled right before sampling the signal) from the signal value. The purpose of CDS is to eliminate the point-wise fixed pattern noise (FPN). The output of CDS is approximately proportional to the amount of received light, ranging from 0 to 255. 1.2 Color Filter Each pixel is covered by a color filter. They form the Bayer Pattern as shown in Figure 2. (Row 0, Column 0) is covered by a Red filter, (Row 0, Column 1) and (Row 1, Column 0) by Green filters, and (Row 1, Column 1) by a Blue filter. Since each pixel only gets part of the frequency band, the data need further processing (i.e., color interpolation and color correction) in order to approximate the full visible spectrum. R G R G R G R G G B G B G B G B R G R G R G R G G B G B G B G B Figure 2. Color filter Bayer pattern 1.3 Exposure and Gain Control The brightness of the scene may change by a great amount that renders the captured image either over-exposed or under-exposed. To accommodate for different brightness, the user may change the exposure time by adjusting the AD_EXPOSE_TIMEH, and AD_EXPOSE_TIMEL. The exposure time is measured in terms of the time to read out one line of data, which is equal to 83.3 µs (assuming the line length is 500 @ 12 MHz). If the number of lines per frame is set at 400 (the default), the exposure time can vary from 1 to 399 lines. In addition, users can adjust bit 7 to 5 of register AD_COL_BEGINH to digitally boost the output value by 1 to 64 times @ 2N for all the pixels. Furthermore, users can adjust registers AD_M1_L, AD_M1_H, AD_M2_L, AD_M2_H, AD_M3_L, AD_M3_H, AD_M4_L, AD_M4_H, to optimize the RGB gain (from 1/256 to 8) of the 4 Bayer pattern pixels separately. 50/60Hz anti-flickering control To eliminate the flickering caused by the 50Hz or 60Hz light source normally found indoor, an anti-flickering control circuit is build in. The selection is between off and on. When it is on, then the selection is between 50 or 60Hz. Register address is to be defined. ©2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp 5 web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 5 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 Auto Exposure The Auto Exposure circuit control the Exposure Time, Digital Gain, and Anti-flickering function automatically. The following features are provided: . Disable/Enable AE . Disable/Enable Anti-flickering . Disable/Enable Digital Gain . Disable/Enable Fix Frame Rate . Adjustable Maximum/Minimum Frame Rate . Adjustable AE Target brightness value The following registers are use to control these features: 0x3A (AD_AE_CTRL, Default = 7) bit 0 : Disable/Enable AE bit 1 : Disable/Enable Digital Gain bit 2 : Disable/Enable Anti-flickering bit 3 : Disable/Enable Fix Frame Rate The default value enable AE, Anti-flickering, and Digital Gain. 0x3B (AD_AE_HIGH,AE Target value High Limit, Default = 0x65) 0x3C (AD_AE_LOW,AE Target value Low Limit, Default = 0x55) Use AD_AEHIGH and AD_AELOW to set the target brightness of AE function. 0x3F,0x40 (AD_MAXFH, Maximum Frame Height, Default = 0xfff) AD_MAXFH set the minimum frame rate of AE . 0x41,0x42 (AD_MINFH, Minimum Frame Height, Default = 0x190) AD_MINFH set the maximum frame rate of AE . 0x44 (AD_AFSTEP, Anti-flickering Exposure Time Step, Default = 0x64) Use AD_AFSTEP to setup 50 /60HZ Anti-flickering step. 1.4 Color Interpolation Since the raw data coming out the sensor array has only one of the R, G, or B value for each pixel, we need to perform interpolation to obtain a set of correlated RGB value for each pixel. The method used is based on a 3x3 interpolation window. The result of this operation is a data stream consisting of 24-bit RGB per pixel. After this step, the whole frame can be viewed as a color picture. However, since the RGB filters and the photodiode are not perfect, the RGB values may have different strength. In addition, there are some cross-talk among the RGB channels. That’s why we need the color correction (or white balancing) step. ©2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp 6 web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 6 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 1.5 Auto White Balancing Due to the different transparency and the overlapping spectrum response of the R, G, and B filters, the interpolated color may not be balanced. The Auto White Balancing performs the White Balance function automatically . The following register are used to control the AWB function: 0x33 (AD_AWB_CTRL, Default = 3) 0 : Disable AWB 1 : Enable AWB with R,G,B range limited 3 : Enable AWB with no range limited 0x34 (AD_AWB_OVERFLOW, Default = 255) Set the overflow value of the sampling pixel, if the sampling data is larger than AD_AWB_OVERFLOW, then it will not be used for AWB processing. The default value 255 means there is no limit on sampling data. 0x35 (AD_AWB_BRIGHT, Default = 0) Set the minimum bright value of the sampling pixel, if the sampling data is less than AD_AWB_BRIGHT, then it will not be used for AWB processing. The default value 0 means there is no limit on sampling data. When AWB function is disabled, the following registers are used to adjust the White Balance manually: 0x37 (AD_WB_RED, Default = 0x80 ) Set the RED Gain manually. 0x38 (AD_WB_GREEN, Default = 0x80) Set the GREEN Gain manually. 0x39 (AD_WB_BLUE, Default = 0x80) Set the BLUE Gain manually. 1.6 Sharpening The following register are used to control the Sharpening function: 0x30 (AD_SHARP_CTRL, Default =9) 0 : Disable Sharpening. 8 : Sharpen Weight = 0.5 (light Sharpening) 9 : Sharpen Weight = 1 (default) a : Sharpen Weight = 1.5 b : Sharpen Weight = 2 c : Sharpen Weight = 2.5 d : Sharpen Weight = 3 e : Sharpen Weight = 3.5 f : Sharpen Weight = 4 (heavy Sharpening) 0x31 (AD_SHARP_HIGH,Default = 5) Sharpening High Tone Threshold. 0x32 (AD_SHARP_LOW,Default = 2) ©2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp 7 web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 7 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 Sharpening Low Tone Threshold. 1.7 Color saturation control The color saturation can be enhanced by adjusting the Saturation Factor register 0x2D (AD_SATURATION, Default = 0x30). The following examples show how to set the Saturation to 0, 1, 1.5, and 2: Saturation 0 : AD_SATURATION = 0x00, no color (B/W) 1 : AD_SATURATION = 0x20 1.5: AD_SATURATION = 0x30 2.0: AD_SATURATION = 0x40 1.8 Gamma Correction To boost darker signal to match the video monitor characteristic, gamma correction are performed: Use register 0x24 (AD_GAMMA) to select one of them: AD_GAMMA 0 : Gamma = 1 (no Gamma) AD_GAMMA 1 : Gamma = 1.3 AD_GAMMA 2 : Gamma = 1.5 AD_GAMMA 3 : Gamma = 1.8 AD_GAMMA 4 : Gamma = Normal Mode AD_GAMMA 5 : Gamma = Brighter Mode AD_GAMMA 6 : Gamma = Higher Contrast Mode 1.10 Brightness The Brightness offset can be adjusted by Brightness Offset register 0x2B (AD_BRIGHT_OFFSET, Default =0). The default value =0 means the Brightness is not adjusted. The following examples show how to increase/decrease the Brightness Level: Increase Brightness by 10: AD_BRIGHT_OFFSET = 0x0A Decrease Brightness by10: AD_BRIGHT_OFFSET = 0x8A ©2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp 8 web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 8 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 1.11 Hue The Hue function is used to change the image color temperature. The color temperature is changed by rotating the (U,V) vector: U’ = U * COS + V * SIN V’ = U * COS – V * SIN The value of COS and SIN is define in the following registers: 0x29 (AD_SIN, Default = 0) The SIN value. Default = 0x00 is equal to AD_SIN = 0. 0x2A (AD_COS, Default = 0x7F) The COS value. Default = 0x7F is equal to AD_COS = 1. 1.12 Contrast The Contrast function is control by the following function Y’ = Y * CONTRAST The following registers: 0x28 (AD_CONTRAST, Default = 0x20) Unsigned 1.5 format. 1.13 Output Format The following output data format is provided: 8-bit YUV 8-bit YCbCr 16-bit YUV 16-bit YCbCr 16-bit RGB 24-bit RGB 8-bit raw data The output mode can be CIF or Sub-sampling QCIF. Register 0x52 (AD_OUTSEL) is used to select the various output format and output mode. ©2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp 9 web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 9 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 The following table lists the user modes and the corresponding signals appeared on the pins. Format 8-bit 4:2:2 YUV 8-bit 4:2:2 YCbCr 16-bit 4:2:2 YUV 16-bit 4:2:2 YCbCr 16-bit RGB (5,6,5) 24-bit RGB DOUT[15:8] 0 0 Y, Y, … Y, Y, … RG G, G, … DOUT[7:0] Y, U, Y, V… Y,Cb,Y,Cr … U,V, … Cb, Cr, … GB R, B, … PCLK(CIF) 12 MHz 12 MHz 6 MHz 6 MHz 6 MHz 12 MHz ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 10 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 10 PCLK(QCIF) 6 MHz 6 MHz 3 MHz 3 MHz 3 MHz 6 MHz 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 2. Control Registers by serial bus Note : *1 Need PART_CONTROL [7] to change value *2 Need PART_CONTROL [2] to change value Address 0x00 Name PART_CONTROL Default 0x00 Description Processing control [0] Mode select 0: Normal mode, 1: Single frame mode [2] Exposure time control, writing a 1 will activate the new value set in AD_EXPOSE_TIME, when read back from it, 0 means either the exposure time change is finished (in video mode) or the entire frame is transmitted (in single frame mode), 1 means either the exposure time change is still in progress (in video mode) or the frame is yet to finish (in single frame mode) [6:3] Frame rate, 0: 30 fps 1: 15 fps 2: 10 fps 3: 6 fps 4: 5 fps 5: 3 fps 6: 2 fps 7: 1 fps [7] Latent change, writing a 1 means the changed latent registers now starts taking effect, when the entire operation is done, the read back value of this bit will change from 1 to 0. ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 11 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 11 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x01 0x02 TIMING_CONTROL_LOW TIMING_CONTROL_HIGH 0xc219 Timing control [0] Reserved [1] HSYNC polarity, 0: Active low 1: Active high [2] VSYNC polarity 0: Active low 1: Active high. [3] Auto dark correction 0: Disable 1: Enable [4] Reserved [7] Blank polarity 0: Active high 1: Active low [8] Reserved [9] Reserved [10] Capture: when in single frame mode, writing a 1 here will start a frame capture [11] Reserved [12] Reserved [13] Reserved [14] Which is programmed by sync_mode pin(Pin22), to decide hsync and vsync in input mode or output mode 0: Slave mode 1: Master mode [15] Reserved ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 12 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 12 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x0C 0x0D 0x0E 0x0F 0x10 0x11 AD_WIDTHL AD_WIDTHH AD_HEIGHTL AD_HEIGHTH AD_COL_BEGINL AD_COL_BEGINH 0x01F4 (500) 0x0190 (400) 0x0064 (100) 0x14 0x15 0x18 0x19 0x1A 0x1B 0x1C 0x1D AD_ROW_BEGINL AD_ROW_BEGINH AD_HSYNC_ENDL AD_HSYNC_ENDH AD_VSYNC_ENDL AD_VSYNC_ENDH AD_EXPOSE_TIMEL AD_EXPOSE_TIMEH 0x000A (10) 0x0040 (64) 0x0003 (3) 0x018f (399) 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 AD_M1_L AD_M1_H AD_M2_L AD_M2_H AD_M3_L AD_M3_H AD_M4_L AD_M4_H AD_CONTRAST AD_HUE_SIN 0x0100 0X20 0X00 0x2A AD_HUE_COS 0X7F 0X2B AD_BRIGHT_OFFSET 0X00 0x0100 0x0167 0x0100 [9:0] Frame width (*1) [15:0] Frame height, should not be less than AD_ROW_BEGIN + 298 (*1) [9:0] Beginning of active line in terms of column position (*1) [10] Left-right Mirror image (*1) 0: Disable 1: Enable [11] Up-Down Mirror image (*1) 0: Disable 1: Enable [15:13] Digital gain 0: 1 1: 2 2: 4 3: 8 4: 16 5: 32 6: 64 [15:0] Beginning of active frame in terms of row position (*1) [9:0] End of horizontal sync in terms of column position (*1) [15:0] End of vertical sync in terms of row position (*1) [15:0] Exposure time in terms of number of rows (*2) [10:0] Gain coefficient. (G1), unsigned 3.8 format (*1) [10:0] Gain coefficient. (R), unsigned 3.8 format (*1) [10:0] Gain coefficient. (B), unsigned 3.8 format (*1) [10:0] Gain coefficient. (G2), unsigned 3.8 format (*1) [5:0] Y contrast , unsigned 1.5 format [7:0] Hue SIN value (0.7 format) (*1) [7] Sign bit 0: Positive 1: Negative [7:0] Hue COS value (0.7 format) (*1) [7] Sign bit 0: Positive 1: Negative [7:0] Brightness offset value ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 13 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 13 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x2C AD_GAMMA 0x02 0x2D AD_SATURATION 0x30 0x2E 0x2F 0x30 AD_DSP_TEST AD_DSP_CTRL AD_SHARP_CTRL 0x80 0x00 0x09 0x31 0x32 0x33 AD_SHARP_HIGH AD_SHARP_LOW AD_AWB_CTRL 0x05 0x02 0x03 0x34 0x35 0x36 0x37 0x38 0x39 0x3A AD_AWB_OVERFLOW AD_AWB_BRIGHT AD_DG_GAIN AD_WB_RED AD_WB_GREEN AD_WB_BLUE AD_AE_CTRL 0xff 0x00 0x18 0x80 0x80 0x80 0x17 [7] Sign bit 0: Positive 1: Negative [6:0] Offset value [2:0] Gamma Control 0 : Gamma = 1 1 : Gamma = 1.3 2 : Gamma = 1.5(default) 3 : Gamma = 1.8 4 : Gamma = Normal Mode 5 : Gamma = Brighter Mode 6 : Gamma = Higher Contrast Mode [6:0] Saturation factor, 2.5 Format (U,V) = (U,V)*Saturation Reserved Reserved [3] 1: Sharpening 0: Disable 1: Enable [2:0] : High tone weight 0: 0.5 1: 1 (default) 2: 1.5 3: 2 4: 2.5 5: 3 6: 3.5 7: 4 Reserved Reserved [0] Auto White Balance (AWB) 0: Disable AWB 1: Enable AWB [1] Reserved [2] Reserved [6:3] Reserved Reserved Reserved [7:0] Digital Gain, (4.4 format) [7:0] AWB R Gain, (1.7 format) (*1) [7:0] AWB G Gain, (1.7 format) (*1) [7:0] AWB G Gain, (1.7 format) (*1) [0] Auto Exposure 0: Disable AE 1: Enable AE [1] Digital Gain 0: Disable 1: Enable [2] Anti-Flicker 0: Disable 1: Enable ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 14 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 14 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x3B AD_AEHIGH 0x3C AD_AELOW 0x3D 0x3E 0x3F 0x40 0x41 0x42 0x43 0x44 AD_BRIGHTLIMITL AD_BRIGHTLIMITH AD_MAXFHL AD_MAXFHH AD_MINFHL AD_MINFHH AD_AESTEP AD_AFSTEP 0x45 AD_YBRIGHT 0x65 (101) 0x55 (85) 0x0fff (4096) 0x04b0 (1200) 0x0190 (400) 0x00 0x64 (100) 0xb0 (176) [3] Fix frame height 0: Disable 1: Enable [4] Reserved [7:0] AE High Limit [7:0] AE Low Limit [15:0] Bright pixel number limit [15:0] Max. frame height, in term of row [15:0] Min. frame height, in term of row [6:0] AE adjust exposure time step [7:0] Anti -Flicker Exposure time adjust step [7:0] Reserved ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 15 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 15 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x47 0x48 0x49 0x4A 0X4C 0X4D 0x52 AD_RGAIN_LIMIT AD_GGAIN_LIMIT AD_BGAIN_LIMIT AD_AE_PERIOD AD_AWB_PERIOD AD_AWB_DURATION AD_OUTSEL 0xff 0xff 0xff 0x05 0x00 0x0a 0x6d 0x53 0x54 0x55 0x56 0x57 0x58 0x59 0x5A 0x5B 0x68 0x69 0x6A 0x6B 0x6C 0X6D 0x6E 0x6F 0x70 0x71 0x72 0x73 0x74 0x75 0x76 AD_RAMPSEL AD_DSRSTL AD_DSRSTH AD_DSDATAL AD_DSDATAH AD_DSLOWL AD_DSLOWH AD_DSHIGHL AD_DSHIGHH AD_DEADR0L AD_DEADR0H AD_DEADC0L AD_DEADC0H AD_DEADR1L AD_DEADR1H AD_DEADC1L AD_DEADC1H AD_DEADR2L AD_DEADR2H AD_DEADC2L AD_DEADC2H AD_DEADR3L AD_DEADR3H AD_DEADC3L 0x00 0x00c8 (200) 0x01f9 (505) 0x00ff (255) 0x011d (285) 0x01ff [7:0] Reserved [7:0] Reserved [7:0] Reserved [5:0] Reserved [5:0] Reserved [3:0] Reserved [7] Auto Blank Signal Enable 0: Auto Blank 1: Manual Blank [6] change (UV,CbCr)sequence [5] change Y sequence [4:0] Normal Output format, 0-7: 8-bit RAW data (After Dark Compensation) 8: control signals, 9bit 9: row address, 9bit 10: column address, 9bit 11: 9-bit sensor RAW data 12: 8-bit 4-2-2 YVYU 13: 8-bit 4-2-2 YcrCb (default) 14: 16-bit 4-2-2 YVYU 15: 16-bit 4-2-2 YCrYCb 16: 24-bit RGB GRGB 17: 16-bit RGB (5,6,5) 31: 8-bit YCbCr debug mode, no gamma, saturation, contrast, brightness, hue [7] Reserved [8:0] Reserved [8:0] Reserved [8:0] Reserved [8:0] Reserved [8:0] Dead Pixel #0 Row Address 0x01ff [8:0] Dead Pixel #0 Column Address 0x01ff [8:0] Dead Pixel #1 Row Address 0x01ff [8:0] Dead Pixel #1 Column Address 0x01ff [8:0] Dead Pixel #2 Row Address 0x01ff [8:0] Dead Pixel #2 Column Address 0x01ff [8:0] Dead Pixel #3 Row Address 0x01ff [8:0] Dead Pixel #3 Column Address ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 16 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 16 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x77 0x78 0x79 0x7A 0x7B 0x7C 0x7D 0x7E 0x7F 0x82 0x83 AD_DEADC3H AD_DEADR4L AD_DEADR4H AD_DEADC4L AD_DEADC4H AD_DEADR5L AD_DEADR5H AD_DEADC5L AD_DEADC5H AD_IDL AD_IDH 0x88 0x89 0x8A 0x8B 0x8C 0x8D 0x8E 0x8F 0x90 AD_BWIDTH_BEGINL AD_BWIDTH_BEGINH AD_BWIDTH_ENDL AD_BWIDTH_ENDH AD_BHEIGHT_BEGINL AD_BHEIGHT_BEGINH AD_BHEIGHT_ENDL AD_BHEIGHT_ENDH AD_DARK_DATA 0x0070 (112) 0x01Cf (463) 0x0011 (17) 0x0130 (304) 0 0x91 AD_SLOPEREG 0x2a 0x01ff [8:0] Dead Pixel #4 Row Address 0x01ff [8:0] Dead Pixel #4 Column Address 0x01ff [8:0] Dead Pixel #5 Row Address 0x01ff [8:0] Dead Pixel #5 Column Address 0x2023 [3:0] Sub ID [15:4] Device ID, default 0x102, can be configured using serial bus [9:0] Blank begin in terms of columns [9:0] Blank end in terms of columns [15:0] Blank begin in terms of rows [15:0] Blank end in terms of rows [7:0] When auto dark correction is disabled, serve as the subtrahend for dark correction Reserved ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 17 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 17 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x92 AD_TXRSTSEL 0x52 Reserved 0x93 AD_SUBPH_PULSE 0x10 Reserved 0x94 0x95 0x96 0x97 0x98 0x99 0x9A 0x9B 0x9C 0xA1 0xA2 0xA3 0xA4 0xA5 0xA6 0xA7 0xA8 0xA9 0xAA 0xAB 0xAC 0xAD AD_BITCONTROL AD_SLOPE_END_TIMEL AD_SLOPE_END_TIMEH AD_WT_BEGINL AD_WT_BEGINH AD_WT_ENDL AD_WT_ENDH AD_SUB_EN_TIMEL AD_SUB_EN_TIMEH AD_WIDTHL_C AD_WIDTHH_C AD_HEIGHTL_C AD_HEIGHTH_C AD_COL_BEGINL_C AD_COL_BEGINH_C AD_ROW_BEGINL_C AD_ROW_BEGINH_C AD_HSYNC_ENDL_C AD_HSYNC_ENDH_C AD_VSYNC_ENDL_C AD_VSYNC_ENDH_C AD_PART_CONTROL_C 0x02 0x0155 (341) 0x00 Reserved Reserved Reserved 0xAE 0xAF 0xB0 0xB1 0xB2 AD_WT_BEGINL_C AD_WT_BEGINH_C AD_WT_ENDL_C AD_WT_ENDH_C AD_YAverage 0xB3 0xB4 0xB5 AD_NTBPL AD_NTBPH AD_AWBR 0xB6 AD_AWBG 0xB7 AD_AWBB 0x03fc (1020) 0x01da (474) 0x01f4 (500) 0x0190 (400) 0x0064 (100) 0x000a (10) 0x0040 (64) 0x0003 (3) 0x06 (6) Read Only 0x03fc (1020) Read Only Read Only Read Only Read Only Read Only 0xB8 0xB9 0xC0 0xC1 0xC2 0xC3 0xC4 AD_AWBpixelL AD_AWBpixelH AD_AWBRgain AD_AWBGgain AD_AWBBgain AD_AFStep AD_AEETL Read Only (debug) (debug) (debug) (debug) (debug) Reserved Reserved Reserved [9:0] Current frame width, read only [15:0] Current frame height, read only [9:0] Current column beginning position, read only [9:0] Current row beginning position, read only [9:0] Current HSync end position, read only [15:0] Current VSync end position, read only [7:0] Current part control setting, read only Reserved Reserved Reserved Reserved Reserved Reserved Reserved [7:0] AWB Red Gain [7:0] AWB Green Gain [7:0] AWB Blue Gain [7:0] AE AFStep [8:0] AE AEET ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 18 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 18 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0xC5 0xC6 0xC7 0xC8 0xC9 0xCA AD_AEETH AD_AFETL AD_AFETH AD_AEHIGH_OUT AD_AELOW_OUT AD_Testpin (debug) (debug) (debug) (debug) Exposure Time without Anti-Flickering [8:0] AE AFET Exposure Time with Anti-Flickering [7:0] Adjusted AEHigh [7:0] Adjusted AELow [7:0] AE/AWB State [2:0] AE state [3] 1: AWB Active [7:4] Scene Change Counter ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 19 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 19 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 3. Electrical Characteristics 3.1 DC Characteristics Symbol VCCA VINA VOUTA TSTG VCC VIN TOPR IDD IIL IIH IOZ CIN COUT CBID VIL Parameter Absolute Power Supply Absolute Input Voltage Absolute Output Voltage Storage Temperature Operating Power Supply Operating Input Voltage Operating Temperature Operating Current @ VCC=2.8 V, 25 °C @6MHz Input Low Current Input High Current Tri-state Leakage Current Input Capacitance Output Capacitance Bi-directiona l Buffer Capacitance Input Low Rating Typical Minimum -0.3 Unit Maximum 3.8 V -0.3 VCC + 0.3 V -0.3 VCC + 0.3 V 0 25 65 °C 2.6 2.8 3.6 V VCC V 55 °C 0 0 25 11 mA -1 1 µA -1 1 µA -10 10 µA 3 pF 3 PF 3 pF 0.3 * VCC ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 20 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 20 V 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 VILS VIH VIHS VOL VOH RL Voltage Schmitt Input Low Voltage Input High Voltage Schmitt Input High Voltage 1.1 V 0.7 * VCC Output Low Voltage Output High 2.4 Voltage Input Pull-up/dow n Resistance V 1.8 V 0.4 V 50 ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 21 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ V page 21 KΩ 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 3.2 Timing ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 22 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 22 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 CIF Timing AD_HEIGHT (400 Rows*1) YSYNC AD_VSYNC_END(3 Rows) HSYNC .. .. 298 Rows RAW .. DATA OUT AD_ROW_BEGIN (10 Rows) YUV,GRB YCbCr DATA OUT .. 298 Rows 2 Rows [Sensor to DSP output delay] 5 Rows[Dark Area & Color Interpolation] BLANK .. OUT 288Rows AD_BHEIGHT_BEGIN (17Rows) AD_BHIGHT_END (304 Rows) ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 23 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 23 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 AD_WIDTH(500 Pixel*2 ) HSYNC AD_HSYNC_END (64 Pixel) AD_COL_BEGIN (100 Pixel ) Sensor 362 Pixel DATA OUT 5 Pixel [Sensor to DSP output delay] RAW 362 Pixel DATA OUT RGB,YUV 7 Pixel [Dark Area & Color Interpolation] YCbCr OUT BLANK 352 Pixel AD_BWIDTH_BEGIN (112 Pixel ) DATA OUT 352 Pixel AD_BWIDTH_END (463 Pixel ) *1:(Default Value) *2:Pixel Define: 8-bit YUV,YCbCr,RGB mode : 1 pixel = 2 pixel clock, pixel clock=12Mhz 16-bit YUV,YCbCr,RGB mode : 1 pixel = 1 pixel clock, pixel clock=6Mhz 24-bit RGB mode : 1 pixel = 2 pixel clock, pixel clock=12Mhz ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 24 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 24 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 QCIF Timing AD_HEIGHT (200 Rows*1) YSYNC AD_VSYNC_END(1.5 Rows) HSYNC .. .. 148 Rows RAW .. .. DATA OUT AD_ROW_BEGIN (5 Rows) YUV,GRB YCbCr DATA OUT .. 148 Rows 1 Rows [Sensor to DSP output delay] 3 Rows[Dark Area & Color Interpolation] BLANK .. OUT 144 Rows AD_BHIGHT_BEGIN (9 Rows) AD_BHEIGHT_END (152 Rows) ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 25 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 25 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 AD_WIDTH(250 Pixel*2 ) HSYNC AD_HSYNC_END (32 Pixel) AD_COL_BEGIN (50 Pixel ) Sensor 181 Pixel DATA OUT 2 Pixel [Sensor to DSP output delay] RAW 181 Pixel DATA OUT RGB,YUV 3 Pixel [Dark Area & Color Interpolation] YCbCr OUT BLANK 176 Pixel AD_BWIDTH_BEGIN (55 Pixel ) DATA OUT 176 Pixel AD_BWIDTH_END (230 Pixel ) *1:(Default Value) *2:Pixel Define: 8-bit YUV,YCbCr,RGB mode : 1 pixel = 2 pixel clock, pixel clock=6Mhz 16-bit YUV,YCbCr,RGB mode : 1 pixel = 1 pixel clock, pixel clock=3Mhz 24-bit RGB mode : 1 pixel = 2 pixel clock, pixel clock=6Mhz ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 26 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 26 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 CIF Data format 1. 8-bit 4-2-2 YVYU Data out [15:8] 0x52 bit 6=0 bit 5=0 V1 Y1 U2 Y2 V3 Y3 U4 Y4 … … … V351 Y351 U351 Y352 Y3 U3 Y4 V4 … … … Y351 U351 Y352 V352 U3 Y3 V4 Y4 … … … U351 Y351 V352 Y352 Y3 V3 Y4 U4 … … … Y351 V351 Y352 U352 Cr3 Y3 Cb4 Y4 … … … Cr351 Y351 Cb352 Y352 Y3 Cb3 Y4 Cr4 … … … Y351 Cb351 Y352 Cr352 Cb3 Y3 Cr4 Y4 … … … Cb351 Y351 Cr352 Y352 Y3 Cr3 Y4 Cb4 … … … Y351 Cr351 Y352 Cb352 Y4 Y5 Y6 Y7 Y8 … … … Y349 Y350 Y351 Y352 V4 U5 V6 U7 V8 … … … U349 V350 U351 V352 0x52 bit 6=0 bit 5=1 Y1 U1 Y2 V2 0x52 bit 6=1 bit 5=0 U1 Y1 V2 Y2 0x52 bit 6=1 bit 5=1 Y1 V1 Y2 U2 2. 8-bit 4-2-2 YcrYCb Data out [15:8] 0x52 bit 6=0 bit5=0 Cr1 Y1 Cb2 Y2 0x52 bit 6=0 bit5=1 Y1 Cb1 Y2 Cr2 0x52 bit 6=1 bit5=1 Cb1 Y1 Cr2 Y2 0x52 bit 6=1 bit5=1 Y1 Cr1 Y2 Cb2 3. 16-bit 4-2-2 YVYU 0x52 bit 6=0 bit 5=0 Data out [7:0] Y1 Y2 Y3 Data out [15:8] U1 V2 U3 ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 27 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 27 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x52 bit 6=0 bit 5=1 Data out [7:0] Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 … … … Y349 Y350 Y351 Y352 V4 U5 V6 U7 V8 … … … U349 V350 U351 V352 Y4 Y5 Y6 Y7 Y8 … … … Y349 Y350 Y351 Y352 U4 V5 U6 V7 U8 … … … V349 U350 V351 U352 Y4 Y5 Y6 Y7 Y8 … … … Y349 Y350 Y351 Y352 U4 V5 U6 V7 U8 … … … V349 U350 V351 U352 Y4 Y5 Y6 Y7 Y8 … … … Y349 Y350 Y351 Y352 Cr4 Cb5 Cr6 Cb7 Cr8 Y4 Y5 Y6 Y7 Y8 … … … Y349 Y350 Y351 Y352 Cr4 Cb5 Cr6 Cb7 Cr8 … … .. Cb349 Cr350 Cb351 Cr352 Y4 Y5 Y6 Y7 Y8 … … … Y349 Y350 Y351 Y352 Cb4 Cr5 Cb6 Cr7 Cb8 … … … Cr349 Cb350 Cr351 Cb352 Data out [15:8] U1 V2 U3 0x52 bit 6=1 bit 5=0 Data out [7:0] Y1 Y2 Y3 Data out [15:8] V1 U2 V3 0x52 bit 6=1 bit 5=1 Data out [7:0] Y1 Y2 Y3 Data out [15:8] V1 U2 V3 4. 16-bit 4-2-2 YCrYcb 0x52 bit 6=0 bit 5=0 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cb1 Cr2 Cb3 Cb349 Cr350 Cb351 Cr352 0x52 bit 6=0 bit 5=1 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cb1 Cr2 Cb3 0x52 bit 6=1 bit 5=0 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cr1 Cb2 Cr3 ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 28 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 28 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x52 bit 6=1 bit 5=1 Data out [7:0] Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 … … … Y349 Y350 Y351 Y352 Cb4 Cr5 Cb6 Cr7 Cb8 … … … Cr349 Cb350 Cr351 Cb352 G2 B3 G3 R4 G4 … … … B351 G351 R352 G352 B2 G3 R3 G4 B4 … … … G351 R351 G352 B352 B2 G3 R3 G4 B4 … … … G351 R351 G352 B352 G2 B3 G3 R4 G4 … … … B351 G351 R352 G352 G2 R3 G3 B4 G4 … … … R351 G351 B352 G352 R2 G3 B3 G4 R4 … … … G351 B351 G352 R352 R2 G3 B3 G4 R4 … … … G351 B351 G352 R352 G2 R3 G3 B4 G4 … … … R351 G351 B352 G352 Data out [15:8] Cr1 Cb2 Cr3 5. 24-bit RGB 0x52 bit 6=0 bit 5=0 Data out [7:0] B1 G1 R2 Data out [15:8] G1 R1 G2 0x52 bit 6=0 bit 5=1 Data out [7:0] G1 R1 G2 Data out [15:8] B1 G1 R2 0x52 bit 6=1 bit 5=0 Data out [7:0] R1 G1 B2 Data out [15:8] G1 B1 G2 0x52 bit 6=1 bit 5=1 Data out [7:0] G1 B1 G2 Data out [15:8] R1 G1 B2 6. 16-bit RGB (5,6,5) Data out [15:0] 5bit 6bit 5bit 5bit 6bit 5bit 5bit 6bit 5bit … … … B1 G1 R1 B2 G2 R2 B3 G3 R3 … … … ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 29 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 29 5bit 6bit bit B352 G352 R352 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 QCIF Data format 1. 8-bit 4-2-2 YVYU Data out [15:8] 0x52 bit 6=0 bit 5=0 V1 Y1 U2 Y2 V3 Y3 U4 Y4 … … … V174 Y174 U175 Y175 Y3 U3 Y4 V4 … … … Y174 U174 Y175 V175 U3 Y3 V4 Y4 … … … U174 Y174 V175 Y175 Y3 V3 Y4 U4 … … … Y174 V174 Y175 U175 Cr3 Y3 Cb4 Y4 … … … Cr174 Y174 Cb175 Y175 Y3 Cb3 Y4 Cr4 … … … Y174 Cb174 Y175 Cr175 Cb3 Y3 Cr4 Y4 … … … Cb174 Y174 Cr175 Y175 Y3 Cr3 Y4 Cb4 … … … Y174 Cr174 Y175 Cb175 Y4 Y5 Y6 Y7 Y8 … … … Y172 Y173 Y174 Y175 V4 U5 V6 U7 V8 … … … U172 V173 U174 V175 0x52 bit 6=0 bit 5=1 Y1 U1 Y2 V2 0x52 bit 6=1 bit 5=0 U1 Y1 V2 Y2 0x52 bit 6=1 bit 5=1 Y1 V1 Y2 U2 2. 8-bit 4-2-2 YcrYCb Data out [15:8] 0x52 bit 6=0 bit5=0 Cr1 Y1 Cb2 Y2 0x52 bit 6=0 bit5=1 Y1 Cb1 Y2 Cr2 0x52 bit 6=1 bit5=1 Cb1 Y1 Cr2 Y2 0x52 bit 6=1 bit5=1 Y1 Cr1 Y2 Cb2 3. 16-bit 4-2-2 YVYU 0x52 bit 6=0 bit 5=0 Data out [7:0] Y1 Y2 Y3 Data out [15:8] U1 V2 U3 ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 30 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 30 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x52 bit 6=0 bit 5=1 Data out [7:0] Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 … … … Y172 Y173 Y174 Y175 V4 U5 V6 U7 V8 … … … U172 V173 U174 V175 Y4 Y5 Y6 Y7 Y8 … … … Y172 Y173 Y174 Y175 U4 V5 U6 V7 U8 … … … V172 U173 V174 U175 Y4 Y5 Y6 Y7 Y8 … … … Y172 Y173 Y174 Y175 U4 V5 U6 V7 U8 … … … V172 U173 V174 U175 Y4 Y5 Y6 Y7 Y8 … … … Y172 Y173 Y174 Y175 Cr4 Cb5 Cr6 Cb7 Cr8 Y4 Y5 Y6 Y7 Y8 … … … Y172 Y173 Y174 Y175 Cr4 Cb5 Cr6 Cb7 Cr8 … … … Cb172 Cr173 Cb174 Cr175 Y4 Y5 Y6 Y7 Y8 … … … Y172 Y173 Y174 Y175 Cb4 Cr5 Cb6 Cr7 Cb8 … … … Cr172 Cb173 Cr174 Cb175 Data out [15:8] U1 V2 U3 0x52 bit 6=1 bit 5=0 Data out [7:0] Y1 Y2 Y3 Data out [15:8] V1 U2 V3 0x52 bit 6=1 bit 5=1 Data out [7:0] Y1 Y2 Y3 Data out [15:8] V1 U2 V3 4. 16-bit 4-2-2 YCrYcb 0x52 bit 6=0 bit 5=0 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cb1 Cr2 Cb3 Cb172 Cr173 Cb174 Cr175 0x52 bit 6=0 bit 5=1 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cb1 Cr2 Cb3 0x52 bit 6=1 bit 5=0 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cr1 Cb2 Cr3 ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 31 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 31 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 0x52 bit 6=1 bit 5=1 Data out [7:0] Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 … … … Y172 Y173 Y174 Y175 Cb4 Cr5 Cb6 Cr7 Cb8 … … … Cr172 Cb173 Cr174 Cb175 G2 B3 G3 R4 G4 … … … B174 G174 R175 G175 B2 G3 R3 G4 B4 … … … G174 R174 G175 B175 B2 G3 R3 G4 B4 … … … G174 R174 G175 B175 G2 B3 G3 R4 G4 … … … B174 G174 R175 G175 G2 R3 G3 B4 G4 … … … R174 G174 B175 G175 R2 G3 B3 G4 R4 … … … G174 B174 G175 R175 R2 G3 B3 G4 R4 … … … G174 B174 G175 R175 G2 R3 G3 B4 G4 … … … R174 G174 B175 B175 Data out [15:8] Cr1 Cb2 Cr3 5. 24-bit RGB 0x52 bit 6=0 bit 5=0 Data out [7:0] B1 G1 R2 Data out [15:8] G1 R1 G2 0x52 bit 6=0 bit 5=1 Data out [7:0] G1 R1 G2 Data out [15:8] B1 G1 R2 0x52 bit 6=1 bit 5=0 Data out [7:0] R1 G1 B2 Data out [15:8] G1 B1 G2 0x52 bit 6=1 bit 5=1 Data out [7:0] G1 B1 G2 Data out [15:8] R1 G1 B2 6. 16-bit RGB (5,6,5) Data out [15:0] 5bit 6bit 5bit 5bit 6bit 5bit 5bit 6bit 5bit … … … B1 G1 R1 B2 G2 R2 B3 G3 R3 … … … ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 32 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 32 5bit 6bit bit B175 G175 R175 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 Pixel Clock Duty Cycle In different frame rate mode (controlled by PART_CONTROL[6:3]), the duty cycle (high time / clock period) of the PCLK signal is described in the following table: Frame Rate 30 15 10 6 5 3 2 1 Duty Cycle 50.0% 50.0% 66.6% 60.0% 50.0% 50.0% 53.3% 50.0% ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 33 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 33 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 4. Mechanical Information Figure 3. Shrunk PLCC48 Packaging ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 34 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 34 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 Figure 4. T Type 9 x 9 MM LCC48 Plastic Package ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 35 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 35 2/5/2003 Confidential ICM202B CIF/QCIF CMOS sensor with digital YUV output Data Sheet V2.0, February 2003 5. Ordering Information Description “S” Type Shrunk Plastic LCC 48 package, CIF resolution sensor with YUV output “T” Type LCC48 Plastic Package, CIF resolution sensor with YUV output Part Number ICM-202Bsa ICM-202Bta IC Media Corporation IC Media Technology Corporation 545 East Brokaw Road San Jose, CA 95112, U.S.A. Phone: (408) 451-8838 Fax: (408) 451-8839 Email: [email protected] Web Site: www.ic-media.com 6F, No. 61, ChowTze Street., NeiHu District Taipei, Taiwan, R.O.C. Phone: 886-2-2657-7898 Fax: 886-2-2657-8751 Email: [email protected] Web Site: www.ic-media.com.tw ©2000, 2001,2002, 2003 IC Media Corporation & IC Media 36 Technology Corp web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 36 2/5/2003 Confidential