ETC SPCA504A

Preliminary
SPCA504A
Data Sheet
Dual Mode PC Camera Processor
Sunplus Camera Solution
SPCA504A
Data Sheet
Version 0.2.1
SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice.
Information provided by SUNPLUS TECHNOLOGY CO.
is believed to be accurate and reliable. However, SUNPLUS TECHNOLOGY CO. makes no warranty for any errors which may appear in this document.
Contact SUNPLUS TECHNOLOGY CO. to obtain the latest version of device specifications before placing your order. No responsibility is assumed by
SUNPLUS TECHNOLOGY CO. for any infringement of patent or other rights of third parties which may result from its use.
In addition, SUNPLUS products
are not authorized for use as critical components in life support devices/ systems or aviation devices/systems, where a malfunction or failure of the product
may reasonably be expected to result in significant injury to the user, without the express written approval of Sunplus.
PAGE 1
Preliminary
Data Sheet
SPCA504A
Table of Contents
1. GENERAL DESCRIPTION.............................................................................................................................................3
2. FEATURE ..........................................................................................................................................................................3
3. PIN DESCRIPTION .........................................................................................................................................................4
3.1 PIN ASSIGNMENT FOR 160-PIN PACKAGE .........................................................................................................................4
3.2 PIN ASSIGNMENT FOR 128-PIN PACKAGE .......................................................................................................................10
4. FUNCTIONAL DESCRIPTION....................................................................................................................................15
4.1 BLOCK DIAGRAM ..........................................................................................................................................................15
4.2. CAMERA OPERATION MODES .......................................................................................................................................16
5. PACKAGE - 160 PINS....................................................................................................................................................17
6. PACKAGE - 128 PINS....................................................................................................................................................19
REVISION HISTORY........................................................................................................................................................20
© Sunplus Technology Co., Ltd.
Proprietary & Confidential
PAGE 2
31 May 2001
Preliminary Version: 0.2.1
Preliminary
Data Sheet
SPCA504A
1. General description
The SPCA504A is a digital camera processor chip that provides a complete solution for dual mode camera
applications. This chip integrates image sensor interface, digital video input interface, color image processor,
storage media controller, JPEG image compression engine, USB interface, and a built-in micro-controller. The
SPCA504A supports both CCD and CMOS image sensors up to 1.1M and 2.0M pixels respectively. It is
designed to fulfill all the requirements for the dual mode camera applications. The SPCA504A camera processor
chip includes not only the latest technology, but also the full services and support of Sunplus.
2. Feature
The main functions of the SPCA504A includes:
● DSC mode
: capture one frame each time
● Video clip mode : capture a video with frame rate 15~30 frames/sec
● PC-camera mode : 30 frames/sec for CIF size, 20 frames/sec for VGA size
The SPCA504A chip has many image-processing functions that include:
● High quality color interpolation
● Two-dimensional edge enhancement
● Bad pixels concealment
● AE/AWB parameter windows cover full range of the sensor
The SPCA504A supports image CCD/CMOS sensors up to 1.1M/2.1M pixels. Some of them are listed below.
CCD
● VGA : Sharp LZ24BP, Sony ICX098AK, Panasonic MN3777
● XGA : Sony ICX204AK
● SXGA : Panasonic MN3778 (progressive)
CMOS
● VGA:
HP HDCS2020, PHOTOBIT PB320, OMMNIVISION OV7620, HYUNDAI HV7131B,
SHARP LZ34B10, PIXART PAS202, TASC TAS5130A, BIOMORPHIC BI8602, IC MEDIA
ICM205DL, MOTOROLA SCM20014, National Semiconductor LM9627, Century
Semiconductor CS2102
● SVGA: HYUNDAI HV7141B
● XGA : PIXELCAM PCS2112
● SXGA: Motorola MCM20027
The DRAM interface supports 16M bits and 64M bits SDRAM modules through a 16-bit data bus.
Audio functions that the SPCA504A supports include audio class, audio capture, audio record and playback.
● It supports bi-directional AC-link for audio record and playback.
● It supports MP3 decoder interface for MP3 decoding and playback.
● It supports microphone interface for audio record.
● It supports an IMA-ADPCM compatible ADPCM compression engine for audio compression.
In addition to the external SDRAM module, the SPCA504A supports many storage media. That include:
● NAND-gate flash memory (smart media card)
● NOR-type flash memory
● ATAPI interface (ATAPI CDRW, compact flash memory)
● SPI serial flash memory, both mode0 and mode 3 supported (MultiMediaCard)
● Next Flash serial flash memory
● SD Card
© Sunplus Technology Co., Ltd.
Proprietary & Confidential
PAGE 3
31 May 2001
Preliminary Version: 0.2.1
Preliminary
Data Sheet
SPCA504A
The SPCA504A supports JPEG image compression at YUV422 and YUV 420 chroma format. It can also
compress BW (black-and-white) images. The output data format is compliant with JFIF bitstream format. An
automatic scale-down function is included to fit in the display size under playback mode.
The USB interface supports following pipes to PC. They are:
● Video ISO-IN pipe : for video data transmission to the PC
● Audio ISO-IN pipe : for Audio data transmission to the PC
● BULK-IN pipe
: for uploading image from the camera to the PC
● BULK-OUT pipe : for download image data, audio data, firmware, and MP3 data to the camera.
● INTERRUPT-IN pipe: For reporting status and events of the camera to the PC
The SPCA504A has a built-in 8032 micro-controller with 6K bytes of internal SRAM.
● It supports ISP (in-system-programming with 4K bytes of shadow space).
● It has built-in 64K bytes of mask ROM.
● It supports LOW-POWER mode and IDLE mode.
The SPCA504A has a built-in PLL to supply on-chip clock sources.
The SPCA504A is packaged in either 128-pin QFP or 160-pin LQFP.
The SPCA504A needs 3.3/2.5 dual power supply.
3. Pin description
rgb5
rgb6
rgb7
rgb8
rgb9
v1
v2
v3
sg
sub
fr
fh1
fh2
pblk
ovdd4
ovss4
rs
fs
fcds
adclp
obclp
adck
sen
sck
sdo
dvdd4
dvss4
avssd
avss
alc
mic
opi
opo
avdd
vref
uvss
dp
dm
uvdd
suspend
9
2
9
1
9
0
8
9
8
8
fmgpio1
9
3
fmgpio0
9
4
fmgpio13
9
5
fmgpio14
9
6
fmgpio15
9
7
fmgpio17
9
8
fmgpio16
9
9
fmgpio18
1
0
0
gpio8
gpio9
1
0
1
fmgpio19
gpio10
1
0
2
sdclk
1
0
3
rasnn
1
0
4
casnn
1
0
5
mwenn
1
0
6
dqm
1
0
7
cke
1
0
8
ovdd3
1
0
9
ma0
1
1
0
ovss3
1
1
1
ma2
1
1
2
ma1
ma3
1
1
3
ma4
dvdd3
1
1
4
ma5
dvss3
1
1
5
ma6
trap
1
1
6
ma7
rgb0
1
1
7
ma8
rgb1
1
1
8
ma9
rgb2
1
1
9
ma11
rgb3
1
2
0
ma10
rgb4
rgb5
rgb6
rgb7
3.1 Pin assignment for 160-pin package
8
7
8
6
8
5
8
4
8
3
8
2
8
1
121
122
80
79
123
124
125
78
77
76
126
127
75
73
128
129
73
72
130
131
71
70
132
133
134
69
68
67
135
136
66
65
SPCA504A
(160 pin)
137
138
139
140
64
63
62
61
141
142
60
59
143
144
145
58
57
56
146
147
55
54
148
149
53
52
150
151
51
50
152
153
49
48
154
155
156
47
46
45
157
158
44
43
159
160
42
41
1
2
3
4
5
6
7
8
9
1
0
1
1
1
2
1
3
1
4
1
5
1
7
1
8
1
9
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
2
9
3
0
3
1
3
2
3
3
3
4
3
5
3
6
3
7
3
8
3
9
p35
p34
p31
p30
p17
p16
p15
p14
p13
4
0
p12
p11
p10
gpio7
gpio6
gpio5
gpio4
gpio3
gpio2
gpio1
gpio0
dvss1
dvdd1
p37
p36
intnn
p27
p26
p25
p24
p23
p22
p21
p20
ovss1
xtalout
xtalin
ovdd1
p07
p06
p05
p04
p03
p02
p01
p00
romwrnn
psen
ale
prstnn
© Sunplus Technology Co., Ltd.
Proprietary & Confidential
1
6
fmgpio2
fmgpio3
fmgpio4
fmgpio5 / ma12
fmgpio6 / ma13
fmgpio7
fmgpio8
fmgpio9
fmgpio10
fmgpio11
fmgpio12
dvss2
dvdd2
md15
md14
md13
md12
md11
md10
md9
md8
md7
md6
md5
md4
md3
md2
md1
md0
ovss2
ovdd2
PAGE 4
31 May 2001
Preliminary Version: 0.2.1