AD ADV7173 Digital pal/ntsc video encoder with six dac Datasheet

a
Digital PAL/NTSC Video Encoder
with Six DACs (10 Bits), Color Control
and Enhanced Power Management
ADV7172/ADV7173
FEATURES
ITU-R1 BT601/656 YCrCb to PAL/NTSC Video Encoder
Six High Quality 10-Bit Video DACs
SSAF™ (Super Sub-Alias Filter)
Advanced Power Management Features
PC’98-Compliant (TV Detect with Polling and Auto
Shutdown to Save On Power Consumption)
Low Power DAC Mode
Individual DAC ON/OFF Control
Variable DAC Output Current (5 mA–36 mA)
Ultralow Sleep Mode Current
Hue, Brightness, Contrast and Saturation Controls
CGMS (Copy Generation Management System)
WSS (Wide Screen Signalling)
NTSC-M, PAL-M/N, PAL-B/D/G/H/I, PAL-60
YUV Betacam, MII and SMPTE/EBU N10 Output Levels
Single 27 MHz Clock Required (2 Oversampling)
80 dB Video SNR
32-Bit Direct Digital Synthesizer for Color Subcarrier
Multistandard Video Output Support:
Composite (CVBS)
Component S-Video (Y/C)
Component YUV
EuroSCART RGB
Component YUV + CHROMA + LUMA + CVBS
EuroSCART Output RGB + CHROMA + LUMA + CVBS
Programmable Clamping Output Signal
Advanced Programmable Power-On Reset Sequencing
Video Input Data Port Supports:
CCIR-656 4:2:2 8-Bit Parallel Input Format
SMPTE 170M NTSC-Compatible Composite Video
ITU-R BT.470 PAL-Compatible Composite Video
Luma Sharpness Control
Programmable Luma Filters (Low-Pass [PAL/NTSC],
Notch [PAL/NTSC], Extended [SSAF], CIF and QCIF)
Programmable Chroma Filters (Low-Pass [0.65 MHz,
1.0 MHz, 1.2 MHz and 2.0 MHz], CIF and QCIF)
Programmable VBI (Vertical Blanking Interval)
Programmable Subcarrier Frequency and Phase
Programmable LUMA Delay
CCIR and Square Pixel Operation
Integrated Subcarrier Locking to External Video Source
Color Signal Control/Burst Signal Control
Interlaced/Noninterlaced Operation
Complete On-Chip Video Timing Generator
Programmable Multimode Master/Slave Operation
Macrovision Antitaping Rev 7.1 (ADV7172 Only) 2
Closed Captioning Support
Teletext Insertion Port (PAL-WST)
On-Board Color Bar Generation
On-Board Voltage Reference
2-Wire Serial MPU Interface (I2C®-Compatible and Fast I2C)
Single Supply 5 V or 3.3 V Operation
Small 48-Lead LQFP Package
APPLICATIONS
High Performance DVD Playback Systems, Portable
Video Equipment including Digital Still Cameras and
Laptop PCs, Video Games, PC Video/Multimedia and
Digital Satellite/Cable Systems (Set-Top Boxes/IRD)
GENERAL DESCRIPTION
The ADV7172/ADV7173 is an integrated Digital Video
Encoder that converts digital CCIR-601 4:2:2 8-bit component
video data into a standard analog baseband television signal
compatible with worldwide standards.
There are six DACs available on the ADV7172/ADV7173. In
addition to the Composite output signal there is the facility to
output S-VHS Y/C Video, RGB Video and YUV Video.
The on-board SSAF (Super Sub-Alias Filter), with extended
luminance frequency response and sharp stopband attenuation,
enables studio quality video playback on modern TVs, giving
optimal horizontal line resolution. An additional sharpness control
feature allows extra luminance boost on the frequency response.
An advanced power management circuit enables optimal control
of power consumption in both normal operating modes and
power down or sleep modes. A PC’98-Compliant autodetect
feature has been added to allow the user to determine whether
or not the DACs are correctly terminated. If not, the ADV7172/
ADV7173 flags that they are not connected through the Status
bit and provides the option of automatically powering them
down, thereby reducing power consumption.
The ADV7172/ADV7173 also supports both PAL and NTSC
square pixel operation. The parts also incorporate WSS and
CGMS-A data control generation.
NOTES
1
ITU-R and CCIR are used interchangeably in this document (ITU-R has replaced CCIR recommendations).
The Macrovision anticopy process is licensed for noncommercial home use only, which is its sole intended use in the device. Please contact sales office for latest
Macrovision version available.
SSAF is a trademark of Analog Devices, Inc.
I2C is a registered trademark of Philips Corporation.
2
REV. B
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties
which may result from its use. No license is granted by implication or
otherwise under any patent or patent rights of Analog Devices.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781/329-4700
www.analog.com
Fax: 781/326-8703
© Analog Devices, Inc., 2001
ADV7172/ADV7173
FUNCTIONAL BLOCK DIAGRAM
CLOCK PAL NTSC CSO_HSO VSO CLAMP
HSYNC
FIELD/
VSYNC
BLANK
ALSB
SCLOCK SDATA
YUV TO
RBG
MATRIX
+
YUV
LEVEL
CONTROL
BLOCK
I 2 C MPU PORT
VIDEO TIMING
GENERATOR
RESET
TTX
TTXREQ
TELETEXT
INSERTION BLOCK
VAA
Y
8
P0
COLOR
DATA
P7
4:2:2 TO
4:4:4
INTERPOLATOR
8
8
YCrCb
U
TO
YUV
MATRIX
8
V
8
8
BRIGHTNESS AND
CONTRAST CONTROL
+
ADD SYNC
+
INTERPOLATOR
10
10
10
10
LUMA
PROGRAMMABLE
FILTER
+
SHARPNESS
FILTER
10
SATURATION CONTROL 10
+
ADD BURST
+
INTERPOLATOR
10
PROGRAMMABLE
CHROMA
FILTER
MODULATOR
+
HUE
CONTROL
10
ADV7172/ADV7173
REAL-TIME
CONTROL CIRCUIT
SCRESET/RTC
The ADV7172/ADV7173 is designed with four color controls
(hue, contrast, brightness and saturation). All YUV formats
(SMPTE/EBU N10, MII and Betacam) are supported in both
PAL and NTSC.
The output video frames are synchronized with the incoming data
Timing Reference Codes. Optionally the encoder accepts (and can
generate) HSYNC, VSYNC, and FIELD timing signals. These
timing signals can be adjusted to change pulsewidth and position
while the part is in the master mode. The Encoder requires a
single two times pixel rate (27 MHz) clock for standard operation. Alternatively the Encoder requires a 24.5454 MHz clock
for NTSC or 29.5 MHz clock for PAL square pixel mode
operation. All internal timing is generated on-chip.
HSO/CSO and VSO TTL outputs, synchronous to the analog
output video, are also available. A programmable CLAMP output signal is also available to enable clamping in either the front
or back porch of the video signal.
A separate teletext port enables the user to directly input teletext
data during the vertical blanking interval.
10
10
M
U
L
T
I
P
L
E
X
E
R
M
U
L
T
I
P
L
E
X
E
R
10
10-BIT
DAC
DAC A
10
10-BIT
DAC
DAC B
10-BIT
DAC
DAC C
10
DAC
CONTROL
BLOCK
10
VREF
RSET2
COMP2
10-BIT
DAC
DAC E
10
10-BIT
DAC
DAC F
10
10-BIT
DAC
DAC D
10
SIN/COS
DDS BLOCK
DAC
CONTROL
BLOCK
RSET1
COMP1
GND
input data from 1 to 254 on both Y, Cb, and Cr. The ADV7172/
ADV7173 supports PAL (B, D, G, H, I, N, M) and NTSC
(with and without pedestal) standards. The Y data is then
manipulated by being scaled for contrast control and a setup
level is added for brightness control. The Cr, Cb data is also
scaled and saturation control is added. The appropriate Sync,
Blank and Burst levels are then added to the YCrCb data. Macrovision AntiTaping (ADV7172 only), Closed-Captioning and
Teletext levels are also added to Y, and the resultant data is
interpolated to a rate of 27 MHz. The interpolated data is filtered and scaled by three digital FIR Filters.
The U and V Signals are modulated by the appropriate subcarrier sine/cosine phases and a phase offset may be added onto
the color subcarrier during active video to allow hue adjustment.
The resulting U and V signals are then added together to make
up the chrominance signal. The luma (Y) signal can be delayed
1–3 luma cycles (each cycle is 74 ns) with respect to the chroma
signal. The luma and chroma signals are then added together to
make up the composite video signal. All edges are slew rate limited.
The YCrCb data is also used to generate RGB data with appropriate Sync and Blank levels.
The ADV7172/ADV7173 modes are set up over a 2-wire serial
bidirectional port (I2C-Compatible) with two slave addresses.
Functionally the ADV7173 and ADV7172 are the same with the
exception that the ADV7172 can output the Macrovision anticopy algorithm.
There are six DACs on the ADV7172/ADV7173. Three of these
DACs are capable of providing 34.66 mA of current. The other
three DACs provide 8.66 mA each.
The ADV7172/ADV7173 is packaged in a 48-lead LQFP package (1.4 mm thickness).
The six l0-bit DACs can be used to output:
DATA PATH DESCRIPTION
Alternatively, each DAC can be individually powered off if not
required. A complete description of DAC output configurations
is given in Appendix 8.
1. Composite Video + RGB Video + LUMA + CHROMA.
2. Composite Video + YUV Video + LUMA + CHROMA.
For PAL B, D, G, H, I, M, N, and NTSC M, N modes, YCrCb
4:2:2 Data is input via the CCIR-656-Compatible Pixel Port at a
27 MHz Data Rate. The Pixel Data is demultiplexed to form
three data paths. Y typically has a range of 16 to 235, Cr, and
Cb typically have a range of 128 ± 112; however, it is possible to
–2–
Video output levels are illustrated in Appendix 6.
REV. B
SPECIFICATIONS
ADV7172/ADV7173
(VAA = 5 V 5% , VREF = 1.235 V, RSET1,2 = 600 unless otherwise noted. All specifications TMIN to TMAX2
unless otherwise noted.)
1
5 V SPECIFICATIONS
Parameter
STATIC PERFORMANCE
Resolution (Each DAC)
Accuracy (Each DAC)
Integral Nonlinearity3
Differential Nonlinearity3
DIGITAL INPUTS
Input High Voltage, VINH
Input Low Voltage, VINL
Input Current, IIN
Input Capacitance, CIN
DIGITAL OUTPUTS
Output High Voltage, VOH
Output Low Voltage, VOL
Three-State Leakage Current
Three-State Output Capacitance
ANALOG OUTPUTS
Output Current (DACs A, B, C)4
Output Current (DACs A, B, C)5
Output Current (DACs D, E, F)6
Output Current (DACs D, E, F)5
DAC-to-DAC Matching (DACs A, B, C)7
DAC-to-DAC Matching (DACs D, E, F)7
Output Compliance, VOC
Output Impedance, ROUT
Output Capacitance, COUT
VOLTAGE REFERENCE
Reference Range, VREF
POWER REQUIREMENTS
VAA
Normal Power Mode
IDAC (max)8, 9
IDAC (min)8, 9
ICCT10
Low Power Mode
IDAC (max)11
IDAC (min)11
ICCT10
Sleep Mode
IDAC12
ICCT13
Power Supply Rejection Ratio
Test Conditions1
Min
Typ
Guaranteed Monotonic
Max
Unit
10
Bits
± 1.0
± 1.0
LSB
LSB
0.8
±1
V
V
µA
pF
0.4
10
V
V
µA
pF
2
VIN = 0.4 V or 2.4 V
10
ISOURCE = 400 µA
ISINK = 3.2 mA
2.4
10
RSET1 = 150 Ω, RL = 37.5 Ω
RSET1 = 1041 Ω, RL = 262.5 Ω
RSET2 = 600 Ω, RL = 150 Ω
RSET2 = 1041 Ω, RL = 262.5 Ω
33
8.25
34.7
5
8.66
5
1
1
0
37
30
mA
mA
mA
mA
%
%
V
kΩ
pF
9.25
4.0
4.0
1.4
30
IOUT = 0 mA
IVREFOUT = 20 µA
RSET1,2 = 600 Ω
RSET1,2 = 1041 Ω
RSET1 = 150 Ω
1.112
1.235
1.359
V
4.75
5.0
5.25
V
59
30
78
65
90
mA
mA
mA
90
mA
mA
mA
0.5
µA
µA
%/%
64
15
78
COMP = 0.1 µF
0.1
0.1
0.01
NOTES
1
The max/min specifications are guaranteed over this range. The max/min values are typical over 4.75 V to 5.25 V.
2
Temperature range T MIN to TMAX: 0°C to 70°C.
3
Characterized by design.
4
Full drive into 75 Ω doubly terminated load.
5
Minimum drive current (used with buffered/scaled output load).
6
Full drive into 150 Ω load.
7
Specification guaranteed by characterization.
8
IDAC is the total current (“min” corresponds to 5 mA output per DAC, “max” corresponds to 8.66 mA output per DAC ) to drive DACs A, B, C, D, E, F. Turning off
individual DACs reduces I DAC correspondingly, also DACs A, B, C can be configured to output a max current of 37 mA but DAC D, E, F must be turned off.
9
All six DACs on (DAC A, B, C, D, E, F).
10
ICCT (Circuit Current) is the continuous current required to drive the device.
11
Only large DACs (DACs A, B, C) on per low power mode.
12
Total DAC current in Sleep Mode.
13
Total continuous current during Sleep Mode.
Specifications subject to change without notice.
REV. B
–3–
ADV7172/ADV7173–SPECIFICATIONS
3.3 V SPECIFICATIONS
(VAA = 3.0 V–3.6 V1, VREF = 1.235 V, RSET1,2 = 600 unless otherwise noted. All specifications TMIN to TMAX2
unless otherwise noted.)
Test Conditions1
Parameter
Min
Typ
Max
Unit
10
Bits
1.0
1.0
LSB
LSB
3
STATIC PERFORMANCE
Resolution (Each DAC)
Accuracy (Each DAC)
Integral Nonlinearity
Differential Nonlinearity
Guaranteed Monotonic
DIGITAL INPUTS3
Input High Voltage, VINH
Input Low Voltage, VINL
Input Current, IIN
Input Capacitance, CIN
2
0.8
±1
VIN = 0.4 V or 2.4 V
10
DIGITAL OUTPUTS3
Output High Voltage, VOH
Output Low Voltage, VOL
Three-State Leakage Current
Three-State Output Capacitance
ANALOG OUTPUTS3
Output Current (DACs A, B, C)4
Output Current (DACs A, B, C)5
Output Current (DACs D, E, F)6
Output Current (DACs D, E, F)5
DAC-to-DAC Matching (DACs A, B, C)3
DAC-to-DAC Matching (DACs D, E, F)3
Output Compliance, VOC
Output Impedance, ROUT
Output Capacitance, COUT
ISOURCE = 400 µA
ISINK = 3.2 mA
2.4
0.4
10
10
RSET1 = 150 Ω, RL = 37.5 Ω
RSET1 = 1041 Ω, RL = 262.5 Ω
RSET2 = 600 Ω, RL = 150 Ω
RSET2 = 1041 Ω, RL = 262.5 Ω
34.7
5
8.66
5
1
1
V
V
µA
pF
V
V
µA
pF
30
mA
mA
mA
mA
%
%
V
kΩ
pF
3.3
3.6
V
58
30
40
65
mA
mA
mA
4.0
4.0
1.4
30
IOUT = 0 mA
3, 7
POWER REQUIREMENTS
VAA
Normal Power Mode
IDAC (max)8, 9
IDAC (min)8
ICCT10
Sleep Mode
IDAC11
ICCT12
Power Supply Rejection Ratio
3.0
RSET1,2 = 600 Ω
RSET1,2 = 1041 Ω
COMP = 0.1 µF
0.1
0.1
0.01
µA
µA
%/%
NOTES
1
The max/min specifications are guaranteed over this range. The max/min values are typical over 3.0 V to 3.6 V.
2
Temperature range T MIN to TMAX: 0°C to 70°C.
3
Guaranteed by characterization.
4
Full drive into 75 Ω doubly terminated load.
5
Minimum drive current (used with buffered/scaled output load).
6
Full Drive into 150 Ω load.
7
Power measurements are taken with Clock Frequency = 27 MHz. Max T J = 110°C.
8
IDAC is the total current (“min” corresponds to 5 mA output per DAC, “max” corresponds to 8.66 mA output per DAC ) to drive DACs A, B, C, D, E, F. Turning off
individual DACs reduces I DAC correspondingly, also DACs A, B, C can be configured to output a max current of 37 mA.
9
DACs A, B, C can output 35 mA typically at 3.3 V (R SET = 150 Ω and RL = 37.5 Ω), optimum performance obtained at 18 mA DAC Current (RSET = 300 Ω and
RL = 75 Ω).
10
ICCT (Circuit Current) is the continuous current required to drive the device.
11
Total DAC current in Sleep Mode.
12
Total continuous current during Sleep Mode.
Specifications subject to change without notice.
–4–
REV. B
ADV7172/ADV7173
5 V DYNAMIC SPECIFICATIONS
(VAA = 5 V 5%1, VREF = 1.235 V, RSET1,2 = 600 unless otherwise noted. All
specifications TMIN to TMAX2 unless otherwise noted.)
Conditions1
Parameter
3, 4
Differential Gain
Differential Phase3, 4
Differential Gain3, 4
Differential Phase3, 4
SNR3, 4 (Pedestal)
SNR3, 4 (Pedestal)
SNR3, 4 (Ramp)
SNR3, 4 (Ramp)
Hue Accuracy3, 4
Color Saturation Accuracy3, 4
Chroma Nonlinear Gain3, 4
Chroma Nonlinear Phase3, 4
Chroma/Luma Intermod3, 4
Chroma/Luma Gain Inequality3, 4
Chroma/Luma Delay Inequality3, 4
Luminance Nonlinearity3, 4
Chroma AM Noise3, 4
Chroma PM Noise3, 4
Min
Typ
Max
Unit
0.7
0.7
1.0
3.0
79
79
0.3
0.4
0.5
2.0
75
66
60
58
0.7
0.9
1.2
0.3
0.2
1.0
0.5
1.0
82
80
%
Degrees
%
Degrees
dB rms
dB p-p
dB rms
dB p-p
Degrees
%
±%
± Degrees
±%
±%
ns
±%
dB
dB
Normal Power Mode
Normal Power Mode
Lower Power Mode
Lower Power Mode
RMS
Peak Periodic
RMS
Peak Periodic
Referenced to 40 IRE
0.5
0.4
1.7
NOTES
1
The max/min specifications are guaranteed over this range. The max/min values are typical over 4.75 V to 5.25 V range.
2
Temperature range T MIN to TMAX: 0°C to 70°C.
3
These specifications are for the low-pass filter only and guaranteed by design.
4
Guaranteed by characterization.
Specifications subject to change without notice.
3.3 V DYNAMIC SPECIFICATIONS
(VAA = 3.0 V–3.6 V1, VREF = 1.235 V, RSET1,2 = 600 unless otherwise noted. All
specifications TMIN to TMAX2 unless otherwise noted.)
Parameter
Conditions1
Differential Gain3
Differential Phase3
Differential Gain3
Differential Phase3
SNR3 (Pedestal)
SNR3 (Pedestal)
SNR3 (Ramp)
SNR3 (Ramp)
Hue Accuracy3
Color Saturation Accuracy3
Luminance Nonlinearity3
Chroma AM Noise3
Chroma PM Noise3
Chroma Nonlinear Gain3, 4
Chroma Nonlinear Phase3, 4
Chroma/Luma Intermod3, 4
Normal Power Mode
Normal Power Mode
Lower Power Mode
Lower Power Mode
RMS
Peak Periodic
RMS
Peak Periodic
Min
Referenced to 40 IRE
NOTES
1
The max/min specifications are guaranteed over this range. The max/min values are typical over 3.0 V to 3.6 V.
2
Temperature range T MIN to TMAX: 0°C to 70°C.
3
Guaranteed by characterization.
4
These specifications are for the low-pass filter only and guaranteed by design.
Specifications subject to change without notice.
REV. B
–5–
Typ
0.6
0.5
1.0
0.5
75
70
60
58
1.0
1.0
1.1
83
79
1.2
0.3
0.2
Max
Unit
%
Degrees
%
Degrees
dB rms
dB p-p
dB rms
dB p-p
Degrees
%
±%
dB
dB
±%
± Degrees
±%
ADV7172/ADV7173
(V = 5 V 5% , V = 1.235 V, R
5 V TIMING SPECIFICATIONS to T unless otherwise noted.)
1
AA
REF
2
MAX
Parameter
SET1
= 600 unless otherwise noted. All specifications TMIN
Conditions
Min
Typ
Max
Unit
400
kHz
µs
µs
µs
µs
ns
ns
ns
µs
3, 4
MPU PORT
SCLOCK Frequency
SCLOCK High Pulsewidth, t1
SCLOCK Low Pulsewidth, t2
Hold Time (Start Condition), t3
Setup Time (Start Condition), t4
Data Setup Time, t5
SDATA, SCLOCK Rise Time, t6
SDATA, SCLOCK Fall Time, t7
Setup Time (Stop Condition), t8
After this period the 1st clock is generated
relevant for repeated Start Condition.
0
0.6
1.3
0.6
0.6
100
300
300
0.6
3, 5
ANALOG OUTPUTS
Analog Output Delay
DAC Analog Output Skew
CLOCK CONTROL AND
PIXEL PORT5, 6
fCLOCK
Clock High Time, t9
Clock Low Time, t10
Data Setup Time, t11
Data Hold Time, t12
Control Setup Time, t11
Control Hold Time, t12
Digital Output Access Time, t13
Digital Output Hold Time, t14
Pipeline Delay, t15
7
0
ns
ns
27
MHz
ns
ns
ns
ns
ns
ns
ns
ns
Clock Cycles
8
8
4.0
5.0
4
3
15
10
37
24
TELETEXT PORT3, 7
Digital Output Access Time, t16
Data Setup Time, t17
Data Hold Time, t18
20
2
6
ns
ns
ns
RESET CONTROL3
RESET Low Time
3
ns
NOTES
1
The max/min specifications are guaranteed over this range. The max/min values are typical over 4.75 V to 5.25 V.
2
Temperature range T MIN to TMAX: 0°C to 70°C.
3
TTL input values are 0 to 3 volts, with input rise/fall times ≤ 3 ns, measured between the 10% and 90% points. Timing reference points at 50% for inputs and
outputs. Analog output load ≤ 10 pF.
4
Guaranteed by characterization.
5
Output delay measured from the 50% point of the rising edge of CLOCK to the 50% point of full-scale transition.
6
Pixel Port consists of the following:
Pixel Inputs:
P7–P0
Pixel Controls:
HSYNC, FIELD/VSYNC, BLANK, VSO, CSO_HSO, CLAMP
Clock Input:
CLOCK
7
Teletext Port consists of the following:
Teletext Output:
TTXREQ
Teletext Input:
TTX
Specifications subject to change without notice.
–6–
REV. B
ADV7172/ADV7173
3.3 V TIMING SPECIFICATIONS
Parameter
(VAA = 3.0 V–3.6 V1, VREF = 1.235 V, RSET1,2 = 600 . All specifications TMIN to TMAX2 unless
otherwise noted.)
Conditions
Min
Typ
Max
Unit
400
kHz
µs
µs
µs
µs
ns
ns
ns
µs
3, 4
MPU PORT
SCLOCK Frequency
SCLOCK High Pulsewidth, t1
SCLOCK Low Pulsewidth, t2
Hold Time (Start Condition), t3
Setup Time (Start Condition), t4
Data Setup Time, t5
SDATA, SCLOCK Rise Time, t6
SDATA, SCLOCK Fall Time, t7
Setup Time (Stop Condition), t8
After this period the 1st clock is generated
relevant for repeated Start Condition.
0
0.6
1.3
0.6
0.6
100
300
300
0.6
3, 5
ANALOG OUTPUTS
Analog Output Delay
DAC Analog Output Skew
7
0
ns
ns
27
20
12
37
MHz
ns
ns
ns
ns
ns
ns
ns
ns
Clock Cycles
TELETEXT PORT3, 4, 7
Digital Output Access Time, t16
Data Setup Time, t17
Data Hold Time, t18
23
2
6
ns
ns
ns
RESET CONTROL3, 4
RESET Low Time
3
ns
CLOCK CONTROL AND
PIXEL PORT4, 5, 6
fCLOCK
Clock High Time, t9
Clock Low Time, t10
Data Setup Time, t11
Data Hold Time, t12
Control Setup Time, t11
Control Hold Time, t12
Digital Output Access Time, t13
Digital Output Hold Time, t14
Pipeline Delay, t15
8
8
4.0
5
5
3
NOTES
1
The max/min specifications are guaranteed over this range. The max/min values are typical over 3.0 V to 3.6 V.
2
Temperature range T MIN to TMAX: 0°C to 70°C.
3
TTL input values are 0 to 3 volts, with input rise/fall times ≤ 3 ns, measured between the 10% and 90% points. Timing reference points at 50% for inputs and
outputs. Analog output load ≤ 10 pF.
4
Guaranteed by characterization.
5
Output delay measured from the 50% point of the rising edge of CLOCK to the 50% point of full-scale transition.
6
Pixel Port consists of the following:
Pixel Inputs:
P7–P0
Pixel Controls:
HSYNC, FIELD/VSYNC, BLANK, VSO, CSO_HSO, CLAMP
Clock Input:
CLOCK
7
Teletext Port consists of the following:
Teletext Output:
TTXREQ
Teletext Input:
TTX
Specifications subject to change without notice.
REV. B
–7–
ADV7172/ADV7173
t5
t3
t3
SDATA
t6
t1
SCLOCK
t2
t7
t4
t8
Figure 1. MPU Port Timing Diagram
CLOCK
t9
CONTROL
I/PS
HSYNC,
FIELD/VSYNC,
BLANK
PIXEL INPUT
DATA
CONTROL
O/PS
t12
t10
Cb
Y
Cr
Y
t11
HSYNC,
FIELD/VSYNC,
BLANK,
CSO_HSO,
VSO, CLAMP
Cb
Y
t13
t14
Figure 2. Pixel and Control Data Timing Diagram
TTXREQ
t16
CLOCK
t17
t18
TTX
4 CLOCK
CYCLES
4 CLOCK
CYCLES
4 CLOCK
CYCLES
3 CLOCK
CYCLES
4 CLOCK
CYCLES
Figure 3. Teletext Timing Diagram
DAC Average Current Consumption
DAC D, E, F: The average current consumed by each DAC is the DAC output current as determined by RSET2/VREF (see Appendix 8).
DAC A, B, C: In normal power mode the average current consumed by each DAC is the DAC output current as determined by RSET1
(see Appendix 8).
In Low Power Mode the average current consumed by each DAC is approximately half the DAC output current as determined by RSET1.
Consult AN-551 for detailed information on ADV7172/ADV7173 power management.
–8–
REV. B
ADV7172/ADV7173
ABSOLUTE MAXIMUM RATINGS 1
PACKAGE THERMAL PERFORMANCE
VAA to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 V
Voltage on Any Digital Input Pin . GND – 0.5 V to VAA + 0.5 V
Storage Temperature (TS) . . . . . . . . . . . . . . –65°C to +150°C
Junction Temperature (TJ) . . . . . . . . . . . . . . . . . . . . . . 150°C
Lead Temperature (Soldering, 10 sec) . . . . . . . . . . . . . . 260°C
Analog Outputs to GND2 . . . . . . . . . . . GND – 0.5 V to VAA
The 48-lead LQFP package is used for this device. The junction-to-ambient (θJA) thermal resistance in still air on a four
layer PCB is 54.6°C/W. The junction-to-case thermal resistance
(θJC) is 16.7°C.
NOTES
1
Stresses above those listed under Absolute Maximum Ratings may cause permanent
damage to the device. This is a stress rating only; functional operation of the device
at these or any other conditions above those listed in the operational sections of this
specification is not implied. Exposure to absolute maximum rating conditions for
extended periods may affect device reliability.
2
Analog output short circuit to any power supply or common can be of an
indefinite duration.
To reduce power consumption when using this part the user is
advised to run the part on a 3.3 V supply, turn off any unused
DACs. However, if 5 V operation is required the user can enable
Low Power mode by setting MR16 to a Logic 1. Another alternative way to further reduce power is to use external buffers that
dramatically reduce the DAC currents, the current can be lowered to as low as 5 mA (see AN-551 and Appendix 8 for more
details) from a nominal value of 36 mA.
The user must at all times stay below the maximum junction
temperature of 110°C. The following equation shows how to
calculate this junction temperature:
Junction Temperature = [VAA (IDAC + ICCT) × θJA ] 70°C
where
IDAC = 10 mA + (sum of the average currents consumed by each
powered-on DAC).
VREF
RSET1
SCRESET/RTC
TTXREQ
CLAMP
TTX
VAA
VSO
RESET
PAL NTSC
CLOCK
GND
PIN CONFIGURATION
48 47 46 45 44 43 42 41 40 39 38 37
VAA 1
36
COMP1
35
DAC A
P1 3
34
VAA
P2 4
33
DAC B
32
VAA
P0 2
PIN 1
IDENTIFIER
P3 5
P4 6
ADV7172/ADV7173
P5 7
TOP VIEW
(Not to Scale)
31
GND
30 VAA
8
29
DAC C
P7 9
28
DAC D
CSO HSO 10
27
VAA
VAA 11
26
GND
GND 12
25
DAC E
P6
ORDERING GUIDE
Model
Temperature
Range
Package
Description
Package
Option
ADV7172KST
0°C to 70°C
ST-48
ADV7173KST
0°C to 70°C
Plastic Thin
Quad Flatpack
Plastic Thin
Quad Flatpack
ST-48
DAC F
COMP2
RSET2
SDATA
VAA
SCLOCK
GND
ALSB
BLANK
FIELD/VSYNC
GND
HSYNC
13 14 15 16 17 18 19 20 21 22 23 24
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection.
Although the ADV7172/ADV7173 features proprietary ESD protection circuitry, permanent
damage may occur on devices subjected to high-energy electrostatic discharges. Therefore,
proper ESD precautions are recommended to avoid performance degradation or loss of
functionality.
REV. B
–9–
WARNING!
ESD SENSITIVE DEVICE
ADV7172/ADV7173
PIN FUNCTION DESCRIPTION
Mnemonic
Input/Output
Function
P7–P0
CLOCK
I
I
HSYNC
I/O
FIELD/VSYNC
I/O
BLANK
I/O
SCRESET/RTC
I
VREF
RSET1
I/O
I
RSET2
I
COMP1
O
COMP2
DAC A
DAC B
DAC C
DAC D
DAC E
DAC F
SCLOCK
SDATA
CLAMP
PAL_NTSC
VSO
CSO_HSO
ALSB
RESET
O
O
O
O
O
O
O
I
I/O
O
I
O
O
I
I
TTX
TTXREQ
VAA
GND
I
O
P
G
8-Bit 4:2:2 Multiplexed YCrCb Pixel Port (P7–P0) P0 represents the LSB.
TTL Clock Input. Requires a stable 27 MHz reference clock for standard operation. Alternatively, a 24.5454 MHz (NTSC) or 29.5 MHz (PAL) can be used for square pixel operation.
HSYNC (Modes 1 and 2) Control Signal. This pin may be configured to output (Master
Mode) or as an input and accept (Slave Mode) Sync signals.
Dual Function FIELD (Mode 1) and VSYNC (Mode 2) Control Signal. This pin may be
configured to output (Master Mode) or as an input (Slave Mode) and accept these
control signals.
Video Blanking Control Signal. The pixel inputs are ignored when this is Logic Level “0.”
This signal is optional.
This pin can be configured as an input by setting MR42 and MR41 of Mode Register 4. It
can be configured as a subcarrier reset pin, in which case a low-to-high transition on this
pin will reset the subcarrier phase to Field 0. Alternatively it may be configured as a RealTime Control (RTC) Input.
Voltage Reference Input for DACs or Voltage Reference Output (1.235 V).
A 150 Ω resistor connected from this pin to GND is used to control full-scale amplitudes of
the Video Signals from DACs A, B, and C (the “large” DACs).
A 600 Ω resistor connected from this pin to GND is used to control full-scale amplitudes of
the Video Signals from DACs D, E, and F (the “small” DACs).
Compensation Pin for DACs A, B, and C. Connect a 0.1 µF Capacitor from COMP to
VAA. For Optimum Dynamic Performance in Low Power Mode, the value of the
COMP1 capacitor can be lowered to as low as 2.2 nF.
Compensation Pin for DACs D, E, and F. Connect a 0.1 µF Capacitor from COMP to VAA.
GREEN/Composite/Y Analog Output. This DAC is capable of providing 34.66 mA output.
BLUE/S-Video Y/U Analog Output. This DAC is capable of providing 34.66 mA output.
RED/S-Video C/V Analog Output. This DAC is capable of providing 34.66 mA output.
GREEN/Composite/Y Analog Output. This DAC is capable of providing 8.66 mA output.
BLUE/S-Video Y/U Analog Output. This DAC is capable of providing 8.66 mA output.
RED/S-Video C/V Analog Output. This DAC is capable of providing 8.66 mA output.
MPU Port Serial Interface Clock Input.
MPU Port Serial Data Input/Output.
TTL Output Signal to external circuitry to enable clamping of all video signals.
Input signal to select PAL or NTSC mode of operation, pin set to Logic “1” selects PAL.
VSO TTL Output Sync Signal.
Dual Function CSO or HSO TTL Output Sync Signal.
TTL Address Input. This signal sets up the LSB of the MPU address.
The input resets the on-chip timing generator and sets the ADV7172/ADV7173 into
default mode. This is NTSC operation, Timing Slave Mode 0, DACs A, B, and C powered
OFF, DACs D, E, and F powered ON, Composite and S-Video out.
Teletext Data Input Pin.
Teletext Data Request output signal used to control teletext data transfer.
Power Supply (3 V to 5 V).
Ground Pin.
–10–
REV. B
ADV7172/ADV7173
(continued from page 2)
In Extended Mode there is the option of twelve responses
in the range from –4 dB to +4 dB. The desired response can
be chosen by the user by programming the correct value via
the I2C. The variation of frequency responses can be seen in
Figures 19 to 21.
INTERNAL FILTER RESPONSE
The Y Filter supports several different frequency responses,
including two low-pass responses, two notch responses, an
Extended (SSAF) response with or without gain boost/attenuation,
a CIF response and a QCIF response. The UV Filter supports
several different frequency responses, including four low-pass
responses, a CIF response and a QCIF response. These can be
seen in Figures 4 to 18.
FILTER TYPE
LOW-PASS (NTSC)
LOW-PASS (PAL)
NOTCH (NTSC)
NOTCH (PAL)
EXTENDED (SSAF)
CIF
QCIF
FILTER SELECTION
MR04
0
0
0
0
1
1
1
MR03
0
0
1
1
0
0
1
MR02
0
1
0
1
0
1
0
PASSBAND RIPPLE 3 dB BANDWIDTH
(dB)
(MHz)
0.091
0.15
0.015
0.095
0.051
0.018
MONOTONIC
STOPBAND
STOPBAND
CUTOFF (MHz) ATTENUATION (dB)
4.157
4.74
6.54
6.24
6.217
3.0
1.5
7.37
7.96
8.3
8.0
8.0
7.06
7.15
–56
–64
–68
–66
–61
–61
–50
Figure 4. Luminance Internal Filter Specifications
FILTER TYPE
1.3MHz LOW PASS
0.65MHz LOW PASS
1.0MHz LOW PASS
2.0MHz LOW PASS
RESERVED
CIF
QCIF
FILTER SELECTION
MR07
0
0
0
0
1
1
1
MR06
0
0
1
1
0
0
1
MR05
0
1
0
1
0
1
0
STOPBAND
STOPBAND
PASSBAND RIPPLE 3 dB BANDWIDTH
CUTOFF (MHz) ATTENUATION (dB)
(dB)
(MHz)
0.084
MONOTONIC
MONOTONIC
0.0645
1.395
0.65
1.0
2.2
3.01
3.64
3.73
5.0
–45
–58.5
–49
–40
0.084
MONOTONIC
0.7
0.5
3.01
4.08
–45
–50
0
0
–10
–10
–20
–20
MAGNITUDE – dB
MAGNITUDE – dB
Figure 5. Chrominance Internal Filter Specifications
–30
–40
–40
–50
–50
–60
–60
–70
–70
0
2
4
6
8
FREQUENCY – MHz
10
12
0
2
4
6
8
FREQUENCY – MHz
10
12
Figure 7. PAL Low-Pass Luma Filter
Figure 6. NTSC Low-Pass Luma Filter
REV. B
–30
–11–
0
0
–10
–10
–20
–20
MAGNITUDE – dB
MAGNITUDE – dB
ADV7172/ADV7173
–30
–40
–30
–40
–50
–50
–60
–60
–70
0
2
4
6
8
FREQUENCY – MHz
10
12
–70
14
0
2
0
0
–10
–10
–20
–20
–30
–40
–60
–60
–70
2
4
6
8
FREQUENCY – MHz
10
12
14
0
0
0
–10
–10
–20
–20
–30
–40
–60
–60
4
6
8
FREQUENCY – MHz
10
4
6
8
FREQUENCY – MHz
10
12
14
12
14
–40
–50
2
2
–30
–50
0
14
Figure 12. QCIF Luma Filter
MAGNITUDE – dB
MAGNITUDE – dB
Figure 9. PAL Notch Luma Filter
–70
12
–40
–50
0
10
–30
–50
–70
6
8
FREQUENCY – MHz
Figure 11. CIF Luma Filter
MAGNITUDE – dB
MAGNITUDE – dB
Figure 8. NTSC Notch Luma Filter
4
12
–70
14
Figure 10. Extended Mode (SSAF) Luma Filter
0
2
4
6
8
FREQUENCY – MHz
10
Figure 13. 1.3 MHz Low-Pass Chroma Filter
–12–
REV. B
0
0
–10
–10
–20
–20
MAGNITUDE – dB
MAGNITUDE – dB
ADV7172/ADV7173
–30
–40
–30
–40
–50
–50
–60
–60
–70
0
2
4
6
8
FREQUENCY – MHz
10
12
–70
14
0
0
0
–10
–10
–20
–20
–30
–40
–60
–60
2
4
6
8
FREQUENCY – MHz
10
12
12
14
12
14
7
8
–40
–50
0
10
–30
–50
–70
6
8
FREQUENCY – MHz
Figure 17. CIF Chroma Filter
MAGNITUDE – dB
MAGNITUDE – dB
Figure 14. 0.65 MHz Low-Pass Chroma Filter
4
2
–70
14
0
Figure 15. 1.0 MHz Low-Pass Chroma Filter
4
2
6
8
FREQUENCY – MHz
10
Figure 18. QCIF Chroma Filter
0
0
–10
–5
MAGNITUDE – dB
MAGNITUDE – dB
–20
–30
–40
–10
–15
–50
–20
–60
–70
0
2
4
6
8
FREQUENCY – MHz
10
12
Figure 16. 2.0 MHz Low-Pass Chroma Filter
REV. B
–25
14
0
1
2
3
4
5
FREQUENCY – MHz
6
Figure 19. Extended Mode Luma Filter with Programmable
Gain, Negative Response
–13–
ADV7172/ADV7173
4
4
2
0
MAGNITUDE – dB
AMPLITUDE – dB
3
2
1
0
–2
–4
–6
–8
–1
–10
–2
–12
–3
0
1
2
3
4
FREQUENCY – MHz
5
6
1
7
2
3
4
FREQUENCY – MHz
5
6
Figure 20. Extended Mode Luma Filter with Programmable
Gain, Positive Response
Figure 21. Extended Mode Luma Filter with Programmable
Gain, Combined Response
COLOR BAR GENERATION
onto the Y data in PAL mode, NTSC mode without pedestal or
NTSC mode with pedestal, in which case it is added directly
onto the 7.5 IRE pedestal already present.
The ADV7172/ADV7173 can be configured to generate 100/
7.5/75/7.5 color bars for NTSC or 100/0/75/0 color bars for
PAL. These are enabled by setting MR46 of Mode Register 4 to
Logic “1.”
SQUARE PIXEL MODE
The ADV7172/ADV7173 can be used to operate in square pixel
mode. For NTSC operation, an input clock of 24.5454 MHz is
required. Alternatively, for PAL operation, an input clock of
29.5 MHz is required. The internal timing logic adjusts accordingly for square pixel mode operation.
COLOR SIGNAL CONTROL
The color information can be switched on and off the video
output using Bit MR44 of Mode Register 4.
The level added is programmed by the user into the Brightness
Control Register (Bits 4–0) and the user is capable of adding
from 0 IRE to a maximum of 14 IRE in 32 (25) steps. Because
of different gains in the datapath for each mode, different values
may need to be programmed to obtain the same IRE setup level
in each mode. Maximum brightness is achieved when 31 is
programmed into the Brightness Control Register. Table I illustrates the maximum setup/brightness amplitudes available in the
various modes. Note that if a level of less than 7.5 IRE is required
on the Y data in NTSC mode, then NTSC without pedestal
must be the mode selected.
Table I. Maximum Brightness Levels Available
BURST SIGNAL CONTROL
The burst information can be switched on and off the video
output using Bit MR45 of Mode Register 4.
Mode
Brightness Control
Register
Setup
NTSC PEDESTAL CONTROL
The pedestal on both odd and even fields can be controlled on a
line-by-line basis using the NTSC Pedestal Control Registers.
This allows the pedestals to be controlled during the Vertical
Blanking Interval.
NTSC No Pedestal
NTSC Pedestal
PAL
00011111
00011111
00011111
14 IRE
13 IRE
99 mV
COLOR CONTROLS
The ADV7172/ADV7173 allows the user the advantage of controlling the brightness, contrast, hue and saturation of the color.
Color adjustment is achieved by scaling the Cr and Cb input
data by a factor programmed by the user into the Color Control
Registers 1 and 2, Bits 5–0. This factor allows the data to be
scaled between 75% and 125%.
Contrast Control
Contrast adjustment is achieved by scaling the Y input data
by a factor programmed by the user into the Contrast Control
Register Bits 5–0. This factor allows the data to be scaled
between 75% and 125%.
Brightness Control
The brightness is controlled by adding a programmable setup
level onto the scaled Y data. This brightness level may be added
Color Saturation Control
Hue Control
The hue adjustment is achieved on the composite and chroma
outputs by adding a phase offset onto the color subcarrier in the
active video but leaving the color burst unmodified, i.e., only
the phase between the video and the color burst is modified
and hence the hue is shifted. Hue adjustment is under the control of the Hue Control Register. The ADV7172/ADV7173
provides a range of ± 22° change in increments of 0.17578125°.
–14–
REV. B
ADV7172/ADV7173
YUV LEVELS
SUBCARRIER RESET
This functionality is under the control of Mode Register 5, Bits
2–0. Bit 0 (MR50) allows the ADV7172/ADV7173 to output
SMPTE levels on the Y output when configured in NTSC mode,
and Betacam levels on the Y output when configured in PAL
mode and vice-versa.
Together with the SCRESET/RTC PIN and Bits MR42 and
MR41 of Mode Register 4, the ADV7172/ADV7173 can be
used in subcarrier reset mode. The subcarrier phase will reset to
Field 0 at the start of the following field when a low to high
transition occurs on this input pin.
Betacam
SMPTE
MII
Video
286 mV
300 mV
300 mV
Sync
714 mV
700 mV
700 mV
REAL-TIME CONTROL
Together with the SCRESET/RTC PIN and Bits MR42 and
MR41 of Mode Register 4, the ADV7172/ADV7173 can be
used to lock to an external video source. The real-time control
mode allows the ADV7172/ADV7173 to automatically alter the
subcarrier frequency to compensate for line length variation.
When the part is connected to a device that outputs a digital
data stream in the RTC format (such as a ADV7185 video
decoder, see Figure 22), the part will automatically change to
the compensated subcarrier frequency on a line-by-line basis.
This digital data stream is 67 bits wide and the subcarrier is
contained in Bits 0 to 21. Each bit is two clock cycles long. 00Hex
should be written into all four subcarrier frequency registers
when using this mode.
As the datapath is branched at the output of the filters, the
luma signal relating to the CVBS or S-Video Y/C output is
unaltered. Only the Y output of the YUV outputs is scaled.
Bits 2–1 (MR52–MR51) allow UV levels to have a peak-peak
amplitude of 700 mV or 1000 mV, or the default values of
934 mV in NTSC and 700 mV in PAL.
AUTODETECT CONTROL
The ADV7172/ADV7173 provides the option of automatically
powering down the DACs A, B and C if they are not correctly
terminated (i.e., the 75 Ω cable is not connected to the DAC).
The voltage at the output of DACs A and B are compared to
a selected reference level. This reference voltage (MR64) will
depend on whether the user terminates with 37.5 Ω (75 Ω connected on the DAC end and 75 Ω connected at TV end of cable,
i.e., combined load of 37.5 Ω) or 75 Ω. It cannot operate in a
DAC buffering configuration. There are two modes of autodetect operation provided by the ADV7172/ADV7173:
VIDEO TIMING DESCRIPTION
The ADV7172/ADV7173 is intended to interface to off-theshelf MPEG1 and MPEG2 Decoders. As a consequence, the
ADV7172/ADV7173 accepts 4:2:2 YCrCb Pixel Data via a
CCIR-656 pixel port and has several video timing modes of
operation that allow it to be configured as either system master
video timing generator or a slave to the system video timing
generator. The ADV7172/ADV7173 generates all of the required
horizontal and vertical timing periods and levels for the analog
video outputs.
(1) Mode 0: The state of termination of the DAC may be read
by reading the status bits in Mode Register 6. MR67 status bit
indicates whether or not the composite DAC is terminated,
MR66 status bit indicates whether or not the luma DAC is
terminated. The user may then decide whether or not to power
down the DACs using MR15–MR0.
(2) Mode 1: The state of the DACs may be read as in Mode 0.
If either of the DACs is unterminated, they are automatically
powered down. If the luma DAC, DAC B is powered down then
DAC C, the chroma DAC, will also be powered down. The
state of termination of the DAC is checked each frame to decide
whether or not it is to be powered up or down.
Mode Register 6, Bits 3–2, indicates which mode of operation is
used. Note that Mode Register 1, Bits 5-3, must be enabled
(“1”) for autodetect functionality to work. (DACs A, B, C are
enabled.)
Vertical Blanking Data Insertion
It is possible to allow encoding of incoming YCbCr data on
those lines of VBI that do not have line sync or pre-/postequalization pulses (see Figures 24 to 25). This mode of
operation is called “Partial Blanking” and is selected by setting
MR32 to “1.” It allows the insertion of any VBI data (Opened
VBI) into the encoded output waveform. This data is present in
digitized incoming YCbCr data stream (e.g., WSS data, CGMS,
VPS etc.). Alternatively the entire VBI may be blanked (no VBI
data inserted) on these lines by setting MR32 to “0.”
REV. B
The ADV7172/ADV7173 calculates the width and placement
of analog sync pulses, blanking levels and color burst envelopes.
Color bursts are disabled on appropriate lines and serration and
equalization pulses are inserted where required.
In addition, the ADV7172/ADV7173 supports a PAL or NTSC
square pixel operation in slave mode. The part requires an input
pixel clock of 24.5454 MHz for NTSC and an input pixel clock
of 29.5 MHz for PAL. The internal horizontal line counters place
the various video waveform sections in the correct location for
the new clock frequencies.
The ADV7172/ADV7173 has four distinct master and four
distinct slave timing configurations. Timing control is established with the bidirectional SYNC, BLANK, and FIELD/
VSYNC pins. Timing Mode Register 1 can also be used to
vary the timing pulsewidths and where they occur in relation to
each other.
–15–
ADV7172/ADV7173
CLOCK
COMPOSITE
VIDEO
e.g., VCR
OR CABLE
LCC1
GLL
GREEN/COMPOSITE/Y
SCRESET/RTC
P7–P0
P19-P12
BLUE/LUMA/U
RED/CHROMA/V
GREEN/COMPOSITE/Y
HSYNC
VIDEO
DECODER
ADV7185
FIELD/VSYNC
BLUE/LUMA/U
RED/CHROMA/V
ADV7172/ADV7173
SEQUENCE
BIT2
RESET
BIT3
5 BITS
RESERVED
RESERVED
H/LTRANSITION
COUNT START
4 BITS
RESERVED
LOW
128
13
14 BITS
RESERVED
0
FSCPLL INCREMENT1
21
0
RTC
TIME SLOT: 01
14
NOT USED IN
ADV7172/ADV7173
19
67 68
VALID
SAMPLE
8/LLC
INVALID
SAMPLE
NOTES
1F
SC PLL INCREMENT IS 22 BITS LONG, VALUE LOADED INTO ADV7172/ADV7173 FSC DDS REGISTER IS FSC PLL INCREMENT BITS 21:0 PLUS BITS 0:9
OF SUBCARRIER FREQUENCY REGISTERS. ALL ZEROS SHOULD BE WRITTEN TO THE SUBCARRIER FREQUENCY REGISTERS OF THE
ADV7172/ADV7173.
2 SEQUENCE BIT
PAL: 0 = LINE NORMAL, 1 = LINE INVERTED
NTSC: 0 = NO CHANGE
3 RESET BIT
RESET ADV7172/ADV7173’s DDS
Figure 22. RTC Timing and Connections
Mode 0 (CCIR–656): Slave Option
(Timing Register 0 TR0 = X X X X X 0 0 0)
The ADV7172/ADV7173 is controlled by the SAV (Start Active Video) and EAV (End Active Video) Time Codes in the Pixel Data.
All timing information is transmitted using a 4-byte Synchronization Pattern. A synchronization pattern is sent immediately before
and after each line during active picture and retrace. Mode 0 is illustrated in Figure 23. The HSYNC, FIELD/VSYNC, and BLANK
(if not used) pins should be tied high during this mode.
ANALOG
VIDEO
EAV CODE
INPUT PIXELS
NTSC/PAL M SYSTEM
(525 LlNES/60Hz)
PAL SYSTEM
(625 LINES/50Hz)
C
F 0 0 X 8 1 8 1
Y r Y F 0 0 Y 0 0 0 0
4 CLOCK
SAV CODE
0 F F A A A
0 F F B B B
8 1 8 1 F 0 0 X C
C
C
C
C
0 0 0 0 F 0 0 Y b Y r Y b Y r Y b
ANCILLARY DATA
(HANC)
4 CLOCK
268 CLOCK
1440 CLOCK
4 CLOCK
4 CLOCK
280 CLOCK
END OF ACTIVE
VIDEO LINE
1440 CLOCK
START OF ACTIVE
VIDEO LINE
Figure 23. Timing Mode 0 (Slave Mode)
–16–
REV. B
ADV7172/ADV7173
Mode 0 (CCIR–656): Master Option
(Timing Register 0 TR0 = X X X X X 0 0 1)
The ADV7172/ADV7173 generates H, V, and F signals required for the SAV (Start Active Video) and EAV (End Active Video)
Time Codes in the CCIR656 standard. The H bit is output on the HSYNC pin, the V bit is output on the BLANK pin and the F bit
is output on the FIELD/VSYNC pin. Mode 0 is illustrated in Figure 24 (NTSC) and Figure 25 (PAL). The H, V, and F transitions
relative to the video waveform are illustrated in Figure 26.
DISPLAY
522
523
DISPLAY
VERTICAL BLANK
524
525
1
2
3
4
6
5
7
8
9
10
11
20
21
22
H
V
F
EVEN FIELD
ODD FIELD
DISPLAY
DISPLAY
VERTICAL BLANK
260
261
262
263
264
265
266
267
268
269
270
271
272
273
283
274
285
284
H
V
ODD FIELD
F
EVEN FIELD
Figure 24. Timing Mode 0 (NTSC Master Mode)
DISPLAY
DISPLAY
VERTICAL BLANK
622
623
624
625
1
2
3
4
5
6
7
21
22
23
H
V
EVEN FIELD
F
ODD FIELD
DISPLAY
DISPLAY
VERTICAL BLANK
309
310
311
312
313
314
315
316
317
318
319
320
H
V
F
ODD FIELD
EVEN FIELD
Figure 25. Timing Mode 0 (PAL Master Mode)
REV. B
–17–
334
335
336
ADV7172/ADV7173
ANALOG
VIDEO
H
F
V
Figure 26. Timing Mode 0 Data Transitions (Master Mode)
Mode 1: Slave Option HSYNC, BLANK, FIELD
(Timing Register 0 TR0 = X X X X X 0 1 0)
In this mode the ADV7172/ADV7173 accepts horizontal SYNC and Odd/ Even FIELD signals. A transition of the FIELD input
when HSYNC is low indicates a new frame, i.e., Vertical Retrace. The BLANK signal is optional. When the BLANK input is disabled, the ADV7172/ADV7173 automatically blanks all normally blank lines as per CCIR-624. Mode 1 is illustrated in Figure 27
(NTSC) and Figure 28 (PAL).
DISPLAY
522
523
DISPLAY
VERTICAL BLANK
524
525
1
2
3
4
6
5
7
8
9
10
11
20
21
22
HSYNC
BLANK
FIELD
EVEN FIELD
ODD FIELD
DISPLAY
260
261
DISPLAY
VERTICAL BLANK
262
263
264
265
266
267
268
269
270
271
272
273
274
283
284
285
HSYNC
BLANK
FIELD
ODD FIELD
EVEN FIELD
Figure 27. Timing Mode 1 (NTSC)
–18–
REV. B
ADV7172/ADV7173
DISPLAY
622
DISPLAY
VERTICAL BLANK
623
624
625
1
2
3
4
5
6
21
7
22
23
HSYNC
BLANK
EVEN FIELD
FIELD
ODD FIELD
DISPLAY
309
310
DISPLAY
VERTICAL BLANK
311
312
313
314
315
316
317
318
319
320
334
335
336
HSYNC
BLANK
FIELD
ODD FIELD
EVEN FIELD
Figure 28. Timing Mode 1 (PAL)
Mode 1: Master Option HSYNC, BLANK, FIELD
(Timing Register 0 TR0 = X X X X X 0 1 1)
In this mode the ADV7172/ADV7173 can generate horizontal SYNC and Odd/Even FIELD signals. A transition of the FIELD
input when HSYNC is low indicates a new frame, i.e., vertical retrace. The BLANK signal is optional. When the BLANK input is
disabled, the ADV7172/ADV7173 automatically blanks all normally blank lines as per CCIR-624. Pixel data is latched on the rising
clock edge following the timing signal transitions. Mode 1 is illustrated in Figure 27 (NTSC) and Figure 28 (PAL). Figure 29 illustrates the HSYNC, BLANK, and FIELD for an odd-or-even field transition relative to the pixel data.
HSYNC
FIELD
PAL = 12 * CLOCK/2
NTSC = 16 * CLOCK/2
BLANK
PIXEL
DATA
Cb
Y
PAL = 132 * CLOCK/2
NTSC = 122 * CLOCK/2
Figure 29. Timing Mode 1 Odd/Even Field Transitions Master/Slave
REV. B
–19–
Cr
Y
ADV7172/ADV7173
Mode 2: Slave Option HSYNC, VSYNC, BLANK
(Timing Register 0 TR0 = X X X X X 1 0 0)
In this mode the ADV7172/ADV7173 accepts horizontal and vertical SYNC signals. A coincident low transition of both HSYNC and
VSYNC inputs indicates the start of an odd field. A VSYNC low transition when HSYNC is high indicates the start of an Even Field.
The BLANK signal is optional. When the BLANK input is disabled, the ADV7172/ADV7173 automatically blanks all normally
blank lines as per CCIR-624. Mode 2 is illustrated in Figure 30 (NTSC) and Figure 31 (PAL).
DISPLAY
522
DISPLAY
VERTICAL BLANK
523
524
525
1
2
3
4
6
5
7
8
10
9
20
11
21
22
HSYNC
BLANK
VSYNC
EVEN FIELD
ODD FIELD
DISPLAY
DISPLAY
260
261
VERTICAL BLANK
262
263
264
265
266
267
268
269
270
271
272
273
283
274
284
285
HSYNC
BLANK
VSYNC
EVEN FIELD
ODD FIELD
Figure 30. Timing Mode 2 (NTSC)
DISPLAY
622
623
DISPLAY
VERTICAL BLANK
624
625
1
2
3
4
5
6
7
21
22
23
HSYNC
BLANK
VSYNC
ODD FIELD
EVEN FIELD
DISPLAY
DISPLAY
309
310
VERTICAL BLANK
311
312
313
314
315
316
317
318
319
320
334
335
336
HSYNC
BLANK
VSYNC
ODD FIELD
EVEN FIELD
Figure 31. Timing Mode 2 (PAL)
–20–
REV. B
ADV7172/ADV7173
Mode 2: Master Option HSYNC, VSYNC, BLANK
(Timing Register 0 TR0 = X X X X X 1 0 1)
In this mode the ADV7172/ADV7173 can generate horizontal and vertical SYNC signals. A coincident low transition of both
HSYNC and VSYNC inputs indicates the start of an odd field. A VSYNC low transition when HSYNC is high indicates the start of
an even field. The BLANK signal is optional. When the BLANK input is disabled, the ADV7172/ADV7173 automatically blanks all
normally blank lines as per CCIR-624. Mode 2 is illustrated in Figure 30 (NTSC) and Figure 31 (PAL). Figure 32 illustrates the
HSYNC, BLANK, and VSYNC for an even-to-odd field transition relative to the pixel data. Figure 33 illustrates the HSYNC,
BLANK, and VSYNC for an odd-to-even field transition relative to the pixel data.
HSYNC
VSYNC
BLANK
PAL = 12 * CLOCK/2
NTSC = 16 * CLOCK/2
PIXEL
DATA
Cb
Y
PAL = 132 * CLOCK/2
NTSC = 122 * CLOCK/2
Figure 32. Timing Mode 2 Even-to-Odd Field Transition Master/Slave
HSYNC
VSYNC
PAL = 12 * CLOCK/2
NTSC = 16 * CLOCK/2
PAL = 864 * CLOCK/2
NTSC = 858 * CLOCK/2
BLANK
Cb
PIXEL
DATA
Y
Cr
Y
Cb
PAL = 132 * CLOCK/2
NTSC = 122 * CLOCK/2
Figure 33. Timing Mode 2 Odd-to-Even Field Transition Master/Slave
REV. B
–21–
Cr
Y
ADV7172/ADV7173
Mode 3: Master/Slave Option HSYNC, BLANK, FIELD
(Timing Register 0 TR0 = X X X X X 1 1 0 or X X X X X 1 1 1)
In this mode the ADV7172/ADV7173 accepts or generates horizontal SYNC and Odd/Even FIELD signals. A transition of the
FIELD input when HSYNC is high indicates a new frame, i.e., vertical retrace. The BLANK signal is optional. When the BLANK
input is disabled, the ADV7172/ADV7173 automatically blanks all normally blank lines as per CCIR-624. Mode 3 is illustrated in
Figure 34 (NTSC) and Figure 35 (PAL).
DISPLAY
DISPLAY
VERTICAL BLANK
522
523
524
525
1
2
3
4
6
5
7
8
9
10
11
20
21
22
HSYNC
BLANK
FIELD
EVEN FIELD
ODD FIELD
DISPLAY
DISPLAY
VERTICAL BLANK
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
283
284
285
HSYNC
BLANK
FIELD
ODD FIELD
EVEN FIELD
Figure 34. Timing Mode 3 (NTSC)
DISPLAY
DISPLAY
VERTICAL BLANK
622
623
624
625
1
2
3
4
5
6
7
21
22
23
HSYNC
BLANK
EVEN FIELD
FIELD
ODD FIELD
DISPLAY
DISPLAY
VERTICAL BLANK
309
310
311
312
313
314
315
316
317
318
319
320
334
335
336
HSYNC
BLANK
FIELD
ODD FIELD
EVEN FIELD
Figure 35. Timing Mode 3 (PAL)
–22–
REV. B
ADV7172/ADV7173
POWER-ON RESET
SLEEP MODE
After power-up, it is necessary to execute a reset operation. A
reset occurs on the falling edge of a high-to-low transition on
the RESET pin. This initializes the pixel port such that the pixel
inputs P7–P0 are not selected. After reset, the ADV7172/
ADV7173 is automatically set up to operate in NTSC/PAL mode,
depending on the PAL_NTSC pin. The subcarrier frequency
registers are automatically loaded with the correct values for
PAL or NTSC. All other registers, with the exception of Mode
Registers 1 and 2, are set to 00H. Mode Register 1 is set to 07H.
This is to ensure DACs D, E, and F are ON after power-up.
All bits of Mode Register 2 are set to “0,” with the exception of
Bit 3 (i.e., Mode Register 2 reads 08H). Bit MR23 of Mode
Register 2 is set to Logic “1.” This enables the 7.5 IRE pedestal.
If after reset the SCRESET/RTC and NTSC_PAL pins are
both set to high, the part ADV7172/ADV7173 will power-up
in sleep mode to facilitate low power consumption before all
registers have been initialized. If Mode Register 6, Bit 0 (MR60) is
then set to (“1”) sleep mode control passes to Mode Register 2,
Bit 7 (i.e., control via I2C).
RESET SEQUENCE
Resetting the SCH phase every four or eight fields avoids the
accumulation of SCH phase error, and results in very minor
SCH phase jumps at the start of the four or eight field sequence.
When RESET becomes active, the ADV7172/ADV7173 reverts
to the default output configuration. DACs A, B, C are off and
DACs D, E, F are powered on and output composite, luma and
chroma signals respectively. Mode Register 2, Bit 6 (MR26),
resets to “0.” The ADV7172/ADV7173 internal timing is under
the control of the logic level on the NTSC_PAL pin.
When RESET is released Y, Cr, Cb values corresponding to a
black screen are input to the ADV7172/ADV7173. Output
timing signals are still suppressed at this stage.
When the user requires valid data, MR26 is set to “1” to allow
the valid pixel data to pass through the encoder. Digital output
timing signals become active and the encoder timing is now
under the control of the timing registers. If, at this stage, the
user wishes to select a video standard different from that on the
NTSC_PAL pin, Mode Register 2, Bit 5 (MR25) is set (“1”)
and the video standard required is selected by programming
Mode Register 0. Figure 36 illustrates the reset sequence timing.
SCH PHASE MODE
The SCH phase is configured in default mode to reset every
four (NTSC) or eight (PAL) fields to avoid an accumulation of
SCH phase error over time. In an ideal system, zero SCH phase
error would be maintained forever, but in reality, this is impossible to achieve due to clock frequency variations. This effect is
reduced by the use of a 32-bit DDS, which generates this SCH.
Resetting the SCH phase should not be done if the video source
does not have stable timing or the ADV7172/ADV7173 is configured in RTC mode (MR41 = “1” and MR42 = “1”). Under
these conditions (unstable video) the subcarrier phase reset should
be enabled (MR42 = “0” and MR41 = “1”) but no reset applied.
In this configuration the SCH phase will never be reset, which
that the output video will now track the unstable input video.
The subcarrier phase reset when applied will reset the SCH
phase to Field 0 at the start of the next field (e.g., subcarrier
phase reset applied in Field 5 (PAL) on the start of the next
field SCH phase will be reset to Field 0).
RESET
COMPOSITE/Y
XXXXXXX
0
BLACK VALUE WITH SYNC
VALID VIDEO
CHROMA
XXXXXXX
512
BLACK VALUE
VALID VIDEO
MR26
PIXEL DATA VALID
XXXXXXX
DIGITAL TIMING
XXXXXXX
1
0
DIGITAL TIMING SIGNALS SUPPRESSED
Figure 36. RESET Sequence Timing Diagram
REV. B
–23–
TIMING ACTIVE
ADV7172/ADV7173
EXAMPLE: NTSC
525
1
2
3
4
5
6
7
8
9
10
11-19
OUTPUT
VIDEO
CSO
HSO
VSO
Figure 37. CSO, HSO, VSO Timing Diagram
CSO, HSO, AND VSO OUTPUTS
The ADV7172/ADV7173 supports three timing signals, CSO
(composite sync signal), HSO (horizontal sync signal) and VSO
(vertical sync signal). These output TTL signals are aligned with
the analog video outputs. HSO and CSO are shared on Pin 10.
Mode Register 7, Bit MR75 can be used to configure this output pin. See Figure 37 for an example of these waveforms.
width on the I2C lines, which means that impulses of less
than 50 ns will not pass into the I2C internal controller. This
mode is recommended for noisy systems.
1
1
0
1
0
1
A1
X
ADDRESS
CONTROL
SET UP BY
ALSB
CLAMP OUTPUT
The ADV7172/ADV7173 has a programmable clamp TTL
output signal. The clamp signal is programmable to the front
and back porch. Mode Register 5, Bit MR57 can be used to
control the porch position. Also the position of the clamp signal
can be varied by 1–3 clock cycles in a positive and negative
direction from the default position. Mode Register 5, Bits MR56,
MR55, and MR54 control this position.
READ/WRITE
CONTROL
0
1
WRITE
READ
Figure 39. ADV7172 Slave Address
0
1
0
1
0
1
X
A1
ADDRESS
CONTROL
0H
SET UP BY
ALSB
READ/WRITE
CONTROL
0
1
WRITE
READ
MR57 = 1
Figure 40. ADV7173 Slave Address
MR57 = 0
Figure 38. Clamp Output Timing
MPU PORT DESCRIPTION
The ADV7172 and ADV7173 support a 2-wire serial (I2CCompatible) microprocessor bus driving multiple peripherals.
Two inputs serial data (SDATA) and serial clock (SCLOCK)
carry information between any device connected to the bus.
Each slave device is recognized by a unique address. The
ADV7172 and ADV7173 each have four possible slave addresses
for both read and write operations. These are unique addresses
for each device and are illustrated in Figure 39 and Figure 40.
The LSB sets either a read or write operation. Logic Level
“1” corresponds to a read operation while Logic Level “0”
corresponds to a write operation. A1 is set by setting the ALSB
pin of the ADV7172/ADV7173 to Logic Level “0” or Logic
Level “1.” When ALSB is set to “0,” there is greater bandwidth
on the I2C lines, which allows high-speed data transfers on this
bus. When ALSB is set to “1,” there is reduced input band-
To control the various devices on the bus the following protocol
must be followed. First the master initiates a data transfer by
establishing a start condition, defined by a high-to-low transition
on SDATA while SCLOCK remains high. This indicates that
an address/data stream will follow. All peripherals respond to
the Start condition and shift the next eight bits (7-bit address +
R/W bit). The bits are transferred from MSB down to LSB. The
peripheral that recognizes the transmitted address responds by
pulling the data line low during the ninth clock pulse. This is
known as an acknowledge bit. All other devices withdraw from
the bus at this point and maintain an idle condition. The idle
condition is where the device monitors the SDATA and SCLOCK
lines waiting for the Start condition and the correct transmitted
address. The R/W bit determines the direction of the data. A
Logic “0” on the LSB of the first byte means that the master
will write information to the peripheral. A Logic “1” on the LSB
of the first byte means that the master will read information
from the peripheral.
–24–
REV. B
ADV7172/ADV7173
The ADV7172/ADV7173 acts as a standard slave device on the
bus. The data on the SDATA pin is eight bits long, supporting
the 7-bit addresses plus the R/W bit. It interprets the first byte
as the device address and the second byte as the starting subaddress. The subaddresses auto increment allows data to be
written to or read from the starting subaddress. A data transfer
is always terminated by a stop condition. The user can also
access any unique subaddress register on a one-by-one basis
without having to update all the registers. There is one exception. The subcarrier frequency registers should be updated in
sequence, starting with Subcarrier Frequency Register 0. The
auto increment function should then be used to increment and
access Subcarrier Frequency Registers 1, 2 and 3. The subcarrier
frequency registers should not be accessed independently.
Figure 41 illustrates an example of data transfer for a read
sequence and the Start and Stop conditions.
SDATA
SCLOCK
SUB ADDR
S SLAVE ADDR A(S)
S = START BIT
P = STOP BIT
8
9
1-7
DATA
SUB ADDR
8
9
P
ACK
STOP
The MPU can write to or read from all of the registers of the
ADV7172/ADV7173 except the Subaddress Register, which is a
write-only register. The Subaddress Register determines which
register the next read or write operation accesses. All communications with the part through the bus start with an access to the
Subaddress Register. A read/write operation is then performed
from/to the target address, which then increments to the next
address until a Stop command on the bus is performed.
REGISTER PROGRAMMING
The following section describes each register, including subaddress
register, mode registers, subcarrier frequency registers, subcarrier phase register, timing registers, closed captioning extended
data registers, closed captioning data registers, NTSC pedestal
Control/PAL teletext control registers, CGMS/WSS registers,
contrast register, U- or V-scale registers, hue adjust register,
brightness control register and sharpness control register in
terms of its configuration. All registers can be read from as well
as written to.
DATA
A(S)
DATA
A(S) S SLAVE ADDR
A(S) = ACKNOWLEDGE BY SLAVE
A(M) = ACKNOWLEDGE BY MASTER
A(S)
DATA
A(S) P
–25–
A(M)
A(S) = NO-ACKNOWLEDGE BY SLAVE
A(M) = NO-ACKNOWLEDGE BY MASTER
Figure 42. Write and Read Sequences
REV. B
1-7
LSB = 1
LSB = 0
READ
SEQUENCE
A(S)
9
REGISTER ACCESSES
2. In Write Mode, the data for the invalid byte will not be loaded
into any subaddress register, a no-acknowledge will be issued
by the ADV7172/ADV7173 and the part will return to the
idle condition.
SLAVE ADDR A(S)
8
Figure 42 shows bus write and read sequences.
1. In Read Mode the highest subaddress register contents
will continue to be output until the master device issues
a no-acknowledge. This indicates the end of a read. A
no-acknowledge condition is where the SDATA line is not
pulled low on the ninth pulse.
S
1-7
Figure 41. Bus Data Transfer
Stop and Start conditions can be detected at any stage during
the data transfer. If these conditions are asserted out of sequence
with normal read and write operations, then these cause an
immediate jump to the idle condition. During a given SCLOCK
high period, the user should issue only one start condition, one
stop condition or a single stop condition followed by a single start
condition. If an invalid subaddress is issued by the user, the
ADV7172/ADV7173 will not issue an acknowledge and will
return to the idle condition. If, in autoincrement mode, the user
exceeds the highest subaddress, the following action will be taken:
WRITE
SEQUENCE
S
START ADDR R/W ACK SUBADDRESS ACK
DATA
A(M) P
ADV7172/ADV7173
Figure 43 shows the various operations under the control of the
subaddress register. “0” should always be written to SR7.
Subaddress Register (SR7–SR0)
The communications register is an 8-bit write-only register. After
the part has been accessed over the bus and a read/write operation is selected, the subaddress is set up. The subaddress register
determines to/from which register the operation takes place.
SR7
SR6
SR5
Register Select (SR6–SR0)
These bits are set up to point to the required starting address.
SR3
SR4
SR2
SR1
SR0
SR7
ZERO SHOULD
BE WRITTEN
HERE
ADV7172/73 SUBADDRESS REGISTER
Address
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
18h
19h
1Ah
1Bh
1Ch
1Dh
1Eh
1Fh
20h
21h
22h
23h
24h
...
...
...
3Ah
3Bh
3Ch
3Dh
3Eh
3Fh
40h
41h
42h
43h
44h
45h
46h
47h
48h
49h
4Ah
4Bh
SR6 SR5 SR4 SR3 SR2 SR1 SR0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
.
.
.
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
.
.
.
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
.
.
.
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
.
.
.
1
1
1
1
1
1
0
0
0
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
.
.
.
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
.
.
.
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
.
.
.
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
MODE REGISTER 0
MODE REGISTER 1
MODE REGISTER 2
MODE REGISTER 3
MODE REGISTER 4
MODE REGISTER 5
MODE REGISTER 6
MODE REGISTER 7
RESERVED
RESERVED
TIMING REGISTER 0
TIMING REGISTER 1
SUB CARRIER FREQUENCY REGISTER 0
SUB CARRIER FREQUENCY REGISTER 1
SUB CARRIER FREQUENCY REGISTER 2
SUB CARRIER FREQUENCY REGISTER 3
SUB CARRIER PHASE REGISTER
CLOSED CAPTIONING EXTENDED DATA BYTE 0
CLOSED CAPTIONING EXTENDED DATA BYTE 1
CLOSED CAPTIONING DATA BYTE 0
CLOSED CAPTIONING DATA BYTE 1
NTSC PEDESTAL/TELETEXT CONTROL REGISTER 0
NTSC PEDESTAL/TELETEXT CONTROL REGISTER 1
NTSC PEDESTAL/TELETEXT CONTROL REGISTER 2
NTSC PEDESTAL/TELETEXT CONTROL REGISTER 3
CGMS/WSS 0
CGMS/WSS 1
CGMS/WSS 2
TELETEXT REQUEST CONTROL REGISTER
CONTRAST CONTROL REGISTER
U SCALE REGISTER
V SCALE REGISTER
HUE ADJUST REGISTER
BRIGHTNESS CONTROL REGISTER
SHARPNESS CONTROL REGISTER
RESERVED
....
....
....
....
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
MACROVISION REGISTER [ADV7172 ONLY]
Figure 43. Subaddress Register
–26–
REV. B
ADV7172/ADV7173
MODE REGISTER 0 MR0 (MR07–MR00)
(Address (SR4–SR0) = 00H)
MODE REGISTER 1 MR1 (MR17–MR10)
(Address (SR4–SR0) = 01H)
Figure 44 shows the various operations under the control of
Mode Register 0.
Figure 45 shows the various operations under the control of
Mode Register 1.
MR0 BIT DESCRIPTION
Output Video Standard Selection (MR01–MR00)
MR1 BIT DESCRIPTION
DAC Control (MR15–MR10)
These bits are used to set up the encoder mode. The ADV7172/
ADV7173 can be set up to output NTSC, PAL (B, D, G, H, I),
PAL M or PAL N standard video.
MR15–MR10 bits can be used to power down the DACs. This
can be used to reduce the power consumption of the ADV7172/
ADV7173 if any of the DACs are not required in the application.
Luma Filter Select (MR02–MR04)
Low Power Mode Control (MR16)
These bits specify which luma filter is to be selected. The
filter selection is made independent of whether PAL or
NTSC is selected.
This bit enables the lower power mode of the ADV7172/
ADV7173. This will reduce by approximately 50% the average
supply current consumed by each large DAC which is powered
on. For each DAC in low power mode, the relationship between
RSET1/VREF and the output current is unchanged by this (see
Appendix 8). This bit is only relevant to the larger DACs,
DACs A, B, and C. DACs D, E, and F are not affected by this
low power mode.
Chroma Filter Select (MR05–MR07)
These bits select the chroma filter. A low-pass filter can be
selected with a choice of cutoff frequencies (0.65 MHz, 1.0 MHz,
1.3 MHz, or 2 MHz), along with a choice of CIF or QCIF filters.
Reserved (MR17)
A Logic “0” must be written to this bit.
MR07
MR06
MR05
MR04
MR03
MR02
MR01
CHROMA FILTER SELECT
MR07 MR06 MR05
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
MR00
OUTPUT VIDEO
STANDARD SELECTION
MR01 MR00
0
0
0
1
1
0
1
1
1.3MHz LOW-PASS FILTER
0.65MHz LOW-PASS FILTER
1.0MHz LOW-PASS FILTER
2.0MHz LOW-PASS FILTER
RESERVED
CIF
QCIF
RESERVED
NTSC
PAL (B, D, G, H, I)
PAL (M)
PAL (N)
LUMA FILTER SELECT
MR04 MR03 MR02
0
0
0
0
1
1
1
1
0
0
1
0
0
0
1
1
0
1
0
1
0
1
0
1
LOW-PASS FILTER (NTSC)
LOW-PASS FILTER (PAL)
NOTCH FILTER (NTSC)
NOTCH FILTER (PAL)
EXTENDED MODE
CIF
QCIF
RESERVED
Figure 44. Mode Register 0 (MR0)
MR17
MR16
MR15
LOW POWER MODE
CONTROL
MR16
0
1
MR17
ZERO SHOULD BE
WRITTEN TO
THIS BIT
MR14
MR13
DAC B
DAC C CONTROL
0
1
DAC D
DAC C CONTROL
POWER-DOWN
NORMAL
DAC A
DAC C CONTROL
MR15
0
1
MR11
0
1
MR10
POWER-DOWN
NORMAL
DAC C
DAC C CONTROL
MR13
POWER-DOWN
NORMAL
0
1
POWER-DOWN
NORMAL
–27–
0
1
POWER-DOWN
NORMAL
DAC E
DAC C CONTROL
MR11
Figure 45. Mode Register 1 (MR1)
REV. B
MR10
DAC F
DAC C CONTROL
MR12
MR14
DISABLE
ENABLE
MR12
0
1
POWER-DOWN
NORMAL
ADV7172/ADV7173
MODE REGISTER 2 MR2 (MR27–MR20)
(Address (SR4–SR0) = 02H)
Square Pixel Control (MR24)
This bit is used to set up square pixel mode. This is available in
slave mode only. For NTSC, a 24.54 MHz clock must be
supplied. For PAL, a 29.5 MHz clock must be supplied.
Mode Register 2 is an 8-bit-wide register.
Figure 46 shows the various operations under the control of
Mode Register 2.
Standard I2C Control (MR25)
This bit enables the output from the DACs to be set to YUV or
RGB output video standard.
This bit controls the video standard used by the ADV7172/
ADV7173. When this bit is set to “1,” the video standard bits
programmed in Mode Register 0, Bits 0–1, indicate the video
standard. When this bit is set to “0,” the ADV7172/ADV7173
is forced into the standard selected by the NTSC_PAL pin.
Large DACs Control (MR21)
Pixel Data Valid Control (MR26)
This bit controls the output from DACs A, B, and C. When this
bit is set to “1,” composite, luma, and chroma signals are output
from DACs A, B, and C (respectively). When this bit is set to
“0,” RGB or YUV may be output from these DACs.
After reset, this bit has the value “0” and the pixel data input to
the encoder is blanked such that a black screen is output from
the DACs. The ADV7172/ADV7173 will be set to master mode
timing. When this bit is set to “1” by the user (via the I2C),
pixel data passes to the pins and the encoder reverts to the
timing mode defined by Timing Mode Register 0.
MR2 BIT DESCRIPTION
RGB/YUV Control (MR20)
SCART Enable Control (MR22)
This bit is used to switch the DAC outputs from SCART to a
EuroSCART configuration. A complete table of all DAC output
configurations is shown in Table II.
Sleep Mode Control (MR27)
When this bit is set (“1”), sleep mode is enabled. With this
mode enabled the ADV7172/ADV7173 power consumption is
reduced to less than 20 µA. The I2C registers can be written to
and read from when the ADV7172/ADV7173 is in sleep mode.
If “0” is written to MR27 when the device is in sleep mode, the
ADV7172/ADV7173 will come out of sleep mode and resume
normal operation. Also, if the reset signal is applied during sleep
mode, the ADV7172/ADV7173 will come out of sleep mode
and resume normal operation. This mode will only operate
when MR60 is set to a Logic “1”; otherwise sleep mode is controlled by the PAL_NTSC and SCRESET/RTC pin.
Pedestal Control (MR23)
This bit specifies whether a pedestal is to be generated on the
NTSC composite video signal. This bit is invalid in the PAL mode.
MR27
MR26
MR25
PIXEL DATA VALID
CONTROL
MR26
0
1
MR23
SQUARE PIXEL
CONTROL
0
1
DISABLE
ENABLE
STANDARD I2C
CONTROL
MR25
DISABLE
ENABLE
0
1
DISABLE
ENABLE
MR21
MR22
SCART ENABLE
CONTROL
MR22
MR24
DISABLE
ENABLE
SLEEP MODE
CONTROL
MR27
0
1
MR24
0
1
RGB/YUV
CONTROL
MR20
DISABLE
ENABLE
0
1
PEDESTAL
CONTROL
MR23
0
1
MR20
RGB OUTPUT
YUV OUTPUT
LARGE DACs
CONTROL
MR21
PEDESTAL ON
PEDESTAL OFF
0
1
RGB/YUV/COMP
COMP/LUMA/CHROMA
Figure 46. Mode Register 2 (MR2)
Table II. DAC Output Configuration Matrix
MR22
MR21
MR20
DAC A
DAC B
DAC C
DAC D
DAC E
DAC F
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
G
Y
CVBS
CVBS
CVBS
CVBS
CVBS
CVBS
B
U
LUMA
LUMA
B
U
LUMA
LUMA
R
V
CHROMA
CHROMA
R
V
CHROMA
CHROMA
CVBS
CVBS
G
Y
G
Y
G
Y
LUMA
LUMA
B
U
LUMA
LUMA
B
U
CHROMA
CHROMA
R
V
CHROMA
CHROMA
R
V
–28–
REV. B
ADV7172/ADV7173
MODE REGISTER 3 MR3 (MR37–MR30)
(Address (SR4–SR0) = 03H)
TTXRQ Bit Mode Control (MR34)
This bit enables switching of the teletext request signal from a
continuous high signal (MR34 = “0”) to a bit wise request
signal (MR34 = “1”).
Mode Register 3 is an 8-bit-wide register. Figure 47 shows the
various operations under the control of Mode Register 3.
Closed Captioning Field Selection (MR36–MR35)
MR3 BIT DESCRIPTION
Revision Code (MR31–MR30)
This bit is read-only and indicates the revision of the device.
These bits control the fields that closed captioning data is displayed on. Closed captioning information can be displayed on
an odd field, even field, or both fields.
VBI_Open (MR32)
Active Video Filter (MR37)
This bit determines whether or not data in the vertical blanking interval (VBI) is output to the analog outputs or blanked.
VBI_Open is available in all timing modes. Also, if both BLANK
input (TR03) and VBI_Open are enabled, TR03 takes priority.
This bit controls the filter mode applied outside the active video
portion of the line. This filter ensures that the sync rise and
fall times are always on spec regardless of which luma filter
is selected.
Teletext Enable (MR33)
This bit must be set to “1” to enable teletext data insertion on
the TTX pin.
MR36
MR37
MR35
ACTIVE VIDEO
FILTER
MR37
0
1
MR34
MR33
TTXRQ BIT
MODE CONTROL
MR34
ENABLE
DISABLE
0
1
DISABLE
ENABLE
MR35
0
0
1
1
0
1
0
1
VBI OPEN
MR32
0
1
DISABLE
ENABLE
TELETEXT
ENABLE
CLOSED CAPTIONING
FIELD SELECTION
MR36
MR32
MR33
NO DATA OUT
ODD FIELD ONLY
EVEN FIELD ONLY
DATA OUT
(BOTH FIELDS)
0
1
DISABLE
ENABLE
Figure 47. Mode Register 3 (MR3)
REV. B
–29–
MR31
MR30
MR31
MR30
RESERVED FOR
REVISION CODE
ADV7172/ADV7173
MODE REGISTER 4 MR4 (MR47–MR40)
(Address (SR4–SR0) = 04H)
Active Video Line Duration (MR43)
Mode Register 4 is a 8-bit wide register. Figure 48 shows the
various operations under the control of Mode Register 4.
This bit switches between two active video line durations. A
“0” selects CCIR REC 601 (720 pixels PAL/NTSC) and a “1”
selects ITU-R.BT 470 “analog” standard for active video duration (710 pixels NTSC, 702 pixels PAL).
MR4 BIT DESCRIPTION
VSYNC_3H (MR40)
Chrominance Control (MR44)
When this bit is enabled (“1”) in slave mode, it is possible to
drive the VSYNC active low input for 2.5 lines in PAL mode
and 3 lines in NTSC mode. When this bit is enabled in master
mode, the ADV7172/ADV7173 outputs an active low VSYNC
signal for 3 lines in NTSC mode and 2.5 lines in PAL mode.
Burst Control (MR45)
This bit enables the color information to be switched on and off
the video output.
This bit enables the color burst information to be switched on
and off the video output.
Color Bar Control (MR46)
Genlock Selection (MR42–MR41)
This bit can be used to generate and output an internal color
bar test pattern. The color bar configuration is 100/7.5/75/7.5
for NTSC and 100/0/75/0 for PAL. It is important to note that
when color bars are enabled, the ADV7172/ADV7173 is configured in a master timing mode. The output pins VSYNC/FIELD,
HSYNC and BLANK are three-state during color bar mode.
These bits control the genlock feature of the ADV7172/ADV7173.
Setting MR41 to Logic “0” disables the SCRESET/RTC pin
and allows the ADV7172/ADV7173 to operate in normal mode.
By setting MR41 to “1,” one of two operations may be enabled:
1. If MR42 is set to “0,” the SCRESET/RTC pin is configured
as a subcarrier reset input and the subcarrier phase will reset
to Field 0 whenever a low-to-high field transition is detected
on the SCRESET/RTC pin.
Interlaced Mode Control (MR47)
This bit is used to set up the output to interlaced or noninterlaced mode.
2. If MR42 is set to “1,” the SCRESET/RTC pin is configured
as a real-time control input and the ADV7172/ADV7173 can
be used to lock to an external video source.
MR47
MR46
MR45
MR46
DISABLE
ENABLE
0
1
MR45
INTERLACED
NONINTERLACED
0
1
ENABLE BURST
DISABLE BURST
MR42
MR41
MR40
GENLOCK SELECTION
MR42 MR41
MR44
0
ENABLE COLOR
1
DISABLE COLOR
BURST
CONTROL
INTERLACED
MODE CONTROL
MR47
MR43
CHROMINANCE
CONTROL
COLOR BAR
CONTROL
0
1
MR44
x
0
0
1
1
1
ACTIVE VIDEO
LINE DURATION
MR43
0
720 PIXELS
1
710/702 PIXELS
DISABLE GENLOCK
ENABLE SUBCARRIER
RESET PIN
ENABLE RTC PIN
VSYNC 3H
MR40
0
1
DISABLE
ENABLE
Figure 48. Mode Register 4 (MR4)
–30–
REV. B
ADV7172/ADV7173
MODE REGISTER 5 MR5 (MR57–MR50)
(Address (SR4-SR0) = 05H)
RGB Sync (MR53)
This bit is used to set up the RGB outputs with the sync information encoded on all RGB outputs.
Mode Register 5 is an 8-bit-wide register. Figure 49 shows the
various operations under the control of Mode Register 5.
Clamp Delay (MR55–MR54)
These bits control the delay or advance of the CLAMP signal in
the front or back porch of the ADV7172/ADV7173. It is possible
to delay or advance the pulse by 0, 1, 2 or 3 clock cycles.
MR5 BIT DESCRIPTION
Y-Level Control (MR50)
This bit controls the Y output level on the ADV7172/ADV7173.
If this bit is set (“0”), the encoder outputs SMPTE levels when
configured in PAL mode and Betacam levels when configured
in NTSC mode. If this bit is set (“1”), the encoder outputs
Betacam levels when configured in PAL mode and SMPTE
levels when configured in NTSC mode.
Clamp Delay Direction (MR56)
This bit controls a positive or negative delay in the CLAMP
signal. If this bit is set (“1”), the delay is negative. If it is not set
(“0”), the delay is positive.
Clamp Position (MR57)
This bit controls the position of the CLAMP signal. If this bit is
set (“1”), the CLAMP signal is located in the back porch position. If this bit is set to (“0”), the CLAMP signal is located in
the front porch position.
UV-Levels Control (MR52–MR51)
These bits control the U and V output levels on the ADV7172/
ADV7173. It is possible to have UV levels with a peak-peak
amplitude of either 700 mV (MR52 + MR51 = “01”) or 1000 mV
(MR52 + MR51 = “10”) in NTSC and PAL. It is also possible
to have default values of 934 mV for NTSC and 700 mV for
PAL (MR52 + MR51 = “00”).
MR56
MR57
CLAMP POSITION
MR57
0
1
MR55
MR54
MR53
CLAMP DELAY
0
0
1
1
0
1
0
1
MR52 MR51
NO DELAY
1 PCLK
2 PCLK
3 PCLK
POSITIVE
NEGATIVE
0
0
1
1
0
1
0
1
RGB
SYNC
CLAMP DELAY
DIRECTION
MR56
MR53
0
1
–31–
DEFAULT LEVELS
700mV
1000mV
RESERVED
Y-LEVEL
CONTROL
MR50
DISABLE
ENABLE
Figure 49. Mode Register 5 (MR5)
REV. B
MR50
MR51
UV-LEVELS CONTROL
MR55 MR54
FRONT PORCH
BACK PORCH
0
1
MR52
0
1
DISABLE
ENABLE
ADV7172/ADV7173
MODE REGISTER 6 MR6 (MR67–MR60)
(Address (SR4–SR0) = 06H)
DAC Termination Control (MR64)
This bit controls the load termination resistance detected by the
autodetect functionality. If this bit is set (“0”), the autodetect
feature is used to determine if a 75 Ω termination is present. If
this bit is set to (“1”), the autodetect feature is used to indicate
if a 150 Ω termination is present.
Mode Register 6 is an 8-bit-wide register. Figure 50 shows the
various operations under the control of Mode Register 6.
MR6 BIT DESCRIPTION
Power-Up Sleep Mode Control (MR60)
Reserved (MR65)
After reset this bit is set to “0,” if both SCRESET/RTC and
NTSC_PAL pins are tied high, the part will power-up in sleep
mode (to facilitate low power consumption before the I2C is
initialized). When this bit is set to “1” (via the I2C), sleep mode
control passes to Mode Register 2, Bit 7.
A Logic “0” must be written to this bit.
Luma DAC Status Bit (MR66)
This bit is a read-only status bit for the autodetect feature of
the ADV7172/ADV7173 and may be read to check whether
or not the composite DAC is terminated. If this bit is set (“1”),
there is no termination; if this bit is set (“0”), the composite DAC
is terminated.
Reserved (MR61)
A Logic “0” must be written to this bit.
Luma Autodetect Control (MR62)
Composite DAC Status Bit (MR67)
This bit controls which mode of autodetect operation is being
used on the luma DAC (DAC B) on the ADV7172/ADV7173.
If this bit is set (“0”), Mode 0 is on; if this bit is set (“1”), then
Mode 1 is being used.
This bit is a read only status bit for the autodetect feature of the
ADV7172/ADV7173 and may be read to check whether or not
the luma DAC is terminated. If this bit is set (“1”), there is no
termination. If this bit is set (“0”), the luma DAC is terminated.
Composite Autodetect Control (MR63)
This bit controls which mode of autodetect operation is being
used on the composite DAC (DAC A) on the ADV7172/
ADV7173. If this bit is set (“0”), Mode 0 is on; if this bit is set
(“1”), then Mode 1 is being used.
MR66
MR67
COMPOSITE
DAC STATUS BIT
MR67
0
NOT TERMINATED
1
TERMINATED
MR65
MR65
ZERO SHOULD
BE WRITTEN TO
THIS BIT
LUMA DAC
STATUS BIT
MR66
0
1
MR64
NOT TERMINATED
TERMINATED
MR63
MR62
COMP AUTODETECT
CONTROL
MR61
ZERO SHOULD
BE WRITTEN TO
THIS BIT
MR63
0
1
MR60
MR61
MODE 0
MODE 1
DAC TERMINATION
CONTROL
LUMA AUTODETECT
CONTROL
POWER-UP SLEEP
MODE CONTROL
MR64
MR62
MR60
0
1
1 MODE
2 MODE
0
1
MODE 0
MODE 1
0
1
ENABLE
DISABLE
Figure 50. Mode Register 6 (MR6)
–32–
REV. B
ADV7172/ADV7173
MODE REGISTER 7 MR7 (MR77–MR70)
(Address (SR4–SR0) = 07H)
Brightness Enable Control (MR73)
This bit is used to enable brightness control on the ADV7172/
ADV7173 by enabling the programmable “setup level” or pedestal described in the Brightness Control Register to be added to
the scaled Y data. When this bit is set (“1”), brightness control
is enabled. When this bit is set (“0”), brightness control is disabled.
Mode Register 7 is an 8-bit-wide register. Figure 51 shows the
various operations under the control of Mode Register 7.
MR7 BIT DESCRIPTION
Color Control Enable (MR70)
Sharpness Response Enable (MR74)
This bit is used to enable control of contrast and saturation of
color. If this bit is set (“1”), color controls are enabled; if this
bit is set (“0”), the color control features are disabled.
This bit is used to enable the sharpness of the luminance signal
on the ADV7172/ADV7173 (MR04–MR02 = 100). The various
responses of the filter are determined by the Sharpness Response
Register. When this bit is set (“1”) the luma response is altered
by the amount described in the Sharpness Response Register.
When this bit is set (“0”), the sharpness control is disabled (see
Figures 19, 20, and 21 for luma signal responses).
Luma Saturation Control (MR71)
When this bit is set (“1”), the luma signal will be clipped if it
reaches a limit that corresponds to an input luma value of
255 after scaling by the contrast control. This prevents the
chrominance component of the composite video signal being
clipped if the amplitude of the luma is too high. When this bit is
set (“0”), this control is disabled.
CSO_HSO Output Control (MR75)
This bit is used to determine whether HSO or CSO TTL output signal is output at the CSO_HSO pin. If this bit is set (“1”),
then the CSO TTL signal is output. If this bit is set (“0”), then
the HSO TTL signal is output.
Hue Adjust Enable (MR72)
This bit is used to enable hue adjustment on the composite and
chroma output signals of the ADV7172/ADV7173. When this
bit is set (“1”), the hue of the color is adjusted by the phase
offset described in the Hue Control Register. When this bit is
set (“0”) hue adjustment is disabled.
MR77
MR76
MR75
Reserved (MR77–MR76)
A Logic “0” must be written to these bits.
MR74
MR73
MR72
CSO_HSO
OUTPUT CONTROL
BRIGHTNESS
ENABLE CONTROL
MR75
MR73
0
1
0
1
ZERO SHOULD
BE WRITTEN TO
THESE BITS
MR77 MR76
HSO OUT
CSO OUT
LUMA SATURATION
CONTROL
0
1
HUE ADJUST
ENABLE
MR72
MR74
DISABLE
ENABLE
0
1
–33–
DISABLE
ENABLE
COLOR CONTROL
ENABLE
MR70
DISABLE
ENABLE
Figure 51. Mode Register 7 (MR7)
REV. B
MR70
MR71
DISABLE
ENABLE
SHARPNESS
RESPONSE ENABLE
0
1
MR71
0
1
DISABLE
ENABLE
ADV7172/ADV7173
Luma Delay (TR05–TR04)
TIMING REGISTER 0 (TR07–TR00)
(Address (SR4–SR0) = 0AH)
These bits control the addition of a delay to the luminance with
respect to the chrominance. Each bit represents a delay of 74 ns.
Figure 52 shows the various operations under the control of
Timing Register 0. This register can be read from as well as
written to.
Min Luma Value (TR06)
The bit is used to control the minimum luma value output by
the ADV7172/ADV7173. When this bit is set to (“1”), the luma
is limited to 7.5 IRE below the blank level. When this bit is set
to (“0”), the luma value can be as low as the sync bottom level.
TR0 BIT DESCRIPTION
Master/Slave Control (TR00)
This bit controls whether the ADV7172/ADV7173 is in master
or slave mode.
Timing Register Reset (TR07)
Toggling TR07 from low to high and low again resets the internal timing counters. This bit should be toggled after power-up,
reset or changed to a new timing mode.
Timing Mode Selection (TR02–TR01)
These bits control the timing mode of the ADV7172/ADV7173.
These modes are described in more detail in the Timing and
Control section of the data sheet.
BLANK Input Control (TR03)
This bit controls whether the BLANK input is used when the
part is in slave mode or whether BLANK is internally generated.
TR07
TR06
TR05
TR04
TR03
MIN LUMA VALUE
TR06
0
TR03
0
ENABLE
1
DISABLE
TR00
0
SLAVE TIMING
1
MASTER TIMING
1
LUMA DELAY
0
0
1
1
0
1
0
1
TR00
MASTER/SLAVE
CONTROL
TIMING MODE
SELECTION
TR05 TR04
LUMA MIN =
SYNC BOTTOM
LUMA MIN =
BLANK –7.5 IRE
TR01
BLANK INPUT
CONTROL
TIMING
REGISTER RESET
TR07
TR02
0ns DELAY
74ns DELAY
148ns DELAY
222ns DELAY
TR02 TR01
0
0
1
1
0
1
0
1
MODE 0
MODE 1
MODE 2
MODE 3
Figure 52. Timing Register 0
–34–
REV. B
ADV7172/ADV7173
HSYNC to FIELD Rising Edge Delay (TR15–TR14)
TIMING REGISTER 1 (TR17–TR10)
(Address (SR4–SR0) = 0BH)
When the ADV7172/ADV7173 is in Timing Mode 1, these bits
adjust the position of the HSYNC output relative to the FIELD
output rising edge.
Timing Register 1 is an 8-bit-wide register.
Figure 53 shows the various operations under the control of
Timing Register 1. This register can be read from as well written to. This register can be used to adjust the width and position
of the master mode timing signals.
VSYNC Width (TR15–TR14)
When the ADV7172/ADV7173 is configured in Timing Mode
2, these bits adjust the VSYNC pulsewidth.
HSYNC to Pixel Data Adjust (TR17–TR16)
TR1 BIT DESCRIPTION
HSYNC Width (TR11–TR10)
This enables the HSYNC to be adjusted with respect to the pixel
data. This allows the Cr and Cb components to be swapped. This
adjustment is available in both master and slave timing modes.
These bits adjust the HSYNC pulsewidth.
HSYNC to FIELD/VSYNC Delay (TR13–TR12)
These bits adjust the position of the HSYNC output relative to
the FIELD/VSYNC output.
TR17
TR16
TR15
TR17 TR16
0
1
0
1
TR13
TR15 TR14
0 TPCLK
1 TPCLK
2 TPCLK
3 TPCLK
x
x
0
1
TR11
TR12
TR13 TR12
TC
0
0
1
1
TB
TB + 32s
0
1
0
1
TR10
HSYNC WIDTH
HSYNC TO
FIELD/VSYNC DELAY
HSYNC TO FIELD
RISING EDGE DELAY
(MODE 1 ONLY)
HSYNC TO PIXEL
DATA ADJUST
0
0
1
1
TR14
TR11 TR10
TB
0 TPCLK
4 TPCLK
8 TPCLK
16 TPCLK
0
0
1
1
0
1
0
1
TA
1 TPCLK
4 TPCLK
16 TPCLK
128 TPCLK
VSYNC WIDTH
(MODE 2 ONLY)
TR15 TR14
0
0
1
1
0
1
0
1
1 TPCLK
4 TPCLK
16 TPCLK
128 TPCLK
TIMING MODE 1 (MASTER/PAL)
LINE 1
HSYNC
LINE 313
TA
TC
TB
FIELD/VSYNC
Figure 53. Timing Register 1
REV. B
–35–
LINE 314
ADV7172/ADV7173
SUBCARRIER FREQUENCY REGISTERS 3–0
(FSC3–FSC0)
(Address (SR4–SR0) = 0CH–0FH)
CLOSED CAPTIONING ODD FIELD
DATA REGISTER 1–0 (CCD15–CCD00)
(Subaddress (SR4–SR0) = 13–14H)
These 8-bit-wide registers are used to set up the subcarrier
frequency. The value of these registers is calculated by using the
following equation:
232 –1
Subcarrier Frequency Register =
× fSCF
fCLK
Example: NTSC Mode,
fCLK = 27 MHz,
fSCF = 3.5795454 MHz
232 – 1
× 3.579454 × 106
Subcarrier FrequencyValue =
27 × 106
These 8-bit-wide registers are used to set up the closed captioning
data bytes on odd fields. Figure 56 shows how the high and low
bytes are set up in the registers.
= 21F07C16 HEX
NTSC PEDESTAL/PAL TELETEXT CONTROL
REGISTERS 3–0 (PCE15–0, PCO15–0)/(TXE15–0, TXO15–0)
(Subaddress (SR4–SR0) = 15–18H)
Figure 54 shows how the frequency is set up by the four
registers.
SUBCARRIER PHASE REGISTER (FP7–FP0)
(Address (SR4–SR0) = 10H)
This 8-bit-wide register is used to set up the subcarrier phase.
Each bit represents 1.41°. For normal operation this register is
set to 00Hex.
SUBCARRIER
FREQUENCY
REG 3
FSC31 FSC30 FSC29 FSC28 FSC27 FSC26 FSC25 FSC24
SUBCARRIER
FREQUENCY
REG 2
FSC23 FSC22 FSC21 FSC20 FSC19 FSC18 FSC17
BYTE 1
CCD15
CCD14
CCD13 CCD12
CCD11
CCD10
CCD9
CCD8
BYTE 0
CCD7
CCD6
CCD5
CCD3
CCD2
CCD1
CCD0
CCD4
Figure 56. Closed Captioning Data Register
These 8-bit-wide registers are used to enable the NTSC pedestal/PAL Teletext on a line-by-line basis in the vertical blanking
interval for both odd and even fields. Figures 57 and 58 show
the four control registers. A Logic “1” in any of the bits of
these registers has the effect of turning the Pedestal OFF on
the equivalent line when used in NTSC. A Logic “1” in any of
the bits of these registers has the effect of turning Teletext ON
on the equivalent line when used in PAL.
LINE 17 LINE 16 LINE 15 LINE 14 LINE 13 LINE 12 LINE 11 LINE 10
SUBCARRIER
FREQUENCY FSC15 FSC14 FSC13 FSC12
REG 1
FSC11 FSC10
SUBCARRIER
FREQUENCY
REG 0
FSC3
FSC7
FSC6
FSC5
FSC4
FSC9
FSC16
FIELD 1/3
FSC1
PCO6
PCO5
PCO4
PCO3
PCO2
PCO1
PCO0
LINE 25 LINE 24 LINE 23 LINE 22 LINE 21 LINE 20 LINE 19 LINE 18
FSC8
FIELD 1/3
FSC2
PCO7
PCO15 PCO14 PCO13 PCO12 PCO11 PCO10
PCO9
PCO8
FSC0
LINE 17 LINE 16 LINE 15 LINE 14 LINE 13 LINE 12 LINE 11 LINE 10
FIELD 2/4
Figure 54. Subcarrier Frequency Registers
PCE7
PCE6
PCE5
PCE4
PCE3
PCE2
PCE1
PCE0
LINE 25 LINE 24 LINE 23 LINE 22 LINE 21 LINE 20 LINE 19 LINE 18
CLOSED CAPTIONING EVEN FIELD
DATA REGISTER 1–0 (CED15–CED0)
(Address (SR4–SR0) = 11–12H)
FIELD 2/4
CED15 CED14 CED13 CED12 CED11 CED10
CED9
CED8
CED6
CED5
CED4
CED3
PCE12
PCE11
PCE10
PCE9
PCE8
CED2
CED1
TXO7
TXO6
TXO5
TXO4
TXO3
TXO2
LINE 8
LINE 7
TXO1
TXO0
LINE 22 LINE 21 LINE 20 LINE 19 LINE 18 LINE 17 LINE 16 LINE 15
FIELD 1/3
CED7
PCE13
LINE 14 LINE 13 LINE 12 LINE 11 LINE 10 LINE 9
FIELD 1/3
BYTE 0
PCE14
Figure 57. Pedestal Control Registers
These 8-bit wide registers are used to set up the closed captioning
extended data bytes on even fields. Figure 55 shows how the
high and low bytes are set up in the registers.
BYTE 1
PCE15
TXO15
TXO14
TXO13
TXO12
TXO11
TXO10
TXO9
TXO8
LINE 14 LINE 13 LINE 12 LINE 11 LINE 10 LINE 9
LINE 8
LINE 7
TXE1
TXE0
CED0
Figure 55. Closed Captioning Extended Data Register
FIELD 2/4
TXE7
TXE6
TXE5
TXE4
TXE3
TXE2
LINE 22 LINE 21 LINE 20 LINE 19 LINE 18 LINE 17 LINE 16 LINE 15
FIELD 2/4
TXE15
TXE14
TXE13
TXE12
TXE11
TXE10
TXE9
TXE8
Figure 58. Teletext Control Registers
–36–
REV. B
ADV7172/ADV7173
TELETEXT REQUEST CONTROL REGISTER TC07
(TC07–TC00)
(Address (SR4–SR0) = 1CH)
C/W BIT DESCRIPTION
CGMS Data (C/W03–C/W00)
These four data bits are the final four bits of CGMS data output stream. Note it is CGMS data ONLY in these bit positions
i.e., WSS data does not share this location.
Teletext Control Register is an 8-bit-wide register. See Figure 59.
TTXREQ Rising Edge Control (TC07–TC04)
These bits control the position of the rising edge of TTXREQ.
It can be programmed from zero CLOCK cycles to a max of 15
CLOCK cycles.
CGMS CRC Check Control (C/W04)
When this bit is enabled (“1”), the last six bits of the CGMS
data, i.e., the CRC check sequence, are calculated internally by
the ADV7172/ADV7173. If this bit is disabled (“0”), the CRC
values in the register are output to the CGMS data stream.
TTXREQ Falling Edge Control (TC03–TC00)
These bits control the position of the falling edge of TTXREQ.
It can be programmed from zero CLOCK cycles to a max of 15
CLOCK cycles. This controls the active window for Teletext
data. Increasing this value reduces the amount of Teletext Bits
below the default of 360. If Bits TC03–TC00 are 00Hex when
Bits TC07–TC04 are changed, then the falling edge of TTXREQ
will track that of the rising edge (i.e., the time between the falling and rising edge remains constant).
CGMS Odd Field Control (C/W05)
When this bit is set (“1”), CGMS is enabled for odd fields.
Note that this is only valid in NTSC mode.
CGMS Even Field Control (C/W06)
When this bit is set (“1”), CGMS is enabled for even fields.
Note that this is only valid in NTSC mode.
Wide Screen Signal Control (C/W07)
When this bit is set (“1”), wide screen signalling is enabled.
Note that this is only valid in PAL mode.
CGMS_WSS REGISTER 0 C/W0 (C/W07–C/W00)
(Address (SR4–SR0) = 19H)
CGMS_WSS Register 0 is an 8-bit-wide register. Figure 60
shows the operations under control of this register.
TC06
TC07
TC05
TC04
TC03
TTXREQ RISING EDGE CONTROL
TC07 TC06
0
0
"
1
1
0
0
"
1
1
0
1
"
0
1
TC01
TC00
TTXREQ FALLING EDGE CONTROL
TC05 TC04
0
0
"
1
1
TC02
TC03 TC02
0 PCLK
1 PCLK
" PCLK
14 PCLK
15 PCLK
0
0
"
1
1
0
0
"
1
1
TC01 TC00
0
0
"
1
1
0
1
"
0
1
0 PCLK
1 PCLK
" PCLK
14 PCLK
15 PCLK
Figure 59. Teletext Request Control Register
C/W07
C/W06
C/W05
WIDE SCREEN SIGNAL
CONTROL
CGMS ODD FIELD
CONTROL
C/W07
0
1
C/W05
0
1
DISABLE
ENABLE
C/W04
C/W03
CGMS DATA
DISABLE
ENABLE
CGMS CRC CHECK
CONTROL
C/W06
0
1
C/W04
0
1
DISABLE
ENABLE
Figure 60. CGMS_WSS Register 0
REV. B
C/W01
C/W03–C/W00
CGMS EVEN FIELD
CONTROL
DISABLE
ENABLE
C/W02
–37–
C/W00
ADV7172/ADV7173
CGMS_WSS REGISTER 1 C/W1 (C/W17–C/W10)
(Address (SR4–SR0) = 1AH)
CONTRAST CONTROL REGISTER (CC07–CC00)
(Address (SR4–SR0) = 1DH)
CGMS_WSS Register 1 is an 8-bit-wide register. Figure 61 shows
the operations under control of this register.
The contrast control register is an 8-bit-wide register used to
scale the Y output levels. Figure 63 shows the operations under
control of this register.
C/W1 BIT DESCRIPTION
CGMS/WSS Data (C/W15–C/W10)
These bit locations are shared by CGMS data and WSS data. In
NTSC mode these bits are CGMS data. In PAL mode these
bits are WSS data.
A Logic “0” must be written to these bits.
Y Scalar Value (CC05–CC00)
These six bits represent the value required to scale the Y pixel
data from 0.75 to 1.25 of its initial level. The value of these six
bits is calculated using the following equation:
CGMS Data Only (C/W17–C/W16)
These bits are CGMS data bits only.
CGMS_WSS REGISTER 2 C/W1(C/W27–C/W20)
(Address (SR4-SR0) = 1BH)
Contrast Control Register = (X –0.785) × 128
where X = Scaling factor for Y
e.g., Scale Y by 0.9
CGMS_WSS Register 2 is an 8-bit-wide register. Figure 62
shows the operations under control of this register.
Contrast Control Register = (0.9–0.75) × 128 = 19.2 = 010011
C/S BIT DESCRIPTION
CGMS/WSS Data (C/W27–C/W20)
(rounded to the nearest integer)
These bit locations are shared by CGMS data and WSS data. In
NTSC mode these bits are CGMS data. In PAL mode these
bits are WSS data.
C/W17
CC0 BIT DESCRIPTION
Reserved (CC07–CC06)
C/W16
C/W15
C/W14
Actual scaling factor = 0.898.
C/W13
C/W12
C/W17–C/W16
C/W15–C/W10
CGMS DATA
CGMS/WSS DATA
C/W11
C/W10
C/W21
C/W20
CC01
CC00
Figure 61. CGMS_WSS Register 1
C/W27
C/W26
C/W25
C/W24
C/W23
C/W22
C/W27–C/W20
CGMS/WSS DATA
Figure 62. CGMS_WSS Register 2
CC07
CC06
CC05
CC04
CC03
CC02
CC07–CC06
CC05–CC00
ZERO SHOULD
BE WRITTEN
TO THESE BITS
Y SCALAR VALUE
Figure 63. Contrast Control Register
–38–
REV. B
ADV7172/ADV7173
COLOR CONTROL REGISTERS 2–1 (CC2–CC1)
(Address (SR4–SR0) = 1EH–1FH)
V Scalar Value (CC25–CC20)
The color control registers are 8-bit-wide registers used to scale
the U and V output levels. Figure 64 shows the operations
under control of these registers.
These six bits represent the value required to scale the V pixel
data from 0.75 to 1.25 of its initial level. The value of these six
bits is calculated using the following equation:
Color Control Register 2 = (X – 0.75) × 128
where X = Scaling factor for V
e.g., Scale V by 1.2
CC1 BIT DESCRIPTION
Reserved (CC17–CC16)
Color Control Register 2 = (1.2 – 0.75) × 128 = 57.6 = 111001
A Logic “0” must be written to these bits.
U Scalar Value (CC15–CC10)
(rounded to the nearest integer)
These six bits represent the value required to scale the U level
from 0.75 to 1.25 of its initial level. The value of these six bits is
calculated using the following equation:
HUE CONTROL REGISTER (HCR)
(Address (SR5–SR0) = 20H)
The hue control register is an 8-bit-wide register used to adjust
the hue on the composite and chroma outputs. Figure 65 shows
the operation under control of this register.
Color Control Register 1 = (X – 0.75) × 128
where X = Scaling factor for U
e.g., Scale U by 0.8
Color Control Register 1 = (0.8 – 0.75) × 128 = 6.4 = 000110
HCR BIT DESCRIPTION
Hue Adjust Value (HCR7–HCR0)
(rounded to the nearest integer)
These eight bits represent the value required to vary the hue of
the video data, i.e., the variance in phase of the subcarrier with
respect to the phase of the subcarrier during the color burst.
The ADV7172/ADV7173 provides a range of ± 22° in increments of 0.17578125°. For normal operation (zero adjustment)
this register is set to 80 Hex. FFHex and 00Hex represent the
upper and lower limit (respectively) of adjustment attainable.
CC2 BIT DESCRIPTION
Reserved (CC27–CC26)
A Logic “0” must be written to these bits.
Hue Adjust = (0.17568125 × [HCR7 – HCR0 – 128]).
CC17
CC16
CC15
CC14
CC13
CC12
CC17–CC16
CC15–CC10
ZERO SHOULD
BE WRITTEN
TO THESE BITS
U SCALAR VALUE
CC27
CC26
CC25
CC24
CC23
CC22
CC27–CC26
CC25–CC20
ZERO SHOULD
BE WRITTEN
TO THESE BITS
V SCALAR VALUE
CC11
CC10
CC21
CC20
HCR1
HCR0
Figure 64. Color Control Registers
HCR7
HCR6
HCR5
HCR4
HCR3
HCR2
HCR7–HCR0
HUE ADJUST VALUE
Figure 65. Hue Control Register
REV. B
–39–
ADV7172/ADV7173
BRIGHTNESS CONTROL REGISTERS (BCR)
(Address (SR5–SR0) = 21H)
SHARPNESS RESPONSE REGISTER (PR)
(Address (SR5-SR0) = 22H)
The brightness control register is an 8-bit-wide register which
allows brightness control. Figure 66 shows the operation under
control of this register.
The sharpness response register is an 8-bit-wide register. The
four MSBs are set to “0.” The four LSBs are written to in order
to select a desired filter response. Figure 67 shows the operation
under control of this register.
BCR BIT DESCRIPTION
Reserved (BCR7–BCR5)
A Logic “0” must be written to these bits.
PR BIT DESCRIPTION
Reserved (PR7–PR4)
Brightness Value (BCR4–BCR0)
A Logic “0” must be written to these bits.
These five bits represent the value required to vary the “brightness
level” or pedestal added to the luma data. The available range is
from 0 IRE to 7.5 IRE in 18 steps. A value of 18 (10010) corresponds to 7.5 IRE setup level added onto the pixel data. This
brightness control is possible in both PAL and NTSC.
Sharpness Response Value (PR3–PR0)
BCR7
BCR6
BCR5
These four bits are used to select the desired luma filter response.
The option of twelve responses is given supporting a gain boost/
attenuation in the range –4 dB to +4 dB. The value 12 (1100)
written to these four bits corresponds to a boost of +4 dB while
the value 0 (0000) corresponds to –4 dB. For normal operation these four bits are set to 6 (0110). Refer to Figures 19–21
for filter plots.
BCR4
BCR3
BCR2
BCR1
BCR7–BCR5
BCR4–BCR0
ZERO SHOULD
BE WRITTEN
TO THESE BITS
BRIGHTNESS VALUE
BCR0
Figure 66. Brightness Control Register
PR7
PR6
PR5
PR3
PR4
PR2
PR1
PR7–PR4
PR3–PR0
ZERO SHOULD
BE WRITTEN
TO THESE BITS
SHARPNESS RESPONSE
VALUE
PR0
Figure 67. Sharpness Response Register
–40–
REV. B
ADV7172/ADV7173
APPENDIX 1
BOARD DESIGN AND LAYOUT CONSIDERATIONS
obtained with 0.1 µF ceramic capacitor decoupling. Each group
of VAA pins on the ADV7172/ADV7173 must have at least one
0.1 µF decoupling capacitor to GND. These capacitors should
be placed as close to the device as possible.
The ADV7172/ADV7173 is a highly integrated circuit containing
both precision analog and high speed digital circuitry. It has
been designed to minimize interference effects on the integrity
of the analog circuitry by the high speed digital circuitry. It is
imperative that these same design and layout techniques be applied
to the system level design so that high speed, accurate performance
is achieved. The Recommended Analog Circuit Layout shows
the analog interface between the device and monitor.
The layout should be optimized for lowest noise on the ADV7172/
ADV7173 power and ground lines by shielding the digital inputs
and providing good decoupling. The lead length between groups
of VAA and GND pins should by minimized to minimize inductive ringing.
Ground Planes
The ground plane should encompass all ADV7172/ADV7173
ground pins, voltage reference circuitry, power supply bypass circuitry for the ADV7172/ADV7173, the analog output traces, and
all the digital signal traces leading up to the ADV7172/ADV7173.
The ground plane is the board’s common ground plane.
Power Planes
The ADV7172/ADV7173, and any associated analog circuitry,
should have its own power plane, referred to as the analog
power plane (VAA). This power plane should be connected to
the regular PCB power plane (VCC) at a single point through a
ferrite bead. This bead should be located within three inches of
the ADV7172/ADV7173.
The metallization gap separating device power plane and
board power plane should be as narrow as possible to minimize the obstruction to the flow of heat from the device into
the general board.
The PCB power plane should provide power to all digital logic
on the PC board, and the analog power plane should provide
power to all ADV7172/ADV7173 power pins and voltage
reference circuitry.
Plane-to-plane noise coupling can be reduced by ensuring that
portions of the regular PCB power and ground planes do not
overlay portions of the analog power plane unless they can be
arranged so that the plane-to-plane noise is common-mode.
It is important to note that while the ADV7172/ADV7173
contains circuitry to reject power supply noise, this rejection
decreases with frequency. If a high frequency switching power
supply is used, the designer should pay close attention to reducing power supply noise and consider using a three-terminal voltage
regulator for supplying power to the analog power plane.
Digital Signal Interconnect
The digital inputs to the ADV7172/ADV7173 should be isolated as much as possible from the analog outputs and other
analog circuitry. Also, these input signals should not overlay the
analog power plane.
Due to the high clock rates involved, long clock lines to the
ADV7172/ADV7173 should be avoided to reduce noise pickup.
Any active termination resistors for the digital inputs should be
connected to the regular PCB power plane (VCC) and not the
analog power plane.
Analog Signal Interconnect
The ADV7172/ADV7173 should be located as close to the
output connectors as possible to minimize noise pickup and
reflections due to impedance mismatch.
The video output signals should overlay the ground plane, not
the analog power plane, to maximize the high frequency power
supply rejection.
Digital inputs, especially pixel data inputs and clocking signals,
should never overlay any of the analog signal circuitry and
should be kept as far away as possible.
For best performance, the outputs should each have a 75 Ω load
resistor connected to GND. These resistors should be placed
as close as possible to the ADV7172/ADV7173 to minimize
reflections.
The ADV7172/ADV7173 should have no inputs left floating.
Any inputs that are not required should be tied to ground.
Supply Decoupling
For optimum performance, bypass capacitors should be installed using the shortest leads possible, consistent with reliable
operation, to reduce the lead inductance. Best performance is
REV. B
–41–
ADV7172/ADV7173
POWER SUPPLY DECOUPLING
FOR EACH POWER SUPPLY GROUP
0.1F
5V (VAA)
0.01F
5V (VAA)
0.1F
0.1F
1, 11, 19, 27, 30, 32, 34, 46
VAA
36 COMP1
DAC A 35
75
23 COMP2
37 VREF
DAC B 33
2 P0
ADV7172/
ADV7173
9 P7
10 CSO_HSO
75
DAC C 29
75
45 VSO
42 CLAMP
DAC D 28
43 PAL_NTSC
300
39 SCRESET/RTC
5V (VAA)
DAC E 25
14 HSYNC
“UNUSED
INPUTS
SHOULD BE
GROUNDED”
4k
RESET
4.7F
300
15 FIELD/VSYNC
16 BLANK
DAC F 24
44 RESET
5V (VCC)
300
5V (VAA)
100
SCLOCK 20
10k
4k
100
SDATA 21
5V (VCC)
4k
MPU BUS
41 TTX
TTX
RSET2 22
40 TTXREQ
TTXREQ
600
RSET1 38
48 CLOCK
ALSB
150
GND
17
12, 13, 18, 26, 31, 47
5V (VAA)
10k
27MHz CLOCK
(SAME CLOCK AS
USED BY MPEG2
DECODER)
Figure 68. Recommended Analog Circuit Layout
–42–
REV. B
ADV7172/ADV7173
APPENDIX 2
CLOSED CAPTIONING
The ADV7172/ADV7173 supports closed captioning, conforming to the standard television synchronizing waveform for color
transmission. Closed captioning is transmitted during the
blanked active line time of Line 21 of the odd fields and Line
284 of even fields.
FCC Code of Federal Regulations (CFR) 47 Section 15.119
and EIA608 describe the closed captioning information for
Lines 21 and 284.
The ADV7172/ADV7173 uses a single buffering method. This
means that the closed captioning buffer is only one byte deep,
therefore there will be no frame delay in outputting the closed
captioning data, unlike other 2-byte deep buffering systems.
The data must be loaded at least one line before (Line 20 or
Line 283) it is outputted on Line 21 and Line 284. A typical
implementation of this method is to use VSYNC to interrupt a
microprocessor, which will in turn load the new data (two bytes)
every field. If no new data is required for transmission, zeros must
be inserted in both data registers; this is called NULLING. It is
also important to load “control codes,” all of which are double
bytes, on Line 21, or a TV will not recognize them. If there is a
message like “Hello World,” which has an odd number of characters, it is important to pad it out to an even number to get
“end of caption” 2-byte control code to land in the same field.
Closed captioning consists of a 7-cycle sinusoidal burst that is
frequency and phase locked to the caption data. After the clock
run-in signal, the blanking level is held for two data bits and is
followed by a Logic Level “1” start bit. Sixteen bits of data
follow the start bit. These consist of two 8-bit bytes, seven data
bits and one odd parity bit. The data for these bytes is stored in
closed captioning Data Registers 0 and 1.
The ADV7172/ADV7173 also supports the extended closed
captioning operation, which is active during even fields, and is
encoded on scan Line 284. The data for this operation is stored
in closed captioning extended Data Registers 0 and 1.
All clock run-in signals, and timing to support closed captioning on Lines 21 and 284, are automatically generated by the
ADV7172/ADV7173. All pixels inputs are ignored during
Lines 21 and 284. Closed captioning is enabled.
10.5 0.25s
12.91s
7 CYCLES
OF 0.5035 MHz
(CLOCK RUN-IN)
TWO 7-BIT + PARITY
ASCII CHARACTERS
(DATA)
S
T
A
R
T
50 IRE
D0–D6
P
A
R
I
T
Y
BYTE 1
BYTE 0
40 IRE
REFERENCE COLOR BURST
(9 CYCLES)
FREQUENCY = FSC = 3.579545MHz
AMPLITUDE = 40 IRE
10.003s
33.764s
27.382s
Figure 69. Closed Captioning Waveform (NTSC)
REV. B
–43–
D0–D6
P
A
R
I
T
Y
ADV7172/ADV7173
APPENDIX 3
COPY GENERATION MANAGEMENT SYSTEM (CGMS)
The ADV7172/ADV7173 supports Copy Generation Management System (CGMS) conforming to the standard. CGMS data is
transmitted on Line 20 of the odd fields and Line 283 of even fields. Bits C/W05 and C/W06 control whether or not CGMS data
is output on ODD and EVEN fields. CGMS data can only be transmitted when the ADV7172/ADV7173 is configured in NTSC
mode. The CGMS data is 20 bits long, the function of each of these bits is as shown below. The CGMS data is preceded by a reference pulse of the same amplitude and duration as a CGMS bit (see Figure 70). These bits are output from the configuration registers
in the following order: C/W00 = C16, C/W01 = C17, C/W02 = C18, C/W03 = C19, C/W10 = C8, C/W11 = C9, C/W12 = C10,
C/W13 = C11, C/W14 = C12, C/W15 = C13, C/W16 = C14, C/W17 = C15, C/W20 = C0, C/W21 = C1, C/W22 = C2, C/W23 = C3,
C/W24 = C4, C/W25 = C5, C/W26 = C6, C/W27 = C7. If the Bit C/W04 is set to a Logic “1,” the last six bits, C19–C14, which
comprise the 6-bit CRC check sequence, are calculated automatically on the ADV7172/ADV7173 based on the lower 14 bits
(C0–C13) of the data in the data registers and output with the remaining 14 bits to form the complete 20 bits of the CGMS data.
The calculation of the CRC sequence is based on the polynomial X6 + X + 1 with a preset value of 111111. If C/W04 is set to a
Logic “0,” all 20 bits (C0–C19) are directly output from the CGMS registers (no CRC calculated, must be calculated by the user).
Function of CGMS Bits
Word 0
Word 1
Word 2
CRC
– 6 Bits
– 4 Bits
– 6 Bits
– 6 Bits
Word 0
B1
B2
B3
CRC Polynomial = X6 + X + 1 (Preset to 111111)
Aspect Ratio
Display Format
Undefined
1
16:9
Letterbox
0
4:3
Normal
Word 0
B4, B5, B6
Identification information about video and other signals (e.g., audio)
Word 1
B7, B8, B9, B10
Identification signal incidental to Word 0
Word 2
B11, B12, B13, B14 Identification signal and information incidental to Word 0
100 IRE
CRC SEQUENCE
REF
70 IRE
C0
C1
C2
C3
C4
C5
C6
C7
C8
C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19
0 IRE
49.1s 0.5s
–40 IRE
11.2s
2.235s 20ns
Figure 70. CGMS Waveform Diagram
–44–
REV. B
ADV7172/ADV7173
APPENDIX 4
WIDE SCREEN SIGNALING
The ADV7172/ADV7173 supports Wide Screen Signaling (WSS) conforming to the standard. WSS data is transmitted on Line 23.
WSS data can only be transmitted when the ADV7172/ADV7173 is configured in PAL mode. The WSS data is 14 bits long, the
function of each of these bits is as shown below. The WSS data is preceded by a run-in sequence and a Start Code (see Figure 71).
The bits are output from the configuration registers in the following order: C/W20 = W0, C/W21 = W1, C/W22 = W2, C/W23 = W3,
C/W24 = W4, C/W25 = W5, C/W26 = W6, C/W27 = W7, C/W10 = W8, C/W11 = W9, C/W12 = W10, C/W13 = W11, C/W14 = W12,
C/W15 = W13. If the Bit C/W07 is set to a Logic “1” it enables the WSS data to be transmitted on Line 23. The latter portion of
Line 23 (42.5 µs from the falling edge of HSYNC) is available for the insertion of video.
Function of CGMS Bits
Bit 0–Bit 2
Aspect Ratio/Format/Position
Bit 3 is odd parity check of Bit 0–Bit 2
B0
0
1
0
1
0
1
0
1
B1
0
0
1
1
0
0
1
1
B2
0
0
0
0
1
1
1
1
B3
1
0
0
1
0
1
1
0
Aspect Ratio
4:3
14:9
14:9
16:9
16:9
>16:9
14:9
16:9
Format
Full Format
Letterbox
Letterbox
Letterbox
Letterbox
Letterbox
Full Format
Nonapplicable
B4
0
1
Camera Mode
Film Mode
B5
0
1
Standard Coding
Motion Adaptive Color Plus
B6
0
1
No Helper
Modulated Helper
B7
RESERVED
Position
Nonapplicable
Center
Top
Center
Top
Center
Center
Nonapplicable
B9
0
1
0
1
B10
0
0
1
1
No Open Subtitles
Subtitles In Active Image Area
Subtitles Out of Active Image Area
Reserved
B11
0
1
No Surround Sound Information
Surround Sound Mode
B12
B13
RESERVED
RESERVED
500mV
W0 W1 W2 W3 W4 W5 W6 W7 W8 W9 W10 W11 W12 W13
RUN-IN
SEQUENCE
START
CODE
ACTIVE
VIDEO
11.0s
38.4s
42.5s
Figure 71. WSS Waveform Diagram
REV. B
–45–
ADV7172/ADV7173
APPENDIX 5
TELETEXT INSERTION
Time, tPD, is the time needed by the ADV7172/ADV7173 to interpolate input data on TTX and insert it onto the CVBS or Y outputs, such that it appears tSYNTTXOUT = 10.2 µs after the leading edge of the horizontal signal. Time, TTXDEL, is the pipeline delay
time by the source that is gated by the TTXREQ signal in order to deliver TTX data.
With the programmability offered with TTXREQ signal on the Rising/Falling edges, the TTX data is always inserted at the correct
position of 10.2 µs after the leading edge of horizontal sync pulse, thus enabling a source interface with variable pipeline delays.
The width of the TTXREQ signal must always be maintained such that it allows the insertion of 360 (in order to comply with the
Teletext Standard “PAL-WST”) teletext bits at a text data rate of 6.9375 Mbits/s. This is achieved by setting TC03–TC00 to “0.”
The insertion window is not open if the Teletext Enable (MR33) is set to “0.”
Teletext Protocol
The relationship between the TTX bit clock (6.9375 MHz) and the system CLOCK (27 MHz) for 50 Hz is given as follows:
(27 MHz/4) = 6.75 MHz
(6.9375 × 106/6.75 × 106) = 1.027777
Thus 37 TTX bits correspond to 144 clocks (27 MHz) and each bit has a width of almost four clock cycles. The ADV7172/ADV7173
uses an internal sequencer and variable phase interpolation filter to minimize the phase jitter and thus generate a bandlimited signal
that can be outputted on the CVBS and Y outputs.
At the TTX input the bit duration scheme repeats after every 37 TTX bits or 144 clock cycles. The protocol requires that TTX Bits
10, 19, 28, 37 are carried by three clock cycles, all other bits by four clock cycles. After 37 TTX bits, the next bits with three clock
cycles are 47, 56, 65, and 74. This scheme holds for all following cycles of 37 TTX bits, until all 360 TTX bits are completed. All
teletext lines are implemented in the same way. Individual control of teletext lines is controlled by Teletext Setup Registers.
45 BYTES (360 BITS) – PAL
ADDRESS & DATA
TELETEXT VBI LINE
RUN-IN CLOCK
Figure 72. Teletext VBI Line
tSYNTTXOUT
CVBS/Y
tPD
HSYNC
tPD
10.2s
TTXDATA
TTXDEL
TTXREQ
PROGRAMMABLE PULSE EDGES
TTXST
tSYNTTXOUT = 10.2s
tPD = PIPELINE DELAY THROUGH ADV7172/ADV7173
TTXDEL = TTXREQ TO TTX (PROGRAMMABLE RANGE = 4 BITS [0–15 CLOCK CYCLES])
Figure 73. Teletext Functionality Diagram
–46–
REV. B
ADV7172/ADV7173
APPENDIX 6
NTSC WAVEFORMS (WITH PEDESTAL)
130.8 IRE
PEAK COMPOSITE
1268.1mV
100 IRE
REF WHITE
1048.4mV
714.2mV
7.5 IRE
0 IRE
BLACK LEVEL
BLANK LEVEL
387.6mV
334.2mV
–40 IRE
SYNC LEVEL
48.3mV
REF WHITE
1048.4mV
Figure 74. NTSC Composite Video Levels
100 IRE
714.2mV
7.5 IRE
0 IRE
BLACK LEVEL
BLANK LEVEL
–40 IRE
SYNC LEVEL
387.6mV
334.2mV
48.3mV
Figure 75. NTSC Luma Video Levels
PEAK CHROMA
963.8mV
629.7mV (p-p)
286mV (p-p)
BLANK/BLACK LEVEL
650mV
PEAK CHROMA
335.2mV
0mV
Figure 76. NTSC Chroma Video Levels
100 IRE
REF WHITE
1052.2mV
720.8mV
7.5 IRE
0 IRE
BLACK LEVEL
BLANK LEVEL
387.5mV
331.4mV
–40 IRE
SYNC LEVEL
45.9mV
Figure 77. NTSC RGB Video Levels
REV. B
–47–
ADV7172/ADV7173
NTSC WAVEFORMS (WITHOUT PEDESTAL)
130.8 IRE
PEAK COMPOSITE
1289.8mV
100 IRE
REF WHITE
1052.2mV
714.2mV
0 IRE
BLANK/BLACK LEVEL
338mV
–40 IRE
SYNC LEVEL
52.1mV
Figure 78. NTSC Composite Video Levels
100 IRE
REF WHITE
1052.2mV
714.2mV
0 IRE
BLANK/BLACK LEVEL
SYNC LEVEL
–40 IRE
338mV
52.1mV
Figure 79. NTSC Luma Video Levels
PEAK CHROMA
978mV
694.9mV (p-p)
286mV (p-p)
BLANK/BLACK LEVEL
650mV
PEAK CHROMA
299.3mV
0mV
Figure 80. NTSC Chroma Video Levels
100 IRE
REF WHITE
1052.2mV
715.7mV
BLANK/BLACK LEVEL
0 IRE
SYNC LEVEL
–40 IRE
336.5mV
51mV
Figure 81. NTSC RGB Video Levels
–48–
REV. B
ADV7172/ADV7173
PAL WAVEFORMS
PEAK COMPOSITE
1284.2mV
1047.1mV
REF WHITE
696.4mV
350.7mV
BLANK/BLACK LEVEL
50.8mV
SYNC LEVEL
Figure 82. PAL Composite Video Levels
REF WHITE
1047mV
696.4mV
BLANK/BLACK LEVEL
350.7mV
SYNC LEVEL
50.8mV
Figure 83. PAL Luma Video Levels
PEAK CHROMA
989.7mV
672mV (p-p)
300mV (p-p)
BLANK/BLACK LEVEL
650mV
PEAK CHROMA
317.2mV
0mV
Figure 84. PAL Chroma Video Levels
REF WHITE
1050.2mV
698.4mV
BLANK/BLACK LEVEL
351.8mV
SYNC LEVEL
51mV
Figure 85. PAL RGB Video Levels
REV. B
–49–
ADV7172/ADV7173
505mV
BLACK
BLUE
RED
MAGENTA
GREEN
CYAN
YELLOW
WHITE
BLACK
BLUE
RED
MAGENTA
GREEN
CYAN
WHITE
YELLOW
UV WAVEFORMS
505mV
423mV
334mV
171mV
BETACAM LEVEL
BETACAM LEVEL
82mV
0mV
0mV
0mV
0mV
–82mV
171mV
334mV
–423mV
505mV
–505mV
467mV
BLACK
BLUE
RED
MAGENTA
GREEN
CYAN
WHITE
BLACK
BLUE
RED
MAGENTA
GREEN
CYAN
YELLOW
WHITE
YELLOW
Figure 89. NTSC 100% Color Bars, No Pedestal V Levels
Figure 86. NTSC 100% Color Bars, No Pedestal U Levels
467mV
391mV
309mV
158mV
BETACAM LEVEL
BETACAM LEVEL
76mV
0mV
0mV
0mV
0mV
–76mV
–158mV
–309mV
–391mV
–467mV
–467mV
350mV
BLACK
BLUE
RED
MAGENTA
GREEN
CYAN
WHITE
YELLOW
Figure 90. NTSC 100% Color Bars with Pedestal V Levels
BLACK
BLUE
RED
MAGENTA
GREEN
CYAN
YELLOW
WHITE
Figure 87. NTSC 100% Color Bars with Pedestal U Levels
350mV
293mV
232mV
SMPTE LEVEL
SMPTE LEVEL
118mV
57mV
0mV
0mV
0mV
0mV
–57mV
–118mV
–232mV
–293mV
–350mV
–350mV
Figure 88. PAL 100% Color Bars, U Levels
Figure 91. PAL 100% Color Bars, V Levels
–50–
REV. B
ADV7172/ADV7173
APPENDIX 7
OPTIONAL OUTPUT FILTER
If an output filter is required for the CVBS, Y, UV, Chroma
and RGB outputs of the ADV7172/ADV7173, the filter shown
below can be used. The plot of the filter characteristics is
shown in Figure 93. An Output Filter is not required if the
outputs of the ADV7172/ADV7173 are connected to most
analog monitors or analog TVs; however, if the output signals
are applied to a system where sampling is used (e.g., Digital
TVs), then a filter is required to prevent aliasing.
0
–10
MAGNUTUDE – dB
–20
–30
–40
–50
22pF
–60
1.8H
–70
FILTER I/P
FILTER O/P
75
330pF
270pF
–80
100k
1M
10M
FREQUENCY – Hz
100M
Figure 93. Output Filter Plot
Figure 92. Output Filter Used with Output Buffer
APPENDIX 8
OPTIONAL DAC BUFFERING
When external buffering is needed of the ADV7172/ADV7173
DAC outputs, the configuration in Figure 94 is recommended.
This configuration shows the DAC outputs, A, B, C, running at
half (18 mA) their full current (36 mA) capability. This will
allow the ADV7172/ADV7173 to dissipate less power; the analog
current is reduced by 50% with a RSET1 = 300 Ω and RSET2 =
600 Ω and an RLOAD of 75 Ω. This mode is recommended for
3.3 V operation as optimum performance is obtained from the
DAC outputs at 18 mA with a VAA of 3.3 V. This buffer also adds
extra isolation on the video outputs (see buffer circuit in Figure
95). Note that DACs D, E, and F will always require buffering
as the full-scale output current from these DACs is limited to
8.66 mA. With DACs A, B, and C, buffering is optional, based
on the user requirements for performance and power consumption.
When calculating absolute output full-scale current and voltage,
use the following equations:
VAA
V OUT = IOUT × RLOAD
ADV7172/ADV7173
VREF
RSET1
300
PIXEL
PORT
DAC A
OUTPUT
BUFFER
CVBS
DAC B
OUTPUT
BUFFER
LUMA
DAC C
OUTPUT
BUFFER
CHROMA
DAC D
OUTPUT
BUFFER
G
DIGITAL
CORE
RSET2
(V
REF
×K
)
RSET
K = 4.2146 constant , VREF = 1.235 V
VCC+
4
5
AD8051
DAC E
OUTPUT
BUFFER
B
DAC F
OUTPUT
BUFFER
R
600
IOUT =
INPUT/
OPTIONAL
FILTER O/P
3
1
OUTPUT TO
TV MONITOR
2
VCC–
Figure 95. Recommended Output DAC Buffer
Figure 94. Output DAC Buffering Configuration
REV. B
–51–
ADV7172/ADV7173
APPENDIX 9
RECOMMENDED REGISTER VALUES
The ADV7172/ADV7173 registers can be set depending on the
user standard required.
PAL B, D, G, H, I (FSC = 4.43361875 MHz)
Address
Data
The following examples give the various register formats for
several video standards.
00Hex
01Hex
02Hex
03Hex
04Hex
05Hex
06Hex
07Hex
0AHex
0BHex
0CHex
0DHex
0EHex
0FHex
10Hex
11Hex
12Hex
13Hex
14Hex
15Hex
16Hex
17Hex
18Hex
19Hex
1AHex
1BHex
1CHex
1DHex
1EHex
1FHex
20Hex
21Hex
22Hex
11Hex
07Hex
68Hex
00Hex
00Hex
00Hex
01Hex
00Hex
08Hex
00Hex
CBHex
8AHex
09Hex
2AHex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
In each case the output is set to composite/luma/chroma outputs
with DACs D, E and F powered up to provide 8.66 mA and
with the BLANK input control disabled. Additionally, the burst
and color information are enabled on the output and the internal color bar generator is switched off. In the examples shown,
the timing mode is set to Mode 0 in slave format. TR02–TR00
of the Timing Register 0 control the timing modes. For a
detailed explanation of each bit in the command registers,
please turn to the Register Programming section of the data
sheet. TR07 should be toggled after setting up a new timing
mode. Timing Register 1 provides additional control over the
position and duration of the timing signals. In the examples this
register is programmed in default mode.
NTSC (FSC = 3.5795454 MHz)
Address
Data
00Hex
01Hex
02Hex
03Hex
04Hex
05Hex
06Hex
07Hex
0AHex
0BHex
0CHex
0DHex
0EHex
0FHex
10Hex
11Hex
12Hex
13Hex
14Hex
15Hex
16Hex
17Hex
18Hex
19Hex
1AHex
1BHex
1CHex
1DHex
1EHex
1FHex
20Hex
21Hex
22Hex
10Hex
07Hex
68Hex
00Hex
00Hex
00Hex
00Hex
00Hex
08Hex
00Hex
16Hex
7CHex
F0Hex
21Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
Mode Register 0
Mode Register 1
Mode Register 2
Mode Register 3
Mode Register 4
Mode Register 5
Mode Register 6
Mode Register 7
Timing Register 0
Timing Register 1
Subcarrier Frequency Register 0
Subcarrier Frequency Register 1
Subcarrier Frequency Register 2
Subcarrier Frequency Register 3
Subcarrier Phase Register
Closed Captioning Ext Register 0
Closed Captioning Ext Register 1
Closed Captioning Register 0
Closed Captioning Register 1
Pedestal Control Register 0
Pedestal Control Register 1
Pedestal Control Register 2
Pedestal Control Register 3
CGMS_WSS Reg 0
CGMS_WSS Reg 1
CGMS_WSS Reg 2
Teletext Request Control Register
Contrast Control Register
Color Control Register 1
Color Control Register 2
Hue Control Register
Brightness Control Register
Sharpness Control Register
Mode Register 0
Mode Register 1
Mode Register 2
Mode Register 3
Mode Register 4
Mode Register 5
Mode Register 6
Mode Register 7
Timing Register 0
Timing Register 1
Subcarrier Frequency Register 0
Subcarrier Frequency Register 1
Subcarrier Frequency Register 2
Subcarrier Frequency Register 3
Subcarrier Phase Register
Closed Captioning Ext Register 0
Closed Captioning Ext Register 1
Closed Captioning Register 0
Closed Captioning Register 1
Pedestal Control Register 0
Pedestal Control Register 1
Pedestal Control Register 2
Pedestal Control Register 3
CGMS_WSS Reg 0
CGMS_WSS Reg 1
CGMS_WSS Reg 2
Teletext Request Control Register
Contrast Control Register
Color Control Register 1
Color Control Register 2
Hue Control Register
Brightness Control Register
Sharpness Control Register
PAL M (FSC = 3.57561149 MHz)
Address
Data
00Hex
01Hex
02Hex
03Hex
04Hex
05Hex
06Hex
07Hex
0AHex
0BHex
0CHex
0DHex
0EHex
0FHex
10Hex
11Hex
12Hex
07Hex
68Hex
00Hex
00Hex
00Hex
00Hex
00Hex
08Hex
00Hex
A3Hex
EFHex
E6Hex
21Hex
00Hex
00Hex
–52–
Mode Register 0
Mode Register 1
Mode Register 2
Mode Register 3
Mode Register 4
Mode Register 5
Mode Register 6
Mode Register 7
Timing Register 0
Timing Register 1
Subcarrier Frequency Register 0
Subcarrier Frequency Register 1
Subcarrier Frequency Register 2
Subcarrier Frequency Register 3
Subcarrier Phase Register
Closed Captioning Ext Register 0
REV. B
ADV7172/ADV7173
PAL M (Continued) (FSC = 3.57561149 MHz)
Address
12Hex
Closed Captioning Ext Register 1
13Hex
Closed Captioning Register 0
14Hex
Closed Captioning Register 1
15Hex
Pedestal Control Register 0
16Hex
Pedestal Control Register 1
17Hex
Pedestal Control Register 2
18Hex
Pedestal Control Register 3
19Hex
CGMS_WSS Reg 0
1AHex
CGMS_WSS Reg 1
1BHex
CGMS_WSS Reg 2
1CHex
Teletext Request Control Register
1DHex Contrast Control Register
1EHex
Color Control Register 1
1FHex
Color Control Register 2
20Hex
Hue Control Register
21Hex
Brightness Control Register
22Hex
Sharpness Control Register
Data
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
PAL N (FSC = 4.43361875 MHz)
Address
Data
00Hex
01Hex
02Hex
03Hex
04Hex
05Hex
06Hex
07Hex
0AHex
0BHex
0CHex
0DHex
0EHex
0FHex
10Hex
11Hex
12Hex
13Hex
14Hex
15Hex
16Hex
17Hex
18Hex
19Hex
13Hex
07Hex
68Hex
00Hex
00Hex
00Hex
00Hex
00Hex
08Hex
00Hex
CBHex
8AHex
09Hex
2AHex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
REV. B
Mode Register 0
Mode Register 1
Mode Register 2
Mode Register 3
Mode Register 4
Mode Register 5
Mode Register 6
Mode Register 7
Timing Register 0
Timing Register 1
Subcarrier Frequency Register 0
Subcarrier Frequency Register 1
Subcarrier Frequency Register 2
Subcarrier Frequency Register 3
Subcarrier Phase Register
Closed Captioning Ext Register 0
Closed Captioning Ext Register 1
Closed Captioning Register 0
Closed Captioning Register 1
Pedestal Control Register 0
Pedestal Control Register 1
Pedestal Control Register 2
Pedestal Control Register 3
CGMS_WSS Reg 0
1AHex
1BHex
1CHex
1DHex
1EHex
1FHex
20Hex
21Hex
22Hex
CGMS_WSS Reg 1
CGMS_WSS Reg 2
Teletext Request Control Register
Contrast Control Register
Color Control Register 1
Color Control Register 2
Hue Control Register
Brightness Control Register
Sharpness Control Register
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
PAL-60 (FSC = 4.43361875 MHz)
Address
Data
00Hex
01Hex
02Hex
03Hex
04Hex
05Hex
06Hex
07Hex
0AHex
0BHex
0CHex
0DHex
0EHex
0FHex
10Hex
11Hex
12Hex
13Hex
14Hex
15Hex
16Hex
17Hex
18Hex
19Hex
1AHex
1BHex
1CHex
1DHex
1EHex
1FHex
20Hex
21Hex
22Hex
12Hex
07Hex
68Hex
00Hex
00Hex
00Hex
00Hex
00Hex
08Hex
00Hex
CBHex
8AHex
09Hex
2AHex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
–53–
Mode Register 0
Mode Register 1
Mode Register 2
Mode Register 3
Mode Register 4
Mode Register 5
Mode Register 6
Mode Register 7
Timing Register 0
Timing Register 1
Subcarrier Frequency Register 0
Subcarrier Frequency Register 1
Subcarrier Frequency Register 2
Subcarrier Frequency Register 3
Subcarrier Phase Register
Closed Captioning Ext Register 0
Closed Captioning Ext Register 1
Closed Captioning Register 0
Closed Captioning Register 1
Pedestal Control Register 0
Pedestal Control Register 1
Pedestal Control Register 2
Pedestal Control Register 3
CGMS_WSS Reg 0
CGMS_WSS Reg 1
CGMS_WSS Reg 2
Teletext Request Control Register
Contrast Control Register
Color Control Register 1
Color Control Register 2
Hue Control Register
Brightness Control Register
Sharpness Control Register
ADV7172/ADV7173
POWER ON RESET REG VALUES
(PAL_NTSC = 0, NTSC Selected)
Address
00Hex
01Hex
02Hex
03Hex
04Hex
05Hex
06Hex
07Hex
0AHex
0BHex
0CHex
0DHex
0EHex
0FHex
10Hex
11Hex
12Hex
13Hex
14Hex
15Hex
16Hex
17Hex
18Hex
19Hex
1AHex
1BHex
1CHex
1DHex
1EHex
1FHex
20Hex
21Hex
22Hex
Mode Register 0
Mode Register 1
Mode Register 2
Mode Register 3
Mode Register 4
Mode Register 5
Mode Register 6
Mode Register 7
Timing Register 0
Timing Register 1
Subcarrier Frequency Register 0
Subcarrier Frequency Register 1
Subcarrier Frequency Register 2
Subcarrier Frequency Register 3
Subcarrier Phase Register
Closed Captioning Ext Register 0
Closed Captioning Ext Register 1
Closed Captioning Register 0
Closed Captioning Register 1
Pedestal Control Register 0
Pedestal Control Register 1
Pedestal Control Register 2
Pedestal Control Register 3
CGMS_WSS Reg 0
CGMS_WSS Reg 1
CGMS_WSS Reg 2
Teletext Request Control Register
Contrast Control Register
Color Control Register 1
Color Control Register 2
Hue Control Register
Brightness Control Register
Sharpness Control Register
POWER ON RESET REG VALUES
(PAL_NTSC = 1, PAL Selected)
Data
Address
00Hex
07Hex
08Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
16Hex
7CHex
F0Hex
21Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
01Hex
02Hex
03Hex
04Hex
05Hex
06Hex
07Hex
0AHex
0BHex
0CHex
0DHex
0EHex
0FHex
10Hex
11Hex
12Hex
13Hex
14Hex
15Hex
16Hex
17Hex
18Hex
19Hex
1AHex
1BHex
1CHex
1DHex
1EHex
1FHex
20Hex
21Hex
22Hex
–54–
Data
Mode Register 0
Mode Register 1
Mode Register 2
Mode Register 3
Mode Register 4
Mode Register 5
Mode Register 6
Mode Register 7
Timing Register 0
Timing Register 1
Subcarrier Frequency Register 0
Subcarrier Frequency Register 1
Subcarrier Frequency Register 2
Subcarrier Frequency Register 3
Subcarrier Phase Register
Closed Captioning Ext Register 0
Closed Captioning Ext Register 1
Closed Captioning Register 0
Closed Captioning Register 1
Pedestal Control Register 0
Pedestal Control Register 1
Pedestal Control Register 2
Pedestal Control Register 3
CGMS_WSS Reg 0
CGMS_WSS Reg 1
CGMS_WSS Reg 2
Teletext Request Control Register
Contrast Control Register
Color Control Register 1
Color Control Register 2
Hue Control Register
Brightness Control Register
Sharpness Control Register
00Hex
07Hex
08Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
CBHex
8AHex
09Hex
2AHex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
00Hex
REV. B
ADV7172/ADV7173
APPENDIX 10
OPTIONAL DAC BUFFERING
0.6
VOLTS
0.4
0.2
0.0
0.2
L608
0.0
10.0
20.0
30.0
40.0
50.0
60.0
MICROSECONDS
NOISE REDUCTION: 0.00 dB
APL = 39.1%
625 LINE PAL
NO FILTERING
PRECISION MODE OFF
SYNCHRONOUS
SLOW CLAMP TO 0.00 V AT 6.72 s
SOUND-IN-SYNC OFF
SYNC = SOURCE
FRAMES SELECTED: 1 2 3 4
Figure 96. 100/0/75/0 PAL Color Bars
VOLTS
0.5
0.0
L575
0.0
10.0
APL NEEDS SYNC = SOURCE!
625 LINE PAL
NO FILTERING
20.0
30.0
40.0
50.0
MICROSECONDS
PRECISION MODE OFF
SYNCHRONOUS
SLOW CLAMP TO 0.00 V AT 6.72 s
–55–
70.0
SOUND-IN-SYNC OFF
SYNC = A
FRAMES SELECTED: 1
Figure 97. 100/0/75/0 PAL Color Bars Luminance
REV. B
60.0
ADV7172/ADV7173
VOLTS
0.5
0.0
–0.5
L575
10.0
20.0
30.0
40.0
MICROSECONDS
APL NEEDS SYNC = SOURCE!
625 LINE PAL
NO FILTERING
50.0
60.0
NO BRUCH SIGNAL
PRECISION MODE OFF
SYNCHRONOUS
SLOW CLAMP TO 0.00 V AT 6.72 s
SOUND-IN-SYNC OFF
SYNC = A
FRAMES SELECTED: 1
Figure 98. 100/0/75/0 PAL Color Bars Chrominance
100.0
VOLTS
IRE:FLT
0.5
50.0
0.0
0.0
–50.0
0.0
F1
L76
10.0
20.0
30.0
40.0
MICROSECONDS
APL = 44.6%
525 LINE NTSC
50.0
60.0
PRECISION MODE OFF
NO FILTERING
SYNCHRONOUS
SLOW CLAMP TO 0.00 V AT 6.72 s
SYNC = A
FRAMES SELECTED: 1 2
Figure 99. 100/7.5/75/7.5 NTSC Color Bars
–56–
REV. B
ADV7172/ADV7173
0.6
0.4
VOLTS
IRE:FLT
50.0
0.2
0.0
0.0
–0.2
F2
L238
10.0
20.0
30.0
40.0
MICROSECONDS
NOISE REDUCTION: 15.05dB
APL = 44.7%
PRECISION MODE OFF
525 LINE NTSC
NO FILTERING
50.0
SYNCHRONOUS
SLOW CLAMP TO 0.00 V AT 6.72 s
60.0
SYNC = SOURCE
FRAMES SELECTED: 1 2
Figure 100. 100/7.5/75/7.5 NTSC Color Bars Luminance
0.4
50.0
0.0
IRE:FLT
VOLTS
0.2
–0.2
–50.0
–0.4
F1
L76
0.0
10.0
20.0
30.0
40.0
MICROSECONDS
NOISE REDUCTION: 15.05dB
APL NEEDS SYNC = SOURCE!
525 LINE NTSC
50.0
60.0
PRECISION MODE OFF
NO FILTERING
SYNCHRONOUS
SLOW CLAMP TO 0.00 V AT 6.72 s
SYNC = B
FRAMES SELECTED: 1 2
Figure 101. 100/7.5/75/7.5 NTSC Color Bars Chrominance
REV. B
–57–
ADV7172/ADV7173
V
APL = 39.6%
SYSTEM LINE L608
ANGLE (DEG) 0.0
GAIN 1.000 0.000dB
625 LINE PAL
BURST FROM SOURCE
DISPLAY +V & –V
cy
R
g
M
g
75%
100%
YI
b
U
yl
B
G
Cy
m
g
r
SOUND IN SYNC OFF
Figure 102. PAL Vector Plot
R-Y
APL = 45.1%
SYSTEM LINE L76F1
ANGLE (DEG) 0.0
GAIN 1.000 0.000dB
525 LINE NTSC
BURST FROM SOURCE
cy
I
R
M
g
YI
Q
b
100%
B-Y
75%
B
G
Cy
–Q
–I
SETUP 7.5%
Figure 103. NTSC Vector Plot
–58–
REV. B
ADV7172/ADV7173
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
48-Lead LQFP
(ST-48)
0.063 (1.60) MAX
0.276 (7.0) BSC
0.276 (7.0) BSC
37
36
48
1
SEATING
PLANE
TOP VIEW
(PINS DOWN)
0.006 (0.15)
0.002 (0.05)
0° – 7°
REV. B
0° MIN
0.007 (0.18)
0.004 (0.09)
12
13
0.019 (0.5)
BSC
–59–
25
24
0.011 (0.27)
0.006 (0.17)
0.354 (9.00) BSC
0.030 (0.75)
0.018 (0.45)
0.354 (9.00) BSC
0.030 (1.45)
(0.75)
0.057
0.018 (1.35)
(0.45)
0.053
–60–
PRINTED IN U.S.A.
C00222a–0–4/01(B)
Similar pages