Preliminary specification
Supersedes data of 1995 Sep 19
File under Integrated Circuits, IC22
1996 Jul 08
Philips SemiconductorsPreliminary specification
Digital Video Encoder (EURO-DENC)SAA7182; SAA7183
FEATURES
• CMOS 5 V device
• Digital PAL/NTSC/SECAM encoder
• System pixel frequency 13.5 MHz
• Accepts MPEG decoded data on 8-bit wide input port.
Input data format Cb, Y, Cr etc. or Y and Cb, Cr on
16 lines (
“CCIR 656”
)
• Three DACs for CVBS, Y and C operating at 27 MHz
with 10-bit resolution
• Three DACs for RGB operating at 27 MHz with 9-bit
resolution, RGB sync on CVBS and Y
• CVBS, Y, C and RGB output simultaneously
• Closed captioning and teletext encoding including
sequencer and filter
• On-chip YUV to RGB matrix
2
• Fast I
C-bus control port (400 kHz)
• Encoder can be master or slave
• Programmable horizontal and vertical input
synchronization phase
• Programmable horizontal sync output phase
• Internal Colour Bar Generator (CBG)
• Overlay with Look-Up Tables (LUTs) 8 × 3 bytes
• Macrovision Pay-per-View protection system as option,
also used for RGB output
This applies to SAA7183 only. The device is protected
by USA patent numbers 461603, 4577216 and 4819098
and other intellectual property rights.
Use of the Macrovision anti-copy process in the device
is licensed for non-commercial home use only. Reverse
engineering or disassembly is prohibited. Please
contact your nearest Philips Semiconductor sales office
for more information
• Controlled rise/fall times of output syncs and blanking
• Down-mode of DACs
• PLCC84 package.
GENERAL DESCRIPTION
The SAA7182; SAA7183 encodes digital YUV video data
to an NTSC, PAL, SECAM CVBS or S-Video signal and
also RGB.
The circuit accepts CCIR compatible YUV data with
720 active pixels per line in 4:2:2 multiplexed formats,
for example MPEG decoded data. It includes a sync/clock
generator and on-chip Digital-to-Analog Converters
(DACs).
The circuit is compatible to the DIG-TV2 chip family.
QUICK REFERENCE DATA
SYMBOLPARAMETERMIN.TYP.MAX.UNIT
V
V
I
DDA
I
DDD
V
V
DDA
DDD
i
o(p-p)
analog supply voltage4.755.05.25V
digital supply voltage4.755.05.25V
analog supply current−90110mA
digital supply current−220250mA
input signal voltage levelsTTL compatible
analog output signal voltages Y, C, CVBS and RGB
−2−V
without load (peak-to-peak value)
R
L
load resistance80−−Ω
ILELF integral linearity error−−±2LSB
DLELF differential linearity error−−±1LSB
T
RESET1Reset input, active LOW. After reset is applied, all digital I/Os are in input mode.
The I2C-bus receiver waits for the START condition.
n.c.2not connected
V
SSD1
SA4The I
V
DDD1
OVL26
OVL08
KEY9Key input for OVL. When HIGH it selects OVL input.
DP010
DP111
DP212
DP313
V
DDD2
V
SSD2
DP416
DP517
DP618
DP719
TTXRQ20Teletext request output, indicating when the bitstream is valid.
TTX21Teletext bitstream input.
V
DDD3
n.c.23not connected
V
SSD3
MP725Upper 4 bits of MPEG port. It is an input for
MP626
MP527
MP428
V
DDD4
V
SSD4
MP331Lower 4 bits of MPEG port. It is an input for
MP232
MP133
MP034
RCV135Raster Control 1 for video port. This pin receives/provides a VS/FS/FSEQ signal.
RCV236Raster Control 2 for video port. This pin provides an HS pulse of programmable length or
RTCI37Real Time Control Input. If the LLC clock is provided by an
3-bit overlay data input. This is the index for the internal look-up table.OVL17
Lower 4 bits of the data port. Input for multiplexed Cb, Cr data if 16 line input mode is used.
14digital supply voltage 2
15digital ground 2
Upper 4 bits of the data port. Input for multiplexed Cb, Cr data if 16 line input mode is used.
22digital supply voltage 3
24digital ground 3
input for Y data only, if 16 line input mode is used.
29digital supply voltage 4
30digital ground 4
input for Y data only, if 16 line input mode is used.
receives an HS pulse.
should be connected to the RTCO pin of the respective decoder to improve the signal quality.
“CCIR 656”
“CCIR 656”
style multiplexed Cb, Y, Cr data, or
style multiplexed Cb, Y, Cr data, or
SAA7111
or
SAA7151B
, RTCI
1996 Jul 084
Philips SemiconductorsPreliminary specification
Digital Video Encoder (EURO-DENC)SAA7182; SAA7183
SYMBOLPINDESCRIPTION
V
DDD5
V
SSD5
n.c.40not connected
V
DDD6
V
SSD6
n.c.43not connected
XT ALI44Crystal oscillator input (from crystal). If the oscillator is not used, this pin should be connected
XTALO45Crystal oscillator output (to crystal).
n.c.46not connected
CREF47Clock Reference signal. This is the clock qualifier for DIG-TV2 compatible signals.
LLC48Line-Locked Clock. This is the 27 MHz master clock for the encoder. The I/O direction is set
V
DDD7
CDIR50Clock direction. If the CDIR input is HIGH, the circuit receives a clock and optional CREF
V
SSD7
V
refL1
V
refH1
V
DDA1
BLUE55Analog output of the BLUE component.
n.c.56not connected
V
DDA2
GREEN58Analog output of the GREEN component.
n.c.59not connected
V
DDA3
RED61Analog output of the RED component.
n.c.62not connected
I
RGB
V
DDA4
n.c.65not connected
n.c.66not connected
V
SSA
I
Y/C/CVBS
CHROMA69Analog output of the chrominance signal.
V
DDA5
Y71Analog output of the luminance signal.
V
DDA6
CVBS73Analog output of the CVBS signal.
38digital supply voltage 5
39digital ground 5
41digital supply voltage 6
42digital ground 6
to ground.
by the CDIR pin.
49digital supply voltage 7
signal, otherwise if CDIR is LOW CREF and LLC are generated by the internal crystal
oscillator.
51digital ground 7
52Lower reference voltage 1 input for the RGB DACs, connect to V
SSA
.
53Upper reference voltage 1 input for the RGB DACs, connect via 100 nF capacitor to V
54Analog supply voltage 1 for the RGB DACs.
57Analog supply voltage 2 for the RGB DACs.
60Analog supply voltage 3 for the RGB DACs.
63Current input for RGB amplifiers, connected via 15 kΩ resistor to V
DDA
.
64Analog supply voltage 4 for the Y/C/CVBS DACs.
67Analog ground for the DACs.
68Current input for the Y/C/CVBS amplifiers, connected via 15 kΩ resistor to V
DDA
.
70Analog supply voltage 5 for the Y/C/CVBS DACs.
72Analog supply voltage 6 for the Y/C/CVBS DACs.
SSA.
1996 Jul 085
Philips SemiconductorsPreliminary specification
Digital Video Encoder (EURO-DENC)SAA7182; SAA7183
SYMBOLPINDESCRIPTION
V
DDA7
V
refH2
V
refL2
AP77Test pin. Connected to digital ground for normal operation.
SP78Test pin. Connected to digital ground for normal operation.
V
SSD8
V
DDD8
V
SSD9
V
DDD9
SCL83I
SDA84I
74Analog supply voltage 6 for the Y/C/CVBS DACs.
75Upper reference voltage 2 input for the Y/C/CVBS DACs, connected via 100 nF capacitor to
V
SSA.
76Lower reference voltage 2 input for the Y/C/CVBS DACs, connect to V
SSA
.
79digital ground 8
80digital supply voltage 8
81digital ground 9
82digital supply voltage 9
2
C-bus serial clock input.
2
C-bus serial data input/output.
1996 Jul 086
Philips SemiconductorsPreliminary specification
Digital Video Encoder (EURO-DENC)SAA7182; SAA7183
handbook, full pagewidth
DP1
11
DP0
10
KEY
9
OVL0
8
OVL1
7
OVL2
6
DDD1
V
5
SA
4
SSD1
V
3
n.c.
2
RESET
1
SDA
84
DDD9VSSD9VDDD8VSSD8
SCL
V
83
82
81
AP
77
refL2VrefH2
V
76
75
SP
80
79
78
DP3
V
DDD2
V
SSD2
DP4
DP5
DP6
DP7
TTXRQ
TTX
V
DDD3
n.c.
V
SSD3
MP7
MP6
MP5
MP4
V
DDD4
V
SSD4
MP3
MP2
12DP2
13
14
15
16
17
18
19
20
21
74
73
72
71
70
69
68
67
66
65
V
DDA7
CVBS
V
DDA6
Y
V
DDA5
CHROMA
I
Y/C/CVBS
V
SSA
n.c.
n.c.
SAA7182
22
23
24
25
26
27
28
29
30
31
32
SAA7183
64
63
62
61
60
59
58
57
56
55
54
V
DDA4
I
RGB
n.c.
RED
V
DDA3
n.c.
GREEN
V
DDA2
n.c.
BLUE
V
DDA1
33
34
35
36
37
38
39
40
41
42
MP1
MP0
RCV1
RCV2
RTCI
DDD5
V
SSD5
V
n.c.
DDD6
V
SSD6
V
Fig.2 Pin configuration.
1996 Jul 087
43
n.c.
44
XTALI
45
XTALO
46
n.c.
47
CREF
48
LLC
49
DDD7
V
50
CDIR
51
SSD7
V
52
refL1
V
53
refH1
V
MGB697
Philips SemiconductorsPreliminary specification
Digital Video Encoder (EURO-DENC)SAA7182; SAA7183
FUNCTIONAL DESCRIPTION
The digital video encoder (EURO-DENC) encodes digital
luminance and colour difference signals into analog CVBS
and simultaneously S-Video signals. NTSC-M, PAL B/G
and SECAM standards and sub-standards are supported.
Both interlaced and non-interlaced operation is possible
for all standards.
In addition to RED, GREEN and BLUE converted
components, the dematrixed YUV input is available on
three separate analog outputs.
The basic encoder function consists of subcarrier
generation and colour modulation also insertion of
synchronization signals. Luminance and chrominance
signals are filtered in accordance with the standard
requirements of RS-170-A and
For ease of analog post filtering the signals are twice
oversampled with respect to the pixel clock before
digital-to-analog conversion.
For total filter transfer characteristics see
Figs 3, 4, 5, 6, 7 and 8. The DACs for Y, C and CVBS are
realized with full 10-bit resolution, DACs for RGB are with
9-bit resolution.
The MPEG port (MP) accept 8 lines multiplexed Cb-Y-Cr
data.
The 8-bit multiplexed Cb-Y-Cr formats are
(D1 format) compatible, but the SAV, EAV etc. codes are
not decoded.
Alternatively, 8-bits Y on MP port and 8-bit multiplexed Cb,
Cr on DP port can be chosen as input.
A crystal-stable master clock (LLC) of 27 MHz, which is
twice the CCIR line-locked pixel clock of 13.5 MHz, needs
to be supplied externally. Optionally, a crystal oscillator
input/output pair of pins and an on-chip clock driver is
provided.
It is also possible to connect a Philips Digital Video
Decoder (SAA7111 or SAA7151B) in conjunction with a
CREF clock qualifier to EURO-DENC. Via RTCI pin
connected to RTCO of a decoder, information concerning
actual subcarrier, PAL-ID (see
definite subcarrier phase can be inserted.
“CCIR 624”
“data sheet SAA7111”
.
“CCIR 656”
)
European teletext encoding is supported if an appropriate
teletext bitstream is applied to the TTX pin.
The IC also contains Closed Caption and Extended Data
Services Encoding (Line 21), and supports anti-taping
signal generation in accordance with Macrovision; it also
supports overlay via KEY and three control bits by a 24 × 8
LUT.
A number of possibilities are provided for setting of
different video parameters such as:
Black and blanking level control
Colour subcarrier frequency
Variable burst amplitude etc.
During reset (
all digital I/O stages are set to input mode. A reset forces
the I2C-bus interface to abort any running bus transfer and
sets register 3A to 03H, register 61 to 06H and
registers 6BH and 6EH to 00H. All other control registers
are not influenced by a reset.
Data manager
In the data manager, real time arbitration on the data
stream to be encoded is performed.
Depending on the polarity of pin KEY, the MP input
(or MP/DP input) or OVL input are selected to be encoded
to CVBS and Y/C signals, and output as RGB.
KEY controls OVL entries of a programmable LUT for
encoded signals and for RGB output. The common KEY
switching signal can be disabled by software for the
signals to be encoded (Y, C and CVBS), such that OVL will
appear on RGB outputs, but not on Y, C and CVBS.
OVL input under control of KEY can be also used to insert
decoded teletext information or other on-screen data.
Optionally, the OVL colour LUTs located in this block, can
be read out in a pre-defined sequence (8 steps per active
video line), achieving, for example, a colour bar test
pattern generator without need for an external data
source. The colour bar function is only under software
control.
RESET = LOW) and after reset is released,
The EURO-DENC synthesizes all necessary internal
signals, colour subcarrier frequency, and synchronization
signals, from that clock. The encoder is always timing
master for the MPEG port (MP), but it can additionally be
configured as slave with respect to the RCV trigger inputs.
1996 Jul 088
Philips SemiconductorsPreliminary specification
Digital Video Encoder (EURO-DENC)SAA7182; SAA7183
Encoder
V
IDEO PATH
The encoder generates out of Y, U and V baseband
signals luminance and colour subcarrier output signals,
suitable for use as CVBS or separate Y and C signals.
Luminance is modified in gain and in offset (latter
programmable in a certain range to enable different black
level set-ups). After having been inserted a fixed
synchronization level, in accordance with standard
composite synchronization schemes, and blanking level,
programmable also in a certain range to allow for
manipulations with Macrovision anti-taping, additional
insertion of AGC super-white pulses, programmable in
height, is supported.
In order to enable easy analog post filtering, luminance is
interpolated from 13.5 MHz data rate to 27 MHz data rate,
providing luminance in 10-bit resolution. This filter is also
used to define smoothed transients for synchronization
pulses and blanking period. For transfer characteristic of
the luminance interpolation filter see Figs 5 and 6.
Chrominance is modified in gain (programmable
separately for U and V), standard dependent burst is
inserted, before baseband colour signals are interpolated
from 6.75 MHz data rate to 27 MHz data rate. One of the
interpolation stages can be bypassed, thus providing a
higher colour bandwidth, which can be made use of for Y/C
output. For transfer characteristics of the chrominance
interpolation filter see Figs 3 and 4.
The amplitude of inserted burst is programmable in a
certain range, suitable for standard signals and for special
effects. Behind the succeeding quadrature modulator,
colour in 10-bit resolution is provided on subcarrier.
The numeric ratio between Y and C outputs is in
accordance with set standards.
C
LOSED CAPTION ENCODER
Using this circuit, data in accordance with the specification
of Closed Caption or Extended Data Service, delivered by
the control interface, can be encoded (Line 21). Two
dedicated pairs of bytes (two bytes per field), each pair
preceded by run-in clocks and framing code, are possible.
The actual line number where data is to be encoded in, can
be modified in a certain range.
Data clock frequency is in accordance with definition for
NTSC-M standard 32 times horizontal line frequency.
Data LOW at the output of the DACs corresponds to 0 IRE,
data HIGH at the output of the DACs corresponds to
approximately 50 IRE.
It is also possible to encode Closed Caption Data for 50 Hz
field frequencies at 32 times horizontal line frequency.
NTI-TAPING (SAA7183 ONLY)
A
For more information contact your nearest Philips
Semiconductors sales office.
RGB processor
This block contains a dematrix in order to produce RED,
GREEN and BLUE signals to be fed to a SCART plug.
Before Y, Cb, Cr signals are dematrixed, 2 times
oversampling for luminance and 4 times oversampling for
colour difference signals is performed. For transfer curves
of luminance and colour difference components of RGB
see Figs 7 and 8.
SECAM processor
SECAM specific pre-processing is achieved in this block
by a pre-emphasis of colour difference signals (for gain
and phase see Figs 9 and 10.
ELETEXT INSERTION AND ENCODING
T
Pin TTX receives a teletext bitstream sampled at the LLC
clock, each teletext bit is carried by four or three LLC
samples.
Phase variant interpolation is achieved on this bitstream in
the internal teletext encoder, providing sufficient small
phase jitter on the output text lines.
TTXRQ provides a fully programmable request signal to
the teletext source, indicating the insertion period of
bitstream at lines selectable independently for both fields.
The internal insertion window for text is set to 360 teletext
bits including clock run-in bits. For protocol and timing see
Fig.17.
1996 Jul 089
A baseband frequency modulator with a reference
frequency shifted from 4.286 MHz to DC carries out
SECAM modulation in accordance with appropriate
standard or optionally wide clipping limits.
After the HF pre-emphasis, also applied on a DC reference
carrier (anti-Cloche filter; see Figs 11 and 12), line-by-line
sequential carriers with black reference of 4.25 MHz (Db)
and 4.40625 MHz (Dr) are generated using specified
values for FSC programming bytes.
Alternating phase reset in accordance with SECAM
standard is carried out automatically. During vertical
blanking the so-called bottle pulses are not provided.
Philips SemiconductorsPreliminary specification
Digital Video Encoder (EURO-DENC)SAA7182; SAA7183
Output interface/DACs
In the output interface encoded both Y and C signals are
converted from digital-to-analog in 10-bit resolution. Y and
C signals are also combined to a 10-bit CVBS signal.
The CVBS output occurs with the same processing delay
as the Y and C outputs. Absolute amplitudes at the input
of the DAC for CVBS is reduced by15⁄16 with respect to Y
and C DACs to make maximum use of conversion ranges.
RED, GREEN and BLUE signals are also converted from
digital-to-analog, each providing a 9-bit resolution.
Outputs of the DACs can be set together in two groups via
software control to minimum output voltage for either
purpose.
Synchronization
Synchronization of the EURO-DENC is able to operate in
two modes; slave mode and master mode.
In the slave mode, the circuit accepts synchronization
pulses at the bidirectional RCV1 port. The timing and
trigger behaviour related to RCV1 can be influenced by
programming the polarity and on-chip delay of RCV1.
Active slope of RCV1 defines the vertical phase and
optionally the odd/even and colour frame phase to be
initialized, it can be also used to set the horizontal phase.
If the horizontal phase is not be influenced by RCV1, a
horizontal pulse needs to be supplied at the RCV2 pin.
Timing and trigger behaviour can also be influenced for
RCV2.
If there are missing pulses at RCV1 and/or RCV2, the time
base of EURO-DENC runs free, thus an arbitrary number
of synchronization slopes may miss, but no additional
pulses (such with wrong phase) must occur.
If the vertical and horizontal phase is derived from RCV1,
RCV2 can be used for horizontal or composite blanking
input or output.
On the RCV2 port, the IC can provide a horizontal pulse
with programmable start and stop phase; this pulse can be
inhibited in the vertical blanking period to build up, for
example, a composite blanking signal.
The polarity of both RCV1 and RCV2 is selectable by
software control.
Field length is in accordance with 50 Hz or 60 Hz
standards, including non-interlaced options; start and end
of its active part can be programmed. The active part of a
field always starts at the beginning of a line, if the standard
blanking option SBLBN is not set.
2
C-bus interface
I
The I2C-bus interface is a standard slave transceiver,
supporting 7-bit slave addresses and 400 kbits/s
guaranteed transfer rate. It uses 8-bit subaddressing with
an auto-increment function. All registers are write only,
except one readable status byte.
Two I2C-bus slave addresses are selected:
88H: LOW at pin 4
8CH: HIGH at pin 4.
Input levels and formats
EURO-DENC expects digital Y, Cb, Cr data with levels
(digital codes) in accordance with
For C and CVBS outputs, deviating amplitudes of the
colour difference signals can be compensated by
independent gain control setting, while gain for luminance
is set to predefined values, distinguishable for 7.5 IRE
set-up or without set-up.
For RGB outputs fixed amplification in accordance with
“CCIR 601”
Reference levels are measured with a colour bar,
100% white, 100% amplitude and 100% saturation.
is provided.
“CCIR 601”
.
In the master mode, the time base of the circuit
continuously runs free. On the RCV1 port, the IC can
output:
• A Vertical Sync signal (VS) with 3 or 2.5 lines duration,
or
• An ODD/EVEN signal which is LOW in odd fields, or
• A field sequence signal (FSEQ) which is HIGH in the first