ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 ICM205B VGA/QVGA CMOS image sensor with digital YUV output Data Sheet V1.3 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 Corp. 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 Corp. for its use, nor for any infringements of patents of third parties that may result from its use. ©2000, 2001, 2002 IC Media Corporation & IC Media 1Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 1 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 Features • • • • • • • • • • • • • • 307,200 (640x480) pixels, VGA format, used with 1/4” 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) • Programmable media filter. Progressive readout Video mode and single frame mode Output data format: 8/16-bit YCbCr, 24-bit RGB, 16-bit RGB, 8-bit raw data Output modes: VGA and Sub-sampling QVGA/QQVGA, programmable Input/output interface: SIF Power down mode Automatic optical black compensation Left-Right Mirror image Up-down Mirror image Single power supply, 3.3V +/- 0.15V ©2000, 2001, 2002 IC Media Corporation & IC Media 2Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 2 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 General Description This is a single-chip digital color imaging device. It incorporates a 640 x 480 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 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 IC Media Corporation & IC Media 3Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 3 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 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: 640 x 480 Number of Physical Pixels: 650 x 490 Frame Rate: from 30 to 1 fps, flexible Pixel Size: 6.0 µm x 6.0 µm Sensor Area: 3.84 mm x 2.88 mm (for 1/4” lens) Main Clock Frequency: 3 to 24 MHz Exposure Time: 64 µs (@ 30 fps, 1 line, 24 MHz) ~ 125 s (@ 1 fps, 65535 lines, 24 MHz), every step: 64 µ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: 45 dB @ 75% Saturation Target Power Supply: 3.3V +/- 0.15V Target Power Requirement: <75mW (@ 15fps, 12 MHz, 2.8V), Package: Shrunk Plastic LCC48 (ICM205Bsa) ©2000, 2001, 2002 IC Media Corporation & IC Media 4Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 4 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 ICM205B (Top View) VDDD MSSEL TEST SYNCMODE POWERDN I2CA ENABLE SCLOCK SDATA DOUT15 GNDO DOUT14 VDDO GNDO DOUT0 RSTN VDDA GNDA XIN XOUT RAMP GNDS GNDD RSET VSYNC HSYNC BLANK DOUT8 DOUT9 DOUT10 DOUT11 DOUT12 DOUT13 VDDA GNDA VDDO 42 41 40 39 38 37 36 35 34 33 32 31 19 20 21 22 23 24 25 26 27 28 29 30 7 8 9 10 11 12 13 14 15 16 17 18 VDDK GNDK DOUT1 DOUT2 PCLK DOUT3 DOUT4 DOUT5 DOUT6 DOUT7 GNDK VDDK 6 5 4 3 2 1 48 47 46 45 44 43 205B Pin Assignment ©2000, 2001, 2002 IC Media Corporation & IC Media 5Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 5 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 Pin # 13 14 2 21 22 Xin Xout PCLK TEST SYNCMODE Class* A, I A, O D, O D, I, N D, I, N 23 PWRDOWN D, I,U 25 Enable D, I, U 24 I2CA D, I, N 20 MSSEL D, I, U 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 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 VDDA GNDA VDDD, VDDK GNDD GNDK VDDO GNDO D, I/O D, I/O D, O A, O P P P Horizontal sync signal Vertical sync signal Video blank signal Analog ramp output Analog power Analog ground Digital power P Digital ground P P Pad power Pad ground 5, 17, 44 7, 31 8, 29 Name Function Descriptions 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 Substrate GND Resistor to ground 51 KΩ @ Clock = 24Mhz 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 IC Media Corporation & IC Media 6Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 6 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 Functional Description Image Array The image array consists of 640x480 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. 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 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 64 µs (assuming the line length is 770 @ 24 MHz). If the number of lines per frame is set at 520 (the default), the exposure time can vary from 1 to 519 lines. 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. ©2000, 2001, 2002 IC Media Corporation & IC Media 7Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 7 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 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 = 0x1450) AD_MAXFH set the minimum frame rate of AE . 0x41,0x42 (AD_MINFH, Minimum Frame Height, Default = 0x208) AD_MINFH set the maximum frame rate of AE . 0x44 (AD_AFSTEP, Anti-flickering Exposure Time Step, Default = 0x82) Use AD_AFSTEP to setup 50 /60HZ Anti-flickering step. 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 IC Media Corporation & IC Media 8Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 8 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 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. 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 = 2 b : Sharpen Weight = 3 c : Sharpen Weight = 4 d : Sharpen Weight = 5 e : Sharpen Weight = 6 f : Sharpen Weight = 7 (heavy Sharpening) 0x31 (AD_SHARP_HIGH,Default =0x0a) Sharpening High Tone Threshold. 0x32 (AD_SHARP_LOW,Default = 0x05) Sharpening Low Tone Threshold. ©2000, 2001, 2002 IC Media Corporation & IC Media 9Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 9 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 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 Gamma Correction To boost darker signal to match the video monitor characteristic, gamma correction are performed: Vo = Vi1 / γ where Vi is normalized (ranged from 0 to 1) R, G, or B signal coming from the white balancing module, and Vo is normalized final output. The Gamma values (parameter γ) are provided in 205B, use register 0x2c (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.7 AD_GAMMA 4 : Gamma = 1.9 AD_GAMMA 5 : Gamma = 2.2 AD_GAMMA 6 : Gamma = 2.5 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 IC Media Corporation & IC Media10 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 10 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 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. 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(bit5~bit0). Output Format The following output data format is provided: 8-bit YCbCr 16-bit YCbCr 16-bit RGB 24-bit RGB 8-bit raw data The output mode can be VGA or Sub-sampling QVGA and QQVGA. Register 0x52 (AD_OUTSEL) is used to select the various output format and output mode. ©2000, 2001, 2002 IC Media Corporation & IC Media11 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 11 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 The formula for YCbCr format is as follows (note that 16 ≤ Y ≤ 235 , and 16 ≤ C b , C r ≤ 240 ): The following table lists the user modes and the corresponding signals appeared on the pins. Format 8-bit 4:2:2 YCbCr 16-bit 4:2:2 YCbCr 16-bit RGB (5,6,5) 24-bit RGB DOUT[15:8] 0 Y, Y, … RG G, G, … DOUT[7:0] Y,Cb,Y,Cr … Cb, Cr, … GB R, B, … PCLK/VGA 24 MHz 12 MHz 12 MHz 24MHz PCLK/QVGA 6 MHz 3 MHz 3 MHz Invalid ©2000, 2001, 2002 IC Media Corporation & IC Media12 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 12 PCLK/QQVGA 1.5M 0.75M 0.75M Invalid 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 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 IC Media Corporation & IC Media13 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 13 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 0x01 0x02 TIMING_CONTROL_LOW TIMING_CONTROL_HIGH 0x0219 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] Reserved [15] Reserved ©2000, 2001, 2002 IC Media Corporation & IC Media14 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 14 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 0x0C 0x0D 0x0E 0x0F 0x10 0x11 AD_WIDTHL AD_WIDTHH AD_HEIGHTL AD_HEIGHTH AD_COL_BEGINL AD_COL_BEGINH 0x0302 (770) 0x0208 (520) 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) 0x0207 (519) 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] Raw Data 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 [7] Sign bit 0: Positive 1: Negative ©2000, 2001, 2002 IC Media Corporation & IC Media15 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 15 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 0x2C AD_GAMMA 0x01 0x2D AD_SATURATION 0x30 0x2E 0x2F 0x30 AD_DSP_TEST AD_DSP_CTRL AD_SHARP_CTRL 0xFF 0x00 0x09 0x31 0x32 0x33 AD_SHARP_HIGH AD_SHARP_LOW AD_AWB_CTRL 0x0a 0x05 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 0x07 [6:0] Offset value [2:0] Gamma Control 0 : Gamma = 1 1 : Gamma = 1.3(default) 2 : Gamma = 1.5 3 : Gamma = 1.7 4 : Gamma = 1.9 5 : Gamma = 2.2 6 : Gamma = 2.5 [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: 2 3: 3 4: 4 5: 5 6: 6 7: 7 Reserved Reserved [0] Auto White Balance (AWB) 0: Disable AWB 1: Enable AWB [1] Reserved [2] Reserved Reserved Reserved [7:0] Color DSP 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 B 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 [3] Fix frame height 0: Disable 1: Enable [4] Reserved ©2000, 2001, 2002 IC Media Corporation & IC Media16 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 16 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 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 0x47 0x48 0x49 0x4A 0x4C 0x51 AD_RGAIN_LIMIT AD_GGAIN_LIMIT AD_BGAIN_LIMIT AD_AE_PERIOD AD_AWB_PERIOD AD_OUTMODE 0x65 (101) 0x55 (85) 0x0fff (4096) 0x1450 (5200) 0x0208 (520) 0x00 0x82 (130) 0xc0 (192) 0xff 0xff 0xff 0x05 0x00 0x00 [7:0] AE High Limit 0x52 AD_OUTSEL 0x6d 0x53 0x54 0x55 0x56 AD_RAMPSEL AD_DSRSTL AD_DSRSTH AD_DSDATAL 0x00 0x00 [7:0] Reserved [7:0] Reserved [7:0] Reserved [5:0] Reserved [5:0] Reserved [1:0] Output Mode Select (*1) 0 : VGA 1 : QVGA 2 : QQVGA [2] Adjust pclk under QVGA and QQVGA [3] YCbCr clamp *1 0: Clamp 16-235 1: Full range 0-255 [7:4] Sub-sample counter reset value [7] Auto Blank Signal Enable 0: Auto Blank 1: Manual Blank [6] change 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, 10bit 11: 9-bit sensor RAW data 13: 8-bit 4-2-2 YcrCb (default) 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 0x01f9 [8:0] Reserved [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 Reserved ©2000, 2001, 2002 IC Media Corporation & IC Media17 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 17 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 0x57 0x58 0x59 0x5A 0x5B 0x68 0x69 0x6A 0x6B 0x6C 0X6D 0x6E 0x6F 0x70 0x71 0x72 0x73 0x74 0x75 0x76 0x77 0x78 0x79 0x7A 0x7B 0x7C 0x7D 0x7E 0x7F 0x82 0x83 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 AD_DEADC3H AD_DEADR4L AD_DEADR4H AD_DEADC4L AD_DEADC4H AD_DEADR5L AD_DEADR5H AD_DEADC5L AD_DEADC5H AD_IDL AD_IDH (505) 0x00ff (255) 0x011d (285) 0x01ff [8:0] Dead Pixel #0 Row Address 0x03ff [9:0] Dead Pixel #0 Column Address 0x01ff [8:0] Dead Pixel #1 Row Address 0x03ff [9:0] Dead Pixel #1 Column Address 0x01ff [8:0] Dead Pixel #2 Row Address 0x03ff [9:0] Dead Pixel #2 Column Address 0x01ff [8:0] Dead Pixel #3 Row Address 0x03ff [9:0] Dead Pixel #3 Column Address 0x01ff [8:0] Dead Pixel #4 Row Address 0x03ff [9:0] Dead Pixel #4 Column Address 0x01ff [8:0] Dead Pixel #5 Row Address 0x03ff [9:0] Dead Pixel #5 Column Address 0xa050 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 0x0074 (116) 0x02f3 (755) 0x0011 (17) 0x01f0 (496) 0 [3:0] Sub ID [15:4] Device ID, default 0xa050(205B), can be configured using serial bus [9:0] Blank begin in terms of columns 0x91 AD_SLOPEREG 0x1a [7:0] When auto dark correction is disabled, serve as the subtrahend for dark correction Reserved 0x92 AD_TXRSTSEL 0x52 Reserved 0x93 AD_SUBPH_PULSE 0x10 Reserved 0x94 AD_BITCONTROL 0x02 Reserved 0x95 AD_SLOPE_END_TIMEL 0x02a9 Reserved [8:0] Reserved [8:0] Reserved d [9:0] Blank end in terms of columns [15:0] Blank begin in terms of rows [15:0] Blank end in terms of rows ©2000, 2001, 2002 IC Media Corporation & IC Media18 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 18 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 0x96 0x97 0x98 0x99 0x9A 0x9B 0x9C 0xA1 0xA2 0xA3 0xA4 0xA5 0xA6 0xA7 0xA8 0xA9 0xAA 0xAB 0xAC 0xAD 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 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 0xB8 0xB9 AD_AWBpixelL AD_AWBpixelH (681) 0x00 0x03fc (1020) 0x02f0 (752) 0x0302 (770) 0x0208 (520) 0x0064 (100) 0x000a (10) 0x0040 (64) 0x0003 (3) 0x00 (0) Read Only 0x03fc (1020) Read Only Read Only Read Only Read Only Read Only Read Only 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 Reserved ©2000, 2001, 2002 IC Media Corporation & IC Media19 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 19 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 Electrical Characteristics 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 3.15 3.3 3.45 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 IC Media Corporation & IC Media20 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 20 V 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 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 V 50 ©2000, 2001, 2002 IC Media Corporation & IC Media21 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 21 KΩ 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 Timing Reset/Pixel Timing ©2000, 2001, 2002 IC Media Corporation & IC Media22 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 22 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 8 bit 4-2-2 YcrCb and 24bit GBR VGA mode 520 hsync 17 hsync vsync (AD_HIG HT) (AD_BHE IG HT_BE G IN) (AD_BHE IG HT_E ND+1) 497 hsync 3 hsync 14 hsync (AD_VS YNC _E ND) 23 hsync 480 hsync hsync blank 10 hsync (AD_R OW_BE G IN) 7 hsync (DSP interpolation) (AD_WIDTH) 1540 pclk 1509 pclk (AD_BWIDTH_E ND) hsync 1280 pclk 229 pclk (AD_BWIDTH_BE GIN) blank 128 pclk (AD_HS YNC _E ND) 31 pclk 101 pclk pclk 200 pclk (AD_C OL_BE G IN) 29 pclk (DS P interpolation) hsync vsync sen_clk 1 pclk (= 1 sen_clk ) pclk sen_data XX X D0(8 bit) D1(8 bit) D2(8 bit) D3(8 bit) 1 pixel ( = 2 pclk) ©2000, 2001, 2002 IC Media Corporation & IC Media23 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 23 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 8 bit 4-2-2 YcrCb QVGA mode 260 hsync 8.5 hsync vsync (AD_HIG HT) (AD_BHEIG HT_BEG IN) (AD_BHE IG HT_E ND+1) 248.5 hsync 1.5 hsync (AD_VS Y NC _END) 7 hsync 11.5 hsync 240 hsync hsync blank 5 hsync (AD_R OW_BE G IN) 3.5 hsync (DS P interpolation) (AD_WIDTH) 770 pclk 698 pclk (AD_BWIDTH_END) hsync 640 pclk 58 pclk (AD_BWIDTH_BE G IN) blank 32 pclk (AD_HS Y NC _E ND) 72 pclk 26 pclk pclk 50 pclk (AD_C OL_BEG IN) 8 pclk (DS P interpolation) hsync vsync sen_clk 1 pclk (= 4 sen_clk ) pclk sen_data XXX D0(8 bit) D1(8 bit) D2(8 bit) D3(8 bit) 1 pixel ( = 2 pclk) ©2000, 2001, 2002 IC Media Corporation & IC Media24 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 24 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 8 bit 4-2-2 YcrCb QQVGA mode 130 hsync 4.25 hsync (AD_HIG HT) (AD_R OW_BEG IN) vsync (AD_BHIG HT_E ND+1) 124.25 hsync 0.75 hsync (AD_VS YNC _END) 5.75 hsync 3.5 hsync 120 hsync hsync blank 3 hsync (AD_ROW_BE G IN) 1.25 hsync (DS P interpolation) vsync 8 pclk hsync 96 pclk 184 pclk pclk (AD_WIDTH) 385 pclk 335 pclk hsync (AD_BWIDTH_E ND) 320 pclk 15 pclk (AD_BWIDTH_BE G IN) blank 8 pclk 50 pclk 7 pclk (AD_HS YNC _E ND) pclk 13 pclk (AD_C OL_BEG IN) 2 pclk (DS P interpolation) hsync vsync sen_clk 1 pclk (= 16 sen_clk ) pclk sen_data XXX D1(8 bit) D0(8 bit) D2(8 bit) 1 pixel ( = 2 pclk) ©2000, 2001, 2002 IC Media Corporation & IC Media25 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 25 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 16 bit RGB VGA mode 520 hsync 17 hsync vsync (AD_HIGHT) (AD_BHE IG HT_B EG IN) (AD_BHE IG HT_E ND+1) 497 hsync 3 hsync 95 hsync 14 hsync (AD_VS YNC _END) 480 hsync hsync blank 10 hsync (AD_R OW_BE G IN) 7 hsync (DSP interpolation) (AD_WIDTH) 770 pclk 751 pclk (AD_BWIDTH_E ND) hsync 640 pclk 111 pclk (AD_BWIDTH_BE GIN) blank 64 pclk (AD_HSY NC _E ND) 19 pclk 47 pclk pclk 100 pclk (AD_C OL_BE G IN) 11 pclk (DS P interpolation) hsync vsync sys_clk 1 pclk (= 2 sys_clk at 16 bit) pclk sen_data XXX D0(16 bit) D1(16 bit) 1 pixel ( = 1 pclk at 16 bit) ©2000, 2001, 2002 IC Media Corporation & IC Media26 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 26 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 16 bit RGB QVGA mode 260 hsync 8.5 hsync (AD_BHE IG HT_BEG IN) vsync (AD_HIG HT) (AD_BHE IG HT_E ND+1) 248.5 hsync 1.5 hsync (AD_VS YNC _E ND) 11.5 hsync 240 hsync 7 hsync hsync blank 5 hsync (AD_ROW_BE G IN) 3.5 hsync (DS P interpolation) 385 pclk (AD_WIDTH) 349 pclk (AD_BWIDTH_E ND) hsync 29 pclk 320 pclk (AD_BWIDTH_BE G IN) blank 16 pclk (AD_HS YNC _E ND) 36 pclk 13 pclk pclk 25 pclk (AD_C OL_BE G IN) 4 pclk (DS P interpolation) hsync vsync sen_clk 1 pclk (= 8 sen_clk ) pclk sen_data XXX D0(16 bit) D1(16 bit) 1 pixel ( = 1 pclk) ©2000, 2001, 2002 IC Media Corporation & IC Media27 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 27 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 16 bit RGB QQVGA mode 162 hsync (AD_HIG HT) vsync 3 hsync 0.75 hsync (AD_VS YNC _E ND) 120 hsync 38 hsync hsync 3 hsync blank (AD_R OW_BE GIN) 1 hsync (DS P interpolation) vsync 4 pclk hsync 48 pclk 92 pclk pclk 192 pclk (AD_BWIDTH_END) 167 pclk hsync (AD_WIDTH) 160 pclk 7 pclk (AD_BWIDTH_BE GIN) blank 4 pclk (AD_HSY NC _E ND) 25 pclk 3 pclk pclk 6 pclk (AD_C OL_BEG IN) 1 pclk (DS P interpolation) hsync vsync sen_clk 1 pclk (= 32 sen_clk ) pclk sen_data XXX D0(16 bit) D1(16 bit) 1 pixel ( = 1 pclk) ©2000, 2001, 2002 IC Media Corporation & IC Media28 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 28 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 VGA Data format 8-bit 4-2-2 YCrYCb 0x52 bit 6=0 bit5=0 Data out [7:0] Cr1 Y1 Cb2 Y2 Cr3 Y3 Cb4 Y4 … … … Cr639 Y639 Cb640 Y640 Y3 Cb3 Y4 Cr4 … … … Y639 Cb639 Y640 Cr640 Cb3 Y3 Cr4 Y4 … … … Cb639 Y639 Cr640 Y640 Y3 Cr3 Y4 Cb4 … … … Y639 Cr639 Y640 Cb640 0x52 bit 6=0 bit5=1 Data out [7:0] Y1 Cb1 Y2 Cr2 0x52 bit 6=1 bit5=1 Data out [7:0] Cb1 Y1 Cr2 Y2 0x52 bit 6=1 bit5=1 Data out [7:0] Y1 Cr1 Y2 Cb2 ©2000, 2001, 2002 IC Media Corporation & IC Media29 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 29 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 16-bit 4-2-2 YCrYCb 0x52 bit 6=0 bit 5=0 Data out [7:0] Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 … … … Y637 Y638 Y639 Y640 Cr4 Cb5 Cr6 Cb7 Cr8 Y4 Y5 Y6 Y7 Y8 … … … Y637 Y638 Y639 Y640 Cr4 Cb5 Cr6 Cb7 Cr8 … … .. Cb637 Cr638 Cb639 Cr640 Y4 Y5 Y6 Y7 Y8 … … … Y637 Y638 Y639 Y640 Cb4 Cr5 Cb6 Cr7 Cb8 … … … Cr637 Cb638 Cr639 Cb640 Y4 Y5 Y6 Y7 Y8 … … … Y637 Y638 Y639 Y640 Cb4 Cr5 Cb6 Cr7 Cb8 … … … Cr637 Cb638 Cr639 Cb640 Data out [15:8] Cb1 Cr2 Cb3 Cb637 Cr638 Cb639 Cr640 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 0x52 bit 6=1 bit 5=1 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cr1 Cb2 Cr3 ©2000, 2001, 2002 IC Media Corporation & IC Media30 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 30 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 24-bit RGB 0x52 bit 6=0 bit 5=0 Data out [7:0] G1 G1 G2 G2 G3 G3 G4 G4 … … … G639 G639 G640 G640 R2 B3 R3 B4 R4 … … … B639 R639 B640 R640 G2 G3 G3 G4 G4 … … … G639 G639 G640 G640 B2 R3 B3 R4 B4 … … … R639 B639 R640 B640 G2 G3 G3 G4 G4 … … … G639 G639 G640 G640 R2 B3 R3 B4 R4 … … … B639 R639 B640 R640 G2 G3 G3 G4 G4 … … … G639 G639 G640 G640 B2 R3 B3 R4 B4 … … … R639 B639 R640 B640 Data out [15:8] B1 R1 B2 0x52 bit 6=0 bit 5=1 Data out [7:0] G1 G1 G2 Data out [15:8] R1 B1 R2 0x52 bit 6=1 bit 5=0 Data out [7:0] G1 G1 G2 Data out [15:8] B1 R1 B2 0x52 bit 6=1 bit 5=1 Data out [7:0] G1 G1 G2 Data out [15:8] R1 B1 R2 ©2000, 2001, 2002 IC Media Corporation & IC Media31 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 31 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 16-bit RGB (5,6,5) Data out [15:0] D[15:11] R, D[10:5] G, D[4:0] B 5bit 6bit 5bit 5bit 6bit 5bit 5bit 6bit 5bit … … … R1 G1 B1 R2 G2 B2 R3 G3 B3 … … … ©2000, 2001, 2002 IC Media Corporation & IC Media32 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 32 5bit 6bit 5bit R640 G640 B640 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 QVGA Data format 8-bit 4-2-2 YCrYCb 0x52 bit 6=0 bit5=0 Data out [7:0] Cr1 Y1 Cb2 Y2 Cr3 Y3 Cb4 Y4 … … … Cr319 Y319 Cb320 Y320 Cb3 Y3 Cr3 Y4 … … … Cb319 Y319 Cr320 Y320 Y3 Cr3 Y4 Cb4 … … … Y319 Cr319 Y320 Cb320 Y3 Cb3 Y4 Cr4 … … … Y319 Cb319 Y320 Cr320 0x52 bit 6=0 bit5=1 Data out [7:0] Cb1 Y1 Cr2 Y2 0x52 bit 6=1 bit5=0 Data out [7:0] Y1 Cr1 Y2 Cb2 0x52 bit 6=1 bit5=1 Data out [7:0] Y1 Cb1 Y2 Cr2 ©2000, 2001, 2002 IC Media Corporation & IC Media33 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 33 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 16-bit 4-2-2 YCrYCb 0x52 bit 6=0 bit 5=0 Data out [7:0] Cr1 Cb2 Cr3 Cb4 Cr5 Cb6 Cr7 Cb8 … … … Cr317 Cb318 Cr319 Cb320 Y4 Y5 Y6 Y7 Y8 Cr4 Cb5 Cr6 Cb7 Cr8 … … … Cb317 Cr318 Cb319 Cr320 Y4 Y5 Y6 Y7 Y8 … … … Y317 Y318 Y319 Y320 Y4 Y5 Y6 Y7 Y8 … … … Y317 Y318 Y319 Y320 Cb4 Cr5 Cb6 Cr7 Cb8 … … … Cr317 Cb318 Cr319 Cb320 Y4 Y5 Y6 Y7 Y8 … … … Y317 Y318 Y319 Y320 Cr4 Cb5 Cr6 Cb7 Cr8 … … … Cb317 Cr318 Cb319 Cr320 Data out [15:8] Y1 Y2 Y3 Y317 Y318 Y319 Y320 0x52 bit 6=0 bit 5=1 Data out [7:0] Cb1 Cr2 Cb3 Data out [15:8] Y1 Y2 Y3 0x52 bit 6=1 bit 5=0 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cr1 Cb2 Cr3 0x52 bit 6=1 bit 5=1 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cb1 Cr2 Cb3 ©2000, 2001, 2002 IC Media Corporation & IC Media34 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 34 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 16-bit RGB (5,6,5) Data out [15:0] D[15:11] R, D[10:5] G, D[4:0] B 5bit 6bit 5bit 5bit 6bit 5bit 5bit 6bit 5bit … … … R1 G1 B1 R2 G2 B2 R3 G3 B3 … … … ©2000, 2001, 2002 IC Media Corporation & IC Media35 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 35 5bit 6bit 5bit R320 G320 B320 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 QQVGA Data format 8-bit 4-2-2 YrYCb 0x52 bit 6=0 bit5=0 Data out [7:0] Cr1 Y1 Cb2 Y2 Cr3 Y3 Cb4 Y4 … … … Cr159 Y159 Cb160 Y160 Cb3 Y3 Cr3 Y4 … … … Cb159 Y159 Cr160 Y160 Y3 Cr3 Y4 Cb4 … … … Y159 Cr159 Y160 Cb160 Y3 Cb3 Y4 Cr4 … … … Y159 Cb159 Y160 Cr160 0x52 bit 6=0 bit5=1 Data out [7:0] Cb1 Y1 Cr2 Y2 0x52 bit 6=1 bit5=0 Data out [7:0] Y1 Cr1 Y2 Cb2 0x52 bit 6=1 bit5=1 Data out [7:0] Y1 Cb1 Y2 Cr2 ©2000, 2001, 2002 IC Media Corporation & IC Media36 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 36 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 16-bit 4-2-2 YCrYCb 0x52 bit 6=0 bit 5=0 Data out [7:0] Cr1 Cb2 Cr3 Cb4 Cr5 Cb6 Cr7 Cb8 … … … Cr157 Cb158 Cr159 Cb160 Y4 Y5 Y6 Y7 Y8 Cr4 Cb5 Cr6 Cb7 Cr8 … … … Cb157 Cr158 Cb159 Cr160 Y4 Y5 Y6 Y7 Y8 … … … Y157 Y158 Y159 Y160 Y4 Y5 Y6 Y7 Y8 … … … Y157 Y158 Y159 Y160 Cb4 Cr5 Cb6 Cr7 Cb8 … … … Cr157 Cb158 Cr159 Cb160 Y4 Y5 Y6 Y7 Y8 … … … Y157 Y158 Y159 Y160 Cr4 Cb5 Cr6 Cb7 Cr8 … … … Cb157 Cr158 Cb159 Cr160 Data out [15:8] Y1 Y2 Y3 Y157 Y158 Y159 Y160 0x52 bit 6=0 bit 5=1 Data out [7:0] Cb1 Cr2 Cb3 Data out [15:8] Y1 Y2 Y3 0x52 bit 6=1 bit 5=0 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cr1 Cb2 Cr3 0x52 bit 6=1 bit 5=1 Data out [7:0] Y1 Y2 Y3 Data out [15:8] Cb1 Cr2 Cb3 ©2000, 2001, 2002 IC Media Corporation & IC Media37 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 37 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 16-bit RGB (5,6,5) Data out [15:0] D[15:11] R, D[10:5] G, D[4:0] B 5bit 6bit 5bit 5bit 6bit 5bit 5bit 6bit 5bit … … … R1 G1 B1 R2 G2 B2 R3 G3 B3 … … … ©2000, 2001, 2002 IC Media Corporation & IC Media38 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 38 5bit 6bit 5bit R160 G160 B160 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 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 IC Media Corporation & IC Media39 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 39 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 Mechanical Information Figure 3. Shrunk PLCC48 Packaging ©2000, 2001, 2002 IC Media Corporation & IC Media40 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 40 10/16/2002 ICM205B: VGA CMOS sensor with digital YUV output Data Sheet V1.3, Oct. 2002 Ordering Information Part number for different package: Description Shrunk Plastic LCC 48 packaged, VGA resolution sensor with YUV output Part Number ICM-205Bsa ©2000, 2001, 2002 IC Media Corporation & IC Media41 Technology Corp. web site: http://www.ic-media.com/ web site: http://www.ic-media.com.tw/ page 41 10/16/2002