DigitalPC-camerasignalprocessor
including microcontroller and USB
interface
Product specification
Supersedes data of 2000 Dec 6
File under Integrated Circuits, IC22
2001 May 04
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
microcontroller and USB interface
FEATURES
• Embedded microcontroller (80C51 core based) for
control loops Auto Optical Black (AOB), Auto White
Balance (AWB), AutoExposure (AE) and USB interface
control
• Compliant for VGA CCD and VGA CMOS sensors
(RGB Bayer)
• USB 1.1 compliant bus-powered USB device with
integrated power management and POR circuit
• RGB processing
• Optical black processing
• Defect pixel concealment
• Programmable colour matrix
• RGB to YUV transform
• Programmable gamma correction (including knee)
• Programmable edge enhancement
• Video formatter with SIF/QSIF downscaler
• Compression engine
• Flexible Measurement Engine (ME) with up to eight
measurements per frame
• Internal Pulse Pattern Generator (PPG) for wide range
of VGA CCDs (Sony, Sharp and Panasonic) and frame
rate selection
• ProgrammableH and V timing for thesupport of CMOS
sensors
• Programmable output pulse for switched mode power
supply of the sensor
• 3-wireinterface to control anexternal pre-processor IC,
such as the TDA8787A: Correlated Double
Sampling (CDS), Automatic Gain Control (AGC) and
10-bit ADC
• Analog microphone/audio input to USB: Low DropOut
(LDO) supply filter, microphone supply, low noise
amplifier, programmable amplifier, PLL and ADC
• Integrated analog USB driver (ATX)
• Integrated main oscillator, including a clock PLL, which
derives 48 MHzmain systemclock froma 12 or48 MHz
fundamental crystal.
APPLICATION
• USB PC-camera (video and audio).
GENERAL DESCRIPTION
The SAA8116 is a highly integrated third generation
USB PC-camera ICs. It is the successor to the
SAA8112HL and SAA8115HL. It processes the digitized
sensor data and converts it to a high quality, compressed
YUV signal. Together with the audio signal, this video
signal is then properly formatted in USB packets.
In addition, an 80C51 microcontroller derivative with five
I/O ports, I2C-bus, 512 bytes of RAM and 32 kbytes of
program memory is embedded in the SAA8116. The
microcontroller is used in combination with the
programmable statistical measurement capabilities to
provideadvanced AE, AWBand AOB.Themicrocontroller
is also used to control the USB interface.
Measured over full voltage and temperature range: VDD= 3.3 V ±10% and T
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX.UNIT
V
DD
I
DD(tot)
V
i
V
o
f
(i)xtal
supply voltage3.03.33.6V
total supply currentVDD= 3.3 V; T
=25°C (typ.)−85
amb
input voltage3.0V<VDD< 3.6 Vlow voltage TTL compatibleV
output voltage3.0V<VDD< 3.6 Vlow voltage TTL compatibleV
crystal input frequencynote 3−12 or 48 −MHz
δcrystal frequency duty factor−50−%
P
tot
T
stg
T
amb
T
j
total power dissipation; note 1 VDD= 3.3 V; T
=25°C (typ.)−280350mW
amb
storage temperature−55−+150°C
ambient temperature02570°C
junction temperatureT
=70°C−40−+125°C
amb
Notes
1. Typical: VGA at 15 fps.
2. Maximum: SIF at 30 fps.
3. The crystal input frequency can be 12 or 48 MHz, depending on the use of the internal CPLL (selectable via
pin XSEL).
= 0 to 70 °C; unless specified.
amb
(1)
105
(2)
mA
2001 May 043
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to berotated correctly when browsing through the pdf in theAcrobat reader. white to force landscape pages to be...
2001 May 044
BLOCK DIAGRAM
Digital PC-camera signal processor including
microcontroller and USB interface
Philips SemiconductorsProduct specification
PXL9 to PXL0
STROBE
SDATA
SCLK
GPI1
GPI2
GPI3
LED
FULLPOWER
SNAPRES
PRIVRES
SDA, SCL
EA
ALE, PSEN
AD14 to AD8
P0.7 to P0.0
11, 12,
13, 14,
15, 16,
17, 18,
19, 20
25
27
26
34
70
71
4
89
28
29
33, 32
54
49, 50
48, 51, 47,
52, 46, 53,
45
39, 38, 40,
37, 41, 35,
42, 36
H
V ASCLK PCLK
VSP
WINDOW TIMING AND
CONTROL REFERENCE TIMING
PRE-
PROCESSING
PRE-PROCESSING
80C51
MICROCONTROLLER
RECONSTRUCTION
INTERFA CE
2
V
DDA1,
V
DDA2
RGB
72, 81
FV1, FV2
VIDEO
FORMA TTER
VFC
3
75, 78, 68
AGND1 to
AGND3
FV3, FV4
RGB
PROCESSING
MEASUREMENT ENGINE
ROG
FH1, FH2
PULSE PATTERN GENERATOR
RGB TO
COMPRESSION
ENGINE
SAA8116
2
V
DDD1,
V
DDD2
56, 21
V
6
DD1
V
DD6
BCP, DCP
CRSTRGFS, FCDS
PROCESSING
YUV
PROCESSING
TRANSFER
BUFFER
8
7, 30, 43,
76, 87, 99
to
8, 31, 44, 77,
88, 100, 55, 22
GND1 to
GND8
SMP RESERVED1
Y
UV
USB
INTERFACE
RESERVED2, RESERVED3
946483, 8423, 245, 692979391, 903, 981, 29109695
MODE
DECODER
4 : 2 : 2
FORMATTER
AUDIO
DECIMATION
POWER
MANAGEMENT
ANALOG MODULES
LDO
SUPPLY
FILTER
MICROPHONE
SUPPLY
AUDIO
LOW NOISE
AMPLIFIER
PROGRAMMABLE
AUDIO GAIN
AMPLIFIER
AUDIO PLL
AUDIO ADC
OSCILLATOR
AND CPLL
ATX
POR
65,
66,
57
58
59
60
61
62
63
67
3
85
74
73
80
79
82
86
69
LDOIN
LDOFIL
LDOOUT
MICSUPPLY
MICIN
LNAOUT
PGAININ
V
ref1,
V
ref2,
V
ref3
XSEL
XIN
XOUT
ATXDP
ATXDN
DELAYATT
PSEL
PORE
FCE673
SAA8116
Fig.1 Block diagram (LQFP100).
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to berotated correctly when browsing through the pdf in theAcrobat reader. white to force landscape pages to be...
2001 May 045
Digital PC-camera signal processor including
microcontroller and USB interface
Philips SemiconductorsProduct specification
PXL9 to PXL0
STROBE
SDATA
SCLK
GPI1
GPI2
GPI3
LED
FULLPOWER
SNAPRES
PRIVRES
SDA, SCL
EA
ALE, PSEN
AD14 to AD8
P0.7 to P0.0
F2, F1,
G3, G1,
G2, H3,
H1, H2,
J3, J1
J4
K3
M2
M5
D12
D11
C1
A6
M3
L3
K5, L4
K11
K10, M11
M10, M12,
L10, J9,
K9, L12,
M9
M7, L7, K7,
L6, L8, L5,
M8, K6
H
V ASCLK PCLK
VSP
WINDOW TIMING AND
CONTROL REFERENCE TIMING
PRE-
PROCESSING
PRE-PROCESSING
INTERFA CE
80C51
MICROCONTROLLER
RECONSTRUCTION
2
V
DDA1,
V
DDA2
RGB
C12, B9
E1E3C4A4
FORMA TTER
VFC
3
AGND1 to
AGND3
FV3, FV4
FV1, FV2
VIDEO
FH1, FH2
C2,
D4,
A3
B1
PULSE PATTERN GENERATOR
RGB
PROCESSING
MEASUREMENT ENGINE
SAA8116
2
V
DDD1,
V
DDD2
J11, J2
D9, C10, E11
ROG
CRSTRGFS, FCDS
C6
RGB TO
YUV
COMPRESSION
ENGINE
6
D3, K4, K8,
B11, B7, C3
V
to
DD1
V
DD6
BCP, DCP
D2,
A5B3C5B5,
D1
PROCESSING
PROCESSING
TRANSFER
BUFFER
8
E2, M4, L9, A11,
B6, A2, K12, K1
GND1 to
GND8
SMP RESERVED1
K2,
L1
Y
UV
USB
INTERFACE
RESERVED2, RESERVED3
B4G10A8,
FORMATTER
DECIMATION
MANAGEMENT
MODE
DECODER
4 : 2 : 2
AUDIO
POWER
B8
ANALOG MODULES
LDO
SUPPLY
FILTER
MICROPHONE
SUPPLY
AUDIO
LOW NOISE
AMPLIFIER
PROGRAMMABLE
AUDIO GAIN
AMPLIFIER
AUDIO PLL
AUDIO ADC
OSCILLATOR
AND CPLL
ATX
POR
J12
J10
H11
H12
H10
G11
G12
F12,
F11,
E12
C7
B12
C11
A9
A10
C8
A7
D10
3
LDOIN
LDOFIL
LDOOUT
MICSUPPLY
MICIN
LNAOUT
PGAININ
V
ref1,
V
ref2,
V
ref3
XSEL
XIN
XOUT
ATXDP
ATXDN
DELAYATT
PSEL
PORE
MGU263
SAA8116
Fig.2 Block diagram (TFBGA112).
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
SAA8116
microcontroller and USB interface
PINNING
SYMBOLPIN
(1)
FV11D4Overtical CCD transfer pulse output (or general purpose output)
FV22B1Overtical CCD transfer pulse output (or general purpose output)
FV33C2Overtical CCD transfer pulse output (or general purpose output)
LED4C1Ooutput to drive LED
FS5D2Odata sample-and-hold pulse output to TDA8787A (SHD)
FCDS6D1Opreset sample-and-hold pulse output to TDA8787A (SHP)
V
DD1
7D3Psupply voltage 1 for output buffers
GND18E2Pground 1 for output buffers
PCLK9E1Ipixel input clock
ASCLK10E3Oclock 1 (pixelclock) or clock 2(2 × pixel clock) outputfor ADC orCMOS
PXL911F2Ipixel data input; bit9
PXL812F1Ipixel data input; bit8
PXL713G3Ipixel data input; bit 7
PXL614G1Ipixel data input; bit 6
PXL515G2Ipixel data input; bit 5
PXL416H3Ipixel data input; bit 4
PXL317H1Ipixel data input; bit 3
PXL218H2Ipixel data input; bit 2
PXL119J3Ipixel data input; bit 1
PXL020J1Ipixel data input; bit 0
V
DDD2
21J2Psupply voltage 2 for the digital core
GND822K1Pground 8 for input buffers and predrivers
BCP23K2Ooptical black clamp pulse output to TDA8787A
DCP24L1Odummy clamp pulse output to TDA8787A
STROBE25J4Ostrobe signal output to TDA8787A or general purpose output of the
SCLK26M2Oserial clock output to TDA8787A or general purpose output of the
SDATA27K3Oserial data output to TDA8787A or general purpose output of the
SNAPRES28M3Isnapshot input or remote wake-up trigger input (programmable)
PRIVRES29L3Iprivacy shutter input or remote wake-up trigger input (programmable)
V
DD2
30K4Psupply voltage 2 for input buffers and predrivers
GND231M4Pground 2 for input buffers and predrivers
SCL32L4I/OI
SDA33K5I/OI
GPI134M5Igeneral purpose input 1 (Port 4; bit 6)
P0.235L5I/Omicrocontroller Port 0 bidirectional (data - address); bit 2
P0.036K6I/Omicrocontroller Port 0 bidirectional (data - address); bit 0
BALL
(2)
TYPE
(3)
sensor
microcontroller
microcontroller
microcontroller
2
C-bus clock input/output (master/slave)
2
C-bus data input/output (master/slave)
DESCRIPTION
2001 May 046
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
SAA8116
microcontroller and USB interface
SYMBOLPIN
(1)
P0.437L6I/Omicrocontroller Port 0 bidirectional (data - address); bit 4
P0.638L7I/Omicrocontroller Port 0 bidirectional (data - address); bit 6
P0.739M7I/Omicrocontroller Port 0 bidirectional (data - address); bit 7
P0.540K7I/Omicrocontroller Port 0 bidirectional (data - address); bit 5
P0.341L8I/Omicrocontroller Port 0 bidirectional (data - address); bit 3
P0.142M8I/Omicrocontroller Port 0 bidirectional (data - address); bit 1
V
DD3
43K8Psupply voltage 3 for output buffers
GND344L9Pground 3 for output buffers
AD845M9Omicrocontroller Port 2 output (address); bit 0
AD1046K9Omicrocontroller Port 2 output (address); bit 2
AD1247L10Omicrocontroller Port 2 output (address); bit 4
AD1448M10Omicrocontroller Port 2 output (address); bit 6
ALE49K10Oaddress latch enable output for external latch
PSEN50M11Oprogram store enable output for external memory (active LOW)
AD1351M12Omicrocontroller Port 2 output (address); bit 5
AD1152J9Omicrocontroller Port 2 output (address); bit 3
AD953L12Omicrocontroller Port 2 output (address); bit 1
EA54K11Iexternal access select input; internal (HIGH) or external (LOW)
GND755K12Pground 7 for input buffers and predrivers
V
DDD1
56J11Psupply voltage 1 for the digital core
LDOIN57J12Panalog supply voltage for LDO supply filter
LDOFIL58J10−external capacitor connection (filter of LDO)
LDOOUT59H11−external capacitor connection (internal analog supply voltage for PLL;
MICSUPPLY60H12Omicrophone supply output
MICIN61H10Imicrophone input
LNAOUT62G11Olow noise amplifier output
PGAININ63G12Iprogrammable gain amplifier input
RESERVED164G10Otest pin 1 (should be floating)
V
ref1
V
ref2
V
ref3
65F12Ireference voltage 1 (used in the amplifier and the ADC)
66F11Ireference voltage 2 (used in the ADC)
67E12Ireference voltage 3 (used in the ADC)
AGND368E11Panalog ground 3 for PLL; amplifier and ADC
PORE69D10Iexternal Power-on reset
GPI270D12Igeneral purpose input 2 (Port 1; bit 4)
GPI371D11Igeneral purpose input 3 (Port 3; bit 5)
V
DDA1
72C12Panalog supply voltage for crystal oscillator (12 MHz, fundamental)
XOUT73C11Ooscillator output
XIN74B12Ioscillator input
AGND175D9Panalog ground 1 for crystal oscillator
BALL
(2)
TYPE
(3)
program memory
amplifier and ADC)
DESCRIPTION
2001 May 047
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
SAA8116
microcontroller and USB interface
SYMBOLPIN
V
DD4
(1)
76B11Psupply voltage 4 for input buffers and predrivers
GND477A11Pground 4 for input buffers and predrivers
AGND278C10Panalog ground 2 for ATX transceiver
ATXDN79A10I/Onegative driver of the differential data pair input/output (ATX)
ATXDP80A9I/Opositive driver of the differential data pair input/output (ATX)
V
DDA2
81B9Panalog supply voltage 2 for ATX transceiver
DELAYATT82C8Odelayedattach control output; connected withpull-up resistor onATXDP
RESERVED283A8Itest pin 2 (should be connected to GND)
RESERVED384B8Itest pin 3 (should be connected to GND)
XSEL85C7Icrystal selection input
PSEL86A7IPOR selection input
V
DD5
87B7Psupply voltage 5 for output buffers
GND588B6Pground 5 for output buffers
FULLPOWER89A6Ofull power signal output (active LOW)
FH290C6Ohorizontal CCD transfer pulse output
FH191B5Ohorizontal CCD transfer pulse output
RG92A5Oreset output for CCD output amplifier gate
ROG93C5Overtical CCD load pulse output
SMP94B4Oswitch mode pulse output for CCD supply
H95A4Ohorizontal synchronization pulse output
V96C4I/Overtical synchronization pulse input/output
CRST97B3OCCD charge reset output for shutter control
FV498A3Overtical CCD transfer pulse output
V
DD6
99C3Psupply voltage 6 for output buffers
GND6100A2Pground 6 for output buffers
BALL
(2)
TYPE
(3)
DESCRIPTION
(USB)
Notes
1. Pinning related to LQFP100 package.
2. Pinning related to TFBGA112 package.
3. I = input; O = output and P = power supply.
2001 May 048
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
microcontroller and USB interface
Digital PC-camera signal processor including
microcontroller and USB interface
FUNCTIONAL DESCRIPTION
The SAA8116 video processor has a very high level of
programmability:118 (8-bit) registers arededicated forthe
Video Signal Processor (VSP), including Pulse Pattern
Generator (PPG) and Measurement Engine (ME), plus
23 registers for the Video Formatter and
Compressor (VFC). The SAA8116 can accept 8 to 10-bit
digital datafrom variousVGA sensors: CCD(progressive)
or CMOS, with or without colour filters (see Table 1).
Synchronization and video windows
CCD SENSOR PULSE PATTERN GENERATOR
The SAA8116 incorporates aPPG function, which can be
used for VGA CCD sensors, see Table 1.
Depending on the sensor type, an external inverter driver
isrequired toconvert the3.3 V pulsesto avoltage suitable
for the CCD sensor used.
Theactive videosize is640 × 480 forVGA. ThetotalH × V
size is 823 × 486 for VGA.
A total of 19 internal registers make a high level of
flexibility available for the PPG.
FLEXIBLE HV TIMING
The PPG module is not used with CMOS sensors. The
SAA8116 provides some flexibility on the frame size to
increase the range of applicable sensors (see Table 1). It
is possible to program the position, width and polarity of
the H and V signals. The output clock for the CMOS
sensor is selectable between single and double pixel
clock, including a programmable polarity.
The HV timing module can serve both as master orslave.
When servingas aslave, the V pulseonly is needed since
the H pulse is internally derived from V by programming
the number of pixels per line.
VIDEO WINDOWS
Several registers allow the definition of the optical black
window, the active video input window, the active video
output window and the measurement windows.
Table 1 Typical SAA8116 compatible sensors
VGA CCDSonyICX098AK
VGA CMOSPhilipsUPA1021
Other sensors all sensors that fulfil the following
SENSOR
TYPE
SAA8116
BRANDPART NUMBER
Panasonic MN37771PT
SharpLZ24BP
HyundaiHV7131B
PhotobitPB-0320
criteria:
• B and W; RGB Bayer colour filter
• 8-bit, 9-bit or 10-bit output
• CMOS or CCD sensors
• progressive
2001 May 0412
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
microcontroller and USB interface
Video signal processor
OPTICAL BLACK PROCESSING
The first processing block of the SAA8116 is a digital
clamp(denoted asPRE-PROCESSINGin Fig.1).Itis used
to align the optical black level to zero or to any arbitrary
value.
The average value of the black is measured in the
programmable optical black window and sent to the
microcontroller for adjustment, if necessary. The value
fixed by the microcontroller is subtracted from the
incoming data stream.
The optical black window has a fixed size of 16 pixels
(horizontally) by 128 (vertically); the position of this
window is fully programmable.
Each of the four colour filter inputs has its own offset and
gain.
DEFECT PIXEL CONCEALMENT
Up to 128 Defect Pixel Coordinates (DPC) can be taken
into account forconcealment. The method is basedeither
on a horizontal linear interpolation, or on a copy of a
neighbouring pixel of the same colour.
RGB COLOUR RECONSTRUCTOR
In the RGB colour reconstructor (denoted as RGB
RECONSTRUCTION in Fig.1), an RGB triplet is
interpolated for every pixel on a 3 × 3 neighbourhood
matrix.
With B and W sensors, the RGB colour reconstructor can
be disabled, thus maintaining the full sensor resolution.
Vertical contours and video level information (white clip)
are extracted at this stage (see Fig.5).
SAA8116
handbook, full pagewidth
CCD inputs
LINE
MEMORY
RGB
LINE
MEMORY
10
COLOUR
SEPARATION
FCE340
Fig.5 RGB reconstructor diagram.
R
G
B
White clip
Edges
2001 May 0413
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
SAA8116
microcontroller and USB interface
COLOUR MATRIX
A programmable 3 × 3 colour matrix (see Fig.6) is usedto convert the extractedcolour information, R, G and B fromthe
sensor colour space to a standard RGB colour space.
With B and W sensors, a unity matrix is used.
To control the white balance, the gain of the red and blue stream can be changed.
Gamma and knee are combined in one function with adjustable gain.
handbook, full pagewidth
R or (2R-G)
G or YG
B or (2B-G)
COLOUR
MATRIX
R
B
gain
×
gain
×
R
GAMMA/
KNEE
B
FCE742
Fig.6 RGB processing diagram.
YUV PROCESSING
Following the RGB processing,the R, G and Bsignals are
converted to YUV 4 :2:2 by a fixed matrix (see Fig.7).
Then, the luminance and chrominance signals are
processed separately.
Theluminance processingconsists of edgeenhancement.
Thisfeature isvery flexible.First, itis possibleto adjustthe
bandwidth and the level of the edge detection. Secondly,
the amount of edge enhancement can be independently
adjusted for the horizontal or vertical edge or for the high
or low frequency edge.
R
G
B
CONVERSION
MATRIX
DOWN-
SAMPLING
AND MUX
FCE342
Y
UV
The chrominance processing consists of a colour killer
(white clip) and a UV gain control (see Fig.8). Processing
is done on the multiplexed two-times-downsampled
UV chrominance signals. The sensor input is used to kill
the colour of over-exposed pixels. It is possible to adjust
the number of pixels on which the correction is applied.
The YUV processing block concludes with separate gain
controls on the Y, U and V signals. These gains can be
used to fine tune the Y, U and V colour balance and also
to adjust the luminance and saturation without disturbing
the AE and AWB control loops.
handbook, halfpage
UV
WHITE CLIP
UV GAIN
CONTROL
FCE743
UV
Fig.7 RGB to YUV conversion.
2001 May 0414
Fig.8 UV processing.
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
microcontroller and USB interface
MEASUREMENT ENGINE
The ME extracts statistical information from the video
stream. These measurements are used for the
auto-control loops in the microcontroller (AWB, AE
and AGC).They canalso beusedfor otherpurposes,such
as colourdetection. The measurements areperformed on
pre-formatted Y, U and V streams. It is possible to
measure the accumulated value of the Y, U or V samples
either in the full active video window or in a simple
programmable window.
Five parallelmeasurements ofthe luminance canbe done
for the auto exposure, each based on a proper window.
Y, U and V can be measured independently for the auto
white balance, all based on the same window.
During each frame, the microcontroller has access to the
measured values of the previous frame.
Video formatter
This block is used to convert the YUV 4 : 2 : 2 format to
4:2:0 required by the compression engine. The
incoming 4:2:2 data is vertically filtered. In raw mode,
this block is bypassed to create a full resolution snapshot.
The formatter can also perform downscaling to SIF and
QSIF (see Table 2).
Table 2 Scaler modes
SENSOR
VGASIF 320 × 240scaled half horizontally
Compression engine
The compression engine module (see Fig.9) can process
VGA, SIF and QSIF, based on a Philips proprietary
algorithm. The compression ratio is continuously
programmable by setting a maximum bit cost limit. Input
data can also be a raw RGB sensor data to perform
optimum snapshot processing in the host software.
The compression engine uses several strategies and
Q-tables for optimum performance at a wide range of
compression ratios (upto 8×). The required table must be
selected via software. One table is optimized for
compressing the raw VGA data.
Real time decoding can be done in software on any
Pentium or AMD-K6 platform.
TYPE
SAA8116
OUTPUT
FORMAT
QSIF 160 × 120 scaled quarter
SCALER MODES
and vertically
horizontally and vertically
To avoid aliasing, this formatter also contains horizontal
and vertical low pass pre-filters before downscaling.
handbook, full pagewidth
YUV7 to
YUV0
PREFILTER_SEL_UV
PREFILTER_SEL_Y
PREFILTER
HORIZONTAL
DOWNSCALING
Fig.9 The video formatter and compression engine.
DATA FORMATTER
+
VERTICAL
DOWN SAMPLING
VF_LIMITER
SCALE_DATA
COMPRESSION
ENGINE
TABLE_SELECT
LDC
C_BITCOST_MSB
C_BITCOST_LSB
C_THRESHOLD_MSB
C_THRESHOLD_LSB
FCE744
to
transfer
buffer
2001 May 0415
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
microcontroller and USB interface
Table 3 gives the available output formats and frame rates.
10compressed and uncompressed
15compressed and uncompressed
20compressed and uncompressed
24compressed and uncompressed
30compressed and uncompressed
SAA8116
The compressed data is streamed into a video FIFO, ready to be packed into USB formatted data blocks.
2001 May 0416
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
microcontroller and USB interface
Universal serial bus 1.1 core
The USB core combines all functionalities for a USB 1.1
compliant full speed device. It formats the actual packets
(video and audio) that are transferred to the USB and
passes the incoming packetsto the right end-point buffer.
The end-point setup is composed of control, generic and
isochronous types (see Table 4). All end-points can be
enabled or disabled, except control end-points.
All enabled end-points generate interrupts to the
embedded microcontrollerwhen theyneed tobe serviced.
The microcontroller can then use a set of commands via
the internal parallel interface.
Table 4 Mapping of logical to physical end-point numbers for the end-points
The video FIFO size allows demarcation of the video
frames using one or more 0-length packets.
The core also includes VID class support for the video
end-point: headersand trailersenable data tobe attached
to the video frames that are passed over the USB. Eight
1-byte registers are dedicated for the headers, while four
registerscomprise thetrailers. Eachofthe registerscanbe
programmed by the microcontroller. An extra register,
TR_HT_CONTROL, specifies how many bytes are
inserted before or after the video data.
SAA8116
DOUBLE
BUFFERED
ATX interface
The SAA8116 contains an analog bus driver, called
the ATX. This driver incorporates a differential amplifier
and twosingle-ended buffers for thereceiver part and two
single-ended buffers for the transmitter part.
The interface to the bus consists of a differential data pair
(ATXDN and ATXDP).
Microcontroller
The embeddedmicrocontroller is an 80C654core (80C51
family). Ports P0 and P2 (plus ALE and PSEN) are
available for connection to an emulator or to an external
program EPROM (32 kbytes max.).
The microcontroller can control the AOB, AE and AWB
loops, and can download the settings for the internal
registers from an optional EEPROM at power-up or reset.
Aparallel interfaceis usedto communicatewith allinternal
modules, based on the MOVX@DPTR instruction.
The microcontroller includes the following features:
• 32 kbytes internal ROM
• 512 bytes RAM
• Hardware multi-master I2C-bus interface (the
microcontroller can be used either as slave or master):
P1.7 and P1.6
• Power-down mode
• Two timers
• P0 and P2 are pull-up ports
• Three pins are available as general purpose inputs:
GPI1 (P4.6), GPI2 (P1.4) and GPI3 (P3.5).
2001 May 0417
Philips SemiconductorsProduct specification
Digital PC-camera signal processor including
SAA8116
microcontroller and USB interface
Table 5 80C51 Special Function Registers (SFR)
SFR
NAME
BB registerF0HB7B6B5B4B3B2B1B0
ACCaccumulatorE0HACC7ACC6ACC5ACC4ACC3ACC2ACC1ACC0
SIADR serial interface addressDBHSA6SA5SA4SA3SA2SA1SA0GC
SIDATserial interface dataDAHSD7SD6SD5SD4SD3SD2SD1SD0
SISTAserial interface statusD9HST7ST6ST5ST4ST3000
SICON serial interface controlD8HCR2ENS1STASTOSIAACR1CR0
PSWprogram status wordD0HCYACF0RS1RS0OV−P
P4Port 4C0HP4.7P4.6P4.5P4.4P4.3P4.2P4.1P4.0
IPinterrupt priorityB8H−IP6IP5IP4PT1PX1PT0PX0
P3Port 3B0H
IEinterrupt enableA8H
P2Port 2A0H(AD15) AD14AD13AD12AD11AD10AD9AD8
SBUFserial data buffer99H−−−−−−−−
SCON serial controller98HSM0SM1SM2RENTB8RB8T1R1
P1Port 190HSDASCLP1.5P1.4P1.3P1.2P1.1P1.0
TH1timer high 18DH−−−−−−−−
TH0timer high 08CH−−−−−−−−
TL1timer low 18BH−−−−−−−−
TL0timer low 08AH−−−−−−−−
TMOD timer mode89HGATEC/TM1M0GATEC/TM1M0
TCONtimer control88HTF1TR1TF0TR0IE1IT1IE0IT0
PCON power control87H−−−−−−PDIDL
DPHdata pointer high83H−−−−−−−−
DPLldata pointer low82H−−−−−−−−
SPstack pointer81HSP7SP6SP5SP4SP3SP2SP1SP0
P0Port 080HP0.7P0.6P0.5P0.4P0.3P0.2P0.1P0.0
DESCRIPTION
SFR
ADDRESS
76543210
RDWRT1T0INT1INT0TXDRXD
EAIE6IE5IE4ET1EX1ET0EX0
DATA BIT
Audio
The SAA8116 contains a microphone supply, including a
low-drop electronic supply filter, and an amplifier circuit
composedof twostages: aLow NoiseAmplifier (LNA) and
a variable gain amplifier (VGA).The LNA has a fixed gain
of 30 dB while the VGA can be programmed between
0 and 30 dB in steps of 2 dB. The frequency transfer
characteristic of the audio path must be controlled via
external high-pass or low-pass filters.
2001 May 0418
The PLL converts the 48 MHz to 256fs(fs= audio sample
frequency). There arethree modes for the PLL toachieve
the sample frequencies of 48, 44.1 and 32 kHz or their
derivatives (see Table 6).
Thebitstream ADCsamples themono audiosignal. Itruns
at an oversample rate of 256 times the base sample rate.
A decimator filtertransforms the bitstream outputto 16-bit
samples.
A digital mute option is available.
Loading...
+ 42 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.