Philips SAA7128AH, SAA7129AH User Guide

INTEGRATED CIRCUITS
DATA SH EET
SAA7128AH; SAA7129AH
Digital video encoder
Product specification Supersedes data of 2002 Oct 15
2003 Dec 09
Digital video encoder SAA7128AH; SAA7129AH
CONTENTS
1 FEATURES 2 GENERAL DESCRIPTION 3 ORDERING INFORMATION 4 QUICK REFERENCE DATA 5 BLOCK DIAGRAM 6 PINNING 7 FUNCTIONAL DESCRIPTION
7.1 Versatile fader
7.2 Data manager
7.3 Encoder
7.4 RGB processor
7.5 SECAM processor
7.6 Output interface/DACs
7.7 Synchronization
7.8 Clock
7.9 I2C-bus interface
7.10 Input levels and formats
7.11 Bit allocation map
7.12 I2C-bus format
7.13 Slave receiver
7.14 Slave transmitter
8 LIMITING VALUES 9 CHARACTERISTICS
9.1 Explanation of RTCI data bits
9.2 Teletext timing 10 APPLICATION INFORMATION
10.1 Digital output signals 11 PACKAGE OUTLINE 12 SOLDERING
12.1 Introduction to soldering surface mount packages
12.2 Reflow soldering
12.3 Wave soldering
12.4 Manual soldering
12.5 Suitability of surface mount IC packages for wave and reflow soldering methods
13 REVISION HISTORY 14 DATA SHEET STATUS 15 DEFINITIONS 16 DISCLAIMERS 17 PURCHASE OF PHILIPS I2C COMPONENTS
2003 Dec 09 2
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH

1 FEATURES

Monolithic CMOS 3.3 V device, 5 V I2C-bus optional
Digital PAL/NTSC/SECAM encoder
System pixel frequency 13.5 MHz
54 MHz double-speedmultiplexed D1 interface capable
of splitting data into two separate channels (encoded and baseband)
Three Digital-to-Analog Converters (DACs) for CVBS (CSYNC), VBS (CVBS) and C (CVBS) two times oversampled with 10-bit resolution (signals in brackets optional)
Three DACs for RED (CR), GREEN (Y) and BLUE (CB) two times oversampled with 9-bit resolution (signals in brackets optional)
Alternatively, an advanced composite sync is available on the CVBS output for RGB display centring
Real-time control of subcarrier
Cross-colour reduction filter
Closed captioning encoding and World Standard
Teletext (WST) and North-American Broadcast Text System(NABTS) teletextencoding includingsequencer and filter
Copy Generation Management System (CGMS) encoding (CGMS described by standard CPR-1204 of EIAJ); 20 bits in lines 20/283 (NTSC) can be loaded via I2C-bus
Fast I2C-bus control port (400 kHz)
Line 23 Wide Screen Signalling (WSS) encoding
Video Programming System (VPS) data encoding in
line 16 (50/625 lines counting)
Encoder can be master or slave
Programmable horizontal and vertical input
synchronization phase
Programmable horizontal sync output phase
Internal Colour Bar Generator (CBG)
Macrovision
rev. 7.01 and rev. 6.1 as option; this applies to SAA7128AH only. The device is protected by USA patent numbers 4631603, 4577216 and 4819098 and other intellectual property rights. Use of the Macrovision anti-copy process in the device is licensed for non-commercialhome use only. Reverseengineeringor disassembly is prohibited. Please contact your nearest PhilipsSemiconductors salesoffice formore information
Controlled rise/fall times of output syncs and blanking
On-chip crystal oscillator (3rd-harmonic or fundamental
crystal)
Downmode (lowoutput voltage) orpower-save modeof DACs
QFP44 package.

2 GENERAL DESCRIPTION

The SAA7128AH; SAA7129AH encodes digital CB-Y-C video data to an NTSC, PAL or SECAM CVBS or S-video signal. Simultaneously, RGB orbypassed butinterpolated CB-Y-CR signals are available via three additional DACs. Through a 54 MHz multiplexed digital D1 input port, the circuit accepts two ITU-R BT.656 compatible CB-Y-C data streams with 720 active pixels per line in 4:2:2multiplexed formats. For example, MPEG decoded data with overlay and MPEG decoded data without overlay, where one data stream is latched at the rising, the other one is latched at the falling clock edge.
It includes a sync/clock generator and on-chip DACs.
(1) Macrovision is a trademark of the Macrovision Corporation.
(1)
Pay-per-View copy protection system
R
R

3 ORDERING INFORMATION

PACKAGE
TYPE NUMBER
NAME DESCRIPTION VERSION
SAA7128AH QFP44 plastic quad flat package; 44 leads (lead length 1.3 mm); SAA7129AH
body 10 × 10 × 1.75 mm
2003 Dec 09 3
SOT307-2
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH

4 QUICK REFERENCE DATA

