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 on 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, which 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
ICM-532B is a single-chip, CIF resolution, digital color PC camera with integrated data compression, line
buffer and Full Speed USB 1.1 interface. All the image processing functions (color interpolation, color
correction, auto white balance, auto exposure, auto anti-flickering, sharpening) are performed by software in
the host computer. It incorporates a 352x288 sensor array operating at 6 ~ 30 frames per second in
progressive manner. Each pixel is covered by a color filter, which forms a “Bayer pattern.” Correlated
double sampling is performed by the internal ADC and timing circuitry. The raw data can be adjusted with
digital gain. The raw data is compressed using a proprietary compression scheme. The compression allows
video out in 8-bit compressed data format through USB 1.1 with 30 frames per second video capability. For
higher frame-rates, sub-sampled or cropped QCIF (176x144) modes are available that support 35 frames per
second.
8 Pins are supplied that can be programmed by the driver as general purpose I/O pins, with individually
selectable output enables. During power-up, the internal control registers can be loaded from an external
serial EEPROM. This allows customization of Vendor ID and Product ID, as well as initialization of other
device parameters.
The 48 MHz clock required for the ICM-532B is provided by an on-chip phase-lock loop that is driven by an
external 6 MHz crystal oscillator. Using a PLL reduces power dissipation, electrical noise and the cost of the
crystal. It also reduces the need for EMI shielding that would be required if a 48 MHz oscillator were used.
The highest frequency external signal is the 12Mbps on the differential USB data pins.
Software Support
•Computer & OS requirements: 750 MHz, 64M memory for 30 fps; 300 MHz, 64M memory for 12 fps.
Windows 98, Windows ME, Windows 2000
36 DN B,IO USB D- connection
37 DP B,IO USB D+ connection
40 XIN A,I 6 MHz Crystal Input
39 XOUT A,O 6 MHz Crystal Output
3,5,34 Reserved D,O Leave Unconnected
44 Test D, I, N Leave Unconnected
2 Clock_S D, IO Serial clock, for external serial EEPROM
1 Data_S D, IO Serial data, for external serial EEPROM
16 RSET A,I
8 RSTN D,SI,U Chip Reset, active low
15 RAMP A,O Analog Test Output
46 GPIO 0 D,IO User Programmable I/O, Requires External Pull-up
47 GPIO 1 D,IO User Programmable I/O, Requires External Resistor
48 GPIO 2 D,IO User Programmable I/O, Requires External Pull-up
10 GPIO 3 D,IO User Programmable I/O
11 GPIO 4 D,IO User Programmable I/O
12 GPIO 5 D,IO User Programmable I/O
13 GPIO 6 D,IO User Programmable I/O
14 GPIO 7 D,IO User Programmable I/O
7,27,31 VDDA P Sensor & PLL Analog Power
9,28,30 GNDA P Sensor & PLL Analog Ground
19 VDDD P Sensor Digital Power
17 GNDD P Sensor Digital Ground
4,26,33,
38,41,43
6,29,32,
35,42,45
18 GNDS P Substrate Ground
VDDK P Digital Power
GNDK P Digital Ground
Resistor to Ground = 75 ΚΩ
ΚΩ
ΚΩΚΩ
Class Code: A – Analog signal, D – Digital signal, I – Input, SI – Schmitt Input, O – Output, IO – Bidirectional, P – Power or
ground, U – Internal pull-up, N – Internal pull-down, B – USB Pad
2. Functional Description
ICM-532B is a single-chip USB digital color 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 through the USB interface which can address the register file consisting of 8-bit registers.
The internal CIF image sensor is based upon the ICM-102B. The output format is USB 1.1 compatible
compressed video data using a single ISOCHRONOUS channel. Dead pixels and dead columns are
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 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.
2.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
needs 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
2.3. Exposure and Gain Control
The brightness of the scene may change by a great amount that renders the captured image either
during power-up, the Serial interface will first act as a master device, trying to read from an external
EEPROM (24C02/04/08/16). The first word read will indicate the number of bytes to transfer from the
external EEPROM. After transferring these bytes, or failing to access an external device, the
ICM-532B will behave like a slave device. The external EEPROM is addressed at address 0x50, and
must be 3.3v compatible.
Address Name Default Description
0:00h PART_CONTROL 0 Processing control
[0] 0: normal 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 the exposure time
change is finished, 1 means the exposure time
change is still in progress.
[6:3] Reserved
[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
•*These registers are updated at the next falling edge of VSYNC after register UPD is set. The
occurrence of the update is marked in the video output by clearing bit 7 of the packet header. i.e. 80
=> 00. This bit remains set until register UPD is cleared.
4. GPIO
4.1. General Purpose I/O pins
There are 8 pins that can be programmed by the user as general purpose Input/Output pins. Three of the
pins are required to have pull-up or pull-down resistors attached to select device functionality at the
rising edge of NRST.
1. Special Purpose:
GPIO[0] Pull-up.
It is possible to configure this output as an active low power-down pin, driven by the USB
controller Suspend signal. When so configured, all external power except pins 4, 33, and 43 may be
removed while this pin is driven low.
It is also possible to configure this output as an active low power-on pin, connected to an
external LED. When so configured, an external LED with 8ma current limiting resistor will be on
GPIO[1] Pull-up.
To enable external Serial EEPROM for register loads, Pull-down to disable this feature.
GPIO[2] Pull-up.
To select crystal oscillator clock source. Required condition
2. General Purpose:
The other 5 GPIO pins have no Pull-up/Pull-down requirements. All of these pins default to inputs at
device reset. If the pins are to remain unused, an external pull-up is recommended to prevent the inputs
from floating.
To use an external switch, use a pull-up, and connect the switch between the GPIO pin and ground, and
poll the selected pin in register 58. The pull-up will return a high value, and a switch event will return a
low value.
5. Programming
5.1. Special considerations
There are several registers that need to be correctly programmed for device operation. If custom Vendor
ID/Product ID values are required, these registers should be programmed by an external Serial
EEPROM before the USB controller accesses the part
Product ID registers be programmed first. This allows the correct values to be set before the USB
configuration after power-up. After that, the driver can look for a specific register value to indicate the
end of Serial programming. During the initialization phase, if an external EEPROM is used, care must
be taken by the driver to not accesses registers while the EEPROM is transferring data. The driver
software should delay an appropriate time before accessing the registers.
Expansion RAM:
To access the internal 256Byte expansion RAM, load the RAA register with the desired address, and
read or write the RAD register.
Device Programming:
The maximum size of a USB data transfer is 8 bytes. Transfers larger than this will not read/write the
correct data values.
6. Electrical Characteristics
6.1. DC Characteristics
⊥
. It is recommended that the Vendor ID and
⊥
Customization of the VID/PID is available at a cost for large volume orders.
°C
Input Low
Current
Input High
Current
Tri-state
Leakage
Current
Input
Capacitance
Output
Capacitance
Minimum Typical Maximum
40 mA
500 uA
-1 1
-1 1
-10 10
3 pF
3 pF
Rating
Units
µA
µA
µA
page 11Company Confidential
ICM532B CIF Color CMOS Sensor with USB Output
Data Sheet, V 1.1 November, 2002
C
BID
RO
RL
4. Electrical DC Characteristics
VCC
VOH
VUL
VUH
6.2. Clocking
The ICM-532B clock is generated from an external low cost 6MHz crystal. The on-board PLL
generates the required USB clock and the Video Clock. The nominal Video Clock rate is 8MHz. This
rate can be altered by setting either the Fastclock ( *1.5 ) or Slowclock ( /2.0 ) register bits.
Video Timing examples:
At 8MHz, the Video clock generates 1 pixel every 250ns, a line (500 pixels) every 125us, and 8 lines
every 1ms. This produces 8 lines to be packed into 1 USB data transfer, to make a 24 fps QVGA (352
x288) transfer rate.
At 12MHz, the Video clock generates 1 pixel every 166.7ns, a line (600 pixels) every 100us, and 10
lines every 1 ms. This produces 10 lines to be packed into 1 USB data transfer, to make a 30 fps QVGA
(320x240) transfer rate.
At 12MHz, the Video clock generates 1 pixel every 166.7ns, a line (500 pixels) every 83.3us, and 12
lines every 1 ms. This produces 6 lines to be packed into 1 USB data transfer, to make a 35 fps QCIF
(176 x 144) transfer rate.
Bi-directional
Buffer
Capacitance
USB Output
Impedance
Input
Pull-up/down
Resistance
Operating
Power Supply
Output High
Voltage
USB Output
Low Voltage
USB Output
High Voltage
ICM532B supports SPLCC (Plastic Shrunk LCC48 Packaging) packaging. Note that pin 1 should
point to the top of the camera when a lens and the default driver are used.
Figure 4. SPLCC48 Packaging
8. Board Design Information
Components:
• ICM-532B
• 6MHz Crystal
• RSET resistor
• USB connector or cable with 1.5kΩ pull-up on DP.
• 3.3v voltage regulator and associated components
• Power Supply filter capacitors
• Pull-up for SDA, SCL, GPIO0 GPIO1, and GPIO2
• If desired: Reset circuitry. A 0.1uF capacitor on RSTN is sufficient for power-on reset.
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
6F, No. 61, ChowTze Street., NeiHu District
Tai pei, Ta iwa n, R.O .C.
Phone: 886-2-2657-7898
Fax: 886-2-2657-8751
Email: Sales@IC-Media.Com
Web Site: www.ic-media.com