ChipFind - документация

Электронный компонент: ICM-202BSA

Скачать:  PDF   ZIP
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 1
Confidential
1
ICM202B
CIF/QCIF CMOS image sensor with
digital YUV output
Data Sheet
V2.0




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.
IC Media Corporation

545 East Brokaw Road
San Jose, CA 95112, U.S.A.
Phone: (408) 451-8838
Fax: (408) 451-8839
Email: Sales@IC-Media.Com
Web Site:
www.ic-media.com
IC Media Technology Corporation

6F, No. 61, ChowTze Street., NeiHu District
Taipei, Taiwan, R.O.C.
Phone: 886-2-2657-7898
Fax: 886-2-2657-8751
Email: Ap.Sales@IC-Media.Com.tw
Web Site: www.ic-media.com.tw
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 2
Confidential
2
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.
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 3
Confidential
3
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 @ 2
N
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)
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 4
Confidential
4

202B Pin Assignment
Pin #
Name
Class*
Function Descriptions
13
Xin
A, I
Crystal in
14
Xout
A, O
Crystal out
2
PCLK
D, O
Pixel clock output
21
TEST
D, I, N
Test Mode Input Pin
22
SYNCMODE
D, I,
Sync. Mode.
0: External Sync,
1: Internal Sync
23
PWRDOWN
D, I,
Power Down Mode.
0:Enable
1:Disable
25
Enable
D, I,
Data Output .
0:Disble
1:Enable
24
I2CA
D, I,
LSB of serial bus address.
0: Device ID address 0x20
1: Device ID address 0x21
20
MSSEL
D, I,
Serial bus master/slave selection.
0: Slave
1: Master
26
SCLOCK
D, I/O
Serial bus clock
27
SDATA
D, I/O
Serial bus data
16 GNDS
P Subtract
GND
18
RSET
A, I
Resistor to ground
51 K @ Clock = 12Mhz
10
RSTN
D, I, U
Chip reset, active low
45, 46, 47,
48, 1, 3, 4,
9
DOUT[7:0]
(msb:lsb)
D, O
Sensor Data output[7:0]
28, 30, 34,
35, 36, 37,
38, 39
DOUT[15:8]
(msb:lsb)
D, I/O
1) Input: Test Data Input
2) Sensor
Data
output[15:8]
41
HSYNC
D, I/O
Horizontal sync signal
42
VSYNC
D, I/O
Vertical sync signal
40
BLANK
D, O
Video blank signal
15
RAMP
A, O
Analog ramp output
11, 33
AVDD
P
Analog power
12, 32
AGND
P
Analog ground
6, 19, 43
DVDD
P
Digital power
5, 17, 44
DGND
P
Digital ground
7, 31
PVDD
P
Pad power
8, 29
PGND
P
Pad ground
Class Code:
A Analog signal, D Digital signal, I Input, O Output, P Power or ground,
U Internal pull-up, N Internal pull-down
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 5
Confidential
5
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.

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 @ 2
N
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.
R
R
G
G
R
R
G
G
G
B
G
B
G
B
G
B
R
R
G
G
R
R
G
G
G
B
G
B
G
B
G
B
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 6
Confidential
6
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.
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 7
Confidential
7
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)
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 8
Confidential
8
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
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 9
Confidential
9
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.
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 10
Confidential
10
The following table lists the user modes and the corresponding signals appeared on the pins.

Format DOUT[15:8]
DOUT[7:0]
PCLK(CIF)
PCLK(QCIF)
8-bit 4:2:2 YUV
0
Y, U, Y, V...
12 MHz
6 MHz
8-bit 4:2:2 YCbCr
0
Y,Cb,Y,Cr ...
12 MHz
6 MHz
16-bit 4:2:2 YUV
Y, Y, ...
U,V, ...
6 MHz
3 MHz
16-bit 4:2:2 YCbCr
Y, Y, ...
Cb, Cr, ...
6 MHz
3 MHz
16-bit RGB (5,6,5)
RG
GB
6 MHz
3 MHz
24-bit RGB
G, G, ...
R, B, ...
12 MHz
6 MHz
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 11
Confidential
11
2. Control Registers by serial bus

Note : *1 Need PART_CONTROL [7] to change value
*2 Need PART_CONTROL [2] to change value


