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
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.
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
• 101,376 (352x288) pixels, CIF format, used with 1/7” optical system
• Progressive readout
• Output data format: 8 -bit raw data
• Control interface: SIF
• Electronic exposure control
• On-chip 9-bit ADC
• Correlated double sampling
• Video mode at frame rate of 30/15/10/6/5/3/2/1 fps
• Dead column removal
• Flash light control
• Power down mode
• Automatic optical black compensation
• Support both master and slave mode
• Mirror image
• Single 3.3 V power supply
General Description
ICM-102A is a single-chip digital color imaging device. It incorporates a 352x288 sensor array (362x298 in
physical layout) operating at 1 ~ 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. The raw data can be adjusted by the digital gain for all pixels, or be
adjusted separately for the 4 Bayer pattern pixels. The output format is 8-bit raw data which can be fed to
other DSP, color processing, or compression chips.
Pin # Name Class* Function
14 CLKSEL D, I, N Clock source selection. 0: internal oscillator, 1:
CLKIN
11 CLKIN D, I, N External clock source
12 XIN A, I Oscillator in
13 XOUT A, O Oscillator out
34 PCLK D, O Pixel clock output
36 OEN D, I, N Output enable. 0: enable, 1: disable
32 SIFID D, I, N Lsb of SIF slave address
33 MSSEL D, I, U SIF master/slave selection. 0: slave, 1: master
2 SCL D,
I/O
1 SDA D,
I/O
10 POWERDN D, I, N Power down control, 0: power down, 1: active
16 RSET A, I
8 RSTN D, I, U Chip reset, active low
48 DOUT[7] D, O Data output bit 7
47 DOUT[6] D,
I/O
46 DOUT[5] D,
I/O
44 DOUT[4] D,
I/O
41 DOUT[3] D,
I/O
39 DOUT[2] D,
I/O
38 DOUT[1] D,
I/O
37 DOUT[0] D,
I/O
3 HSYNC D,
I/O
5 VSYNC D,
I/O
35 FLASH D, O Flash light control
15 RAMP A, O Analog ramp output
7, 31 VDDA P Sensor analog power
9, 30 GNDA P Sensor analog ground
19 VDDD P Sensor digital power
17 GNDD P Sensor digital ground
SIF clock
SIF data
Resistor to ground = 39 KΩ @ 12 MHz main clock
Data output bit 6; if pulled up/down, the initial
value of TIMING_CONTROL_LOW[2] (VSYNC
polarity) is 1/0
Data output bit 5; if pulled up/down, the initial
value of TIMING_CONTROL_LOW[1] (HSYNC
polarity) is 1/0
Data output bit 4; if pulled up/down, the initial
value of AD_IDL[3] (Sub ID) is 1/0
Data output bit 3; if pulled up/down, the initial
value of AD_IDL[2] (Sub ID) is 1/0
Data output bit 2; if pulled up/down, the initial
value of AD_IDL[1] (Sub ID) is 1/0
Data output bit 1; if pulled up/down, the initial
value of AD_IDL[0] (Sub ID) is 1/0
Data output bit 0; if pulled up/down, the
synchronization mode is in master/slave mode
which requires HSYNC and VSYNC operating in
output/input mode
Horizontal sync signal
ICM-102A is a single-chip digital colo r imaging device. It includes a 352x288 sensor array, 352
column-level ADC, and correlated double sampling circuitry. All the programmable parameters are set
by writing into the SIF interface which can address the register file consisting of 8-bit registers. The
output format is 8-bit raw data, together with horizontal and vertical sync signals.
I2C
Interface
Timing
Control
Sensor Array
352x288
Column-Level
ADC
Correlated
Double
Sampling
Digital
Gain
RGB Output
Format Control
Figure 1. Block diagram
2.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 is pre -charged to its
maximum value. Then the row is exposed to light for several lines worth of time and sampled by the
ADC. A “Correlated Double Sampling (CDS)” process is performed with 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.
2.2 Color Filter
Each pixel is covered by a color filter. They form the Bayer Pattern as shown in Figure 3. (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.
RRGGRRGG
GBGBGBGB
RRGGRRGG
GBGBGBGB
Figure 2. Color filter Bayer pattern
2.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 individual R/G1/G2/B gain (default at 3.8 format for 1/256 to 8) of the 4 Bayer pattern
pixels separately.
2.4 Output Format
During normal operation, the output format is 8-bit raw data that ranges from 0 to 255. It may be used for
off-chip color processing or compression. A typical configuration is to connect ICM-102A to a
USB/Compression combo chip. When operated at 30 fps, the PCLK is 6 MHz when the input main clock
is 12 MHz.
In addition to the data pins, the chip also output VSYNC, HSYNC, BLANK, and PCLK. The length and
polarity of VSYNC and HSYNC can be adjusted through registers. The line and frame timing can be
adjusted through registers AD_WIDTH and AD_HEIGHT.
2.5 SIF Interface
Register programming is through SIF interface (SCL and SDA pins). The 7-bit SIF device address is 0x20
by default, but the last bit can be configured by the SIFID pin. ICM-102A can operate in either SIF master
mode or slave mode right after power up, depending on the pull-up or pull-down of the MSSEL pin.
When MSSEL is pulled low during power -up, ICM-102A’s SIF interface is operated as an SIF slave device,
waiting to be controlled by an external SIF master such as a microprocessor. When MSSEL is pulled high
during power-up , the SIF interface is first acting as an SIF master device trying to read from an external
SIF EEPROM. After that, it will fall back to behave like an SIF slave.
[0] 0: normal mode, 1: single frame mode
[1] Slope adjustment enable
[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: 20 fps
2: 15 fps
3: 12 fps
4: 10 fps
5: 6 fps
6: 5 fps
7: 4 fps
8: 3 fps
9: 2 fps
10: 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
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: