Product specification
Supersedes data of April 1993
File under Integrated Circuits, IC22
1996 Sep 27
Philips SemiconductorsProduct specification
Digital Video Encoder (DENC)
GENLOCK-capable
FEATURES
• Monolithic integrated CMOS video encoder circuit
• Standard MPU (12 lines) and I2C-bus interfaces for
controls
• Three 8-bit signal inputs PD7 to PD0 for RGB
respectively YUV or indexed colour signals
(Tables 19 to 26)
• Square pixel and CCIR input data rates
• Band limited composite sync pulses
• Three 256 × 8 colour look-up tables (CLUTs)
for example for gamma correction
• External subcarrier from a digital decoder (SAA7151B or
SAA7191B)
• Multi-purpose key for real time format switching
• Autonomous internal blanking
• Optional GENLOCK operation with adjustable horizontal
sync timing and adjustable subcarrier phase
• Stable GENLOCK operation in VCR standard playback
mode
• Optional still video capture extension
• Three suitable video 9-bit digital-to-analog converters
• Composite analog output signals CVBS, Y and C for
PAL/NTSC
• Line 21 data insertion possible.
SAA7199B
GENERAL DESCRIPTION
The SAA7199B encodes digital baseband colour/video
data into analog Y, C and CVBS signals (S-video
included). Pixel clock and data are line-locked to the
horizontal scanning frequency of the video signal.
The circuit can be used in a square pixel or in a consumer
TV application. Flexibility is provided by programming
facilities via MPU-bus (parallel) or I2C-bus (serial).
QUICK REFERENCE DATA
SYMBOLPARAMETERMIN.TYP.MAX.UNIT
V
DDD
V
DDA
I
P(tot)
V
I
V
o
R
L
digital supply voltage (pins 2, 21 and 41)4.55.05.5V
analog supply voltage (pins 64, 66, 70 and 72)4.755.05.25V
total supply current−−200mA
input signal levelsTTL-compatible
analog output voltage Y, C and CVBS without load (peak-to-peak value)−2−V
output load resistance90−−Ω
ILELF integral linearity error in output signal (9-bit DAC)−−±1LSB
DLELF differential linearity error in output signal (9-bit DAC)−−±0.5LSB
T
amb
operating ambient temperature0−70°C
ORDERING INFORMATION
TYPE
NUMBER
NAMEDESCRIPTIONVERSION
SAA7199BWPPLCC84
plastic leaded chip carrier; 84 leads
PACKAGE
SOT189-2
1996 Sep 272
Philips SemiconductorsProduct specification
Digital Video Encoder (DENC)
GENLOCK-capable
BLOCK DIAGRAM
outputs to
Y
67
DACs
TRIPLE
ENCODER
OUTPUT
+5 V
to
DDA1
V
KEY
DDA4
V
CUR
refH
V
TP
66, 70,
72, 64
71
63
73
53
C
65
monitor/TV
CVBS
69
BUFFERS
SSA
V
68
SAA7199B
XTALI
refL
V
62
SAA7199B
XTALO
59
60
CLOCK INTERFACE
MEH416
52495051235556
CLKO CLKSEL
CB
LLC
CREF
358846174753635
VSN/CSYNPIXCLK CLKIN
SLT
ook, full pagewidth
+5 V
to V
V
MPK
to V
V
SSD3
SSD1
DDD3
DDD1
1, 22, 42
32
2, 21, 41
(1)
3 × 8-bit input data
11 to 4
(1)
PD1(7 to 0)
(digital red)
RTCI
MATRIX
3 ¥
CLUTS
256 ¥ 8
INPUT
INTERFACE
19 to 12
(digital green)
PD2(7 to 0)
31 to 24
(1)
PD3(7 to 0)
(digital blue)
internal control bus
83 to 76
20
LDV
CVBS(7 to 0)
STATUS
REGISTER
SYNC PROCESSING
46 to 43,
40 to 37
34
33
CONTROL INTERFACE
5754
C-BUS
2
I
CONTROL
48
47
SCL
SDA
C-bus
2
I
LFCO
HCL
CS
A1
RTCI/
GPSW
RESET
HSYHSN
D(7 to 0)
R/W
to/from microcontroller
A0
Fig.1 Block diagram.
1996 Sep 273
(1) RGB respectively input formats YUV and indexed colour (Tables 19 to 26).
Philips SemiconductorsProduct specification
Digital Video Encoder (DENC)
SAA7199B
GENLOCK-capable
PINNING
SYMBOLPINDESCRIPTION
V
SSD1
V
DDD1
VSN/CSYN3vertical sync output (3-state), conditionally composite sync output; active LOW or active HIGH
PD1(0)4data 1 input: digital signal R (red) respectively V signal; bit 0 (formats in Tables 19 to 25)
PD1(1)5data 1 input: digital signal R (red) respectively V signal; bit 1 (formats in Tables 19 to 25)
PD1(2)6data 1 input: digital signal R (red) respectively V signal; bit 2 (formats in Tables 19 to 25)
PD1(3)7data 1 input: digital signal R (red) respectively V signal; bit 3 (formats in Tables 19 to 25)
PD1(4)8data 1 input: digital signal R (red) respectively V signal; bit 4 (formats in Tables 19 to 25)
PD1(5)9data 1 input: digital signal R (red) respectively V signal; bit 5 (formats in Tables 19 to 25)
PD1(6)10data 1 input: digital signal R (red) respectively V signal; bit 6 (formats in Tables 19 to 25)
PD1(7)11data 1 input: digital signal R (red) respectively V signal; bit 7 (formats in Tables 19 to 25)
PD2(0)12data 2 input: digital signal G (green) respectively Y signal or indexed colour data; bit 0
PD2(1)13data 2 input: digital signal G (green) respectively Y signal or indexed colour data; bit 1
PD2(2)14data 2 input: digital signal G (green) respectively Y signal or indexed colour data; bit 2
PD2(3)15data 2 input: digital signal G (green) respectively Y signal or indexed colour data; bit 3
PD2(4)16data 2 input: digital signal G (green) respectively Y signal or indexed colour data; bit 4
PD2(5)17data 2 input: digital signal G (green) respectively Y signal or indexed colour data; bit 5
PD2(6)18data 2 input: digital signal G (green) respectively Y signal or indexed colour data; bit 6
PD2(7)19data 2 input: digital signal G (green) respectively Y signal or indexed colour data; bit 7
LDV20load data clock input signal to input interface (samples PDn(7 to 0),
V
DDD2
V
SSD2
CB23composite blanking input; active LOW
PD3(0)24data 3 input: digital signal B (blue) respectively U signal; bit 0 (formats in Tables 19 to 25)
PD3(1)25data 3 input: digital signal B (blue) respectively U signal; bit 1 (formats in Tables 19 to 25)
PD3(2)26data 3 input: digital signal B (blue) respectively U signal; bit 2 (formats in Tables 19 to 25)
PD3(3)27data 3 input: digital signal B (blue) respectively U signal; bit 3 (formats in Tables 19 to 25)
PD3(4)28data 3 input: digital signal B (blue) respectively U signal; bit 4 (formats in Tables 19 to 25)
PD3(5)29data 3 input: digital signal B (blue) respectively U signal; bit 5 (formats in Tables 19 to 25)
PD3(6)30data 3 input: digital signal B (blue) respectively U signal; bit 6 (formats in Tables 19 to 25)
PD3(7)31data 3 input: digital signal B (blue) respectively U signal; bit 7 (formats in Tables 19 to 25)
MPK32multi-purpose key input; active HIGH
A033subaddress bit A0 input for microcontroller access (Table 3)
A134subaddress bit A1 input for microcontroller access (Table 3)
W35read/write not input signal from microcontroller
R/
CS36chip select input for parallel interface; active LOW
D037bidirectional port from/to microcontroller; bit D0
D138bidirectional port from/to microcontroller; bit D1
D239bidirectional port from/to microcontroller; bit D2
D340bidirectional port from/to microcontroller; bit D3
V
DDD3
V
SSD3
D443bidirectional port from/to microcontroller; bit D4
D544bidirectional port from/to microcontroller; bit D5
D645bidirectional port from/to microcontroller; bit D6
D746bidirectional port from/to microcontroller; bit D7
SDA47I
SCL48I
CLKIN49external clock signal input (maximum frequency 60 MHz)
CLKSEL50clock source select input
PIXCLK51CLKO/2 or conditionally CLKO output signal
CLKO52selected clock output signal (LLC or CLKIN)
TP53test pin; connected to ground
RESET54reset input; active LOW
LLC55line-locked clock input signal from external clock generation circuit (CGC)
CREF56clock qualifier input of external CGC
GPSW/RTCI57general purpose switch output (set via I
SLT58GENLOCK output flag (3-state): HIGH = sync lost in GENLOCK mode; LOW = otherwise
XTALI59crystal oscillator input (26.8 or 24.576 MHz)
XTALO60crystal oscillator output
LFCO61line frequency control output signal for external CGC
V
refL
V
refH
V
DDA4
C65chrominance analog output signal
V
DDA1
Y67luminance analog output signal
V
SSA
CVBS69CVBS analog output signal
V
DDA2
CUR71current input for analog output buffers
V
DDA3
KEY73key input signal to insert CVBS input signal into encoded CVBS output signal; active HIGH
41digital supply 3 (5 V)
42digital ground 3
2
C-bus data input/output
2
C-bus clock input
2
C-bus or MPU-bus); real time control input, defined
by I2C or MPU programming
62reference voltage LOW of DACs (resistor chains)
63reference voltage HIGH of DACs (resistor chains)
64analog supply 4 for resistor chains of the DACs (5 V)
66analog supply 1 for output buffer amplifier of DAC1 (5 V)
68analog ground (0 V)
70analog supply 2 for output buffer amplifier of DAC2 (5 V)
72analog supply 3 for output buffer amplifier of DAC3 (5 V)
1996 Sep 275
Philips SemiconductorsProduct specification
Digital Video Encoder (DENC)
GENLOCK-capable
SYMBOLPINDESCRIPTION
HSY74horizontal sync indicator output signal; active HIGH (3-state output to ADC)
HCL75horizontal clamping output; active HIGH (3-state output)
CVBS076digital CVBS input signal; bit 0
CVBS177digital CVBS input signal; bit 1
CVBS278digital CVBS input signal; bit 2
CVBS379digital CVBS input signal; bit 3
CVBS480digital CVBS input signal; bit 4
CVBS581digital CVBS input signal; bit 5
CVBS682digital CVBS input signal; bit 6
CVBS783digital CVBS input signal; bit 7
HSN84horizontal sync output; active LOW or active HIGH for 60/66/72 × PIXCLK at
The SAA7199B is a digital video encoder that translates
digital RGB, YUV or 8-bit indexed colour signals into the
analog PAL/NTSC output signals Y (luminance), C
(4.43/3.58 MHz chrominance) and CVBS (composite
signal including sync).
Four different modes are selectable (Table 18):
Stand-alone mode (horizontal and vertical timings are
generated)
Slave mode (stand-alone unit that accepts external
horizontal and vertical timing), and optional real time
information for subcarrier/clock from a digital colour
decoder
GENLOCK mode (GENLOCK capabilities are achieved
in conjunction with determined ICs)
Test mode (only clock signal is required).
The input data rate (pixel sequence) has an integer
relationship to the number of horizontal clock cycles
(Table 1). A sufficient stable external clock signal ensures
correct encoding. The generated clock frequency in the
GENLOCK mode may deviate by ±7% depending on the
reference signal which is corresponding to its input sync
signal. The clock will be nominal in the GENLOCK mode
when the reference signal is absent (nominal with crystal
oscillator accuracy for TV time constants, and nominal
±1.4% for VCR time constants).
The on-chip colour conversion matrix provides “
code-compatible transcoding of RGB to YUV data.
RGB data out of bounds, with respect to
specification, can be clipped to prevent over-loading of the
colour modulator. RGB data input can be either in linear
colour space or in gamma-corrected colour space.
YUV data must be gamma-corrected in accordance with
“
CCIR 601”
colour space (3 × 8-bit) but can also accommodate
different data formats (4 :1:1, 4:2:2 and 4:4:4) plus
8-bit indexed pseudo-colour space operations (FMT-bits in
Table 8).
RGB CLUTs on-chip provide gamma-correction and/or
other CLUT functions. They consist of programmable
tables to be loaded independently, and they generate
24-bit gamma-corrected output signals from 24-bit data of
one of the input formats or from 8-bit indexed
pseudo-colour data.
. This circuit operates primarily in a 24-bit
CCIR 601”
“CCIR 601”
SAA7199B
Required modulation is performed. The digital YUV data is
encoded in accordance with standards
(composite NTSC) and
PAL-B/G). S-video output signal is available (Y/C) also
some sub-standard output signals (STD-bits in Table 12).
A 7.5 IRE set-up level is automatically selected in the
60 Hz mode, but not selected in the 50 Hz mode.
The analog signal outputs can drive directly into
terminated 75 Ω coaxial lines, a passive external filter is
recommended (Figs 3, 13 and 14). Analog post-filtering is
required (LP in Fig.3).
GENLOCK to an external reference signal is achieved by
addition of a video ADC and a clock generator
combination. Thus, the system is enabled to lock on a
stable video source or to a stable VCR source (normal
playback). The SAA7199B, the ADC and the clock
generator combination (Fig.3) form a control loop
achieving a highly stable line-locked clock. The clock has
to be generated by a crystal oscillator without this
availability. The GENLOCK mode is not available in a
single device set-up.
Control interface
The SAA7199B supports a standard parallel MPU
interface and the serial I
direct access to internal control registers and colour
tables. Update is possible at any time, excluding
coincident internal reading and external writing of the
same cell (the current pixel value could be destroyed).
The two interfaces of Table 2 are selected automatically.
However, the I2C-bus control is inactive when the MPU
interface is selected by CS = LOW. No simultaneous
access may occur. I2C-bus and MPU control complement
each other and have access to common registers
controlled via a common internal bus. The programmer
can use virtually identical programs.
The internal memory space is devided into the look-up
table and the control table, each with its own 8-bit address
register used as a pointer for specific location.
This address register is provided with auto-incrementation
and can be written by only one addressing.
The look-up table contains three banks of 256 bytes.
Therefore, each read or write cycle must access all three
banks in a pre-determined order. The support logic is part
of the control interface.
“CCIR 624-4
2
C-bus interface. The MPU has
“RS-170A
” (composite
”
1996 Sep 278
Philips SemiconductorsProduct specification
Digital Video Encoder (DENC)
GENLOCK-capable
Timing (see Fig.3)
The reference to generate internal clocks from LLC in
GENLOCK operation with SAA7197 is CREF
CREF =.
In this event input CLKSEL is HIGH and the SRC-bit = 1.
In non-GENLOCK operation the signal from CLKIN is used
and LDV is clock reference (input CLKSEL = 0;
SCR-bit = CPR-bit = 0).
Pins LLC and CLKIN are tied together when no switching
between LLC and CLKIN is applied. In Fig.3 it is assumed
that LLC and CLKIN are double the pixel clock frequency
of CREF and LDV respectively.
CREF must be at the same frequency (or constant HIGH
or LOW) when LLC is at pixel clock frequency. CPR-bit = 1
if CLKIN is at pixel clock frequency.
The buffered CLKO signal is always delayed. LLC or
CLKIN signals are in accordance with CLKSEL.
Mapping
The method of mapping external control signals on to the
internal bus is simple. The MPU-bus contains the signals
as shown in Table 4 (names in chip-internal
nomenclature).
LLC
----------2
SAA7199B
Bit allocation
The Bit Allocation Map (BAM) shows the individual control
signals, used to control the different operational modes of
the circuit. The I
The SAA7199B also has an MPU-bus interface for direct
microcontroller connection. The BAM shown in Table 6
resembles the I2C-bus type but can be also used for the
parallel bus; the control registers are indexed from
00H to 0FH. Auto-incrementation is applied.
Digital-to-analog converters
The converters use a combination of resistor chains with
low-impedance output buffers. The bottom output voltage
is 200 mV to reduce integral non-linearity errors.
The analog signal, without load on output pin, is between
0.2 and 2.2 V. Figure 16 shows the application for
1.23 V/75 Ω outputs, using the serial 25 + 22 Ω resistors.
Each digital-to-analog converter has its own supply pin for
the purpose of decoupling. V
the resistor chains of the three DACs. The accuracy of this
supply voltage directly influences the output amplitudes.
The current CUR into pin 71 is 0.3 mA (V
R
1. DF is the default value for a typical programming example: GENLOCK mode for a VCR; non-gamma-corrected RGB
data (real time keying is possible). SLT will be set if there is no horizontal lock.NTSC-M standard with normal colour
bandwidth and 12.2727 MHz pixel rate. CSYN signal will be provided, arriving 8 pixel clocks earlier, to compensate
pipeline delay in the previous RAM interface. The encoded CVBS is 12 clocks earlier than the CVBS reference on
the input of the previous ADC. The CLUTs are bypassed at MPK = HIGH in real time.
2. Read only bits.
3. Reserved.
4. Adjust as required.
1996 Sep 2712
Loading...
+ 28 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.