SYMBOL PARAMETER MIN. TYP. MAX. UNIT
V V I
DDA
I
DDD
V V
R LE LE T
DDA DDD
i o(p-p)
L
lf(i) lf(d)
amb
analog supply voltage 3.15 3.3 3.45 V digital supply voltage 3.0 3.3 3.6 V analog supply current 180 190 mA digital supply current 40 55 mA input signal voltage levels TTL compatible analog CVBS output signal voltage for a
100
/
100
colour bar at
1.23 V
75/2 load (peak-to-peak value) load resistance 37.5 −Ω low frequency integral linearity error −−±3 LSB low frequency differential linearity error −−±1 LSB ambient temperature 0 70 °C
2003 Dec 09 4
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
a
_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 tobe rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2003 Dec 09 5
ndbook, full pagewidth

5 BLOCK DIAGRAM

Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH
SA
MP7 to MP0
TTX
21
9 to 16
44
RESET
40
2
I
MP
MP
SDA
42
I2C-BUS
INTERFACE
C-bus control
pos
SWITCH
neg
I2C-bus control
SCL
DDA2
25
V
DDA1
V
28
DDA3
36
A
A
22
DUMP2
31
RSET
32
DUMP1
30
CVBS (CSYNC)
27
VBS (CVBS)
24
C (CVBS)
33
V
SSA
23
RED
26
GREEN
29
BLUE
V
XTALI
XTALO7RCV18RCV243TTXRQ37XCLK4LLC1
35
41
SAA7128AH
34
SYNC/CLOCK
SAA7129AH
MP
MP
clock and timing
2
I
C-bus control
A
MP
B
FADER
VP
Y
CB-C
ENCODER
R
I2C-bus
control
CB-C
2
I
Y
C
Y
R
C-bus control
2
C-bus control
I
OUTPUT
INTERFACE
2
I
C-bus control
RGB
PROCESSOR
D
D
V
SSD1
RTCI
19
20
MHB981
n.c.
3
SP
2
AP
39
V
SSD2
18
5
V
SSD3
38
V
DDD1
6
V
DDD2
17
V
DDD3
Fig.1 Block diagram.
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH

6 PINNING

SYMBOL PIN TYPE DESCRIPTION
RES 1 reserved pin; do not connect SP 2 I test pin; connected to digital ground for normal operation AP 3 I test pin; connected to digital ground for normal operation LLC1 4 I line-locked clock input; this is the 27 MHz master clock V
SSD1
V
DDD1
RCV1 7 I/O raster control 1 for video port; this pin receives/provides a VS/FS/FSEQ signal RCV2 8 I/O raster control 2 for video port; this pin provides an HS pulse of programmable
MP7 9 I double-speed 54 MHz MPEG port; it is an input for MP6 10 I MP5 11 I MP4 12 I MP3 13 I MP2 14 I MP1 15 I MP0 16 I V
DDD2
V
SSD2
RTCI 19 I real-time control input; if the LLC1 clock is provided by an SAA7111 or SAA7151B,
n.c. 20 not connected SA 21 I select I2C-bus address; LOW selects slave address 88H, HIGH selects slave
DUMP2 22 O current return path 2 for DAC RED 23 O analog output of RED (CR) signal C 24 O analog output of chrominance (CVBS) signal V
DDA2
GREEN 26 O analog output of GREEN (Y) signal VBS 27 O analog output of VBS (CVBS) signal V
DDA1
BLUE 29 O analog output of BLUE (CB) signal CVBS 30 O analog output of CVBS (CSYNC) signal RSET 31 O a resistor of 1 k (R DUMP1 32 O current return path 1 for DAC V
SSA
XTALO 34 O crystal oscillator output XTALI 35 I crystal oscillator input; if the oscillator is not used, this pin should be connected to
V
DDA3
5 supply digital ground 1 6 supply digital supply voltage 1
length or receives an HS pulse
“ITU-R BT.656”
style multiplexed CB-Y-CR data; data is sampled on the rising and falling clock edge; data sampled on the rising edge is then sent to the encoding part of the device; data sampled on the falling edge is sent to the RGB part of the device (or vice versa, depending on programming)
17 supply digital supply voltage 2 18 supply digital ground 2
RTCI should be connected to the RTCO pin of the respective decoder to improve the signal quality
address 8CH
25 supply analog supply voltage 2 for analog outputs
28 supply analog supply voltage 1 for analog outputs
=37kΩ) connected to V
out
sets the full-scale DAC current
SSA
33 supply analog ground for the DAC reference ladder and the oscillator
ground
36 supply analog supply voltage 3 for the DAC reference ladder and the oscillator
2003 Dec 09 6
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH
SYMBOL PIN TYPE DESCRIPTION
XCLK 37 O clock output of the crystal oscillator V
SSD3
V
DDD3
RESET 40 I Reset input, active LOW. After reset is applied, all digital I/Os are in input mode;
SCL 41 I I2C-bus serial clock input SDA 42 I/O I2C-bus serial data input/output TTXRQ 43 O teletext request output, indicating when text bits are requested TTX 44 I teletext bit stream input
38 supply digital ground 3 39 supply digital supply voltage 3
PAL black burst on CVBS, VBS and C; RGB outputs set to lowest voltage. The I2C-bus receiver waits for the START condition.
handbook, full pagewidth
V
SSD1
V
DDD1 RCV1
RCV2
RES
SP AP
LLC1
MP7 MP6 MP5
SDA
TTXRQ 43
42
13
14
MP2
MP3
SCL 41
15
TTX
44
1 2 3 4 5 6 7 8 9
10
11
12
MP4
DDD3
RESET
V
40
39
SAA7128AH SAA7129AH
16
17
MP1
MP0
DDD2
V
V
38
18
SSD2
V
XCLK 37
19
RTCI
V
36
20 n.c.
XTALI 35
21 SA
XTALO 34
22
DUMP2
33 32 31 30 29 28 27 26 25 24 23
MHB979
V
SSA
DUMP1 RSET CVBS BLUE V
DDA1
VBS GREEN V
DDA2
C RED
DDA3
SSD3
Fig.2 Pin configuration.
2003 Dec 09 7
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH

