15DATA SHEET STATUS
16DEFINITIONS
17DISCLAIMERS
18PURCHASE OF PHILIPS I2C COMPONENTS
2
C-BUS CONTROL AND STATUS
REGISTERS
packages
wave and reflow soldering methods
2004 Jan 262
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
1FEATURES
1.1Video input and preprocessing
• Digital YUVinputaccording to
27 MHz) and
• Support of enhanced
containing decoded VBI data readable via I2C-bus;
Closed Caption (CC), Wide Screen Signalling (WSS)
and copyright information with Copy Generation
Management System (CGMS)
• Processing of non-broadcast video signals from analog
VCR according to IEC 756
• Twovideo clockinput pins forswitching two digitalvideo
sources
•
“ITU-R BT.601”
Standard Interchange Format (SIF)
• 4:2:2to4:2:0 colour format conversion
• Decimation filtering for all format conversions
• Adaptive median filterand motion compensated filter for
input noise reduction.
1.2Video compression
• Real-time MPEG-2 encoding compliant to Main Profile
at Main Level (MP@ML) for 625 and 525 interlaced line
systems
• Supported resolutions: D1, 2/3D1, 1/2D1 and SIF
• IPB frame, IP frame and I frame only encoding
supported at all modes
• Supported bit rates: up to 25 Mbit/s I-only encoding;
up to 15 Mbit/s IP-only or IBP encoding.
• Variable video bit rate mode for constant picture quality
and constant bit rate mode to gain optimum picture
quality from a fixed channel transfer rate
• Access to bit rate control parameters whilst encoding to
support external real-time control algorithms (e.g.
constrained variable bit rate control)
• Programmable Group Of Pictures (GOP) structure
• Innovative motion estimation with wide search range
• Adaptive quantization
• Motion compensated noise filter.
“ITU-R BT.601”
“ITU-R BT.656”
format conversion to 1/2D1, 2/3D1 and
“ITU-R BT.656”
input format
(8 bits at
SAA6752HS
1.3Audio input
• Audio inputs: I2S format or EIAJ format (16, 18 or
20 bits), master or slave mode at 32, 44.1 and 48 kHz
• Two digital I2S input ports for selection between two
digital audio sources
• Audio clock generation: 256fs or 384fs (where
fs= 48 kHz) locked to video frame rate (if video is
present and locking is enabled)
• Sample rate conversion to 48 kHz (locked to video
frame rate if enabled) for slave mode operation in all
modes except Digital Versatile Disc (DVD) compliant
bypass.
1.4Audio compression
• Dolby
• MPEG-1 layer 2 audio encoding at 256 kbit/s or
• Input data bypass for Linear Pulse Code Modulation
• Preamble Pc, Preamble Pd and bit stream information
• Audio mute via I2C-bus control for all modes except
(1) Dolby is a registered trademark of Dolby Laboratories
(2) AC-3 is a registered trademark of Dolby Laboratories
(1)
Digital Consumer Encoding (DDCE) also
known as AC-3
256 kbit/s or 384 kbit/s (only for SAA6752HS/V103)
384 kbit/s
(LPCM) and compressed audio data [MPEG-1,
MPEG-2, Dolby Digital (DD) and Digital Theatre
System (DTS)] according to IEC 61937
captured for identification of modes during bypass of
compressed audio data for MPEG-1, MPEG-2, DD and
DTS according to IEC 61937
DVD-compliant bypass.
Licensing Corporation.
Licensing Corporation.
(2)
2 channel audio encoding at
2004 Jan 263
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
1.5Stream multiplexer
• Multiplexingof video and audiostreamsaccording to the
MPEG-2 systems standard (
• Generation and output of MPEG-2 Transport Streams
(TS), MPEG-2 Program Streams (PS), Packetized
Elementary Streams (PES) and Elementary Streams
(ES) compliant to the DVD, D-VHS and DVB standards
• MPEG time stamp (PTS/DTS/SCR/PCR) generation
and insertion (synchronization)
• Insertion of metadata
• Optional generation of empty time slots for subsequent
insertion of application specific data packets
• Optionalinsertion ofuser data inthe GOP headerand in
the picture header
• Optional automatic insertion of Closed Caption data
according to DVD or ATSC standard
• Optional generation of transport streams with variable
bit rate.
1.6Output interface
• Parallel interface 8-bit master/slave output
• 3-state output port
• Glueless interfacing with IEEE 1394 chip sets (for
example, PDI 1394 L11)
• Data Expansion Bus Interface (DEBI) interface.
1.7Control domain
• All control done via I2C-bus
• I2C-bus slave transceiver up to 400 kbit/s
• I2C-bus slave address select pin
• Host interrupt flag pin.
1.8Other features
• Single external clock or single crystal 27 MHz
• Separate 27 MHz system clock output
• Interface voltage 3.3 V
• TTL compatible digital outputs
• Power supply voltage 3.3 and 2.5 V
• Boundary Scan Test (BST) supported
• Power-down mode
• Single SDRAM system memory (16 Mbit@16 bit or
64 Mbit@16 bit).
“ISO 13818-1”
)
SAA6752HS
2GENERAL DESCRIPTION
2.1General
Philips Semiconductors’ second generation real time
MPEG-2 encoder, the SAA6752HS, is a highly integrated
single-chip audio and video encoding solution with flexible
multiplexing functionality. With our expertise in two critical
areas for consumer video encoding, noise filtering and
motion estimation, we have pushed the boundaries for
video quality even further, providing enhanced quality for
low bit rates and enabling increased recording times for a
given storage capacity. The SAA6752HS will also enable
a key driver for new consumer digital recording
applications and system cost reduction. By integrating all
audio encoding and multiplexing functionality we will be
moving from a three chip to a one chip system, with cost
efficient design and process technology, thus providing a
truly low cost, high quality encoding system.
The SAA6752HS/V104 is intended for customers whose
application does not require the DDCE function.
The SAA6752HS gives significant advantages to
customers developing digital recording applications:
• Fast time-to-market and low development
resources. By adding a simple external video input
processor IC, an audio analog-to-digital converter, and
an external SDRAM, analog video and audio sources
are compressed into high quality MPEG-2 video and
MPEG-1layer 2 or AC-3 audiostreams,multiplexed into
a single program or transport stream for simple
connection to various storage media or broadcast
media. Hence, making designeffort for our customers a
minimum, as well as removing the need for in-depth
experience in MPEG encoding.
• Low system host resources. All video and audio
encoding algorithms and software arerun onan internal
(1)
MIPS
small amount of communication from the system host
processor to set up and control required encoding
parameters via the I2C-bus.
processor. The SAA6752HS only requires a
2004 Jan 264
(1) MIPS is a registered trademark of MIPS Technologies.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
2.2Application fields
2.2.1DVD BASED OPTICAL DISC RECORDERS (DVD+RW,
DVD-RW, DVD-RAM)
Emerging optical disc based recording systems target to
replace the existing consumer recording (VCR) and
playback (DVD and VCD) products. The first generation
recordable DVD based products will want to maximise
recording times for the 4.7 Gbyte storage capacity. For
these systems the SAA6752HS is critical, with its superior
noise filtering and motion estimation, in enabling high
quality at low bit rates.
Playback compatibility with existing DVD decoding
solutions will also be important, which is why the
SAA6752HS provides Dolby digital consumer (AC-3)
audio encoding to allow playback through existing players
implementing DDCE (AC-3) decoding dominant in current
DVD platforms.
The DVD stream is based on MPEG Program Stream
(PS). The SAA6752HS directly outputs MPEG PS
compliant to the DVD standard.
SAA6752HS
2.2.3DIGITAL VCR (DVHS) RECORDING
A DVHS player records streams based on MPEG
Transport Streams (TS) packedin logical tape tracks. The
SAA6752HS output streams are compliant with DVHS
standard requirements.
2.2.4VIDEO EDITING/TRANSMISSION/SURVEILLANCE/
CONFERENCING
The SAA6752HS can operate as a stand-alone device in
all the above applications. The SAA6752HS full features
and flexibility allows customers to tailor functionality and
performance to specific application requirements. All
required control settings such as GOP size and bit rate
modes can be selected via the I2C-bus.
2.2.2HDD BASED TIME SHIFT RECORDING
Hard Disc Drive (HDD) based time-shift systems enable
Personalized TV (PTV) functionality, providingconsumers
with new powers of control over what and when to watch
broadcast content. With the audio and video content
recorded digitally, identification, search and retrieval
becomes a ‘no brainer’ task as compared to traditional
VCR functionality. Combine this with electronic program
guides and intelligent control, and the PTV can also
analyse the viewers watching habits to search for
programs likely to be of interest and automatically
recorded in anticipation of the viewers preferences.
Since HDD recorders are closed systems, the recording
format stream can be proprietary. The SAA6752HS
flexiblemultiplexingformats support a number ofrecording
stream formats for HDD including MPEG Transport
Stream (TS) or MPEG Packetized Elementary Stream
(PES).
2004 Jan 265
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
3QUICK REFERENCE DATA
SYMBOLPARAMETERMIN.TYP.MAX.UNIT
V
DDP
V
DDCO
V
DDA
I
DD(tot)
P
tot
f
DCXO
f
SDRAM
f
SCL
Boutput bit-rate1.5−25Mbit/s
V
IH
V
IL
V
OH
V
OL
T
amb
digital supply voltage (pad cells)3.03.33.6V
digital supply voltage (core)2.32.52.7V
analog supply voltage (oscillator and PLL) 2.32.52.7V
total analog plus digital supply current407453525mA
total power dissipation0.951.16 1.48W
quartz frequency (digital controlled tuning) 27 × [1 − (200 × 10−6)] 2727 × [1 + (200 × 10−6)] MHz
SDRAM clock frequency−108−MHz
I2C-bus input clock frequency100−400kHz
HIGH-level digital input voltage1.7−3.6V
LOW-level digital input voltage−0.5−+0.7V
HIGH-level digital output voltageV
− 0.4−V
DDP
DDP
V
LOW-level digital output voltage0−0.4V
ambient temperature0−70°C
1. MPEG-2 video and MPEG-audio/AC-3 audio encoder with multiplexer.
2. MPEG-2 video and MPEG-audio encoder with multiplexer, but without AC-3 audio encoder.
3. SAA6752HS/V103 is a replacement of SAA6752HS/V101 with enhanced functionality.
4. SAA6752HS/V104 is a replacement of SAA6752HS/V102 with enhanced functionality.
SOT316-1
2004 Jan 266
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
f
_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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 267
16 Mbit @ 16-bit or 64 Mbit @ 16-bitaudio clock
system
clock
reference
SDRAM-INTERFACE
STREAM DOMAIN SCHEDULER
digital
video
input
SAA6752HS
VIDEO
FRONT-END
ROMRAM
ull pagewidth
SDRAM
system clock
output
SYSTEM
CLOCK
REFERENCE
CLOCK27 MHz
external
clock
5BLOCK DIAGRAM
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
digital
audio
input
I2C-BUS
2
C-bus
I
AUDIO
INTERFACE
GPIORAMROMTAP
host interruptresetboundary scan
AUDIO
COMPRESSION
RESET
CONTROL
VIDEO
COMPRESSION
®
MIPS
CPU
PI-bus
STREAM
MULTIPEXER
Fig.1 Block diagram.
OUTPUT
INTERFACE
STATIC
MEM
DEBUG
ONLY
MHC128
MPEG
output
SAA6752HS
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
6PINNING
I
max
SYMBOLPININPUT/OUTPUT
V
SSP
1ground−pad ground
SDATA12input−I2S-bus serial data input port 1 with internal pull-down resistor
SCLK13input/output4I2S-bus serial clock port 1 with internal pull-down resistor
SWS14input/output4I2S-bus word select port 1 with internal pull-down resistor
V
DDP
5supply−pad ring supply voltage (3.3 V)
SDATA26input/output4I2S-bus serial data port 2 with internal pull-down resistor
SCLK27input/output4I2S-bus serial clock port 2 with internal pull-down resistor
SWS28input/output4I2S-bus word select port 2 with internal pull-down resistor
ACLK9output4audio clock output (256fs or 384fs)
V
SSP
10ground−pad ground
IDQ11input−reserved input with internal pull-down resistor; (recommended
YUV012input−video input signal bit 0 (LSB)
YUV113input−video input signal bit 1
YUV214input−video input signal bit 2
YUV315input−video input signal bit 3
YUV416input−video input signal bit 4
YUV517input−video input signal bit 5
YUV618input−video input signal bit 6
YUV719input−video input signal bit 7 (MSB)
V
SSP
20ground−pad ground
HSYNC21input−horizontal sync input (video) with internal pull-down resistor
VSYNC22input−vertical sync input (video) with internal pull-down resistor
FID23input−video field identification input (odd/even field) with internal
VCLK124input−video clock input 1 (27 MHz) with internal pull-down resistor
V
SSCO
V
SSCO
V
DDCO
V
DDCO
V
DDP
25ground−core ground
26ground−core ground
27supply−core supply voltage (2.5 V)
28supply−core supply voltage (2.5 V)
29supply−pad ring supply voltage (3.3 V)
VCLK230input−video clock input 2 (27 MHz) with internal pull-down resistor
PDOAV313-state output4parallel stream data output for audio/video identifier
PDIDS32input−parallel stream data input for data strobe [request for packet in
PDOSYNC333-state output4parallel stream data output for packet sync
V
SSP
34ground−pad ground
PDOVAL353-state output4parallel stream data valid output with internal pull-up resistor
PDO0363-state output4parallel stream data output bit 0 (LSB)
(1)
(mA)
to connect to pin V
DESCRIPTION
)
SSP
pull-down resistor
Data Expansion Bus Interface(DEBI) slave mode] with internal
pull-up resistor
2004 Jan 268
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
I
max
SYMBOLPININPUT/OUTPUT
PDO1373-state output4parallel stream data output bit 1
PDO2383-state output4parallel stream data output bit 2
V
DDP
39supply−pad ring supply voltage (3.3 V)
PDO3403-state output4parallel stream data output bit 3
PDO4413-state output4parallel stream data output bit 4
PDO5423-state output4parallel stream data output bit 5
PDO6433-state output4parallel stream data output bit 6
V
SSP
44ground−pad ground
PDO7453-state output4parallel stream data output bit 7 (MSB)
PDIOCLK46input/output4parallel stream clock input/output
I2CADDRSEL47input−I2C-bus address select input with internal pull-up resistor
SD_DQ1548input/output8SDRAM data input/output bit 15 (MSB)
V
DDP
49supply−pad ring supply voltage (3.3 V)
SD_DQ050input/output8SDRAM data input/output bit 0 (LSB)
SD_DQ1451input/output8SDRAM data input/output bit 14
SD_DQ152input/output8SDRAM data input/output bit 1
V
SSP
53ground−pad ground
SD_DQ1354input/output8SDRAM data input/output bit 13
SD_DQ255input/output8SDRAM data input/output bit 2
SD_DQ1256input/output8SDRAM data input/output bit 12
V
DDP
57supply−pad ring supply voltage (3.3 V)
SD_DQ358input/output8SDRAM data input/output bit 3
SD_DQ1159input/output8SDRAM data input/output bit 11
SD_DQ460input/output8SDRAM data input/output bit 4
SD_DQ1061input/output8SDRAM data input/output bit 10
V
SSP
62ground−pad ground
SD_DQ563input/output8SDRAM data input/output bit 5
SD_DQ964input/output8SDRAM data input/output bit 9
SD_DQ665input/output8SDRAM data input/output bit 6
SD_DQ866input/output8SDRAM data input/output bit 8
V
DDP
67supply−pad ring supply voltage (3.3 V)
SD_DQ768input/output8SDRAM data input/output bit 7
SD_DQM169output8SDRAM data mask enable output bit 1
SD_DQM070output8SDRAM data mask enable output bit 0 (LSB)
SD_WE71output8SDRAM write enable output (active LOW)
V
81supply−pad ring supply voltage (3.3 V)
SD_CS82output8SDRAM chip select output (active LOW)
SD_A1383output8SDRAM address output bit 13 (bank selection for 64 Mbit)
SD_A984output8SDRAM address output bit 9
SD_A885output8SDRAM address output bit 8
V
SSP
86ground−pad ground
SD_A1187output8SDRAM address output bit 11 (bank selection for 16 Mbit)
SD_A788output8SDRAM address output bit 7
SD_A1289output8SDRAM address output bit 12 (bank selection for 64 Mbit)
SD_A690output8SDRAM address output bit 6
V
DDP
91supply−pad ring supply voltage (3.3 V)
SD_A1092output8SDRAM address output bit 10
SD_A593output8SDRAM address output bit 5
SD_A094output8SDRAM address output bit 0 (LSB)
SD_A495output8SDRAM address output bit 4
V
SSP
96ground−pad ground
SD_A197output8SDRAM address output bit 1
SD_A398output8SDRAM address output bit 3
SD_A299output8SDRAM address output bit 2
SD_DQM3100output8reserved (do not connect)
V
DDP
101supply−pad ring supply voltage (3.3 V)
SD_DQM2102output8reserved (do not connect)
SD_DQ31103input/output8reserved (do not connect)
SD_DQ16104input/output8reserved (do not connect)
V
SSP
105ground−pad ground
SD_DQ30106input/output8reserved (do not connect)
SD_DQ17107input/output8reserved (do not connect)
SD_DQ29108input/output8reserved (do not connect)
V
DDP
109supply−pad ring supply voltage (3.3 V)
SD_DQ18110input/output8reserved (do not connect)
SD_DQ28111input/output8reserved (do not connect)
SD_DQ19112input/output8reserved (do not connect)
SD_DQ27113input/output8reserved (do not connect)
V
SSP
114ground−pad ground
SD_DQ20115input/output8reserved (do not connect)
SD_DQ26116input/output8reserved (do not connect)
(1)
(mA)
DESCRIPTION
2004 Jan 2610
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
I
max
SYMBOLPININPUT/OUTPUT
SD_DQ21117input/output8reserved (do not connect)
SD_DQ25118input/output8reserved (do not connect)
V
DDP
119supply−pad ring supply voltage (3.3 V)
SD_DQ22120input/output8reserved (do not connect)
SD_DQ24121input/output8reserved (do not connect)
SD_DQ23122input/output8reserved (do not connect)
EXTCLK123 input−27 MHz external clock input with internal pull-up resistor
V
V
SSP
SSA
124ground−pad ground
125ground−oscillator analog ground
XTALI126analog input−crystal oscillator input (27 MHz); note 2
XTALO127analog output−crystal oscillator output (27 MHz)
V
DDA
V
SSCO
V
SSCO
V
DDCO
V
DDCO
V
DDP
128supply−oscillator analog supply voltage (2.5 V)
129ground−core ground
130ground−core ground
131supply−core supply voltage (2.5 V)
132supply−core supply voltage (2.5 V)
133supply−pad ring supply voltage (3.3 V)
TDI134input−boundary scan test data input; pin must float or set to HIGH
TMS135input−boundary scan test mode select; pin must float or set to HIGH
TCK136input−boundary scan test clock; pin must be set to LOW during
TDO1373-state output4boundary scan test data output; pin not active during normal
V
SSP
138ground−pad ground
TRST139input−test reset input (active LOW), for boundary scan test (with
CLKOUT140output427 MHz system clock output
TEST0141input/output4reserved (do not connect)
TEST1142input/output4reserved (do not connect)
V
DDP
143supply−pad ring supply voltage (3.3 V)
TEST2144input/output4reserved (do not connect)
SDA145 input/open-drain
output
SCL146input/open-drain
output
RESET147 input−reset input (active LOW); with internal pull-up resistor
V
SSP
148ground−pad ground
RTS149output4reserved (do not connect); Universal Asynchronous
(1)
(mA)
DESCRIPTION
during normal operating; with internal pull-up resistor; note 3
during normal operating; with internal pull-up resistor; note 3
normal operating; with internal pull-up resistor; note 3
operating; with 3-state output; note 3
internal pull-up resistor); notes 3 and 4
−I2C-bus serial data input/output
−I2C-bus serial clock input/output
Receiver/Transmitter (UART) request to send output (active
LOW)
2004 Jan 2611
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
I
max
SYMBOLPININPUT/OUTPUT
CTS150input−reserved (recommended connect to pin V
RXD151input−reserved (recommended connect to pin V
TXD152output4reserved (do not connect); UART transmit data
V
DDP
153supply−pad ring supply voltage (3.3 V)
SM_LB154input/output4reserved (do not connect)
SM_UB155input/output4reserved (do not connect)
H_IRF1563-state output4host interrupt flag output; with internal pull-up resistor
V
SSP
157ground−pad ground
SM_OE158 output4reserved (do not connect); static memory output enable output
SM_A9159output4reserved (do not connect); static memory address output bit 9
SM_A10160output4reserved (do not connect); static memory address output bit 10
V
DDP
161supply−pad ring supply voltage (3.3 V)
SM_A8162output4reserved (do not connect); static memory address output bit 8
SM_A11163output4reserved (do not connect); static memory address output bit 11
SM_A7164output4reserved (do not connect); static memory address output bit 7
SM_A12165output4reserved (do not connect); static memory address output bit 12
V
SSP
166ground−pad ground
SM_A6167output4reserved (do not connect); static memory address output bit 6
SM_A13168output4reserved (do not connect); static memory address output bit 13
SM_A5169output4reserved (do not connect); static memory address output bit 5
SM_A14170output4reserved (do not connect); static memory address output bit 14
V
DDP
171supply−pad ring supply voltage (3.3 V)
SM_WE172output4reserved (do not connect); static memory write enable output
SM_D7173 input/output4reserved (do not connect); static memory data input/output
SM_D8174 input/output4reserved (do not connect); static memory data input/output
SM_D6175 input/output4reserved (do not connect); static memory data input/output
V
SSP
176ground−pad ground
SM_D9177 input/output4reserved (do not connect); static memory data input/output
SM_D5178 input/output4reserved (do not connect); static memory data input/output
SM_D10179 input/output4reserved (do not connect); static memory data input/output
data; internal boot select input; with internal pull-up resistor
(active LOW)
(active LOW)
(active LOW)
bit 7 with internal pull-down resistor
bit 8 with internal pull-down resistor
bit 6 with internal pull-down resistor
bit 9 with internal pull-down resistor
bit 5 with internal pull-down resistor
bit 10 with internal pull-down resistor
2004 Jan 2612
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
I
max
SYMBOLPININPUT/OUTPUT
SM_D4180 input/output4reserved (do not connect); static memory data input/output
V
SSCO
V
SSCO
V
DDCO
V
DDCO
V
DDP
181ground−internal pre-driver and substrate ground
182ground−core ground
183supply−core supply voltage (2.5 V)
184supply−internal pre-driver supply voltage (2.5 V)
185supply−pad ring supply voltage (3.3 V)
SM_D11186 input/output4reserved (do not connect); static memory data input/output
SM_D3187 input/output4reserved (do not connect); static memory data input/output
SM_D12188 input/output4reserved (do not connect); static memory data input/output
SM_D2189 input/output4reserved (do not connect); static memory data input/output
V
SSP
190ground−pad ground
SM_D13191 input/output4reserved (do not connect); static memory data input/output
SM_D1192 input/output4reserved (do not connect); static memory data input/output
SM_D14193 input/output4reserved (do not connect); static memory data input/output
SM_D0194 input/output4reserved (do not connect); static memory data input/output
V
DDP
195supply−pad ring supply voltage (3.3 V)
SM_D15196 input/output4reserved (do not connect); static memory data input/output
SM_CS3197output4reserved (do not connect); static memory chip select output for
SM_A4198output4reserved (do not connect); static memory address output bit 4
SM_A3199output4reserved (do not connect); static memory address output bit 3
V
SSP
200ground−pad ground
SM_A2201output4reserved (do not connect); static memory address output bit 2
SM_A15202output4reserved (do not connect); static memory address output bit 15
SM_A1203output4reserved (do not connect); static memory address output bit 1
SM_A16204output4reserved (do not connect); static memory address output bit 16
V
DDP
205supply−pad ring supply voltage (3.3 V)
SM_A0206output4reserved (do not connect); static memory address output bit 0
SM_A17207output4reserved (donot connect);static memory address output bit 17
SM_CS0208output4reserved (do not connect)
(1)
(mA)
DESCRIPTION
bit 4 with internal pull-down resistor
bit 11 with internal pull-down resistor
bit 3 with internal pull-down resistor
bit 12 with internal pull-down resistor
bit 2 with internal pull-down resistor
bit 13 with internal pull-down resistor
bit 1 with internal pull-down resistor
bit 14 with internal pull-down resistor
bit 0 (LSB) with internal pull-down resistor
bit 15 (MSB) with internal pull-down resistor
external ROM or RAM (active LOW)
(LSB)
(MSB)
2004 Jan 2613
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
Notes
1. All input pins, input/output pins (in input mode), output pins (in 3-state mode) and open-drain output pins are limited
to 3.3 V.
2. If used with external clock source the input voltage has to be limited to 2.5 V.
3. In accordance with the
4. Special function of pin TRST:
a) For board designs without boundary scan implementation, pinTRST must be connected to ground.
b) PinTRST provides easy initialization of the internal BST circuit. By applying a LOW level it can be used to force
the internal Test Access Port (TAP) controller to the Test-Logic-Reset state (normal operating) immediately.
“IEEE 1149.1”
handbook, halfpage
standard.
1
208
157
156
SAA6752HS
52
53
Fig.2 Pin configuration.
104
105
MHC129
2004 Jan 2614
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7FUNCTIONAL DESCRIPTION
7.1System operation
7.1.1GENERAL
The SAA6752HS has a multi-processor architecture.
The different processing and control modules are not
lockedto each otherbut run independentlywithin the limits
of the global scheduling. The data transfer between the
processing units is carried out via FIFO memories or the
external SDRAM. The device is configured and the
operation modes are selected via the I2C-bus.
7.1.2OPERATING MODES
There are five operating modes:
1. Idle. This mode is set after applying a hard reset (i.e.
on power-up). In this mode the SAA6752HS can be
initialized by the host to the required configuration.
Video and audio processing is disabled. A hard reset
always resets the SAA6752HS configuration
parameters back to the default states.
SAA6752HS
2. Stop. In Stop mode, the video and audio input
processing is enabled but the multiplexer output
remains disabled. It is possible to read status
information on the input video and audio signals via
the I2C-bus. The SAA6752HS initialization settings
cannot be modified, except to some specific dynamic
encoding parameters (i.e. bit rate setting).
3. Encode. In this mode, the multiplexer output is
enabled. Like Stop mode, only dynamic encoding
parameters can be modified in this mode.
4. Paused. This mode allows the SAA6752HS to make
seamless transitions. Restarting from Paused mode
will generate a stream output with sequential time
stamps and MPEG buffer model content.
5. Power-down. In this mode, the internal clock is
disabled, sending the SAA6752HS into a
(non-functional) power saving state. A hard reset will
re-initialize the SAA6752HS.
handbook, full pagewidth
Power-
down
HARD RESET
SLEEP
HARD RESET
power
applied
RECONFIGURE
RECONFIGURE
Idle
ENABLE
StopEncodePaused
START
Fig.3 Mode transition diagram.
STOP
START
START
PAUSE
MHC130
2004 Jan 2615
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.1.3MODE TRANSITION COMMANDS
There are seven mode transition commands:
1. SOFT RESET. Like a hard reset, a soft reset can be
applied in any mode, setting the SAA6752HS back to
Idle mode and resetting all configuration parameters
back to the default settings.
2. RECONFIGURE. This command sets the
SAA6752HS back to Idle mode without resetting the
configuration parameters back to the default settings.
3. ENABLE.This transition setsStopmode, enabling the
video and audio input processing.
4. START. This transition sets Encode mode, enabling
the multiplexer stream output. Note that if the
SAA6752HS is commanded to start from the Idle
mode, then the internal transition isvia the Stop mode.
5. STOP. This command will disable the multiplexer
stream output, setting the SAA6752HS to Stop mode.
Thecurrent GOP and/oraudio frame iscompleted and
an end of sequence bit appended to the stream.
6. PAUSE. A PAUSE transitionwill cause themultiplexer
to complete the current GOP and/or audio frame but
no end of sequence bit is appended. The current
MPEG buffer model contents are saved to provide a
seamless transition on START.
7. SLEEP. This mode disables the internal clock.
8. FORCED RECONFIGURE. A STOP command whilst
in the Encode mode will not work in case the video or
audio input signalis interrupted,because for stopping,
the SAA6752HS tries to finish the current GOP. The
forced reconfigure command allows a mode transition
back to the Idle state, without losing the actual
configuration settings. The forced reconfiguration
performs a soft reset and the automatic internal
reprogramming of the I2C-bus registers. The forced
reconfiguration will take about 200 ms; during the
forcedreconfiguration all registervalues will changeto
their default values before they are reprogrammed.
Please note that outputs, which can be switched to
high-impedance or to input mode, will not be active
during the forced reconfiguration.
The SAA6752HS is not able to process any other
commands during mode transitions. In this event, a get
running mode request will return a busy flag. The
completion of a mode transition can also be flagged as an
event using the host interrupt pin.
SAA6752HS
7.2Digital video input
7.2.1GENERAL
The video front-end processes an
compliant video stream for conversion to 4 :2:0 format
(MP@ML). It includes synchronization, digital video signal
processingthroughseveralfilters,subsampling,sliced/raw
VBI data handling, and SDRAM address generation.
The video interface is designed for use with Philips
SAA7114 digital multi-standard decoder or similar video
decoders. The input interface accepts a digital video input
streamaccording to
50 Hz and 720 pixels by 576 lines as well as 525 lines at
60 Hz and 720 pixels by 480 lines are covered. The video
synchronization may either follow
recommendation or can also be supplied by external
signals (HSYNC, VSYNC and FID). The formatter module
performs a colour conversion from 4 :2:2to4:2:0
format. Optionally, also SIF progressive downscaling and
2/3D1, 1/2D1 downscaling may be activated.
The SAA6752HS supports non-standard features of the
SAA711x series of video input processors, such as
hard-wired external synchronization signals (2 and 3-wire
sync), special VCR playback signal streams (IEC 756
subset for VCR playback and still pictures), extraction of
sliced data from the input video stream.
7.2.2VIDEO FRONT-END CONFIGURATION OPTIONS
The following configuration options can be selected from
the host:
• VIDEOINPUTPORT SELECTION. Two input clockpins
are selectable.
• VIDEOINPUTFORMAT. 525 or625-lineformatscan be
selected.
• VIDEO SYNC FORMAT. Various combinations and
polarities of HSYNC, VSYNC and Field Information
(FID) can be selected as the source of sync signal
processing.
• VIDEO FILTER SETTINGS. Noise pre-filter and
horizontal filters can be enabled and, if the default
coefficients are not suitable for an application, new
coefficients can be set.
• VIDEO FORMAT CONVERSION. Selection of
conversion from D1 to 1/2D1, 2/3D1 or SIF progressive
downscaling.
• VBI DATA EXTRACTION. VBI data extraction of WSS
or CC data can be enabled.
“ITU-R-BT.601”
“ITU-R BT.601/605”
.625 lines standard at
“ITU-R-BT.656”
2004 Jan 2616
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.2.3VIDEO ENCODER STATUS INFORMATION
The following configuration option can be selected from
the host:
• VBI DATA: WSS and CC data can be read back via the
I2C-bus.
7.2.4DATA INPUT FORMAT
7.2.4.1Interface definition
The data input interface uses 13 pins, all of which are
inputs (see Table 1). Pins YUV0 to YUV7 carry video and
synchronization data and 3 pins are reserved for control
purposes. Two separate clock inputs allow two different
signal sources to be used. The input clock can be
asynchronous to the SAA6752HS system clock.
Table 1 List of pins data input port
PINDESCRIPTION
YUV0 to YUV7video input signal
(synchronous to VCLK)
FIDodd/evenfield identification
signal; note 1
HSYNChorizontal synchronization
signal; note 1
VSYNCvertical synchronization
signal; note 1
VCLK1 or VCLK2video clock signal (from
source 1 or 2)
Note
1. In ITU-T 656 mode sync signals are embedded in the
video data input stream. The external sync signals are
not used.
SAA6752HS
recognized by a sync decoder. This checks the incoming
field (FID), vertical sync and horizontal sync. It is possible
to select either ‘internal synchronization’ (which means
thatSAV/EAV codes inthe ITU 601/656 videostreamsare
used) or externally applied hardware synchronization
signals (which are given by the video input processor).
In the latter case, 3 pin or 2 pin (V-sync and H-sync only)
synchronization can be used.
Using 2 pin synchronization, the FID information is given
by the timing of the transition of the V-sync. If a Vertical
Blanking Interval (VBI) starts during H-sync, the next field
will be the top field, otherwise it will be the bottom field.
A sync filter is used to inhibit sync signal triggering if an
incorrect number of pixels or lines has been input. It also
checks for the correct consecutive fields. The filter works
on three different levels. An H-sync is only accepted after
a predefined number of video cycles, a V-sync is only
accepted after a programmed number of lines and a field
is only accepted if top field follows bottom field or vice
versa.
7.2.5.3Horizontal and vertical shift
This function is intended for correction in synchronization
of external sync signals if incorrectly timed. The amount of
shift is programmable via the I2C-bus.
7.2.5.4SAV/EAV decoder
A SAV/EAV decoder extracts the F, V and H bits from the
video timing reference code. The decoder evaluates the
protection bits tobe able tocorrect one bit errors withinthe
codeword.If multiple bit errorsaredetected,theprotection
bits are ignored and the field (F), vertical sync (V) and
horizontal sync (H) bits are directly extracted from the
code.
7.2.5VIDEO SIGNAL PROCESSING
7.2.5.1Acquisition of video data
Data is latched with the incoming video clock to provide
robust data capture. Video clock and data is unlocked to
the internal system clock therefore a clock domain bridge
is used. This is performed by oversampling of video clock
and data with 108 MHz.
7.2.5.2Sync decoding and filtering
To allow selection of the right portion of the video input
stream, synchronization signals from the stream are
2004 Jan 2617
7.2.5.5Video format conversion
The SAA6752HS converts the input video input signal to
the formats defined in Table 2 controlled by the I2C-bus
command. A 4 : 2 : 2 to 4 : 2 : 0 colour conversion is
performed as this is a pre-requisite of MPEG MP@ML
encoding.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
Table 2 Format conversion
MODE
D1720
2/3D1480
1/2D1352; note 1
SIF352; notes 1 and 2
Notes
1. The 8 pixels at the right edge of the scaled picture are
not encoded.
2. Top field only.
7.2.6VIDEO FILTERING
7.2.6.1Adaptive mean filter
The SAA6752HS uses an adaptive mean filter. There are
three different filter modes that can be selected: median,
averaging or no filter.
The median algorithm provides better noise performance
and is well suited to suppress single noise spikes without
degrading the signal edges. The averaging algorithm is a
standard low-pass filter so has greater impact on signal
edges.
The default threshold and gaincoefficients ofthis filtercan
beoverwrittenvia the I2C-bustoallow user optimizationfor
different applications.
7.2.6.2Horizontal pre-filter/decimation filter
There is ahorizontal filterfor Y and C andthis canoperate
as a pre-filter or decimation filter. It is a symmetrical FIR
filter with up to 8 coefficients programmable via the
I2C-bus.
7.2.6.3Vertical chrominance filtering
For 4 :2:2to4:2:0 conversion, vertical filtering and
subsampling of the chrominance is performed. The
sequenceofcoefficients is mirrored intopandbottomfield.
This generates the right phases of the chrominance
samples between the luminance samples (a non co-sited
sampling scheme).
PICTURE FORMAT
(PIXEL/LINES)
SAA6752HS
7.2.7VBI DATA EXTRACTION
The SAA6752HS supports the extraction of WSS and CC
data using two independent VBI data extractor modules.
The data is available via the I2C-bus.
The following VBI data formats are supported: Closed
Caption (CC525 and CC625) and Wide Screen Signalling
(WSS525 and WSS625). For CC525, CC625 and
WSS625 the sliceddata from a video inputprocessor (e.g.
SAA7114, SAA7115 or SAA7118) are extracted from the
digital video input signal and can be read via the I2C-bus.
For WSS525 an internal data slicer is available which
slices the oversampled raw data, which are delivered by
the video input processor. The extracted WSS525 signal
can be read via the I2C-bus.
Optionally the automatic insertion of extracted Closed
Caption data into the user data area of a video stream is
possible (for details see Section 7.3.8).
7.3Video compression
7.3.1GENERAL
Compression of video data is performed by the video
compressor block; see Fig.4. The input to this block is the
uncompressed video information pre-processed by the
video front-end and stored in external SDRAM memory.
The output is a compressed video stream, compliant to
MPEG-2Video ElementaryStream (VES) upto slice level.
Controlling information (for example, quantizer step size)
as well as the bit stream for higher layers of the VES is
generated by the embedded MIPS processor of the
SAA6752HS.
The video compressor contains several subblocks. The
MacroBlock Processor (MBP) performs generation of
video ES on macroblock level. Controlling parameters for
this task and MB headers as well as slice headers are
generated by the core control subblock. Bitstream
formatting and concatenation of MBP bitstream and
header information is done by the subblocks pre-packer
and packer.
2004 Jan 2618
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.3.2VIDEO ENCODER CONFIGURATION OPTIONS
The following configuration options can be selected from
the host:
• VIDEO COMPRESSION SETTINGS. I, IP and IPB
encoding with various GOP structures can be selected.
• ENCODER BIT RATE. The bit rate for variable bit rate
or constant bit rate modescan beprogrammed usingbit
rate and quantization control parameters. These
parameterscan be adjustedwhilst encoding, notjustset
at initialization.
• ENCODER PERFORMANCE TUNING. The ability for
the user to tune encoding performance is provided by
allowing control of adaptive quantizationdepth. Alsothe
SAA6752HS allows download of new quantizer matrix
contents.
7.3.3VIDEO ENCODER STATUS INFORMATION
The following status information is available to the host:
• CURRENT ENCODER BIT RATE. The actual encoded
bit rate, as number of bytes per GOP, is available
allowing the use of constrained variable bit rate
algorithms to fine tune the encoding efficiency.
7.3.4GOP STRUCTURE
The programmable GOP structure features a reference
frame distance (M) up to 3, and a GOP length (N) of up
to 19.Supported structures arerealclosed GOP(M,N) and
backward predicted closed GOP(M,N). For the use of
B-frames in D1 and 2/3D1 mode a 64 Mbit SDRAM is
needed.
In D1 mode, B-frames will be unidirectional. Backward
predicted closed GOPs may have the first one (M = 2) or
two (M = 3) B-frames referenced inside the GOP
dependent on the I2C-bus register settings. This is
intended for editable applications as GOPs are
independent of each other. Non-editable GOPs allow the
first one (M = 1) or two (M = 2) B-frames to be referenced
to the P-frame in the previous GOP. This is a non-editable
formatbut has optimum encodingefficiency.This structure
is sometimes calledan openGOP. The first one (M = 1) or
two (M = 2) B-frames in the first GOP of a sequence are
always forced backwards predicted.
SAA6752HS
Table 3 GOP
GOP
LENGTH (N)
1I
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Notes
1. Undefined.
2. This GOP structure is defined as a Real Closed GOP
(RCG).
3. This GOP structure is defined as a Backward
Predicted Closed GOP (BPCG) or Non-Editable GOP
(NEG), selectable via the I2C-bus.
REFERENCE FRAME DISTANCE (M)
0123
(1)(1)(1)
(1)
IP
(1)
IPPIBP
(1)
IPPPBIBP
(1)
IPPPPIBPBP
(1)
IPP...PP BIBPBP
(1)
IPP...PP IBP...BP
(1)
IPP...PP BIBP...BP
(1)
IPP...PP IBP...BP
(1)
IPP...PP BIBP...BP
(1)
IPP...PP IBP...BP
(1)
IPP...PP BIBP...BP
(1)
IPP...PP IBP...BP
(1)
IPP...PP BIBP...BP
(1)
IPP...PP IBP...BP
(1)
IPP...PP BIBP...BP
(1)
IPP...PP IBP...BP
(1)
IPP...PP BIBP...BP
(1)
IPP...PP IBP...BP
(1)(1)
(2)(1)
(3)
IBBP
(2)(1)
(3)
BBIBBP
(2)
IBBPBBP
(3) (1)
(2)
BBI...BBP
(3)
IBBP...BBP
(2)(1)
(3)
BBI...BBP
(2)
IBBP...BBP
(3) (1)
(2)
BBI...BBP
(3)
IBBP...BBP
(2)(1)
(3)
BBI...BBP
(2)
IBBP...BBP
(2)
(3)
(2)
(3)
(2)
(3)
(2)
(3)
(3)
(3)
(2)
2004 Jan 2619
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.3.5BIT RATE CONTROL
The SAA6752HS supports two modes of video bit rate
control: variable bit rate and constant bit rate.
The Variable Bit Rate (VBR) mode is intended for burst
data transfer applications, where the bit rate is allowed to
vary but the image quality should be constant. In this
mode,acombination of three parameterscanbeset:Rvbr,
Qmin_VBR and Qmax_VBR. While aimingat thetarget bit
rate Rvbr, only quantizer scale values within the range
between Qmin_VBR and Qmax_VBR are applied.
Broadeningthis range leadsto greater variationsinpicture
quality but better adherence to Rmax. Constriction of this
range forces a better constancy in picture quality at the
expense of meeting the target bit rate. Note that optimal
control results require reasonable combinations of Rmax,
Qmin_VBR and Qmax_VBR. Furthermore, the maximum
bit rateRmax can beset.If Rmax isreachedin VBR mode,
the CBR algorithmtakes over the control byincreasing the
quantizer scale values temporarily (over Qmax_VBR) to
guarantee that Rmax is never exceeded. Hence, the
closer Rmax and Rvbr are chosen, the more the control in
VBR mode turns to CBR mode behaviour.
SAA6752HS
7.3.7QUANTIZER MATRIX TABLE DOWNLOAD
The MPEG standard default quantizer matrices can be
overwritten to allow picture encoding optimization.
7.3.8USER DATA INSERTION
User data insertion of up to 64 bytes is supported on GOP
and picture level.
Different modes can be selected via I2C-bus.
7.3.8.1External user data insertion (permanently
repeated)
User data is downloaded via the I2C-bus to
subaddresses 73H/76H and the number of inserted user
data bytes is set via subaddresses 74H/75H. In Encode
mode the downloaded user data will be inserted
permanently into the user data area of the video stream.
It is possible to download a new set of user data during
Encodemode. The newdata will berepeatedly inserted as
soon as the download is finished. It is possible to stop the
user data insertion with a special command.
The Constant Bit Rate (CBR) mode is intended for
applications, where a fixed channel rate is provided (e.g.
transmission systems). A tight control of the quantizer
scale is applied to make optimal use of the given
bandwidth. The parameter Rmax specifies the required
constant bit rate.
Independent of thebit rate mode(CBR or VBR),a B-frame
weighting factor (the weighting factor is applied to the
quantization scale) can be applied to further reduce the
bit rate of B-frames. In IP-only GOP structures, every
second P-frame is weighted by this factor generating
‘virtual B-frames’ to simulate a bit rate distribution similar
to IPB sequences. This feature can further improve the
perceptual rate-distortion ratio by taking advantage of the
inertia of the human visual system.
7.3.6ADAPTIVE QUANTIZATION
Adaptive quantization is an algorithm that uses internal
generated statistics to fine tune the quantizer scale used
for encoding a specific macroblock. For example, the
controller adapts the quantization scalewith respectto the
local complexity distribution within a frame, resulting in a
perceptually smoother picture quality. The amount of fine
tuning can be adjusted by control of the adaptive
quantization depth.
7.3.8.2External user data insertion (each downloaded
byte inserted only once)
In this mode each downloaded user data byte is inserted
only once into the user data area. If no new user data is
downloaded between two GOP or pictures then no user
data will be inserted. This mode can be used to transmit
more than 64 bytes of user data from the encoder to the
decoder, e.g. 1000 bytes distributed on 15 packets of
64 bytes and one packet of 40 bytes. The host has to
control the insertion and repetition of user data. A host
interrupt 'mode transition completed' is signalled, if not
masked and the bit 9 of the exception status word is set
when the user data have been read by the video encoder.
Then new user data can be downloaded via I2C-bus.
2004 Jan 2620
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.3.8.3Internal Closed Caption user data insertion
compliant to ATSC/NTSC standard
Automatic insertion of Closed Caption data into the user
data 2 area on picture header level compliant to the ATSC
and EIA-708 standard can be selected via the I2C-bus.
Closed Caption data, which is delivered from the video
input processor (e.g. SAA7114) and captured in the video
front-end will be inserted into the user data 2 area (picture
header level) of the video stream. Preconditions are
appropriate settings of the video input processor and the
VBI data extractor in the video front-end. The Closed
Caption user data will be written for both fields. If no valid
Closed Caption data for field 2 is available these data will
be marked as invalid in the stream. At SIF mode only
field 1 Closed Captions can be inserted from the video
input signal and dummy values (80H 80H) will be inserted
for field 2.
If extended data services (XDS data, line 21 field 2) are
inserted, the insertion will be transparent. No modification
of the CGMS-A copy information will be done.
In accordance to EIA-708 the Closed Caption data will
appear in the stream in transport order. If B-frames are
present the user data isre-ordered inthe sameway as the
video frames.
AdvancedTV Closed Captioning(ATVCC)channel packet
data (cc_type 10 or 11) is not supported, because the
inputsignal of theencoderis an analogvideo signal, which
cancarry only NTSC ClosedCaptions,but not ATV Closed
Captions.
No additional user data on picture header level can be
inserted if internal Closed Caption user data insertion
compliant to the ATSC/NTSC standard is active.
SAA6752HS
Closed Caption data, which is delivered from the video
input processor (e.g. SAA7114) and captured in the video
front-end will be inserted into the user data 1 area (GOP
header level) of the video stream. Preconditions are
appropriate settings of the video input processor and the
VBI data extractor in the video front-end. The Closed
Caption user data will be written for both fields. If no valid
Closed Caption data for field 2 is available these data will
be marked as invalid in the stream.
If extended data services (XDS data, line 21 field 2) are
inserted, the insertion will be transparent. No modification
of the CGMS-A copy information will be done.
The Closed Caption data will be inserted for each field of
the GOP in display order. At SIF mode only field 1 Closed
Captions can be inserted from the video input signal and
dummy values (80H 80H) will be inserted for field 2.
The user data is delayed by one GOP period. The first
GOP in the stream carries dummy data marked as invalid.
No additional user data on GOP header level can be
inserted if internal Closed Caption user data insertion
compliant to the DVD standard is active.
The amount of user data depends on the GOP size:
5 bytes header and 3 bytes/field are required. With the
maximum GOP size of 19 this results in
5+19× 2 × 3 = 119 bytes, which is more than the
available array of 64 bytes for GOP user data. Therefore
the64 byte array forpictureuser data isalsoused for GOP
userdata, ifGOP sizes largerthan 9 are selected. Thenall
128 bytes, which are available for user data insertion on
GOP and picture header levelwill beused forthe insertion
of CC data on GOP level. In this case no additional user
data insertion on picture header level is possible.
7.3.8.4Internal Closed Caption user data insertion
compliant to DVD standard
Automatic insertion of Closed Caption data into the user
data area on GOP header level compliant to the DVD
standard can be selected via I2C-bus.
2004 Jan 2621
7.3.9MOTION ADAPTIVE NOISE REDUCTION
The gain and adaptivity can be controlled to optimize
encoding efficiency in case of noisy input sequences, i.e.
off-air reception.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.3.10COMPRESSION BLOCK PARTITIONING
Thevideo compression block,shown in Fig.4,containsthe
following sub-modules:
• MacroBlock Processor (MBP). Reads uncompressed
videodata from SDRAMandgenerates the compressed
bitstream on MB level (withoutMB headers).Addresses
for frame buffer (previous frame) access are generated
by the MBP.
• Core control. Performs MB and slice header
generation, base address generation for the current MB
(uncompressed), motion vector candidate generation,
and computation of encoding statistics required by the
CPU for bit rate controlling.
handbook, full pagewidth
to/from SDRAM-IFto SDRAM-IF
SAA6752HS
• Pre-packer (part ofpacking unit). Since the MBPoutput
words are not necessarily fully used (i.e. some output
words may contain unused bits) the pre-packer packs
the output of the MBP in such a way that all words
contain valid bits. This reduces the amount of memory
required for storing the MB data.
• Packer (part of packing unit). Merges header and MB
headers.
from video
front-end
VIDEO COMPRESSION BLOCK
PACKING UNIT
MBP/CPM
PRE-
PACKER
CORE CONTROL
GENERIC INTERFACE
to/from PCI-bus
MEMORY
Fig.4 Video compressor block diagram.
PACKER
MHC131
2004 Jan 2622
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.4Digital audio input
7.4.1GENERAL
The audio input interface (I2S) accepts serial digital audio
data and supports master and slave mode. The interface
is able to handle 16 to 20 bits audio data with left and right
channel. Audio data with more than 20-bit word width is
accepted as input, but the additional bits are ignored.
7.4.2AUDIO PORT CONFIGURATION OPTIONS
The following configuration options can be selected from
the host:
• AUDIO INPUT PORT SELECTION. Two digital audio
input ports are selectable.
• AUDIO INPUT FORMAT. Various I2S and EIAJ formats
can be selected.
• AUDIO INPUT MODES. Master or slave mode can be
selected.
• AUDIO OUTPUT. The second audio interface port can
be configured as output in special applications e.g.
concurrent encoding of audio and video without internal
multiplexing of the two streams.
SAA6752HS
The alternative formats are defined as having the word
select shifted by one clock cycle with respect to the data.
EIAJ and EIAJ alternative format are supported for 16, 18
and 20-bit resolution. I2S and I2S alternative format are
supportedfor 16,18, 20 and24-bit resolution. Inputdata is
truncated to 20 bits internally if 24-bit resolution is applied.
Each of the formats can be applied in master or slave
mode.
When in master mode, theexternal audioanalog-to-digital
convertor must be clocked using the audio clock
generated by the SAA6752HS. This can be set to
256 × 48 kHz or 384 × 48 kHz.
In slave mode an internal sample rate converter converts
theinput sample frequencytoa video framelocked48 kHz
sample frequency.
If video is not present and/or the clock mode is set to
mode 3, the audio clock frequency is locked to the fixed
nominal system frequency (crystal or external). In allother
cases the audio clock will be locked to the video frame
frequency.
7.4.3INPUT FORMATS
The digital audio input interface can select between two
digital audio input ports via I2C-bus control and is able to
input the following audio formats:
• I2S, see Fig.5
• EIAJ, see Fig.6
• EIAJ alternative format.
2004 Jan 2623
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
2
handbook, full pagewidth
S
I
SWS
SCLK
SDATA
MSBLSBMSBLSBMSB
SAA6752HS
1 stereo word
right dataleft data
MHC132
handbook, full pagewidth
EIAJ
SWS
SCLK
SDATA
Fig.5 I2S mode format protocol.
1 stereo word
left dataright data
LSBMSBLSBMSB
LSB
MHC133
Fig.6 EIAJ mode format protocol.
2004 Jan 2624
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
7.4.4AUDIO INPUT PROCESSING
In order to be able to cope with analog and digital sources, the I2S input ports can be configured as master (analog) or
slave (digital). For the slave mode however, a sample rate converter will be involved, except for DVD-compliant audio
bypass. Table 4 reflects the different configuration possibilities.
Table 4 Audio input processing modes
PROCESSING MODE
(1)
AUDIO CONTENT
FORMAT
MPEG-1 L2 encodingLPCM at 16, 18, 20
or 24 bits
DDC encoding
(6)
LPCM at 16, 18, 20
or 24 bits
LPCM bypass (uncompressed
audio format)
(7)
LPCM at 16, 18, 20
or 24 bits
DVD-compliant audio bypass16 bits
(5)
(5)
(5)
(8)
INPUT SAMPLE
FREQUENCY (kHz)
MASTER
(2)
SLAVE
(3)(4)
4832 kHz ±0.1%
44.1 kHz ±0.1%
48 kHz ±0.1%
4832 kHz ±0.1%
44.1 kHz ±0.1%
48 kHz ±0.1%
4832 kHz ±0.1%
44.1 kHz ±0.1%
48 kHz ±0.1%
−48 kHz
(9)
NO. OF
ENCODED
BITS
ENCODED
BIT RATE
(kbit/s)
20256, 384
20256, 384
16−
16−
Notes
1. Processing modes can be changed when SAA6752HS is in Idle mode.
2. In master mode, the external audio source must use the SAA6752HS audio clock as a clock source.
3. A sample rate conversion process will convert incoming data to a nominal 48 kHz audio frequency that is locked to
V-sync of the video input signal (if present). The sample rate converter is not enabled for DVD-compliant bypass
mode.
4. The sample rate conversion input frequency range has been selected to be compatible withclass 2 SPDIFreceivers.
5. 24-bit input option only applies to I2S input formats, in this event it will be truncated to 20 bits internally in the
SAA6752HS before processing. EIAJ formats are limited to 20 bits maximum.
6. Only for SAA6752HS/V103.
7. In systems that use 16 Mbit SDRAM due to system architecture constraints, LPCM bypass must be restricted to be
used with I and IP video encoding only. There is no constraint if 64 Mbit SDRAM is used.
8. TheIEC 60958 format defines20 bits for anaudiosample, plus 4 auxiliarybits, which canbe used toextendthe word
length. IEC 61937 uses only 16 data bits of each IEC 60958 sub-frame. It depends on the settings of an external
SPDIF to I2S converter if 16, 18, 20 or 24 bits are transferred to the SAA6752HS.
9. For DVD-compliant bypass mode the audio clock must be locked to the video clock externally.
2004 Jan 2625
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.5Audio compression
7.5.1GENERAL
The digital audio signal from the I2S input port is
compressed according to MPEG-1 layer 2 and DDC
(AC-3) encoding (only for SAA6752HS/V103). The
constant bit rate is programmable via the I2C-bus.
An audio stream with 16 to 20 bits and a sampling
frequency of 48 kHz canbe processed. A higher accuracy
of more than 20 bits is ignored. A bypass mode can be
selected for LPCM for 16-bit data resolution and
compressed audio signals (MPEG-1 layer2, MPEG-2,DD
and DTS) according to IEC 61397 or LPCM. The format of
such compressed inputsis identified and made accessible
via the I2C-bus.
7.5.2AUDIO ENCODER CONFIGURATION OPTIONS
The following configuration options can be selected from
the host:
• AUDIO PROCESSING MODES. MPEG-1 L2 or DDC
(AC-3) encoding (only for SAA6752HS/V103) modes
can be selected. Two bypass modes are also available:
LPCM bypass and DVD-compliant bitstream bypass.
• AUDIO MUTE. It is possibleto mutethe audiodata prior
to encoding.
7.5.3AUDIO ENCODER STATUS INFORMATION
The following configuration options can be selected from
the host:
SAA6752HS
• DVD-BYPASS HEADER INFORMATION. Header
information is available to allow the host to determine
the content of the bypassed audio data stream. This
includes information from the Preamble Pc, Preamble
Pd and audio frame headers.
7.5.4MPEG-1 LAYER 2 ENCODING
MPEG-1 layer 2 encoding can be selected. The available
I2C-bus settings are:
• No pre-emphasis (default setting)
• 50/15 µs (compliant to ISO 11172-3)
• CCITT J.17 (compliant to ISO 11172-3).
7.5.5DDC ENCODING (ONLY FOR SAA6752HS/V103)
Dolby Digital Consumer (DDC) encoding mode can be
selected. The encoder performance is suitable for
consumer electronic recordable DVD systems.
7.5.6LPCM BYPASS
16-bit LPCM audio streamscan be bypassed by the audio
encoder module.
7.5.7DVD-COMPLIANT AUDIO BYPASS
DVD-compliant bypass and pause burst handling is
selectable in accordance to IEC 61937. Preamble Pc,
Preamble Pd and part of the elementary stream header
are captured and made available via the I2C-bus. If any
non DVD-compliant formats are detected then these are
flagged via host interrupt.
Table 5 DVD-compliant audio bypass
MODEBIT RATESAMPLE FREQUENCYCHANNEL CONFIGURATION
MPEG-1/2 layer 2 without
extension
MPEG-2 layer 2 with
extension
Dolby digital64 to 448 kbit/s48 kHz only1/0, 2/0, 3/0, 2/1, 3/1, 2/2 and 3/2
DTS-1192 to 1536 kbit/s48 kHz onlystereo or multi-channel up to 5.1
7.6SDRAM interface
7.6.1GENERAL
The external SDRAM is used as memory for storing video
and audio information during the compression process.
It is also used as a buffer for the output stream. The
interfacing to and from the functional blocks is done via a
number of internal FIFO memories.
2004 Jan 2626
64 to 384 kbit/s48 kHz onlymono, stereo or multi-channel up to 7.1
up to 912 kbit/s48 kHz onlymono, stereo or multi-channel up to 7.1
The SAA6752HS will support 16 Mbit@16 bit
(512k × 16 × 2) and 64 Mbit@16 bit (1024k × 16 × 4)
SDRAM devices. The minimum recommended speed of
theSDRAM is 125 MHz.Recommended SDRAMs include
the Samsung K4S641632D-TC/L80 and
K4S161622D-TC/L80 devices.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.7Multiplexer
7.7.1GENERAL
The system stream multiplexer combines compressed
audio and video streams into a single MPEG system
stream. Presentation data is synchronized by the use of
time stamps asspecified in the MPEG systemsstandards.
The multiplexer ensures an MPEG-compliant multiplexing
with respect to buffer maintenance, synchronization and
data alignment. It takes care of the system specific
requirements for D-VHS, DVD, DVB and ATSC.
7.7.2MULTIPLEXER CONFIGURATION OPTIONS
The following configuration options can be selected from
the host:
• STREAM FORMAT. Selection of audio or video
elementary stream, packetized elementary stream,
programstream or transportstreamoptions and general
system parameters including maximum system bit rate,
number of flushing bytes and PES header IDs.
• TRANSPORT STREAM SYSTEM MODES. In TS
mode, it is possible to set packet IDs and download
system information tables.
7.7.3MULTIPLEXER STATUS INFORMATION
The following status information can be selected from the
host:
• METABYTES INFORMATION. If selected and in
program stream or pack stream, it is possible to insert
video and audio status information into the stream
outputas special metabytedatapacketsfor later system
processing.
• NUMBER OF BYTES PER GOP. It is possible to read
the current system bit rate of the output stream.
7.7.4ELEMENTARY STREAM OUTPUT
Video and audio elementary stream outputs can be
selected.
7.7.5PACKETIZED ELEMENTARY STREAM OUTPUT
Packetized Elementary Stream (PES) outputs can be
selected. There are two options: PES (DVD) and PES
(TS).Variable bit rateis only availablein PES (DVD)mode
and constant bit rate only available in PES (TS) mode.
SAA6752HS
7.7.6PROGRAM STREAM OUTPUT
Program stream output, intended for storage recording
applications, can be selected. Time slot reservation for
navigation packets is available. Metabytes can be
appended after each pack, see Section 7.7.10.
7.7.7PACK STREAM OUTPUT
A special mode called pack stream can be selected. This
is a program stream but without the MPEG buffer model
implemented. This minimizes the throughput time of video
and audio data through the SAA6752HS and is intended
for applications where low latency is important. In this
mode no program stream header is inserted.
and PCR (clock) Packet Identifiers (PIDs) can be
programmed. System information tables can be
transferred to the SAA6752HS via the I2C-bus. If transport
stream output is combined with DIO master mode as
output mode then packets are sent in a controlled way, so
that a set-top box can be connected.
7.7.8.1Transport stream with variable bit rate
Optionally a transportstream without null packets, i.e.with
variable bit rate can be generated. Via subaddress C3H it
is possible to select constant or variable TS bit rate.
At constant TS bit rate mode null packets are delivered at
the multiplexer output to achieve the constant TS bit rate,
even if the video bit rate is variable.
At variable TS bit rate mode no Null Packets are inserted
at the multiplexer output. This mode can be used in
combination with variable video bit rate.
7.7.9INSERTION OF LEADING NULL BYTES
For some applications it is helpful to deliver leading
flushing bytes before the stream content starts. Null bytes
(00H) will be inserted at the beginning of a stream, if
programmed by subaddress F6H. By default no null bytes
will be delivered.
The video and audio PES IDs can be programmed via the
I2C-bus. Original copy or copyright flags can also be set.
2004 Jan 2627
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
7.7.10METABYTES DATA
In program stream and pack stream modes, the SAA6752HS can append additional metabyte data packets to the
stream, providing information on sector information for downstream application processing. The video and audio
metabytes format is defined in Tables 6 and 7. The sector and metabytes form a block format, where each sector of
2048 bytes is followed by 16 metabytes containing data on the previous sector.
Table 6 Video metabytes data
BYTE
(HEX)
00identification0 to 755H; video
01flags0‘GOP start flag’; indicates that a GOP start code is present in the
02data lengthLSB0 to 7amount of non-stuffing bytes minus one
03MSB0 to 7
04time stampLSB0 to 7The value of the STC at the moment that the first byte of the first
050 to 7
060 to 7
07MSB0 to 7
08picture start count0 to 7the amount of picture starts in the sector
09picture types0 and 1 1st picture type:
0Afirst picture positionLSB0 to 7position (in bytes) of the first picture (or GOP or sequence) start
0BMSB0 to 7
0Csecond picture positionLSB0 to 7position (in bytes) of the second picture (or GOP or sequence)
0DMSB0 to 7
0EGOP header positionLSB0 to 7position (in bytes) of the GOP start code in the sector, if present,
0FMSB0 to 7
NAME
LSB/
MSB
BITDESCRIPTION
sector
1‘GOP start header’; indicates that a group of GOPs starts in the
sector
2‘sequence end flag’; indicates that a sequence end code is
present in the sector
3 and 4 reserved
5 to 7undefined
frame arrived at the input. Only 32 bits are used; note 1.
00: I picture
01: P picture
10: B picture
11: invalid type
2reserved
4 and 5 2nd picture type:
00: I picture
01: P picture
10: B picture
11: invalid type
6reserved
code in the sector
start code in the sector
else 0000
Note
1. This is the same value as used to generate the PTS and DTS values.
2004 Jan 2628
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
Table 7 Audio metabytes data
BYTE
(HEX)
00identification0 to 7AAH; audio
01flags0reserved
02data lengthLSB0 to 7amount of non-stuffing bytes minus one
03MSB0 to 7
04time stampLSB0 to 7The value of the STC at the moment that the first byte of the first
050 to 7
060 to 7
07MSB0 to 7
08reserved0 to 700
09frame start count0 to 7the amount of frame starts in the sector
0Afirst frame positionLSB0 to 7position (in bytes) of the first frame in the sector
0BMSB0 to 7
0Clast frame positionLSB0 to 7position (in bytes) of the last frame in the sector
0DMSB0 to 7
0Ereserved0 to 700
0Freserved0 to 700
NAME
LSB/
MSB
BITDESCRIPTION
1‘terminated audio flag’; this flag is only set at the end of a
recording session and indicates that this sector is not completely
filled with audio data
2‘synchronization flag’; indicates that the audio data in the sector is
related in time to the beginning of a Video Object Unit (VOBU)
3reserved
4reserved
5 to 7audio pack type:
000: MPEG-1 layer 2 or MPEG-2 without extension
010: MPEG-2 with extension
011: DDCE
100: DTS-1 (512 samples/frame)
101: reserved
110: reserved
111: LPCM 16-bit stereo 48 kHz
frame arrived at the input. Only 32 bits are used; note 1.
Note
1. This is the same value as used to generate the PTS value.
2004 Jan 2629
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.8MPEG stream output port
7.8.1GENERAL
The MPEG stream output port connects the SAA6752HS
multiplexer output to the outside world. The parallel
interface performs a parallel output transition of audio and
video data toan externally connected device andsupports
3-bus protocol modes.
7.8.2OUTPUT PORT CONFIGURATION OPTIONS
The following configuration options can be selected from
the host:
• OUTPUT PROTOCOL. Three output protocols can be
selected: DIO slave mode, DIO master mode and DEBI
slave mode and associated signalling pin polarities.
• OUTPUT DISABLE. Output can be set to
high-impedance if the SAA6752HS is not used in
application.
7.8.3DATA OUTPUT FORMAT
The data to be transmitted have a width of 8 bits in all
modes. The data output port supports DIO and DEBI bus
protocols. The bus protocol mode is set via an I2C-bus
controlled register. The DEBI protocol provides only a
transmission of 8-bit data block transfer without address
decoding.
SAA6752HS
7.8.4PROTOCOL DESCRIPTION
Table 8 Output port definitions
PORTI/ODESCRIPTION
PDIDSIRequest from external system if
interface is in DEBI slave mode.
PDIOCLKI/O Output clock to the external system if
interface is set to DIO master mode.
Input clock to the SAA6752HS if
interface is set to DIO slave mode.
PDO[7:0]O output data (8-bit parallel)
PDOSYNCO Indicates a first byte of a data packet
(for transport streams in DIO mode).
PDOAVO Indicates when an audio packet is
output (for transport stream).
PDOVALO Indicates whether currently sent data
is valid.
7.8.4.1DIO master mode
The PDIOCLK clock for the DIO interface is derived from
the system clock by a division of the 27 MHz clock by 3 or
by 4, generating a data output clocked at 9 or 6.75 MHz.
A PDOVAL signal indicates whether current data at the
output is valid. If the output buffer is empty the PDOVAL
signal will stay LOW. The number of valid pulses indicate
the real number of data transmissions. The signal
PDOSYNC in conjunction with PDOVAL indicates the first
byte of a transport stream packet.
handbook, full pagewidth
OUTPUT INTERFACE
SAA6752HS
PDIOCLK
PDOSYNC
PDOAV
PDO[7:0
PDOVAL
PDIDS
]
Fig.7 DIO master mode protocol.
2004 Jan 2630
DATA RECEIVER
CLOCK
DSYNC
AUDIO/VIDEO QUALIFIER
DATA
VALID
n.c.
MHC134
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
handbook, full pagewidth
PDIOCLK
PDO[7:0
PDOVAL
]
0001BA
SAA6752HS
MHC135
handbook, full pagewidth
PDIOCLK
PDOVAL
]
PDO[7:0
PDOSYNC
Fig.8 Data transfer in DIO master mode.
188 bytes
MHC136
Fig.9 DIO master mode, transport stream packet.
2004 Jan 2631
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
7.8.4.2DIO slave mode
The SAA6752HS can be enabled in a DIO slave mode where the data receiver acts as master. PDO, PDOSYNC and
PDOAV are clocked out by the internal clock; earliest two internal clock cycles e.g. 36 to 58 ns after the falling edge of
the external clock. The external clock PDIOCLK should not exceed a maximum of 9 MHz. The PDOVAL signal still
indicates if data is available in the output buffer. To operate in this mode, the PDIDS request input must be set to logic 1.
handbook, full pagewidth
OUTPUT INTERFACE
SAA6752HS
PDIOCLK
PDOSYNC
PDOAV
PDO[7:0
PDOVAL
PDIDS
DATA RECEIVER
CLOCK
DSYNC
]
'1'
AUDIO/VIDEO QUALIFIER
DATA
VALID
handbook, full pagewidth
PDIOCLK
]
PDO[7:0
PDOVAL
MHC137
Fig.10 DIO slave mode protocol.
100001BA
MHC138
Fig.11 Data transfer in DIO slave mode.
2004 Jan 2632
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.8.4.3DEBI slave mode
The SAA6752HS supports DEBI slave mode with a block
transfer of 8-bit data. This can be used for interfacing with
a PCI bridge (for example, an SAA7146A chip set). There
isno addressingphase necessary. Thetransfer starts with
recognition of a PDIDS pulse. The requested data,
PDO[7:0], is transferred when the PDOVAL signal goes
active, indicating that datais available in the output buffer.
In the event of interfacing to an SAA7146A chip set, the
PDOVAL pin is connected to the DTACK_RDY pin and
serves as a handshake. The LDS_RDN and UDS_WRN
signals should be used to generate the PDIDS signal.
handbook, full pagewidth
OUTPUT INTERFACE
SAA6752HS
PDIOCLK
PDOSYNC
PDOAV
PDO[7:0
PDOVAL
PDIDS
SAA6752HS
Note that to operate correctlyto theDEBI transferprotocol
the VALID output signal should be programmed negative
by I2C-bus command and a 3.3 kΩ resistor to V
recommended.
DATA RECEIVER
(SAA7146A)
n.c.
n.c.
n.c.
]
AD16IN
DTACK_RDY
LDS_RDN
UDS_WRN
DDP
is
handbook, full pagewidth
PDIDS
PDO[7:0
PDOVAL
MHC139
Fig.12 DEBI slave mode protocol.
]
XX01XX02
MHC140
Fig.13 Data transfer in DEBI slave mode.
2004 Jan 2633
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.9Clock generation
7.9.1GENERAL
The SAA6752HS is designed to operate with a single
fundamental 27 MHz crystal or an external 27 MHz clock.
From these clock sources an internal PLL produces the
27 MHz, 54 MHz and 108 MHz frequencies needed for
operation.
It is possible to use a third overtone crystal in combination
with a 9 MHzexternal trap. In this eventClock mode 2and
tuning by the I2C-bus commands are not usable.
7.9.2CLOCK CONFIGURATION OPTIONS
The following configuration options can be selected from
the host:
• CLOCK MODE. Dependent on the type of application
(i.e. video frame locked, reference clock locked etc.),
three different clock modes are available
• CLOCK SOURCE. The clock can be generated from an
internal crystal controlled clock or an external source.
If from a crystal then a fine tune adjustment is available
SAA6752HS
• CLOCKOUTPUT.It is possible toenableasystemclock
output so that the 27 MHz clock can be used elsewhere
by the user.
7.9.3CLOCK MODES
The SAA6752HS internal PLL can be configured in three
differentclock modes: Clockmodes 1,2 and 3.Adefinition
of the clock modes is shown in Table 9. The clock modes
are intended for different applications:
• Clock mode 1. System clock reference locked to input
video frame frequency. Intended for applications where
the output stream is recorded directly onto a medium
(i.e. DVD video recorder).
• Clock mode 2. Crystal locked to input video frame
frequency. Intended for applications that require both
recording and direct playback. However it is limited by
the required accuracyof the input video framefrequency
• Clock mode 3. Crystal free-running. Intended for
applications where the output stream is played realtime
directly by a decoder.
To meet the requirements for each clock mode the
conditions specified in Table 10 must be met.
Table 9 Clock modes
CLOCK
MODE
1DVD-compliant
2DVD and MPEG-compliant27 MHz ± video frame
3MPEG-compliantcrystal frequencycrystal frequency
Note
1. The stream contents are MPEG-compliant but the time stamps are not synchronized with real time (i.e. dependent
on the accuracy of the video input frame frequency). Playback of such a stream is MPEG-compliant due to the
re-generation of time synchronization.
1. The nominal video frame frequency is dependent on the video mode set: 525 or 625 lines.
OUTPUT STREAM
TIME-STAMP COMPLIANCE
(1)
CRYSTAL FREQUENCY
(to allow fine tuning via PLL)
SYSTEM FREQUENCYSYSTEM CLOCK REFERENCE FREQUENCY
crystal frequency27 MHz ± video frame frequency accuracy
27 MHz ± video frame frequency accuracy
frequency accuracy
EXTERNAL
CLOCK FREQUENCY
not applicablenominal × (1 ±200 × 10−6)
INPUT VIDEO FRAME FREQUENCY
(1)
2004 Jan 2634
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
7.9.4CLOCK MODE 2 AUTO-SWITCH
An auto-switch mode is available if Clock mode 2 is
selected. In this event the PLL will switch to Clock mode 1
or 3 if the conditions for Clock mode 2 are no longer met
(i.e. video frame frequency outside the range
1 ±200 × 10−6). The auto-switch preference is set by an
I2C-bus command during the SAA6752HS initialization.
If auto-switch occurs then a host interrupt can be flagged.
7.9.5CRYSTAL TUNING
It is possible to tune the crystal frequency by up to
1 ±200 × 10−6 via the I2C-bus. If necessary this can be
usedtoachieve the MPEG-2 accuracy of1 ±20 × 10−6with
standard crystals.
7.9.6EXTERNAL CLOCK SOURCE
It is possible to use an external system clock. For start-up
before switching to the externalclock inputa crystalhas to
be connected or the external frequency has to be applied
to pin XTALI. The input voltage for this pin must be limited
to 2.5 V. An external clock source cannot be used with
Clock mode 2.
7.9.7AUDIO CLOCK
A switchable sampling frequency for an audio
Analog-to-Digital Converter (ADC) is generated by the
internal PLL. Two sampling frequencies are selectable:
256 × 48 kHz and 384 × 48 kHz. This clock output can be
used as clock signal for an external audio ADC. The
systemclock reference frequencyas described inTable 9,
is used as reference for the internal PLL generating the
audio clock.
7.10Power control and reset
7.10.1GENERAL
An external reset pulse at power-up is needed to start-up
the SAA6752HS. This will start the oscillator and initialize
hardware and firmware. The SAA6752HS can be set to a
power saving sleep mode where all internal clocks are
switched off. In this mode restartingcan only be done by a
hard reset pulse.
SAA6752HS
7.11I
7.11.1GENERAL
The I2C-bus interface within the SAA6752HS is a slave
transceiver. It is used for all control settings. The read
mode may be used to read back error or status codes.
The I2C-bus interface is compliantto the I2C-bus standard
at 100 kHz and 400 kHz clock frequency and suitable for
bus line voltage levels of 3.3 V. If an I2C-bus with higher
voltage is used by an application, it is possible to add a
small interface between 3.3 V and a higher voltage level.
Only two MOSFET transistors (e.g. BSN10, BSN20 or
BSS83) are needed. A description of this circuit is
available at
http://www.semiconductors.philips.com/i2c/facts/
Information about the I2C-bus can be found in the
brochure
(order number 9398 393 40011).
7.11.2SLAVE ADDRESSES
Two write I2C-bus slave addresses (SAD) are available,
40H and 42H (8-bit), dependent on the state of address
select pin I2CADDRSEL. This avoids possible address
conflict of addresses with other devices. A HIGH-level at
the address selection pin will set the device write address
to 42H.
Similarly for read operations there are two slave
addresses: 41H and 43H. A HIGH-level at the address
selection pin will set the device read address to 43H.
7.12Exception handling
7.12.1GENERAL
The SAA6752HS is capable of flagging certain events to a
host via a hostinterrupt flag pin H_IRF. Thehost is able to
read back a 16-bit status word via the I2C-bus to identify
the specific event and take action accordingly. Detectable
events include copyright violations, loss of input
synchronization, DVD compliance errors etc.
7.12.2EXCEPTION CONDITIONS
A list of the SAA6752HS exception conditions, as
indicated by the status word, is defined in Table 11. The
I2C-bus subaddress is 12H (see Table 14).
2
C-bus interface
“The I2C-bus and how to use it”
2004 Jan 2635
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
Table 11 Interrupt status definition
STATUS
WORD BIT
0video copyright violationSAA6752HS continues encoding; note 1.
1input video signal not detected or lostSAA6752HS continues encoding but outputs audio ES
2when a difference between the V-sync period
in I2C-bus settings and in the video input signal
is detected
3Clock mode 2 out of rangeIf enabled, the SAA6752HS PLL will auto-switch to
4output bufferoverflow (due to loss of data read
command)
5video and audio frames out of alignmentRatio between number of generated audio frames and
6input audio not DVD-compliant (toIEC 61937)SAA6752HS continues encoding but will not include
if external user data insertion in mode ‘only
once’ is active: insertion of user data has
been finished and the host can send new
user data
10illegal I2C-bus commandSAA6752HS ignores the I2C-bus command.
• I2C-bus command not recognized
• command in invalid mode
• command parameter error
11general errorSAA6752HS will go to Idle mode if time-out is enabled
12input audio word select signal not detected or
audio stream stopped after exception status
bit 4, 6, 7 or 8
EXCEPTION CONDITIONRESPONSE IF EXCEPTION IS DETECTED
packets only; SAA6752HS will resynchronize if video
input is recommenced; notes 2 to 4.
SAA6752HS continues but frames may be lost during
the event.
Clock mode 1 or 3 as programmed.
Stream output stops or corrupted data will be
delivered; reset or forced reconfigure needed to
recover.
number of generated video frames is not nominal; time
stamps remain correct; note 5.
audio packets.
SAA6752HS continues encoding but will not include
audio packets.
SAA6752HS continues operation.
or stop operating if time-out is disabled; in case of the
later a forced reconfigure is recommended.
SAA6752HS continues encoding but outputs video ES
packets only; transition to STOP needed to recover.
2004 Jan 2636
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
STATUS
WORD BIT
13VBI WSS data has been capturedSAA6752HS continues operation.
14VBI CC data has been capturedSAA6752HS continues operation.
15memory manager resynchronization occurred
after discontinuity in the video input signal
Notes
1. ‘No copy’ flag is only detected if the correct WSS VBI mode is enabled.
2. This error flag detects mismatches between the input video format (525 or 625) and SAA6752HS video setting
(525 or 625). Video syncs out of range are also detected.
3. A loss of video sync is flagged if 10 consecutive syncs are not detected.
4. For stream types which include video mode transitions to encode or idle/stop will not be finished, if no video is
present. A pending mode transition can be stopped by forced reconfigure.
5. In clock mode 1 and 3 this can occur due to discontinuity in the video input signal. In applications, which require an
exactratio between thenumberof generated audioframesand the numberofgenerated video frames,thehost might
start a corrective action. In clock mode 3 this exception can be ignored; it will happen after some encoding time,
because the audio processing is locked to the system frequency and video processing depends on the video input
frequency.
EXCEPTION CONDITIONRESPONSE IF EXCEPTION IS DETECTED
SAA6752HS continues operation, but a forced
reconfigure is recommended.
7.12.3HOST INTERRUPT OPERATION
A LOW level as signalled by the host interface pin
indicates that an exception condition has been detected.
The host interrupt flag pin H_IRF is reset to HIGH by
reading the interrupt status word via the I2C-bus.
7.12.4INTERRUPT MASKING
It is possible to mask any combination of exception
conditions by setting a 16-bit interrupt mask via the
I2C-bus.
8BOUNDARY SCAN TEST
The SAA6752HS has built-in logic and 5 dedicated pins to
support boundary scan testing, which allows board testing
without special hardware (nails). The SAA6752HS follows
the
“IEEE Std. 1149.1 - Standard Test Access Port and
Boundary Scan Architecture”
Group (JTAG) chaired by Philips.
The 5 special pins are: Test Mode Select (TMS), Test
Clock (TCK), Test Reset (TRST), Test Data Input (TDI)
and Test Data Output (TDO).
The Boundary Scan Test (BST) functions BYPASS,
EXTEST, SAMPLE, CLAMP and IDCODE are all
supported(see Table 12).Detailson the JTAG BST-TEST
can be found in the specification “
set by the Joint Test Action
IEEE Std. 1149.1”
.
A file containing the detailed Boundary Scan Description
Language (BSDL) description of the SAA6752HS is
available on request.
8.1Initialization of boundary scan circuit
The Test Access Port (TAP) controller of an IC should be
in the reset state (TEST_LOGIC_RESET), when the IC is
in functional mode. This reset state also forces the
instruction register into a functional instruction such as
IDCODE or BYPASS.
To solve the power-up reset, the standard specifies that
the TAP controller will be forced asynchronously to the
TEST_LOGIC_RESETstate bysetting pin TRST to LOW.
8.2Device identification codes
A device identification register is specified in
1149.1b-1994
for the specification of the IC manufacturer, the IC part
number and the IC version number. Its biggest advantage
is the possibility tocheck for the correct ICs mounted after
productionand determination ofthe version numberof ICs
during field service.
When the IDCODE instruction is loaded into the BST
instruction register, the identification register will be
connected between TDI and TDO of the IC.
”. It is a 32-bit register which contains fields
“IEEE Std.
2004 Jan 2637
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
The identificationregister willload a componentspecific code duringthe CAPTURE_DATA_REGISTER stateof the TAP
controller and this code can subsequently be shifted out. At board level this code can be used to verify component
manufacturer, type and version number. The device identification register contains 32 bits, numbered 31 to 0, where
bit 31 is the most significant bit (nearest to TDI) and bit 0 is the least significant bit (nearest to TDO); see Fig.14.
Table 12 BST instructions supported by the SAA6752HS
INSTDESCRIPTION
BYPASSThis mandatory instruction provides a minimum length serial path (1-bit) between TDI and TDO,
when no test operation of the component is required.
EXTESTThis mandatory instruction allows testing of off-chip circuitry and board level interconnections.
SAMPLEThis mandatory instruction can be used to take a sample of the inputs during normal operation of
the component. It can also be used to preload data values into the latched outputs of the boundary
scan register.
CLAMPThis optional instruction is useful for testing, when not all ICs have BST. It addresses the bypass
register, while the boundary scan register is in external test mode.
IDCODEThis optional instruction will provide information on the components manufacturer, part number and
version number.
handbook, full pagewidth
TDI
MSBLSB
31
28 2712
XXXX0010 1011 0110 01100000 0010 101
4-bit
version
code
16-bit part number
E M S
11
11-bit manufacturer
identification
10
1
Fig.14 32 bits of identification code.
TDO
MHC141
2004 Jan 2638
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2639
2
C-BUS CONTROL AND STATUS REGISTERS
9I
Tables 13 to 26 list the I2C-bus instructions intended for functional control and status.
Column M identifies the SAA6752HS modes that are valid for each I2C-bus instruction. The key is:
I - write and/or read valid in Idle mode
P- write and/or read valid in Paused mode
S - write and/or read valid in Stop mode
E - write and/or read valid in Encode mode
All - write and/or read valid in Idle, Encode, Paused and Stop mode.
2
Table 13 I
C-bus control
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
ADR
HEX
00allsoft resetWnonenone−This command resets the SAA6752HS to its
01IenableWnonenone−go to Stop mode from Idle mode
02I, P, SstartWnonenone−go to Encode mode
03EstopWnonenone−go to Stop mode from Encode mode
04Epause
05E, P, S reconfigureWnonenone−go to Idle mode
06IsleepWnonenone−go to Power-down mode
07E, P, S forced
08Ienable system
Note
1. Paused mode transitions are not applicable to transport stream and DIO output mode combination, only transport stream and DEBI output mode
M
combination.
COMMAND
NAME
(1)
reconfigure
time-out
R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
default settings.
Wnonenone−go to Paused mode from Encode mode
Wnonenone−Go to Idle mode without completing the
current GOP/audio frame. This is intended for
use in cases similar to no video/audio input
present.
R/W 1 bytedisabledEnables SAA6752HS to time-out to Idle mode
bit 0 = 1enabled
bit 0 = 0disabled
if STOP to IDLE transition cannot be
completed (i.e. due to no video signal being
present). If a general error event is detected,
the SAA6752HS will automatically switch to
Idle mode via forced reconfigure.
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2640
Table 14 I
ADR
HEX
10allget running modeR1 byte−This command gets the actual running mode
11allstatus maskW2 bytes (16 bits)all 0’smasking of events; see Table 11
12allinterrupt statusR2 bytes (16 bits)−This command allows reading a status
13allget version
2
C-bus status
M
COMMAND
number
NAME
R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
bit 0 = 1idle
bit 1 = 1encoding
bit 2 = 1stopped
bit 3 = 1paused
bit 4 = 1reserved
bit 5 = 1busy flag
bit = 0event disabled
bit = 1event enabled
bit = 0no event detected
bit = 1event detected
R12 bytes−−This command allows reading of the current
from the SAA6752HS and is read-only. The
busy flag indicates that the SAA6752HS is
working at a control command. If the busy flag
is set, the SAA6752HS skips all received
2
I
C-bus commands.
register. Reading the status will clear the
status and reset the interrupt assertion pin.
MIPS firmware version number, hardware
number and the audio DSP firmware number.
Each number contains 4 bytes.
byte 00 to 225defines the number of shifted lines in the
byte 10 to 225defines the number of shifted lines in the
2
/3D1
1
/2D1
Identification (FID)
information coded in the
EAV/SAV bytes complying
to ITU-R BT.656
and FID signals input to
from external source(s)
V-sync signals input to
from external source(s)
or 525 lines
the subsampling type is changed, then the
horizontal shift (address 45H) will be
overwritten with the defaultvalues and the
horizontal filter (addresses 53H, 54H and
55H) will be initialized with appropriate
parameter
used
adjustment different from ‘0’ is used, then
a horizontal shiftof minimum2 pixelsmust
be programmed in subaddress 45H.
top field
bottom field
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2643
ADR
HEX
45Ihorizontal shiftR/W 2 bytes0 to 511 (bits 0 to 8)0 (D1,2/3D1)
46Isync polarityR/W byte000defines the polarity of the sync signals
47Idisable forced
M
COMMAND
NAME
field toggle
R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
defines the number of shifted cycles for
or
8(1/2D1, SIF)
bit 0 = 0H-sync signal HIGH for
horizontal blanking
bit 0 = 1H-sync signal LOW for
horizontal blanking
bit 1 = 0V-sync signal HIGH for
vertical sync
bit 1 = 1V-sync signal LOW for
vertical sync
bit 2 = 0FID signal LOW for first
field
bit 2 = 1FID signal HIGH for first
field
R/Wbit 0 = 0enable forced field toggle0If no FID polarity transitions are detected
bit 0 = 1disable forced field toggleIf no FID polarity transitions are detected
everyline; remark: 4 cyclescorrespond to
2 pixels; only multiple of 4 should be
programmed
in the input signal, then an internal toggle
of FID polarity ensures the encoding of
some frames.
in the input signal, then no frames are
encoded.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2644
Table 18 I
ADR
HEX
50I, E, P,Snoise pre-filter
51I, E, P,Snoise pre-filter
52I, E, P,Snoise pre-filter
53I, E, P,Shorizontal filter
54I, E, P,Shorizontal filter
55I, E, P,Shorizontal filter
2
C-bus video front-end filters static/dynamic settings
R/W 3 bytes3 × 6 bits; bits 0 to 5 valid10, 15, 20 defines the threshold coefficients for the
R/W 1 byteoffenables or disables the horizontal filter by
bit 0 = 0off
bit0=1on
R/W 16 bytesarray of word (8× 10 bits)first word
R/W 1 byte (4 bits)0 to 158Defines the scaling factor for the horizontal
16H, 0DH
=256, the
others = 0
the mode for this filter
defines the filter coefficients for the noise
pre-filter
median filter
bypassing
Defines the coefficientsfor the horizontal filter;
the default applies to D1 mode only. When
other subsampling modes are selected the
SAA6752HS automatically overwrites the
horizontal filter coefficients with the
appropriate parameters.
filter; the default applies to D1 mode only.
When other subsampling modes are selected
the SAA6752HS automatically overwrites the
horizontal filter scaling parameter with the
appropriate parameter.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2645
Table 19 I
ADR
HEX
60IVBI mode selectW5 bytes−
2
C-bus video front-end VBI data extraction
MCOMMAND NAME R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
bit 0 = 0WSS modeselects between WSS and CC modes
bit 0 = 1CC mode
bit 8 = 0data input slicedSelects if the input data is sliced by the
bit 8 = 1data input unsliced
sliced datasent in case of sliced input data
bit[17:16]data type[3:2]The data type compared with the data type
bit[23:18]SDID, 0 to 63The SDID compared with the SDID field in
bit[28:24]line number, 0 to 31line number of data as set bythe video input
bit 29 = 0top fieldfield dependent on video input processor
bit 29 = 1bottom field
bit[31:30]data type[1:0]The data type compared with the data type
bit 32 = 1field qualifiermask SDIDmatch the SDID
bit 33 = 1field qualifier mask
data type
bit 34 = 1field qualifier mask fieldmatch field
bit 35 = 1field qualifier mask
line number
bit[39:36]reservedmust be set to zero
video input processor (sliced) or by the
SAA6752HS (unsliced).
field in the VBI data header for extraction
decision; bits 3 and 2.
the VBI data header for extraction decision.
processor
setting
field in the VBI data header for extraction
decision; bits 1 and 0.
match data type
match line number
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2646
ADR
HEX
60IVBI mode select
61IWSS data enableR/W 1 bytedisabledenables or disables WSS data extraction
62allWSS read dataR2 bytes−−WSS data and flag indicating valid data
63ICC data enableR/W 1 bytedisabledenables the closed caption data extraction
64allCC read dataR3 bytes−CC data and flags indicating valid data and
MCOMMAND NAME R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
Wcontinuedunsliced data−sent in case of unsliced input data
(continued)
bit[20:16]line number for bottom,
0to31
bit[28:24]line number for top,
0to31
bit[37:32]reservedmust be set to zero
bit 38 = 1field qualifier mask
bit[13:0]WSS data
bit 15 = 0valid data
bit 15 = 1invalid or previous data
bit 0 = 0disabled
bit 0 = 1enabled
bit[15:0]CC data
bit 16 = 0top field
bit 16 = 1bottom field
bit 23 = 0valid data
bit 23 = 1invalid data
line number for bottom field as set by the
video input
line number for top field as set by the video
input
match if field = ‘top’ and line = ‘line number’
match if field = ‘bottom’ and
line = ‘line number’
current field
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2647
ADR
HEX
65Iuser data insertion
MCOMMAND NAME R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
R/W 1 byte00Hselects the user data insertion mode
mode
bit 0 = 0always repeatedexternal user data insertion into GOP
bit 0 = 1only once
bit 1 = 0always repeatedexternal user data insertion into picture
bit 1 = 1only once
bit 2 = 0disabledInternal user data insertion of Closed
bit 2 = 1enabled
bit 3 = 0disabledInternal user data insertion of Closed
bit 3 = 1enabled
bit4=0−Stop user data insertion into GOP header
bit 4 = 1stop
bit5=0−Stop user data insertion into picture header
bit 5 = 1stop
bit 6reservedmust be set to zero
bit 7reservedmust be set to zero
header (user data 1)
header (user data 2)
Caption data into GOP header user data
area according to DVD standard.
Remark: Only one internal user data
insertion mode can be active at the same
time, either bit2=1 or bit3=1.
Caption data into picture header user data
area according to ATSC/NTSC standard.
Remark: Only one internal user data
insertion mode can be active at the same
time, either bit2=1 or bit3=1.
user data area. This bit can be used in all
operation modes. Setting this bit to logic 1
(= stop) deletes the downloaded GOP user
data and resets bit 2 to ‘disabled’.
user data area. This bit can be used in all
operation modes. Setting this bit to logic 1
(= stop) deletes the downloaded picture
user data and resets bit 3 to ‘disabled’.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2648
Table 20 I
ADR
HEX
70Idisable video
71Ibit rate modeR/W 1 byteVBRdefines the encoding bit rate control mode
72IGOP definitionR/W 2 bytes0001H:
73I, E, P,Suser data GOP
74I, E, P,Snumberofuser data
75I, E, P,Snumberofuser data
76I, E, P,Suser data picture
77I, E, P,Snoise filter
78Iadaptive
2
C-bus video encoder: general
MCOMMAND NAME R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
R/W 1 byteenabledSpecifies if the video encoder is enabled.
encoder
header
GOP
picture header
header
coefficients
quantization depth
bit 0 = 0enabled
bit 0 = 1disabled
bit 0 = 0VBR
bit 0 = 1CBR
byte 0distance (M) (0 to 3)
byte 1length (N) (0 to 19)
R/W 64 bytesall 0Specifies the data to be inserted into the
R/W 1 byte0Specifies the amount of user data to be
R/W 1 byte0Specifies the amount of user data to be
R/W 64 bytesall 0Specifies the data to be inserted into the
R/W 2 bytesoffDefines the noise filter coefficients gain and
byte 0gain
byte 1criterion
R/W 1 byte0 to 12832Selects the depth of quantization
M=0;
N=1
If the video encoder is disabled, no video
data will be inserted in the output stream.
(variable or constant bit rate)
Defines the used GOP structure as (N.M),
where ‘N’ is the number of frames per GOP
and ‘M’ is the distance of 2 sequential I- or
P-frames (reference frame distance);
distance = 0 is I-frame coding; see Table 3
for meaningful combinations.
GOP header.
inserted into the GOP header.
inserted into the picture header.
picture header. If internal user data insertion
of Closed Caption data into the GOP header
is active and the GOP size is larger than 9,
then the insertion of user data to the picture
header is not available.
criterion scale.
adaptation; 0 for no adaptation, 128 for
maximum adaptation.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2649
ADR
HEX
79Iquantizer matrixR/W 2 × 64 bytesarray of integers
7AIreserved−−−−−
7BIdisable forced
7CIscan selectR/W 1 byte0
7DIquantizer scale
MCOMMAND NAME R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
−Specifies the quantizer matrix as 2 tables,
backward prediction
table
(8 × 8 bytes)
R/W 1 byte0Applies only for GOP structures starting with
bit 0 = 0enabled
bit 0 = 1disabled
bit 0 = 0alternate scan
bit 0 = 1zigzag scan
R/W 1 byte0
bit 0 = 0logarithmic
bit 0 = 1linear
each an 8 × 8 array. Data must be
transferred column by column, not row by
row. Theinter Q matrix must be downloaded
first, the intra Q matrix downloaded second;
note 1.
a B-frame: Disabled forced backward
prediction results in non-editable (open)
GOPs with prediction from a former GOP.
Enabled forced backward prediction results
in backward predicted closed GOPs without
prediction from a former GOP.
In all cases the leading B-frames of the very
first GOP structure after start of encoding
are forced to backward prediction.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
Note
1. If no Q matrix is downloaded then the default is the MPEG standard and no Q matrix is inserted into the stream.
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2650
Table 21 I
ADR
HEX
80I, E, P,SRvbrR/W 2 bytes−6000VBR target bit rate (kbit/s); this applies to
81I, E, P,SRmaxR/W 2 bytes−9800CBR mode: Target bit rate (kbit/s);
82I, E, P,SQmin_VBRR/W 1 byte1 to 1124Minimum Q-scale for external constraints of
83I, E, P,SQmax_VBRR/W 1 byte1 to 11212Maximum Q-scalefor external constraints of
84I, E, P,SB-frame weightingR/W 1 byte32 to 128128, no
85I, E, P,Sread bytes per GOP R4 bytes−−This command reads the number of bytes
Note
1. If the video bit rate Rmax is intended to be changed during the encoding state, the maximum applied value for Rmax has to be set before start of
2
C-bus video encoder: bit rate control (dynamic settings)
MCOMMAND NAME R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
VBR mode only; Rvbr must be set to less
than Rmax.
VBR mode: Maximum bit rate (kbit/s);
note 1.
VBR
VBR.
B-frame weighting factor (internally divided
weighting
encoding. I.e. the Rmax value that was valid at start of encoding (coming from stop) is the maximum allowed value for this encoding process.
by 128; i.e. 128 = no effect)
per GOP.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2651
Table 22 I
ADR
HEX
90Idisable audio
91Iaudio input format R/W 1 byteI2Sdefines the audio input format
92Iaudio input mode
93Iaudio processing
2
C-bus audio encoder: bit rate control (static settings)
M
COMMAND
NAME
encoder
and port select
mode
R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
R/W 1 byte0Specifies if the audio encoder is enabled.
If the audio encoder is disabled, no audio data
will be inserted in the output stream.
In master mode, SAA6752HS delivers the bit
clock and word select signal. In slave mode,
SAA6752HS receives the bit clock and word
select signal. Remark: If I2S port 2 is switched
to output mode (VES + AES output stream
mode) then SAA6752HS is fixed to master
mode.
Section 7.5); note 1
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2652
ADR
HEX
94Iaudio encoding
95Iaudioclockoutput
96Iaudio
Notes
1. In systems that use 16 Mbit SDRAM, due to system architecture constraints, LPCM bypass must be restricted to be used with I and IP video
2. All compressed audio data is 16-bit. In the event of LPCM bypass 20-bit data will be truncated to 16 bits.
M
encoding only. There is no constraint if 64 Mbit SDRAM is used.
COMMAND
NAME
bitrateand output
resolution
frequency
pre-emphasis
mode
R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
R/W 1 byte256 kbit/s
bit 0 = 0256 kbit/s
bit 0 = 1384 kbit/s
bit 1 = 016-bit
bit 1 = 1reserved
R/W 1 byte256 ×
bit 0 = 0256 × 48 kHz
bit 0 = 1384 × 48 kHz
R/W 1 byteoffselects audio pre-emphasis mode of input
bit[2:0] = 110pack streamPack stream is a special not MPEG-compliant
bit[2:0] = 111VES + AESVES + AES mode allows VES output from the
R/W 2 bytes<27000; note 110080Maximum target bit rate of the system stream
R/W 2 bytes−0Number of flushing bytes appended to the
SAA6752HS output stream formats for details):
Elementary stream output is possible for audio
or video only encoding.
DVD-compliant: PES packets have a limited
size and can be easily multiplexed into a DVD
program stream.
TS-compliant: PES packets have an unlimited
size and can be easily multiplexed into a
transport stream.
PES packets containing audio and video
information are flagged with an audio/video
signal pin. The audio/video polarity of the
signal pin is programmable.
A DVD-compliantprogram stream isgenerated,
but no navigation packs are inserted.
A transport stream is generated.
mode. The MPEG buffer model is not used.
output port at the same time as an SPDIF
formatted AES is output from the 2nd I2S audio
port. For this mode subaddress 92H must be
set to zero.
in kbit/s (= 1000 bit/s) and must be set if TS or
PS or pack stream modes are selected. It is
ignored if ES or PES streams are selected.
stream after a stop.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2655
ADR
HEX
B3Ivideo PES IDR/W 8 bitsE0H to EFHE0HStream ID for video PES header; must be set
B4Iaudio PES IDR/W 8 bitsC0H to DFHC0HStream ID for audio PES header; must be set
B5IPES original
B6Imultiplexer
B7Iaudio substreamIDR/W 1 byte−00audio substream ID; for PS (DVD) or PES
Copy and copyright setting in audio and video
PES header.
The number of GOPs per VOBU for PS output.
PS (DVD) and pack stream modes.
Specifies the number of reserved time slots for
navigation packets and DVD recorder data.
inserted into the stream; this applies to
program stream and pack stream modes.
Remark: For DVD-compliance, the PES
header extension must be inserted.
(DVD) only
kbit/s (= 1000 bit/s); applies for PS and TS
modes. The parameter includes the number of
stuffing bytes. During pause mode, this
address will read back the value of the last
GOP before the pause command.
stream only).
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
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 be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2004 Jan 2656
Note
1. The limit for I-frame only is 27 Mbit/s. For IP or IPB formats the limit is 16 Mbit/s.
2
Table 25 I
C-bus multiplexer: transport stream (static settings)
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
ADR
HEX
C0Ivideo TS packetIDR/W 2 bytes0020H to 1FFEH0100HPacket ID for transport stream packets
C1Iaudio TS packetIDR/W 2 bytes0020H to 1FFEH0102HPacket ID for transport stream packets
C2Isystem
C3ITS
C4Iclock TS packetIDR/W 2 bytes0020H to 1FFEH0104HPacket ID for transport stream packets
M
COMMAND
NAME
information
tables
miscellaneous
R/WSIZE/POSITIONPARAMETER/RANGEDEFAULTDESCRIPTION
containing video data; for TS only.
containing audio data; for TS only.
W189 bytes
(maximum
value); up to
5 separate tables
R/W 1 byte00HA discontinuity information table is inserted at
bit0=0DIT insertion disabled
bit0=1DIT insertion enabled
bit1=0constant TS bit rateAt constant TS bit rate mode null packets are
bit1=1variable TS bit rateAt variable TS bit rate mode no nullpackets are
first byte is table number
range (0 to 4) + array of
maximum 188 bytes
values
−There are5 different tables followed by anarray
of up to 188 bytes.The tables must be sent one
by one; the size of the tables is not defined but
limited to 188 bytes.
Table 0: Program Association Table (PAT)
Table 1: Program Map Table (PMT)
Table 2: free programmable [e.g. Conditional
W2 bytesnumber of bytes00HDefines the number of leading null bytes
bytes
bit 2 = 0positivepositivefor the DEBI output protocol negative
bit 2 = 1negative
bit 3 = 0offonSelection of high-impedance for output pin.
bit3=1on
bit 4 = 0audio HIGH, video LOWaudio
bit 4 = 1audio LOW, video HIGH
bit 5 = 1negative
bit 6 = 0negativenegative
bit 6 = 1positive
bit 7 = 09 MHz9 MHzselection of clock frequency for DIO master
bit 7 = 16.75 MHz
mode
HIGH,
video
LOW
DIO master mode: SAA6752HS deliversthe
clock signal.
DIO slave mode: SAA6752HS receives the
clock signal.
polarity has to be selected
mode
(00H), which are delivered to the output
before the start of the stream.
Remark: After forced reconfigure command
the default value of 00H will be set.
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
SAA6752HS
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
10 LIMITING VALUES
In accordance with the Absolute Maximum Rating System (IEC 60134).
SYMBOLPARAMETERCONDITIONSMIN.MAX.UNIT
V
DDP
V
DDCO
V
DDA
V
I
V
i
V
O
I
sc
I
lu(prot)
P
tot
T
stg
T
amb
V
es
digital supply voltage for pads−0.5+4.0V
digital supply voltage for core−0.5+2.8V
analog supply voltage−0.5+2.8V
digital input voltagenote 1−0.5+4.0V
analog input voltagenote 2−0.5+2.8V
digital output voltagenote 3−0.5V
DDP
+ 0.5 V
short-circuit current of output padsnote 4−125mA
latch-up protection current−100mA
total power dissipation−2W
storage temperature−25+125°C
ambient temperature070°C
electrostatic handling voltagenote 5−2000+2000V
note 6−150+150V
Notes
1. All pads are not 5 V tolerant.
2. Pins XTALI and XTALO.
3. At V
> 3.7 V only maximum 4.2 V at digital outputs is allowed.
DDP
4. Short-circuit current is only allowed for a short time (<1 s).
5. Human body model: C = 100 pF; R = 1.5 kΩ.
6. Machine model: C = 200 pF; L = 0.75 µH; R = 0 Ω.
11 THERMAL CHARACTERISTICS
SYMBOLPARAMETERCONDITIONSVALUEUNIT
R
th(j-a)
thermal resistance from junction to ambient in free air; soldered to a PCB with
28K/W
supply and ground plane
2004 Jan 2658
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
12 CHARACTERISTICS
V
externally together; grounds V
specified.
DDCO
= 2.5 V, V
= 2.5 V and V
DDA
SSCO
= 3.3 V for the I/O pads; supply voltages V
DDP
, V
SSA
and V
are connected externally together; T
SSP
DDCO
and V
amb
are connected
DDA
=25°C; unless otherwise
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX.UNIT
Supplies: pins V
V
DDP
, V
DDP
digital supply voltage
DDCO
and V
DDA
3.03.33.6V
(pad cells)
V
DDCO
digital supply voltage
2.32.52.7V
(core)
V
DDA
analog supply voltage
2.32.52.7V
(oscillator and PLL)
I
DDP
digital supply current
172537mA
(pad cells)
I
DDCO
digital supply current
390430500mA
(core)
I
DDA
P
tot
analog supply current−3−mA
total power dissipation0.951.161.48W
Crystal oscillator tuning: pins XTALI and XTALO; note 10
N
tune
C
tune(min)
C
tune(max)
f
step
External clock input: pin EXTCLK
f
EXTCLK
δduty factort
t
r(EXTCLK)
t
f(EXTCLK)
2
I
C-bus address select input: pin I2CADDRSEL
V
IL
V
IH
Reset input: pin RESET
V
IL
t
start
t
length
t
init
HIGH-level input voltageif usedwith external
1.7−V
DDA
clock
shunt capacitance−−7pF
serial resistance−−25Ω
tuning steps−127−+128
minimum internal tuning
capacitance to V
SSA
maximum internal tuning
N
= 128−8−pF
tune
N
= −127−72−pF
tune
capacitance
crystal frequency offset
144270Hz
per tuning step
external frequencysquare wave;
25.727.028.3MHz
note 11
HIGH/Tcy
405060%
rise timeVI= 0.7 to 1.7 V−−5ns
fall timeVI= 1.7 to 0.7 V−−6ns
LOW-level input voltage
−0.5−+0.7V
for I2C-bus addresses
40H and 41H
HIGH-level input voltage
1.7−V
DDP
for I2C-bus addresses
42H and 43H
LOW-level input voltage
−0.5−+0.7V
for active reset
start time of first reset
−010µs
pulse after power-on
length of reset pulse
10−−ms
after power-on and after
sleep
initialization phase after
−−1s
reset pulse until I2C-bus
commands are accepted
V
V
2004 Jan 2663
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX.UNIT
SDRAM interface data, address and control timing: pins SD_DQ31 to SD_DQ0, SD_A13 to SD_A0, SD_CAS,
SD_RAS, SD_WE and SD_OE
T
cy
t
CAS
t
RCD
t
RRD
t
RP
t
WR
t
RSC
t
RAS
t
RC
t
power-up
t
d(C-D)
t
d(C-A)
t
su(D)
t
h(D)
Data output interface timing: pins PDO7 to PDO0, PDIDS, PDOSYNC, PDOAV and PDIOCLK
t
l-o(PDIDS-PDOVAL)
t
l-o(PDIDS-PDO)
t
stab(PDO-PDOVAL)
t
r(PDOVAL-PDO)
t
h(PDO-PDIOCLK)
t
su(PDO-PDIOCLK)
t
i(PDIOCLK)H
t
i(PDIOCLK)L
t
stab(PDIOCLK-PDO)
cycle timef
= 27 MHz−9.26−ns
sys
CAS latency time−3−clock
cycles
row to column delay time−3T
activate to activate delay
−2T
cy
cy
−ns
−ns
time
row precharge time−3T
write recovery time−2T
mode register set cycle
−2T
cy
cy
cy
−ns
−ns
−ns
time
row activate time−6T
row cycle time−8T
cy
cy
−ns
−ns
wait time after power-on500515−µs
clock to data output
delay
clock to address output
delay
C
L(SD_CLK)
C
L(SD_DQn)
f
SD_CLK
C
L(SD_CLK)
C
L(SD_An)
f
SD_CLK
= 15 pF;
= 8 pF;
= 108 MHz
= 15 pF;
= 8 pF;
= 108 MHz
2.54.05.0ns
2.54.05.0ns
data input set-up time1−−ns
data input hold time2.5−−ns
PDIDS to PDOVAL
DEBI slave mode0−20ns
low-ohmic time
PDIDS to PDO[7:0]
DEBI slave mode0−20ns
low-ohmic time
PDO[7:0] data stable to
DEBI slave mode10−−ns
falling PDOVAL time
rising
DEBI slave mode10−−ns
PDOVAL to PDO[7:0]
high-impedance time
PDO[7:0] data to
PDIOCLK hold time
PDO[7:0] data to
PDIOCLK set-up time
input PDIOCLK HIGH
DIO master mode;
10−−ns
PDOVAL = 1
DIO master mode;
10−−ns
PDOVAL = 1
DIO slave mode55−−ns
time
input PDIOCLK LOW
DIO slave mode55−−ns
time
falling input PDIOCLK to
PDO[7:0] data stable
DIO slave mode;
PDOVAL = 1
36−58ns
time
2004 Jan 2664
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
Notes
1. Short-circuit current is only allowed for a short time (<1 s).
2. The output pins are 3.3 V tolerant when in 3-state mode.
3. Pins SCL and SDA of the I2C-bus interface do not obstruct the SDA and SCL lines if the supply voltage V
switched off.
4. The open-drain outputs are 3.3 V tolerant.
5. Frame-locked input data rate deviation from SAA6752HS crystal clock.
6. Supporting output range of the Philips SAA7114 video input processor.
7. Applies for line frequencies ±2% from nominal.
8. Minimum limit according to IEC 60756; maximum limit because the SAA6752HS may drop frames for V-sync
frequencies greater than 1.5% above nominal.
9. Deviation according to IEC 60756.7. The SAA6752HS will only encode 240 lines (when in 525-line mode) and
288 lines (when in 625-line mode). Therefore any additional lines in a field above these values will not be encoded.
10. Pin XTALO has to be used for connection with a crystal only. Do not use for other purposes.
11. The required stability of the crystal frequencyor externalsystem clockis dependentupon the clock mode used in the
application.
DDP
is
handbook, full pagewidth
VCLK
data and
control
inputs
data and
control
outputs
t
SU;DAT
T
cy
t
HIGH
t
HD;DAT
validnot validvalid
t
OH;DAT
validnot validvalid
t
f(VCLK)
t
LOW
t
r(VCLK)
Fig.15 Clock data timing.
MHC142
1.7 V
1.3 V
0.7 V
1.7 V
0.7 V
2.4 V
0.4 V
2004 Jan 2665
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
13 PACKAGE OUTLINE
SQFP208: plastic shrink quad flat package;
208 leads (lead length 1.3 mm); body 28 x 28 x 3.4 mm; high stand-off height
c
157
y
156
X
A
105
104
Z
E
SAA6752HS
SOT316-1
e
w
b
p
pin 1 index
208
1
w
M
p
D
H
D
0.27
0.17
3.6
3.2
b
0.25
e
DIMENSIONS (mm are the original dimensions)
mm
A
max.
4.1
0.50
0.25
UNITA1A2A3bpcE
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
Z
(1)(1)(1)
D
28.1
0.20
27.9
0.09
53
52
D
0510 mm
(1)
eHELL
28.1
0.5
27.9
B
scale
H
30.9
30.3
0.75
0.45
A
2
A
A
1
detail X
Zywvθ
p
0.080.21.30.08
Z
1.39
1.11
D
E
1.39
1.11
(A )
3
θ
L
p
L
o
8
o
0
H
E
E
M
v
M
A
v
M
B
D
30.9
30.3
OUTLINE
VERSION
SOT316-1MS-029
IEC JEDEC JEITA
REFERENCES
2004 Jan 2666
EUROPEAN
PROJECTION
ISSUE DATE
00-01-25
03-02-25
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
14 SOLDERING
14.1Introduction to soldering surface mount
packages
Thistext gives a verybriefinsight to acomplextechnology.
A more in-depth account of soldering ICs can be found in
our
“Data Handbook IC26; Integrated Circuit Packages”
(document order number 9398 652 90011).
There is no soldering method that is ideal for all surface
mount IC packages. Wave soldering can still be used for
certainsurface mount ICs, butitis not suitable forfinepitch
SMDs. In these situations reflow soldering is
recommended.
14.2Reflow soldering
Reflow soldering requires solder paste (a suspension of
fine solder particles, flux and binding agent) to be applied
tothe printed-circuit boardby screen printing,stencillingor
pressure-syringe dispensing before package placement.
Driven by legislation and environmental forces the
worldwide use of lead-free solder pastes is increasing.
Several methods exist for reflowing; for example,
convection or convection/infrared heating in a conveyor
type oven. Throughput times (preheating, soldering and
cooling) vary between 100 and 200 seconds depending
on heating method.
Typical reflow peak temperatures range from
215 to 270 °C depending on solder paste material. The
top-surface temperature of the packages should
preferably be kept:
• below 225 °C (SnPb process) or below 245 °C (Pb-free
process)
– for all BGA, HTSSON-T and SSOP-T packages
– for packages with a thickness ≥ 2.5 mm
– for packages with a thickness < 2.5 mm and a
volume ≥ 350 mm3 so called thick/large packages.
• below 240 °C (SnPb process) or below 260 °C (Pb-free
process) for packages with a thickness < 2.5 mm and a
volume < 350 mm3 so called small/thin packages.
Moisture sensitivity precautions, as indicated on packing,
must be respected at all times.
SAA6752HS
To overcome these problems the double-wave soldering
method was specifically developed.
If wave soldering is used the following conditions must be
observed for optimal results:
• Use a double-wave soldering method comprising a
turbulent wave with high upward pressure followed by a
smooth laminar wave.
• For packages with leads on two sides and a pitch (e):
– larger than or equal to 1.27 mm, the footprint
longitudinal axis is preferred to be parallel to the
transport direction of the printed-circuit board;
– smaller than 1.27 mm, the footprint longitudinal axis
must be parallel to the transport direction of the
printed-circuit board.
The footprint must incorporate solder thieves at the
downstream end.
• Forpackages with leads onfoursides, the footprint must
be placed at a 45° angle to the transport direction of the
printed-circuit board. The footprint must incorporate
solder thieves downstream and at the side corners.
During placement and before soldering,the packagemust
be fixed with a droplet of adhesive. The adhesive can be
applied by screen printing, pin transfer or syringe
dispensing. The package can be soldered after the
adhesive is cured.
Typical dwell time of the leads in the wave ranges from
3 to 4 seconds at 250 °C or 265 °C, depending on solder
material applied, SnPb or Pb-free respectively.
A mildly-activated flux will eliminate the need for removal
of corrosive residues in most applications.
14.4Manual soldering
Fix the component by first soldering two
diagonally-opposite end leads. Use a low voltage (24 V or
less) soldering iron applied to the flat part of the lead.
Contact time must be limited to 10 seconds at up to
300 °C.
When using a dedicated tool, all other leads can be
soldered in one operation within 2 to 5 seconds between
270 and 320 °C.
14.3Wave soldering
Conventional single wave soldering is not recommended
forsurface mount devices (SMDs)orprinted-circuit boards
with a high component density, as solder bridging and
non-wetting can present major problems.
2004 Jan 2667
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
14.5Suitability of surface mount IC packages for wave and reflow soldering methods
1. Formore detailed informationonthe BGA packagesrefer to the
“(LF)BGAApplication Note
from your Philips Semiconductors sales office.
2. All surface mount (SMD) packages are moisture sensitive. Depending upon the moisture content, the maximum
temperature (with respect to time) and body size of the package, there is a risk that internal or external package
cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). For details, refer to the
Drypack information in the
3. These transparent plastic packages are extremely sensitive to reflow soldering conditions and must on no account
be processed through morethan one soldering cycle or subjected toinfrared reflow soldering with peak temperature
exceeding 217 °C ± 10 °C measured in the atmosphere of the reflow oven. The package body peak temperature
must be kept as low as possible.
4. These packages are not suitable for wave soldering. On versions with the heatsink on the bottom side, the solder
cannot penetrate between the printed-circuit board and the heatsink. On versions with the heatsink on the top side,
the solder might be deposited on the heatsink surface.
5. If wave soldering is considered, then the package must be placed at a 45° angle to the solder wave direction.
The package footprint must incorporate solder thieves downstream and at the side corners.
6. Wave soldering is suitablefor LQFP, TQFP and QFP packages with a pitch (e) larger than0.8 mm; it is definitely not
suitable for packages with a pitch (e) equal to or smaller than 0.65 mm.
7. Wave soldering is suitable for SSOP, TSSOP, VSO and VSSOP packages with a pitch (e) equal to or larger than
0.65 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm.
8. Image sensor packages in principle should not be soldered. They are mounted in sockets or delivered pre-mounted
on flex foil. However, the image sensor package can be mounted by the client on a flex foil by using a hot bar
soldering process. The appropriate soldering profile can be provided on request.
9. Hot bar or manual soldering is suitable for PMFP packages.
SOLDERING METHOD
WAVEREFLOW
(4)
(5)(6)
(7)
suitable
suitable
suitable
”(AN01026); order acopy
(2)
.
2004 Jan 2668
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
SAA6752HS
audio encoder with multiplexer
15 DATA SHEET STATUS
LEVEL
IObjective dataDevelopmentThis data sheet contains data from the objective specification for product
IIPreliminary data QualificationThis data sheet contains data from the preliminary specification.
IIIProduct dataProductionThis data sheet contains data from the product specification. Philips
Notes
1. Please consult the most recently issued data sheet before initiating or completing a design.
2. The product status of the device(s) described in this data sheet may have changed since this data sheet was
published. The latest information is available on the Internet at URL http://www.semiconductors.philips.com.
3. For data sheets describing multiple type numbers, the highest-level product status determines the data sheet status.
DATA SHEET
STATUS
(1)
PRODUCT
STATUS
(2)(3)
development. Philips Semiconductors reserves the right to change the
specification in any manner without notice.
Supplementary data will be published at a later date. Philips
Semiconductors reserves the right to change the specification without
notice, in order to improve the design and supply the best possible
product.
Semiconductors reserves the right to make changes at any time in order
to improve the design, manufacturing and supply. Relevant changes will
be communicated via a Customer Product/Process Change Notification
(CPCN).
DEFINITION
16 DEFINITIONS
Short-form specification The data in a short-form
specification is extracted from a full data sheet with the
same type number and title. For detailed information see
the relevant data sheet or data handbook.
Limiting values definition Limiting values given arein
accordance with the Absolute Maximum Rating System
(IEC 60134). Stress above one or more of the limiting
values may cause permanent damage to the device.
These are stress ratings only and operation of the device
atthese or atanyother conditions abovethosegiven in the
Characteristics sections of the specification is not implied.
Exposure to limiting values for extended periods may
affect device reliability.
Application information Applications that are
described herein for any of these products are for
illustrative purposes only. Philips Semiconductors make
norepresentationor warranty that suchapplicationswillbe
suitable for the specified use without further testing or
modification.
17 DISCLAIMERS
Life support applications These products are not
designed for use in life support appliances, devices, or
systems where malfunction of these products can
reasonably be expectedto result in personal injury.Philips
Semiconductorscustomersusing or selling theseproducts
for use in such applications do so at their own risk and
agree to fully indemnify Philips Semiconductors for any
damages resulting from such application.
Right to make changes Philips Semiconductors
reserves the right to make changes in the products including circuits, standard cells, and/or software described or contained herein in order to improve design
and/or performance. When the productis infull production
(status ‘Production’), relevant changes will be
communicated via a Customer Product/Process Change
Notification (CPCN). Philips Semiconductors assumes no
responsibility or liability for the use of any of these
products, conveys no licence or title under any patent,
copyright, or mask work right to these products, and
makes no representations or warranties that these
products are free from patent, copyright, or mask work
right infringement, unless otherwise specified.
2004 Jan 2669
Philips SemiconductorsProduct specification
MPEG-2 video and MPEG-audio/AC-3
audio encoder with multiplexer
ICs with MPEG-audio/AC-3 audio functionality
Purchase of a Philips ICwith anMPEG-audio and/orAC-3
audio functionality does not convey an implied license
under any patentright to use this IC in anyMPEG-audio or
AC-3 audio application. A license can be obtained via
Philips Intellectual Property & Standards
(Internet at URL http://www.ip.philips.com;
e-mail info.licensing@philips.com).
18 PURCHASE OF PHILIPS I
Purchase of Philips I2C components conveys a license under the Philips’ I2C patent to use the
components in the I2C system provided the system conforms tothe I2C specification defined by
Philips. This specification can be ordered using the code 9398 393 40011.
2
C COMPONENTS
SAA6752HS
ICs with MPEG-2 functionality Use of this product in
any manner that complies with the MPEG-2 Standard is
expressly prohibited without a license under applicable
patents in the MPEG-2 patent portfolio, which license is
available from MPEG LA, L.L.C., 250 Steele Street, Suite
300, Denver, Colorado 80206.
2004 Jan 2670
Philips Semiconductors – a w orldwide compan y
Contact information
For additional information please visit http://www.semiconductors.philips.com.Fax: +31 40 27 24825
For sales offices addresses send e-mail to: sales.addresses@www.semiconductors.philips.com.
The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed
without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license
under patent- or other industrial or intellectual property rights.
Printed in The NetherlandsR04/03/pp71 Date of release: 2004 Jan 26Document order number: 9397 750 12538
SCA76
Loading...
+ 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.