Address Name
Default Description
0x00 PART_CONTROL
0x00 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.
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 12
Confidential
12
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
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 13
Confidential
13
0x0C
0x0D
AD_WIDTHL
AD_WIDTHH
0x01F4
(500)
[9:0] Frame width (*1)
0x0E
0x0F
AD_HEIGHTL
AD_HEIGHTH
0x0190
(400)
[15:0] Frame height, should not be less than
AD_ROW_BEGIN + 298 (*1)
0x10
0x11
AD_COL_BEGINL
AD_COL_BEGINH
0x0064
(100)
[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
0x14
0x15
AD_ROW_BEGINL
AD_ROW_BEGINH
0x000A
(10)
[15:0] Beginning of active frame in terms of
row position (*1)
0x18
0x19
AD_HSYNC_ENDL
AD_HSYNC_ENDH
0x0040
(64)
[9:0] End of horizontal sync in terms of
column position (*1)
0x1A
0x1B
AD_VSYNC_ENDL
AD_VSYNC_ENDH
0x0003
(3)
[15:0] End of vertical sync in terms of row
position (*1)
0x1C
0x1D
AD_EXPOSE_TIMEL
AD_EXPOSE_TIMEH
0x018f
(399)
[15:0] Exposure time in terms of number of
rows (*2)
0x20
0x21
AD_M1_L
AD_M1_H
0x0100
[10:0] Gain coefficient. (G1),
unsigned 3.8 format (*1)
0x22
0x23
AD_M2_L
AD_M2_H
0x0100
[10:0] Gain coefficient. (R),
unsigned 3.8 format (*1)
0x24
0x25
AD_M3_L
AD_M3_H
0x0167
[10:0] Gain coefficient. (B),
unsigned 3.8 format (*1)
0x26
0x27
AD_M4_L
AD_M4_H
0x0100
[10:0] Gain coefficient. (G2),
unsigned 3.8 format (*1)
0x28
AD_CONTRAST
0X20
[5:0] Y contrast , unsigned 1.5 format
0x29
AD_HUE_SIN
0X00
[7:0] Hue SIN value (0.7 format) (*1)
[7] Sign bit
0: Positive
1: Negative
0x2A
AD_HUE_COS
0X7F
[7:0] Hue COS value (0.7 format) (*1)
[7] Sign bit
0: Positive
1: Negative


0X2B
AD_BRIGHT_OFFSET
0X00
[7:0] Brightness offset value
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 14
Confidential
14
[7] Sign bit
0: Positive
1: Negative
[6:0] Offset value
0x2C
AD_GAMMA
0x02
[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
0x2D
AD_SATURATION
0x30
[6:0] Saturation factor, 2.5 Format
(U,V) = (U,V)*Saturation
0x2E AD_DSP_TEST
0x80 Reserved
0x2F AD_DSP_CTRL
0x00 Reserved
0x30
AD_SHARP_CTRL
0x09
[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
0x31 AD_SHARP_HIGH
0x05 Reserved
0x32 AD_SHARP_LOW
0x02 Reserved
0x33
AD_AWB_CTRL
0x03
[0] Auto White Balance (AWB)
0: Disable AWB
1: Enable AWB
[1] Reserved
[2] Reserved
[6:3] Reserved
0x34 AD_AWB_OVERFLOW 0xff Reserved
0x35 AD_AWB_BRIGHT
0x00 Reserved
0x36
AD_DG_GAIN
0x18
[7:0] Digital Gain, (4.4 format)
0x37
AD_WB_RED
0x80
[7:0] AWB R Gain, (1.7 format) (*1)
0x38 AD_WB_GREEN
0x80 [7:0]
AWB G Gain, (1.7 format) (*1)
0x39 AD_WB_BLUE
0x80 [7:0]
AWB G Gain, (1.7 format) (*1)
0x3A
AD_AE_CTRL
0x17
[0] Auto Exposure
0: Disable AE
1: Enable AE
[1] Digital Gain
0: Disable
1: Enable
[2] Anti-Flicker
0: Disable
1: Enable
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 15
Confidential
15
[3] Fix frame height
0: Disable
1: Enable
[4] Reserved
0x3B AD_AEHIGH
0x65
(101)
[7:0] AE High Limit
0x3C AD_AELOW
0x55
(85)
[7:0] AE Low Limit
0x3D
0x3E
AD_BRIGHTLIMITL
AD_BRIGHTLIMITH
0x0fff
(4096)
[15:0] Bright pixel number limit
0x3F
0x40
AD_MAXFHL
AD_MAXFHH
0x04b0
(1200)
[15:0] Max. frame height, in term of row
0x41
0x42
AD_MINFHL
AD_MINFHH
0x0190
(400)
[15:0] Min. frame height, in term of row
0x43
AD_AESTEP
0x00
[6:0] AE adjust exposure time step
0x44 AD_AFSTEP
0x64
(100)
[7:0] Anti -Flicker Exposure time adjust step
0x45 AD_YBRIGHT
0xb0
(176)
[7:0] Reserved
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 16
Confidential
16
0x47 AD_RGAIN_LIMIT
0xff [7:0]
Reserved
0x48 AD_GGAIN_LIMIT
0xff [7:0]
Reserved
0x49 AD_BGAIN_LIMIT
0xff [7:0]
Reserved
0x4A AD_AE_PERIOD
0x05 [5:0]
Reserved
0X4C AD_AWB_PERIOD
0x00 [5:0]
Reserved
0X4D AD_AWB_DURATION 0x0a [3:0]
Reserved
0x52 AD_OUTSEL
0x6d
[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
0x53 AD_RAMPSEL
0x00 [7]
Reserved
0x54
0x55
AD_DSRSTL
AD_DSRSTH
0x00c8
(200)
[8:0] Reserved
0x56
0x57
AD_DSDATAL
AD_DSDATAH
0x01f9
(505)
[8:0] Reserved
0x58
0x59
AD_DSLOWL
AD_DSLOWH
0x00ff
(255)
[8:0] Reserved
0x5A
0x5B
AD_DSHIGHL
AD_DSHIGHH
0x011d
(285)
[8:0] Reserved
0x68
0x69
AD_DEADR0L
AD_DEADR0H
0x01ff
[8:0] Dead Pixel #0 Row Address
0x6A
0x6B
AD_DEADC0L
AD_DEADC0H
0x01ff
[8:0] Dead Pixel #0 Column Address
0x6C
0X6D
AD_DEADR1L
AD_DEADR1H
0x01ff
[8:0] Dead Pixel #1 Row Address
0x6E
0x6F
AD_DEADC1L
AD_DEADC1H
0x01ff
[8:0] Dead Pixel #1 Column Address
0x70
0x71
AD_DEADR2L
AD_DEADR2H
0x01ff
[8:0] Dead Pixel #2 Row Address
0x72
0x73
AD_DEADC2L
AD_DEADC2H
0x01ff
[8:0] Dead Pixel #2 Column Address
0x74
0x75
AD_DEADR3L
AD_DEADR3H
0x01ff
[8:0] Dead Pixel #3 Row Address
0x76
AD_DEADC3L
0x01ff
[8:0] Dead Pixel #3 Column Address
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 17
Confidential
17
0x77 AD_DEADC3H
0x78
0x79
AD_DEADR4L
AD_DEADR4H
0x01ff
[8:0] Dead Pixel #4 Row Address
0x7A
0x7B
AD_DEADC4L
AD_DEADC4H
0x01ff
[8:0] Dead Pixel #4 Column Address
0x7C
0x7D
AD_DEADR5L
AD_DEADR5H
0x01ff
[8:0] Dead Pixel #5 Row Address
0x7E
0x7F
AD_DEADC5L
AD_DEADC5H
0x01ff
[8:0] Dead Pixel #5 Column Address
0x82
0x83
AD_IDL
AD_IDH
0x2023
[3:0] Sub ID
[15:4] Device ID, default 0x102, can be
configured using serial bus
0x88
0x89
AD_BWIDTH_BEGINL
AD_BWIDTH_BEGINH
0x0070
(112)
[9:0] Blank begin in terms of columns
0x8A
0x8B
AD_BWIDTH_ENDL
AD_BWIDTH_ENDH
0x01Cf
(463)
[9:0] Blank end in terms of columns
0x8C
0x8D
AD_BHEIGHT_BEGINL
AD_BHEIGHT_BEGINH
0x0011
(17)
[15:0] Blank begin in terms of rows
0x8E
0x8F
AD_BHEIGHT_ENDL
AD_BHEIGHT_ENDH
0x0130
(304)
[15:0] Blank end in terms of rows
0x90 AD_DARK_DATA
0 [7:0]
When
auto dark correction is disabled,
serve as the subtrahend for dark correction
0x91 AD_SLOPEREG
0x2a
Reserved
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 18
Confidential
18
0x92 AD_TXRSTSEL
0x52
Reserved
0x93 AD_SUBPH_PULSE
0x10
Reserved
0x94 AD_BITCONTROL
0x02 Reserved
0x95
0x96
AD_SLOPE_END_TIMEL
AD_SLOPE_END_TIMEH
0x0155
(341)
Reserved
0x97
0x98
AD_WT_BEGINL
AD_WT_BEGINH
0x00 Reserved
0x99
0x9A
AD_WT_ENDL
AD_WT_ENDH
0x03fc
(1020)
Reserved
0x9B
0x9C
AD_SUB_EN_TIMEL
AD_SUB_EN_TIMEH
0x01da
(474)
Reserved
0xA1
0xA2
AD_WIDTHL_C
AD_WIDTHH_C
0x01f4
(500)
[9:0] Current frame width, read only
0xA3
0xA4
AD_HEIGHTL_C
AD_HEIGHTH_C
0x0190
(400)
[15:0] Current frame height, read only
0xA5
0xA6
AD_COL_BEGINL_C
AD_COL_BEGINH_C
0x0064
(100)
[9:0] Current column beginning position,
read only
0xA7
0xA8
AD_ROW_BEGINL_C
AD_ROW_BEGINH_C
0x000a
(10)
[9:0] Current row beginning position, read
only
0xA9
0xAA
AD_HSYNC_ENDL_C
AD_HSYNC_ENDH_C
0x0040
(64)
[9:0] Current HSync end position, read only
0xAB
0xAC
AD_VSYNC_ENDL_C
AD_VSYNC_ENDH_C
0x0003
(3)
[15:0] Current VSync end position, read
only
0xAD AD_PART_CONTROL_C 0x06
(6)
[7:0] Current part control setting, read only
0xAE
0xAF
AD_WT_BEGINL_C
AD_WT_BEGINH_C
Read
Only
Reserved
0xB0
0xB1
AD_WT_ENDL_C
AD_WT_ENDH_C
0x03fc
(1020)
Reserved
0xB2 AD_YAverage
Read
Only
Reserved
0xB3
0xB4
AD_NTBPL
AD_NTBPH
Read
Only
Reserved
0xB5 AD_AWBR
Read
Only
Reserved
0xB6 AD_AWBG
Read
Only
Reserved
0xB7 AD_AWBB
Read
Only
Reserved
0xB8
0xB9
AD_AWBpixelL
AD_AWBpixelH
Read
Only
Reserved
0xC0
AD_AWBRgain
(debug) [7:0] AWB Red Gain
0xC1
AD_AWBGgain
(debug) [7:0] AWB Green Gain
0xC2
AD_AWBBgain
(debug) [7:0] AWB Blue Gain
0xC3
AD_AFStep
(debug) [7:0] AE AFStep
0xC4
AD_AEETL
(debug) [8:0] AE AEET
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 19
Confidential
19
0xC5 AD_AEETH
Exposure
Time without Anti-Flickering
0xC6
0xC7
AD_AFETL
AD_AFETH
(debug) [8:0] AE AFET
Exposure Time with Anti-Flickering
0xC8 AD_AEHIGH_OUT
(debug) [7:0] Adjusted AEHigh
0xC9
AD_AELOW_OUT
(debug) [7:0] Adjusted AELow
0xCA AD_Testpin
(debug)
[7:0]
AE/AWB
State
[2:0] AE state
[3] 1: AWB Active
[7:4] Scene Change Counter
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 20
Confidential
20
3. Electrical Characteristics
3.1 DC Characteristics
Rating
Symbol Parameter
Minimum Typical Maximum
Unit
V
CCA
Absolute
Power
Supply
-0.3
3.8 V
V
INA
Absolute
Input Voltage
-0.3
V
CC
+ 0.3
V
V
OUTA
Absolute
Output
Voltage
-0.3
V
CC
+ 0.3
V
T
STG
Storage
Temperature
0 25 65 C
V
CC
Operating
Power
Supply
2.6 2.8 3.6 V
V
IN
Operating
Input Voltage
0 V
CC
V
T
OPR
Operating
Temperature
0 25 55 C
I
DD
Operating
Current @
V
CC
=2.8 V,
25 C @6MHz
11
mA
I
IL
Input
Low
Current
-1 1 A
I
IH
Input
High
Current
-1 1 A
I
OZ
Tri-state
Leakage
Current
-10
10 A
C
IN
Input
Capacitance
3 pF
C
OUT
Output
Capacitance
3 PF
C
BID
Bi-directiona
l Buffer
Capacitance
3 pF
V
IL
Input Low
0.3 * V
CC
V
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 21
Confidential
21
Voltage
V
ILS
Schmitt
Input Low
Voltage
1.1
V
V
IH
Input
High
Voltage
0.7 * V
CC
V
V
IHS
Schmitt
Input High
Voltage
1.8
V
V
OL
Output
Low
Voltage
0.4
V
V
OH
Output
High
Voltage
2.4
V
R
L
Input
Pull-up/dow
n Resistance
50
K
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 22
Confidential
22

3.2 Timing

ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 23
Confidential
23

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)
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 24
Confidential
24
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
352 Pixel
BLANK
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
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 25
Confidential
25

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)
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 26
Confidential
26
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
176 Pixel
BLANK
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
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 27
Confidential
27
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

0x52 bit 6=0 bit 5=1
Y1 U1 Y2 V2 Y3 U3 Y4 V4 ... ... ... Y351 U351
Y352
V352

0x52 bit 6=1 bit 5=0
U1 Y1 V2 Y2 U3 Y3 V4 Y4 ... ... ... U351 Y351
V352
Y352

0x52 bit 6=1 bit 5=1
Y1 V1 Y2 U2 Y3 V3 Y4 U4 ... ... ... Y351 V351
Y352
U352

2. 8-bit 4-2-2 YcrYCb
Data out [15:8]
0x52 bit 6=0 bit5=0
Cr1 Y1 Cb2 Y2 Cr3 Y3 Cb4 Y4 ... ... ... Cr351 Y351
Cb352
Y352

0x52 bit 6=0 bit5=1
Y1 Cb1 Y2 Cr2 Y3 Cb3 Y4 Cr4 ... ... ... Y351 Cb351
Y352
Cr352

0x52 bit 6=1 bit5=1
Cb1 Y1 Cr2 Y2 Cb3 Y3 Cr4 Y4 ... ... ... Cb351 Y351
Cr352
Y352

0x52 bit 6=1 bit5=1
Y1 Cr1 Y2 Cb2 Y3 Cr3 Y4 Cb4 ... ... ... Y351 Cr351
Y352
Cb352

3. 16-bit 4-2-2 YVYU
0x52 bit 6=0 bit 5=0
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y349 Y350
Y351
Y352
Data out [15:8]
U1 V2 U3 V4 U5 V6 U7 V8 ... ... ... U349 V350
U351
V352
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 28
Confidential
28
0x52 bit 6=0 bit 5=1
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y349 Y350
Y351
Y352
Data out [15:8]
U1 V2 U3 V4 U5 V6 U7 V8 ... ... ... U349 V350
U351
V352

0x52 bit 6=1 bit 5=0
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y349 Y350
Y351
Y352
Data out [15:8]
V1 U2 V3 U4 V5 U6 V7 U8 ... ... ... V349 U350
V351
U352

0x52 bit 6=1 bit 5=1
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y349 Y350
Y351
Y352
Data out [15:8]
V1 U2 V3 U4 V5 U6 V7 U8 ... ... ... V349 U350
V351
U352

4. 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 ... ... ... Y349 Y350
Y351
Y352
Data out [15:8]
Cb1 Cr2 Cb3 Cr4 Cb5 Cr6 Cb7 Cr8
Cb349 Cr350
Cb351
Cr352

0x52 bit 6=0 bit 5=1
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y349 Y350
Y351
Y352
Data out [15:8]
Cb1 Cr2 Cb3 Cr4 Cb5 Cr6 Cb7 Cr8 ... ... ..
Cb349 Cr350
Cb351
Cr352

0x52 bit 6=1 bit 5=0
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y349 Y350
Y351
Y352
Data out [15:8]
Cr1 Cb2 Cr3 Cb4 Cr5 Cb6 Cr7 Cb8 ... ... ... Cr349 Cb350
Cr351
Cb352
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 29
Confidential
29
0x52 bit 6=1 bit 5=1
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y349 Y350
Y351
Y352
Data out [15:8]
Cr1 Cb2 Cr3 Cb4 Cr5 Cb6 Cr7 Cb8 ... ... ... Cr349 Cb350
Cr351
Cb352

5. 24-bit RGB
0x52 bit 6=0 bit 5=0
Data out [7:0]
B1 G1 R2 G2 B3 G3 R4 G4 ... ... ... B351 G351
R352
G352
Data out [15:8]
G1 R1 G2 B2 G3 R3 G4 B4 ... ... ... G351 R351
G352
B352

0x52 bit 6=0 bit 5=1
Data out [7:0]
G1 R1 G2 B2 G3 R3 G4 B4 ... ... ... G351 R351
G352
B352
Data out [15:8]
B1 G1 R2 G2 B3 G3 R4 G4 ... ... ... B351 G351
R352
G352

0x52 bit 6=1 bit 5=0
Data out [7:0]
R1 G1 B2 G2 R3 G3 B4 G4 ... ... ... R351 G351
B352
G352
Data out [15:8]
G1 B1 G2 R2 G3 B3 G4 R4 ... ... ... G351 B351
G352
R352

0x52 bit 6=1 bit 5=1
Data out [7:0]
G1 B1 G2 R2 G3 B3 G4 R4 ... ... ... G351 B351
G352
R352
Data out [15:8]
R1 G1 B2 G2 R3 G3 B4 G4 ... ... ... R351 G351
B352
G352

6. 16-bit RGB (5,6,5)
Data out [15:0]
5bit 6bit 5bit 5bit 6bit 5bit 5bit 6bit 5bit ... ... ... 5bit 6bit bit
B1 G1 R1 B2 G2 R2 B3 G3 R3 ... ... ...
B352
G352
R352
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 30
Confidential
30
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

0x52 bit 6=0 bit 5=1
Y1 U1 Y2 V2 Y3 U3 Y4 V4 ... ... ... Y174 U174
Y175
V175

0x52 bit 6=1 bit 5=0
U1 Y1 V2 Y2 U3 Y3 V4 Y4 ... ... ... U174 Y174
V175
Y175

0x52 bit 6=1 bit 5=1
Y1 V1 Y2 U2 Y3 V3 Y4 U4 ... ... ... Y174 V174
Y175
U175

2. 8-bit 4-2-2 YcrYCb
Data out [15:8]
0x52 bit 6=0 bit5=0
Cr1 Y1 Cb2 Y2 Cr3 Y3 Cb4 Y4 ... ... ... Cr174 Y174
Cb175
Y175

0x52 bit 6=0 bit5=1
Y1 Cb1 Y2 Cr2 Y3 Cb3 Y4 Cr4 ... ... ... Y174 Cb174
Y175
Cr175

0x52 bit 6=1 bit5=1
Cb1 Y1 Cr2 Y2 Cb3 Y3 Cr4 Y4 ... ... ... Cb174 Y174
Cr175
Y175

0x52 bit 6=1 bit5=1
Y1 Cr1 Y2 Cb2 Y3 Cr3 Y4 Cb4 ... ... ... Y174 Cr174
Y175
Cb175

3. 16-bit 4-2-2 YVYU
0x52 bit 6=0 bit 5=0
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y172 Y173
Y174
Y175
Data out [15:8]
U1 V2 U3 V4 U5 V6 U7 V8 ... ... ... U172 V173
U174
V175
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 31
Confidential
31
0x52 bit 6=0 bit 5=1
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y172 Y173
Y174
Y175
Data out [15:8]
U1 V2 U3 V4 U5 V6 U7 V8 ... ... ... U172 V173
U174
V175

0x52 bit 6=1 bit 5=0
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y172 Y173
Y174
Y175
Data out [15:8]
V1 U2 V3 U4 V5 U6 V7 U8 ... ... ... V172 U173
V174
U175

0x52 bit 6=1 bit 5=1
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y172 Y173
Y174
Y175
Data out [15:8]
V1 U2 V3 U4 V5 U6 V7 U8 ... ... ... V172 U173
V174
U175

4. 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 ... ... ... Y172 Y173
Y174
Y175
Data out [15:8]
Cb1 Cr2 Cb3 Cr4 Cb5 Cr6 Cb7 Cr8
Cb172 Cr173
Cb174
Cr175

0x52 bit 6=0 bit 5=1
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y172 Y173
Y174
Y175
Data out [15:8]
Cb1 Cr2 Cb3 Cr4 Cb5 Cr6 Cb7 Cr8 ... ... ...
Cb172 Cr173
Cb174
Cr175

0x52 bit 6=1 bit 5=0
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y172 Y173
Y174
Y175
Data out [15:8]
Cr1 Cb2 Cr3 Cb4 Cr5 Cb6 Cr7 Cb8 ... ... ... Cr172 Cb173
Cr174
Cb175
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 32
Confidential
32

0x52 bit 6=1 bit 5=1
Data out [7:0]
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 ... ... ... Y172 Y173
Y174
Y175
Data out [15:8]
Cr1 Cb2 Cr3 Cb4 Cr5 Cb6 Cr7 Cb8 ... ... ... Cr172 Cb173
Cr174
Cb175

5. 24-bit RGB
0x52 bit 6=0 bit 5=0
Data out [7:0]
B1 G1 R2 G2 B3 G3 R4 G4 ... ... ... B174 G174
R175
G175
Data out [15:8]
G1 R1 G2 B2 G3 R3 G4 B4 ... ... ... G174 R174
G175
B175

0x52 bit 6=0 bit 5=1
Data out [7:0]
G1 R1 G2 B2 G3 R3 G4 B4 ... ... ... G174 R174
G175
B175
Data out [15:8]
B1 G1 R2 G2 B3 G3 R4 G4 ... ... ... B174 G174
R175
G175

0x52 bit 6=1 bit 5=0
Data out [7:0]
R1 G1 B2 G2 R3 G3 B4 G4 ... ... ... R174 G174
B175
G175
Data out [15:8]
G1 B1 G2 R2 G3 B3 G4 R4 ... ... ... G174 B174
G175
R175

0x52 bit 6=1 bit 5=1
Data out [7:0]
G1 B1 G2 R2 G3 B3 G4 R4 ... ... ... G174 B174
G175
R175
Data out [15:8]
R1 G1 B2 G2 R3 G3 B4 G4 ... ... ... R174 G174
B175
B175

6. 16-bit RGB (5,6,5)
Data out [15:0]
5bit 6bit 5bit 5bit 6bit 5bit 5bit 6bit 5bit ... ... ... 5bit 6bit bit
B1 G1 R1 B2 G2 R2 B3 G3 R3 ... ... ...
B175
G175
R175
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 33
Confidential
33
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
Duty Cycle
30 50.0%
15 50.0%
10 66.6%
6 60.0%
5 50.0%
3 50.0%
2 53.3%
1 50.0%
ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 34
Confidential
34

4. Mechanical Information
Figure 3. Shrunk PLCC48 Packaging


ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 35
Confidential
35



Figure 4. T Type 9 x 9 MM LCC48 Plastic Package








ICM202B CIF/QCIF CMOS sensor with digital YUV output
Data Sheet V2.0, February 2003
2000, 2001,2002, 2003 IC Media Corporation & IC Media Technology Corp
2/5/2003
web site:
http://www.ic-media.com/
web site:
http://www.ic-media.com.tw/
page 36
Confidential
36








5. Ordering Information







IC Media Corporation

545 East Brokaw Road
San Jose, CA 95112, U.S.A.
Phone: (408) 451-8838
Fax: (408) 451-8839
Email: Sales@IC-Media.Com
Web Site:
www.ic-media.com
IC Media Technology Corporation

6F, No. 61, ChowTze Street., NeiHu District
Taipei, Taiwan, R.O.C.
Phone: 886-2-2657-7898
Fax: 886-2-2657-8751
Email: Ap.Sales@IC-Media.Com.tw
Web Site: www.ic-media.com.tw
Description
Part Number
"S" Type Shrunk Plastic LCC 48 package, CIF resolution sensor with YUV output
ICM-202Bsa
"T" Type LCC48 Plastic Package, CIF resolution sensor with YUV output
ICM-202Bta