7 FUNCTIONAL DESCRIPTION

The digital video encoder encodes digital luminance and colour difference signals into analog CVBS, S-video and simultaneously RGB or CR-Y-CB signals. NTSC-M, PAL-B/G, SECAM and sub-standards are supported.
Both interlaced and non-interlaced operation is possible for all standards.
The basic encoder function consists of subcarrier generation, colour modulation and insertion of synchronization signals. Luminance and chrominance signals are filtered in accordance with the standard requirements of
“RS-170-A”
and
“ITU-R BT.470-3”
.
For ease of analog post filtering, the signals are twice oversampled with respect to the pixel clock before digital-to-analog conversion.
The total filter transfer characteristics are illustrated in Figs 8 to 13. The DACs for Y, C and CVBS are realized with full 10-bit resolution; 9-bit resolution for RGB output. TheCR-Y-CBtoRGB dematrixcan be bypassed optionally in order to provide the upsampled CR-Y-CB input signals.
The8-bit multiplexed CB-Y-CRformatsare
“ITU-R BT.656”
(D1 format) compatible, but the SAV and EAV codes can be decoded optionally, when the device is operated in slave mode. Two independent data streams can be processed, one latched by the rising edge of LLC1, the other latched by the falling edge of LLC1. The purpose of that is e.g. to forward one of the data streams containing both video and On-Screen Display (OSD) information to the RGB outputs, and the other stream containing video only to the encoded outputs CVBS and S-video.
For optimum display of RGB signals through a euro-connector TV set, an early composite sync pulse (up to 31 LLC1 clock periods) can be provided on the CVBS output.
VPS data for program dependent automatic startand stop of such featured VCR’s is loadable via I2C-bus.
The IC also contains closed caption and extended data services encoding (line 21), and supports anti-taping signalgeneration in accordancewithMacrovision.It is also possible to load data for copy generation management system into line 20 of every field (525/60 line counting).
A number of possibilities are provided for setting different video parameters, such as:
Black and blanking level control
Colour subcarrier frequency
Variable burst amplitude, etc.
During reset (RESET = LOW) and after reset is released, all digital I/O stages are set to input mode and the encoder is set to PAL mode and outputs a ‘black burst’ signal on CVBS and S-video outputs, while RGB outputs are set to their lowest output voltages. A reset forces the I2C-bus interface to abort any running bus transfer.

7.1 Versatile fader Important note: whenever the fader is activated with the

SYMP bit set to a logic 1 (enabling the detection of embedded Start of Active Video (SAV) and End of Active Video (EAV)), codes 00H and FFH are not allowed within the actual video data (as prescribed by
“ITU-R BT.
656”, anyway). If SAV (00H) has been detected, the fader automatically passes 100% of the respective signal until SAV will be detected.
Within the digital video encoder, two data streams can be faded against each other; these data streams can be input to the double speed MPEG port, which is able to separate two independent 27 MHz data streams MPA and MPB via a cross switch controlled by EDGE1 and EDGE2.
As a further alternative, the VBS and C outputs may provide a second and third CVBS signal.
Itis alsopossible to connecta Philips digitalvideo decoder of the SAA711x family to the SAA7128AH; SAA7129AH. Via the RTCI pin, connected to RTCO of a decoder, information concerning actual subcarrier, PAL-ID and definite subcarrier phase can be inserted.
The device synthesizes all necessary internal signals, colour subcarrier frequency and synchronization signals from that clock.
Wide screen signalling data can be loadedvia the I2C-bus and is inserted into line 23 for standards using 50 Hz field rate.
2003 Dec 09 8
handbook, halfpage
MP
pos
MP
neg
EDGE1 = 0
EDGE1 = 1
EDGE2 = 0
EDGE2 = 1
Fig.3 Cross switch.
MHB574
MP
MP
A
B
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH
7.1.1 CONFIGURATION EXAMPLES Figures 4 to 7 show examples on how to configure the
fader between the input ports and the outputs, separated into the composite (and S-video) encoder and the RGB encoder.
7.1.1.1 Configuration 1
Input MPAcan be faded into MPB. The resulting output of the fader is then encoded simultaneously to composite (and S-video) and RGB output (RGBIN = ENCIN = 1). In this example, either MPA or MPB could be an overlay (menu) signal to be faded smoothly in and out.
e.g. video recorder
e.g. TV
MP
MP
FADER
A
B
MP
OUTPUT
VP
ENCODER
PATH
RGB PATH
MHB575
Fig.4 Configuration 1.
7.1.1.3 Configuration 3
Input MPBis passeddirectly to the RGB output, assuming e.g.it contains videoincludingoverlay. MPAisequivalently passed through the inactive fader to the composite (and S-video) output,assuming e.g. it contains video excluding overlay (RGBIN = 0, ENCIN = 1).
MP
MP
A
B
FADER BYPASS
ENCODER
PATH
RGB PATH
MHB577
e.g. video recorder
e.g. TV
Fig.6 Configuration 3.
7.1.1.4 Configuration 4
OnlyMPBinputis in use;itssignal appears bothcomposite (and S-video) and RGB encoded (RGBIN = ENCIN = 0).
7.1.1.2 Configuration 2
Input MPAcan be faded into MPB. The resulting output of the fader is then encoded to RGB output, while the signal comingfromMPBisfeddirectly to composite(andS-video) output (RGBIN = 1, ENCIN = 0). Also in this example, either MPAor MPBcould be anoverlay (menu)signal to be faded smoothly in and out, whereas the overlay appears only in the RGB output connected to the TV set.
e.g. video recorder
e.g. TV
MP
MP
FADER
A
B
MP
OUTPUT
VP
ENCODER
PATH
RGB PATH
MHB576
Fig.5 Configuration 2.
handbook, halfpage
MP
A
MP
B
ENCODER
PATH
RGB PATH
MHB578
e.g. video recorder
e.g. TV
Fig.7 Configuration 4.
2003 Dec 09 9
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH
7.1.2 PARAMETERS OF THE FADER Basically, there are three independent fade factors
available, allowing for the equation:
Output FADEx ln1×()1 FADEx()ln2×[]+= Where x = 1, 2 or 3 Factor FADE1 is effective, when a colour in the data
stream fed to the MPEG port fader input is recognized as being between KEY1L and KEY1U. That means, the colour is not identified by a single numeric value, but an upper and lower threshold in which a 24-bit YUV colour space can be defined. FADE1 = 00H results in 100% signal at the MPEG port fader input and 0% signal at the fader Videoport input. Variation of 63 steps is possible up to FADE1 = 3FH, resulting in 0% signal at the MPEG port fader input and 100% signal at the fader Video port input.
Factor FADE2 is effective, when a colour in the data stream fed to the MPEG port fader input is recognized as being between KEY2L and KEY2U. FADE2 is to be seen in conjunction with a colour that is defined by a 24-bit internal Colour Look-Up Table (CLUT). FADE2 = 00H results in 100% of the internally defined LUT colour and 0% signal at the fader Video port input. Variation of 63 stepsis possibleupto FADE2 = 3FH,resulting in0%of the internally defined LUT colour and 100% signal at the fader Video port input.
Finally, factor FADE3is effectivewhen acolour inthe data stream fed to the MPEG port fader input is recognized as neither being between KEY1L and KEY1U nor being between KEY2L and KEY2H. FADE3 = 00H results in 100% signal at the MPEG port fader input and 0% signal at the fader Video port input. Variation of 63 steps is possible up to FADE3 = 3FH, resulting in 0% signal at the MPEG port fader input and 100%signal atthe fader Video port input.
Optionally, all upper and lower thresholds can be ignored, enabling to fade signals only against the LUT colour.
If bit CFADM is set HIGH, all data at the MPEG port fader are faded against the LUT colour, if bit CFADV is set HIGH,all dataatthe Videoportfader arefadedagainst the LUT colour.

7.3 Encoder

7.3.1 VIDEO 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). A blanking level can be set after insertion of a fixed synchronization pulse tip level in accordance with standard composite synchronization schemes. Other manipulations used for the Macrovision anti-taping process such as additional insertion of AGC super-white pulses (programmable in height) are supported by the SAA7128AH only.
In order to enable easy analog post filtering, luminance is interpolated from a 13.5 MHz data rate to a 27 MHz data rate, providing luminance in 10-bit resolution. Thetransfer characteristics of the luminance interpolation filter are illustrated in Figs 10 and 11. Appropriate transients at start/end of active video and for synchronization pulses are ensured.
Chrominance is modified in gain (programmable separately for U and V), standard dependent burst is inserted, before baseband colour signals are interpolated from a 6.75 MHz data rate to a 27 MHz data rate. One of the interpolation stagescan bebypassed, thusproviding a higher colour bandwidth, which can be made use of for Y and C output. The transfer characteristics of the chrominance interpolation filter are illustrated in Figs 8 and 9.
Theamplitude, beginningand ending ofthe insertedburst, is programmable in a certain range that is suitable for standard signals and for special effects. Behind the succeeding quadrature modulator, colour in a 10-bit resolution is provided on the subcarrier.
The numeric ratio between Y and C outputs is in accordance with the respective standards.

7.2 Data manager

In the data manager, alternatively to the external video data, a pre-defined colour look-up table located in this block can be read out in a pre-defined sequence (8 steps per active video line), achieving a colour bar test pattern generator without the need for an external data source.
2003 Dec 09 10
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH
7.3.2 TELETEXT INSERTION AND ENCODING Pin TTX receives a WST or NABTS teletext bitstream
sampled at the LLC clock. Two protocols are provided:
At each rising edge of output signal (TTXRQ) a single
teletext bit has to be provided after a programmable delay at input pin TTX
Thesignal TTXRQ performsonlya single LOW-to-HIGH
transition and remains atHIGH levelfor 360,296 or 288 teletext bits, depending on the chosen standard.
Phase variant interpolationis achievedon thisbitstream 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 which are selectable independently for both fields. The internal insertion window for text is set to 360 (PAL-WST), 296 (NTSC-WST) or 288 (NABTS) teletext bits including clock run-in bits. The protocol and timing are illustrated in Fig.23.
7.3.3 VIDEO PROGRAMMING SYSTEM (VPS) ENCODING Five bytes of VPS information can be loaded via the
I2C-bus and will be encoded in the appropriate format into line 16.
7.3.4 CLOSED CAPTION ENCODER Using this circuit,data inaccordance withthe 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.
Theactual line numberwheredata is tobeencoded in, can be modified in a certain range.
The data clock frequency is in accordance with the definition for NTSC-M standard 32 times horizontal line frequency.
DataLOW at theoutputof the DACscorresponds 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.
7.3.5 ANTI-TAPING (SAA7128AH ONLY) For more information contact your nearest Philips
Semiconductors sales office.

7.4 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, CBand CR signals are de-matrixed, individual gain adjustment for Y and colour difference signals and 2 times oversampling for luminance and 4 times oversampling for colour difference signals is performed. The transfer curves of luminance and colour difference components of RGB are illustrated in Figs 12 and 13.

7.5 SECAM processor

SECAM specific pre-processing is achieved by a pre-emphasis of colour difference signals (for gain and phase see Figs 14 and 15).
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.
Afterthe HF pre-emphasis,alsoapplied on aDCreference carrier (anti-Clochefilter; see Figs 16 and 17),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.

7.6 Output interface/DACs

In the output interface, encoded Y and C signals are converted from digital-to-analog in a 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 (equal to 82 LLC clock periods, measured from MP input to the analog outputs) as the Y, C and RGB outputs. Absolute amplitude 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 via software control to minimum output voltage (approximately 0.2 V DC) for either purpose. Alternatively, the buffers can be switched into 3-state output condition; this allows for a ‘wired AND’ configuration with other 3-state outputs and can also be used as a power-save mode.
2003 Dec 09 11
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH

7.7 Synchronization

The synchronization of the SAA7128AH; SAA7129AH is able to operate in two modes; slave mode and master mode.
In master mode (see Fig.19), the circuit generates all necessary timings in the video signal itself, and it can provide timing signals at the RCV1 and RCV2 ports. In slavemode, itacceptstiming informationeitherfrom the RCV pins or from the embedded timing data of the ITU-R BT.656 data stream.
For the SAA7128AH; SAA7129AH, the only difference between master and slave mode is that it ignores the timing information at its inputs in master mode. Thus, if in slave mode, any timing information is missing, the IC will continue running free without a visible effect. But there must not be any additional pulses (with wrong phase) because the circuit will not ignore them.
In slave mode (see Fig.18), an interface circuit decides, which signal is expected at the RCV1 port and which information is taken from its active slope. The polarity can be chosen. If PRCV1 is logic 0, the rising slope will be active.
The signal can be:
A Vertical Sync (VS) pulse; the active slope sets the
vertical phase
An odd/even signal; the active slope sets the vertical
phase, the internal field flag to odd and optionally sets the horizontal phase
A Field Sequence (FSEQ) signal; it marks the first field
of the 4 (NTSC), 8 (PAL) respectively 12 (SECAM) field sequences. In addition to the odd/even signal, it also setsthe PAL phaseandoptionallydefines the subcarrier phase.
In slave mode, the horizontal trigger phase can be programmed to any point in the line, the vertical phase from line 0 to line 15 counted from the first serration pulse in half line steps.
Whenever synchronization information cannot be derived directly from theinputs, theSAA7128AH; SAA7129AH will calculate it from the internal horizontal, vertical and PAL phase. This gives good flexibility with respect to external synchronization, but the circuit does not suppress illegal settings. In such an event, the odd/even information may vanish as it does in the non-interlaced modes.
In master mode, the line lengths are fixed to 1728 clocks at 50 Hz and 1716 clocks at 60 Hz. To allow non-interlaced frames, the field lengths can be varied by ±0.5 lines. In the event of non-interlace, the SAA7128AH; SAA7129AH does not provide odd/even information and the output signal does not contain the PAL ‘Bruch sequence’.
At the RCV1 pin the IC can provide:
A Vertical Sync(VS) signalwith 2.5 (50 Hz)or 3 (60 Hz) lines duration
An odd/even signal which is LOW in odd fields
A Field Sequence (FSEQ) signal which is HIGH in the
first field of the 4, 8 respectively 12 field sequences.
At the RCV2 pin, there is a horizontal pulse of programmable phase and duration available. This pulse can be suppressed in the programmable inactive part of a field, giving a composite blank signal.
The directions and polarities of the RCV ports can be chosen independently. Timing references can be found in Tables 52 and 60.

7.8 Clock

On the RCV2 port, the IC can provide a horizontal pulse withprogrammable startand stop phase;this pulsecan be inhibited in the vertical blanking period to build up, for example, a composite blanking signal.
The horizontal phase can be set via a separate input RCV2. In the event of VS pulses at RCV1, this is mandatory.It is alsopossible to setthesignal path toblank via this input.
From the ITU-R BT.656 data stream, the SAA7128AH; SAA7129AH decodes only the start of the first line in the odd field. All other information is ignored and may miss. If this kind of slave mode is active, the RCV pins may be switched to output mode.
2003 Dec 09 12
The input to LLC1 can either be an external clock source or the buffered on-chip clock XCLK. The internal crystal oscillator can be run with either a 3rd-harmonic or a fundamental crystal frequency.
2
7.9 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 and readable, except one read only status byte.
The I2C-bus slave address is defined as 88H with pin 21 (SA) tied LOW and as 8CH with pin 21 (SA) tied HIGH.
C-bus interface
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH

7.10 Input levels and formats

The SAA7128AH; SAA7129AH expects digital Y, C
B
and CRdata with levels (digital codes) in accordance with
“ITU-R BT.601”
.
For C and CVBS outputs, deviating amplitudes of the
The RGB, respectively CR-Y-CB path features a gain setting individually for luminance (GY) and colour difference signals (GCD).
Reference levels are measured with a colour bar, 100% white, 100% amplitude and 100% saturation.
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.
Table 1
“ITU-R BT.601”
COLOUR
signal component levels
YCBC
SIGNALS
R
(1)
(2)
R
(2)
G
B
White 235 128 128 235 235 235 Yellow 210 16 146 235 235 16 Cyan 170 166 16 16 235 235 Green 145 54 34 16 235 16 Magenta 106 202 222 235 16 235 Red 81 90 240 235 16 16 Blue 41 240 110 16 16 235 Black 16 128 128 16 16 16
(2)
Notes
1. Transformation: a) R= Y + 1.3707 × (CR− 128) b) G= Y 0.3365 × (CB− 128) − 0.6982 × (CR− 128) c) B = Y + 1.7324 × (CB− 128).
2. Representation of R, G and B (or CR, Y and CB) at the output is 9 bits at 27 MHz.
Table 2 8-bit multiplexed format (similar to
“ITU-R BT.601”
)
BITS
TIME
01234567
Sample CB0Y0C
0Y1C
R
2Y2C
B
2Y3
R
Luminance pixel number 0123 Colour pixel number 0 2
2003 Dec 09 13
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 tobe rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2003 Dec 09 14

7.11 Bit allocation map Table 3 Slave receiver (slave address 88H)

REGISTER FUNCTION SUBADDR
Status byte (read only) 00H VER2 VER1 VER0 CCRDO CCRDE 0 FSEQ O_E Null 01H to 25H 0 0000000 Wide screen signal 26H WSS7 WSS6 WSS5 WSS4 WSS3 WSS2 WSS1 WSS0 Wide screen signal 27H WSSON 0 WSS13 WSS12 WSS11 WSS10 WSS9 WSS8 Real-time control, burst start 28H DECCOL DECFIS BS5 BS4 BS3 BS2 BS1 BS0 Burst end 29H 0 0 BE5 BE4 BE3 BE2 BE1 BE0 Copy generation 0 2AH CG07 CG06 CG05 CG04 CG03 CG02 CG01 CG00 Copy generation 1 2BH CG15 CG14 CG13 CG12 CG11 CG10 CG09 CG08 CG enable, copy generation 2 2CH CGEN 0 0 0 CG19 CG18 CG17 CG16 Output port control 2DH CVBSEN1 CVBSEN0 CVBSTRI YTRI CTRI RTRI GTRI BTRI Null 2EH to 37H 0 0000000 Gain luminance for RGB 38H 0 0 0 GY4 GY3 GY2 GY1 GY0 Gain colour difference for RGB 39H 0 0 0 GCD4 GCD3 GCD2 GCD1 GCD0 Input port control 1 3AH CBENB 0 0 SYMP DEMOFF CSYNC MP2C VP2C Key colour 1 lower limit U 42H KEY1LU7 KEY1LU6 KEY1LU5 KEY1LU4 KEY1LU3 KEY1LU2 KEY1LU1 KEY1LU0 Key colour 1 lower limit V 43H KEY1LV7 KEY1LV6 KEY1LV5 KEY1LV4 KEY1LV3 KEY1LV2 KEY1LV1 KEY1LV0 Key colour 1 lower limit Y 44H KEY1LY7 KEY1LY6 KEY1LY5 KEY1LY4 KEY1LY3 KEY1LY2 KEY1LY1 KEY1LY0 Key colour 2 lower limit U 45H KEY2LU7 KEY2LU6 KEY2LU5 KEY2LU4 KEY2LU3 KEY2LU2 KEY2LU1 KEY2LU0 Key colour 2 lower limit V 46H KEY2LV7 KEY2LV6 KEY2LV5 KEY2LV4 KEY2LV3 KEY2LV2 KEY2LV1 KEY2LV0 Key colour 2 lower limit Y 47H KEY2LY7 KEY2LY6 KEY2LY5 KEY2LY4 KEY2LY3 KEY2LY2 KEY2LY1 KEY2LY0 Key colour 1 upper limit U 48H KEY1UU7 KEY1UU6 KEY1UU5 KEY1UU4 KEY1UU3 KEY1UU2 KEY1UU1 KEY1UU0 Key colour 1 upper limit V 49H KEY1UV7 KEY1UV6 KEY1UV5 KEY1UV4 KEY1UV3 KEY1UV2 KEY1UV1 KEY1UV0 Key colour 1 upper limit Y 4AH KEY1UY7 KEY1UY6 KEY1UY5 KEY1UY4 KEY1UY3 KEY1UY2 KEY1UY1 KEY1UY0 Key colour 2 upper limit U 4BH KEY2UU7 KEY2UU6 KEY2UU5 KEY2UU4 KEY2UU3 KEY2UU2 KEY2UU1 KEY2UU0 Key colour 2 upper limit V 4CH KEY2UV7 KEY2UV6 KEY2UV5 KEY2UV4 KEY2UV3 KEY2UV2 KEY2UV1 KEY2UV0 Key colour 2 upper limit Y 4DH KEY2UY7 KEY2UY6 KEY2UY5 KEY2UY4 KEY2UY3 KEY2UY2 KEY2UY1 KEY2UY0 Fade factor key colour 1 4EH 0 0 FADE15 FADE14 FADE13 FADE12 FADE11 FADE10 CFade, Fade factor key
colour 2
4FH CFADEM CFADEV FADE25 FADE24 FADE23 FADE22 FADE21 FADE20
D7 D6 D5 D4 D3 D2 D1 D0
DATA BYTE
(1)
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH
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 tobe rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2003 Dec 09 15
REGISTER FUNCTION SUBADDR
Fade factor other 50H 0 0 FADE35 FADE34 FADE33 FADE32 FADE31 FADE30 Look-up table key colour 2 U 51H LUTU7 LUTU6 LUTU5 LUTU4 LUTU3 LUTU2 LUTU1 LUTU0 Look-up table key colour 2 V 52H LUTV7 LUTV6 LUTV5 LUTV4 LUTV3 LUTV2 LUTV1 LUTV0 Look-up table key colour 2 Y 53H LUTY7 LUTY6 LUTY5 LUTY4 LUTY3 LUTY2 LUTY1 LUTY0 VPS enable, input control 2 54H VPSEN 0 ENCIN RGBIN DELIN VPSEL EDGE2 EDGE1 VPS byte 5 55H VPS57 VPS56 VPS55 VPS54 VPS53 VPS52 VPS51 VPS50 VPS byte 11 56H VPS117 VPS116 VPS115 VPS114 VPS113 VPS112 VPS111 VPS110 VPS byte 12 57H VPS127 VPS126 VPS125 VPS124 VPS123 VPS122 VPS121 VPS120 VPS byte 13 58H VPS137 VPS136 VPS135 VPS134 VPS133 VPS132 VPS131 VPS130 VPS byte 14 59H VPS147 VPS146 VPS145 VPS144 VPS143 VPS142 VPS141 VPS140 Chrominance phase 5AH CHPS7 CHPS6 CHPS5 CHPS4 CHPS3 CHPS2 CHPS1 CHPS0 Gain U 5BH GAINU7 GAINU6 GAINU5 GAINU4 GAINU3 GAINU2 GAINU1 GAINU0 Gain V 5CH GAINV7 GAINV6 GAINV5 GAINV4 GAINV3 GAINV2 GAINV1 GAINV0 Gain U MSB, real-time control,
black level Gain V MSB,real-time control,
blanking level CCR, blanking level VBI 5FH CCRS1 CCRS0 BLNVB5 BLNVB4 BLNVB3 BLNVB2 BLNVB1 BLNVB0 Null 60H 0 0000000 Standard control 61H DOWNB DOWNA INPI YGS SECAM SCBW PAL FISE RTC enable, burst amplitude 62H RTCE BSTA6 BSTA5 BSTA4 BSTA3 BSTA2 BSTA1 BSTA0 Subcarrier 0 63H FSC07 FSC06 FSC05 FSC04 FSC03 FSC02 FSC01 FSC00 Subcarrier 1 64H FSC15 FSC14 FSC13 FSC12 FSC11 FSC10 FSC09 FSC08 Subcarrier 2 65H FSC23 FSC22 FSC21 FSC20 FSC19 FSC18 FSC17 FSC16 Subcarrier 3 66H FSC31 FSC30 FSC29 FSC28 FSC27 FSC26 FSC25 FSC24 Line 21 odd 0 67H L21O07 L21O06 L21O05 L21O04 L21O03 L21O02 L21O01 L21O00 Line 21 odd 1 68H L21O17 L21O16 L21O15 L21O14 L21O13 L21O12 L21O11 L21O10 Line 21 even 0 69H L21E07 L21E06 L21E05 L21E04 L21E03 L21E02 L21E01 L21E00 Line 21 even 1 6AH L21E17 L21E16 L21E15 L21E14 L21E13 L21E12 L21E11 L21E10 RCV port control 6BH SRCV11 SRCV10 TRCV2 ORCV1 PRCV1 CBLF ORCV2 PRCV2 Trigger control 6CH HTRIG7 HTRIG6 HTRIG5 HTRIG4 HTRIG3 HTRIG2 HTRIG1 HTRIG0
5DH GAINU8 DECOE BLCKL5 BLCKL4 BLCKL3 BLCKL2 BLCKL1 BLCKL0
5EH GAINV8 DECPH BLNNL5 BLNNL4 BLNNL3 BLNNL2 BLNNL1 BLNNL0
D7 D6 D5 D4 D3 D2 D1 D0
DATA BYTE
(1)
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH
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 tobe rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2003 Dec 09 16
DATA BYTE
REGISTER FUNCTION SUBADDR
D7 D6 D5 D4 D3 D2 D1 D0
Trigger control 6DH HTRIG10 HTRIG9 HTRIG8 VTRIG4 VTRIG3 VTRIG2 VTRIG1 VTRIG0 Multi control 6EH SBLBN BLCKON PHRES1 PHRES0 LDEL1 LDEL0 FLC1 FLC0 Closed caption, teletext enable 6FH CCEN1 CCEN0 TTXEN SCCLN4 SCCLN3 SCCLN2 SCCLN1 SCCLN0 RCV2 output start 70H RCV2S7 RCV2S6 RCV2S5 RCV2S4 RCV2S3 RCV2S2 RCV2S1 RCV2S0 RCV2 output end 71H RCV2E7 RCV2E6 RCV2E5 RCV2E4 RCV2E3 RCV2E2 RCV2E1 RCV2E0 MSBs RCV2 output 72H 0 RCV2E10 RCV2E9 RCV2E8 0 RCV2S10 RCV2S9 RCV2S8 TTX request H start 73H TTXHS7 TTXHS6 TTXHS5 TTXHS4 TTXHS3 TTXHS2 TTXHS1 TTXHS0 TTX request H delay 74H TTXHD7 TTXHD6 TTXHD5 TTXHD4 TTXHD3 TTXHD2 TTXHD1 TTXHD0 CSYNC advance, Vsync shift 75H CSYNCA4 CSYNCA3 CSYNCA2 CSYNCA1 CSYNCA0 VS_S2 VS_S1 VS_S0 TTX odd request vertical start 76H TTXOVS7 TTXOVS6 TTXOVS5 TTXOVS4 TTXOVS3 TTXOVS2 TTXOVS1 TTXOVS0 TTX odd request vertical end 77H TTXOVE7 TTXOVE6 TTXOVE5 TTXOVE4 TTXOVE3 TTXOVE2 TTXOVE1 TTXOVE0 TTX even request vertical start 78H TTXEVS7 TTXEVS6 TTXEVS5 TTXEVS4 TTXEVS3 TTXEVS2 TTXEVS1 TTXEVS0 TTX even request vertical end 79H TTXEVE7 TTXEVE6 TTXEVE5 TTXEVE4 TTXEVE3 TTXEVE2 TTXEVE1 TTXEVE0 First active line 7AH FAL7 FAL6 FAL5 FAL4 FAL3 FAL2 FAL1 FAL0 Last active line 7BH LAL7 LAL6 LAL5 LAL4 LAL3 LAL2 LAL1 LAL0 TTX mode, MSB vertical 7CH TTX60 LAL8 TTXO FAL8 TTXEVE8 TTXOVE8 TTXEVS8 TTXOVS8 Null 7DH 0 0000000 Disable TTX line 7EH LINE12 LINE11 LINE10 LINE9 LINE8 LINE7 LINE6 LINE5 Disable TTX line 7FH LINE20 LINE19 LINE18 LINE17 LINE16 LINE15 LINE14 LINE13
(1)
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH
Note
1. All bits labelled ‘0’ are reserved. They must be programmed with logic 0.
Philips Semiconductors Product specification
Digital video encoder SAA7128AH; SAA7129AH

7.12 I2C-bus format

2
Table 4 I
S SLAVE ADDRESS ACK SUBADDRESS ACK DATA 0 ACK -------- DATA n ACK P
Table 5 Explanation of Table 4
S START condition SLAVE ADDRESS 1000 100X or 1000 110X; note 1 ACK acknowledge, generated by the slave SUBADDRESS; note 2 subaddress byte DATA data byte
-------- continued data bytes and ACKs P STOP condition
Notes
1. X is the read/write control bit; X = logic 0 is order to write; X = logic 1 is order to read.
2. If more than 1 byte DATA is transmitted, then auto-increment of the subaddress is performed.
C-bus address; see Table 5
PART DESCRIPTION

7.13 Slave receiver

Table 6 Subaddress 26H
BIT SYMBOL DESCRIPTION
7 WSS7 Wide screen signalling bits: enhanced services field. 6 WSS6 5 WSS5 4 WSS4 3 WSS3 Wide screen signalling bits: aspect ratio field. 2 WSS2 1 WSS1 0 WSS0
Table 7 Subaddress 27H
BIT SYMBOL DESCRIPTION
7 WSSON 0 = wide screen signalling output is disabled; default state after reset
1 = wide screen signalling output is enabled 6 This bit is reserved and must be set to logic 0. 5 WSS13 Wide screen signalling bits: reserved field. 4 WSS12 3 WSS11 2 WSS10 Wide screen signalling bits: subtitles field. 1 WSS9 0 WSS8
2003 Dec 09 17
Loading...
+ 38 hidden pages