YCrCb in 2 10-Bit (4:2:2) or 3 10-Bit (4:4:4) Format
Compliant to SMPTE274M (1080i), SMPTE296M
(720p) and Any Other High-Definition Standard Using
Async Timing Mode
RGB in 3 10-Bit 4:4:4 Format
OUTPUT FORMATS
YPrPb HDTV (EIA-770.3)
RGB Levels Compliant to RS-170 and RS-343A
11-Bit + Sync (DAC A)
11-Bit DACs (DAC B, C)
PROGRAMMABLE FEATURES
Internal Test Pattern Generator with Color Control
Y/C Delay ()
Individual DAC On/Off Control
VBI Open Control
2
C Filter
I
2-Wire Serial MPU Interface
Single Supply 5 V/3.3 V Operation
52-Lead MQFP Package
Y0–Y9
Cr0–Cr9
Cb0–Cb9
CLKIN
HORIZONTAL
SYNC
VERTICAL
SYNC
BLANKING
RESET
Three 11-Bit DACs
ADV7197
FUNCTIONAL BLOCK DIAGRAM
11-BIT
+ SYNC
DAC
TEST
PATTERN
GENERATOR
AND
DELAY
CHROMA
4:2:2 TO 4:4:4
CHROMA
4:2:2 TO 4:4:4
TIMING
GENERATOR
(SSAF)
(SSAF)
SYNC
GENERATOR
I2C MPU
PORT
11-BIT
DAC
11-BIT
DAC
DAC CONTROL
BLOCK
ADV7197
DAC A ( Y)
DAC B
DAC C
V
REF
R
SET
COMP
APPLICATIONS
HDTV Display Devices
HDTV Projection Systems
Digital Video Systems
High Resolution Color Graphics
Image Processing/Instrumentation
Digital Radio Modulation/Video Signal Reconstruction
GENERAL DESCRIPTION
The ADV7197 is a triple, high-speed, digital-to-analog encoder
on a single monolithic chip. It consists of three high-speed video
D/A converters with TTL-compatible inputs.
The ADV7197 has three separate 10-bit-wide input ports that
accept data in 4:4:4 10-bit YCrCb or RGB, or 4:2:2 10-bit
YCrCb. This data is accepted in HDTV format at 74.25 MHz
or 74.1758 MHz. For any other high definition standard but
SMPTE274M or SMPTE296M, the Async Timing Mode can
be used to input data to the ADV7197. For all standards,
*ADV is a registered trademark of Analog Devices, Inc.
REV. 0
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 that
may result from its use. No license is granted by implication or otherwise
under any patent or patent rights of Analog Devices.
external horizontal, vertical, and blanking signals or EAV/SAV
codes control the insertion of appropriate synchronization signals
into the digital data stream and therefore the output signals.
The ADV7197 outputs analog YPrPb HDTV complying to
EIA-770.3, or RGB complying to RS-170/RS-343A.
The ADV7197 requires a single 5 V/3.3 V power supply, an
optional external 1.235 V reference, and a 74.25 MHz (or
74.1758 MHz) clock.
The ADV7197 is packaged in a 52-lead MQFP package.
SCLOCK Frequency10400kHz
SCLOCK High Pulsewidth, t
SCLOCK Low Pulsewidth, t
Hold Time (Start Condition), t
Setup Time (Start Condition), t
Data Setup Time, t
5
SDATA, SCLOCK Rise Time, t
SDATA, SCLOCK Fall Time, t
Setup Time (Stop Condition), t
1
2
3
4
6
7
8
0.6µs
1.3µs
0.6µsAfter This Period the 1st Clock Is Generated
0.6µsRelevant for Repeated Start Condition
100ns
300ns
300ns
0.6µs
RESET Low Time100ns
ANALOG OUTPUTS
Analog Output Delay
2
10ns
Analog Output Skew0.5ns
CLOCK CONTROL AND PIXEL PORT
f
CLK
t
CLK
Clock High Time, t
Clock Low Time, t
Data Setup Time, t
Data Hold Time, t
Control Setup Time, t
Control Hold Time, t
9
10
11
12
11
12
3
74.25MHzHDTV Mode
81MHzAsync Timing Mode
51.5ns
52.0ns
2.0ns
4.5ns
7ns
4.0ns
Pipeline Delay16Clock CyclesFor 4:4:4 Pixel Input Format
NOTES
1
Guaranteed by characterization.
2
Output delay measured from the 50% point of the rising edge of CLOCK to the 50% point of DAC output full-scale transition.
3
Data: Cb/Cr (9:0), Cr (9:0), Y (9:0); Control: HSYNC/SYNC, VSYNC/TSYNC; DV
Specifications subject to change without notice.
–4–
REV. 0
Page 5
ADV7197
(VAA = 3.15 V to 3.45 V, V
T
to T
3.3 V TIMING–SPECIFICATIONS
P
arameterMinTypMaxUnitConditions
MPU PORT
1
MIN
[0C to 70C] unless otherwise noted.)
MAX
= 1.235 V, R
REF
= 2470 , R
SET
= 300 . All specifications
LOAD
SCLOCK Frequency10400kHz
SCLOCK High Pulsewidth, t
SCLOCK Low Pulsewidth, t
Hold Time (Start Condition), t
Setup Time (Start Condition), t
Data Setup Time, t
5
SDATA, SCLOCK Rise Time, t
SDATA, SCLOCK Fall Time, t
Setup Time (Stop Condition), t
1
2
3
4
6
7
8
0.6µs
1.3µs
0.6µsAfter This Period the 1st Clock Is Generated
0.6µsRelevant for Repeated Start Condition
100ns
300ns
300ns
0.6µs
RESET Low Time100ns
ANALOG OUTPUTS
2
Analog Output Delay10ns
Analog Output Skew0.5ns
CLOCK CONTROL AND PIXEL PORT
f
CLK
t
CLK
Clock High Time, t
Clock Low Time, t
Data Setup Time, t
Data Hold Time, t
Control Setup Time, t
Control Hold Time, t
9
10
11
12
11
12
3
74.25MHzHDTV Mode
81MHzAsync Timing Mode
51.5ns
52.0ns
2.0ns
4.5ns
7ns
4.0ns
Pipeline Delay16Clock CyclesFor 4:4:4 Pixel Input Format
NOTES
1
Guaranteed by characterization.
2
Output delay measured from the 50% point of the rising edge of CLOCK to the 50% point of DAC output full-scale transition.
3
Data: Cb/Cr (9:0), Cr (9:0), Y (9:0); Control: HSYNC/SYNC, VSYNC/TSYNC; DV
Specifications subject to change without notice.
REV. 0
CLOCK
PIXEL INPUT
DATA
t
t
9
10
Y0
Cb0
t
t
11
Y1
Cr0
12
Y2
Cb1Cr1
...
...
...
Figure 1. 4:2:2 Input Data Format Timing Diagram
–5–
Yxxx
Cbxxx
Yxxx
Crxxx
– CLOCK HIGH TIME
t
9
– CLOCK LOW TIME
t
10
– DATA SETUP TIME
t
11
– DATA HOLD TIME
t
12
Page 6
ADV7197
CLOCK
t
t
9
10
PIXEL INPUT
DATA
CLOCK
PIXEL INPUT
DATA
Y0
Cb0
Cr0Cr1Cr2Cr3...Crxxx
t
t
11
Y1
Cb1
12
Y2
Cb2Cb3
......
Yxxx
...
Cbxxx
Yxxx
Cbxxx
Crxxx
t
– CLOCK HIGH TIME
9
t
– CLOCK LOW TIME
10
t
– DATA SETUP TIME
11
t
– DATA HOLD TIME
12
Figure 2. 4:4:4 YCrCb Input Data Format Timing Diagram
t
t
9
10
R0
G0
B0B1B2B3...Bxxx
t
t
11
R1
G1
12
R2
G2G3
......
Rxxx
...
Gxxx
Rxxx
Gxxx
Bxxx
t
– CLOCK HIGH TIME
9
t
– CLOCK LOW TIME
10
t
– DATA SETUP TIME
11
t
– DATA HOLD TIME
12
Figure 3. 4:4:4 RGB Input Data Format Timing Diagram
Stresses above those listed under Absolute Maximum Ratings may cause perma-
nent 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
ADV7197KST0°C to 70°CPlastic Quad Flatpack (MQFP)S-52
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 ADV7197 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.
V
Y[0]
Y[1]
Y[2]
Y[3]
Y[4]
Y[5]
Y[6]
Y[7]
Y[8]
Y[9]
V
GND
PIN CONFIGURATION
GND
Cb/Cr[0]
Cb/Cr[1]
Cb/Cr[2]
Cb/Cr[3]
Cr[2]
Cr[3]
Cb/Cr[4]
ADV7197
TOP VIEW
(Not to Scale)
Cr[4]
Cr[5]
52 51 50 49 4843 42 41 4047 46 45 44
1
DD
DD
PIN 1
2
IDENTIFIER
3
4
5
6
7
8
9
10
11
12
13
14 15 16 17 18 19 20 21 22 23 24 25 26
Cr[0]
Cr[1]
Cb/Cr[5]
Cb/Cr[6]
Cr[6]
Cr[7]
Cb/Cr[7]
Cb/Cr[8]
Cr[8]
Cr[9]
Cb/Cr[9]
ALSB
AA
V
CLKIN
RESET
39
V
38
R
37
COMP
36
DAC B
35
V
34
DAC A
33
AGND
32
DAC C
31
SDA
30
SCL
29
HSYNC/SYNC
28
VSYNC/TSYNC
27
DV
AGND
REF
SET
AA
–8–
REV. 0
Page 9
ADV7197
PIN FUNCTION DESCRIPTIONS
PinMnemonicInput/OutputFunction
1, 12V
DD
2–11Y0–Y9I10-Bit HDTV Input Port for Y Data. G data input in RGB mode.
13, 52GNDGDigital Ground
14–23Cr0–Cr9I10-Bit HDTV Input Port for Color Data in 4:4:4 Input Mode. In 4:2:2 mode this
24, 35V
AA
25CLKINIPixel Clock Input. Requires a 74.25 MHz (74.1758 MHz) reference clock.
26, 33AGNDGAnalog Ground
27DVIVideo Blanking Control Signal Input.
28VSYNC/IVSYNC, vertical sync control signal input or TSYNC input control signal in
TSYNCAsync Timing Mode.
29HSYNC/
SYNCIHSYNC, horizontal
30SCLIMPU Port Serial Interface Clock Input.
31SDAI/OMPU Port Serial Data Input/Output.
32DAC COColor component analog output of input data on Cb/Cr9–0 input pins.
34DAC AOY Analog Output.
36DAC BOColor component analog output of input data on Cr9–Cr0 input pins.
37COMPOCompensation Pin for DACs. Connect 0.1 µF Capacitor from COMP pin to V
38R
39V
SET
REF
40RESETIThis input resets the on-chip timing generator and sets the ADV7197 into Default
41ALSBITTL Address Input. This signal sets up the LSB of the MPU address. When this
42–51Cb/Cr9–0I10-Bit HDTV Input Port for Color Data. In 4:2:2 mode the multiplexed CrCb
PDigital Power Supply.
input port is not used. R data input in RGB mode.
PAnalog Power Supply.
sync control signal input or SYNC input control signal in
Async Timing Mode.
AA
IA 2470 Ω resistor (for input ranges 64–940 and 64–960, output standards
EIA-770.3) must be connected from this pin to ground and is used to control the
amplitudes of the DAC outputs. For input ranges 0–1023 (output standards
RS-170, RS-343A) the R
value must be 2820 Ω.
SET
I/OOptional External Voltage Reference Input for DACs or Voltage Reference
Output (1.235 V).
Register setting. Reset is an active low signal.
pin is tied high, the I
When this pin is tied low, the input bandwidth on the I
2
C filter is activated which reduces noise on the I2C interface.
2
C interface is increased.
data must be input on these pins. B data input in RGB mode.
.
REV. 0
–9–
Page 10
ADV7197
0
X
1
0
1
01
A1
READ/ WRITE
CONTROL
0WRITE
1READ
ADDRESS
CONTROL
SET UP BY
ALSB
FUNCTIONAL DESCRIPTION
Digital Inputs
The digital inputs of the ADV7197 are TTL-compatible. 30-bit
YCrCb or RGB pixel data in 4:4:4 format or 20-bit YCrCb pixel
data in 4:2:2 format is latched into the device on the rising edge
of each clock cycle at 74.25 MHz or 74.1758 in HDTV mode.
It is recommended to input data in 4:2:2 mode to make use of
the Chroma SSAFs on the ADV7197. As can be seen in the
figures below, these filters have 0 dB passband response and
prevent signal components being folded back into the frequency
band. In 4:4:4 input mode, the video data is already interpolated by an external input device and the chroma SSAFs of the
ADV7197 are bypassed.
ATTEN 10dBVAVG 1MKR0dB
RL –10.0dBm10dB/3.18MHz
START 100kHzSTOP20.00MHz
RBW 10kHzVBW 300HzSWP 17.0SEC
Figure 6. SSAF Response to a 2.5 MHz Chroma Sweep
Using 4:2:2 Input Mode
The ADV7197 can generate a Cross-Hatch pattern (white lines
against a black background). Additionally, the ADV7197 can
output a uniform color pattern. The color of the lines or uniform field/frame can be programmed by the user.
Y/CrCb Delay
The Y output and the color component outputs can be delayed
wrt the falling edge of the horizontal sync signal by up to four
clock cycles.
I2C Filter
A selectable internal I2C filter allows significant noise reduction
on the I
width on the I
are not passed to the I
greater input bandwidth on the I
2
C interface. For setting ALSB high, the input band-
2
C lines is reduced and pulses of less than 50 ns
2
C controller. Setting ALSB low allows
2
C lines.
MPU PORT DESCRIPTION
The ADV7197 support a 2-wire serial (I2C-compatible) microprocessor bus driving multiple peripherals. Two inputs Serial
Data (SDA) and Serial Clock (SCL) carry information between
any device connected to the bus. Each slave device is recognized
by a unique address. The ADV7197 has four possible slave
addresses for both read and write operations. These are unique
addresses for each device and are illustrated in Figure 8. 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 ADV7197 to
Logic Level “0” or Logic Level “1.” When ALSB is set to “0,”
there is greater input bandwidth on the I
high-speed data transfers on this bus. When ALSB is set to “1,”
there is reduced input bandwidth on the I
that pulses of less than 50 ns will not pass into the I
2
C lines, which allows
2
C lines, which means
2
C internal
controller. This mode is recommended for noisy systems.
Figure 7. Conventional Filter Response to a 2.5 MHz Chroma
Sweep Using 4:4:4 Input Mode
Control Signals
The ADV7197 accepts sync control signals accompanied by
valid 4:2:2 or 4:4:4 data. These external horizontal, vertical and
blanking pulses (or EAV/SAV codes) control the insertion of
appropriate sync information into the output signals.
Analog Outputs
The analog Y signal is output on the 11-bit + Sync DAC A,
the color component analog signals on the 11-bit DACs B, C
conforming to EIA-770.3 standards R
has a value of 2470 Ω
SET
Figure 8. Slave Address
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 SDA while SCL 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 SDA and SCL lines waiting for
the Start condition and the correct transmitted address. The R/W
bit determines the direction of the data.
–10–
REV. 0
Page 11
ADV7197
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.
The ADV7197 acts as a standard slave device on the bus. The
data on the SDA pin is 8 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, allowing 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.
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, they cause an immediate
jump to the idle condition. During a given SCL 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 ADV7197 will
not issue an acknowledge and will return to the idle condition. If
in auto-increment mode, the user exceeds the highest subaddress,
the following action will be taken:
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 noacknowledge condition is where the SDA line is not pulled
low on the ninth pulse.
2. In Write Mode, the data for the invalid byte will be not be
loaded into any subaddress register, a no-acknowledge will
be issued by the ADV7197 and the part will return to the idle
condition.
SDATA
SCLOCK
S
1–7
8
9
START ADDR R /W ACK
1–71–7
898
SUBADDRESS
ACKDATA
ACK
P
9
STOP
Figure 9. Bus Data Transfer
Figure 9 illustrates an example of data transfer for a read
sequence and the Start and Stop conditions.
Figure 10 shows bus write and read sequences.
REGISTER ACCESSES
The MPU can write to or read from all of the registers of the
ADV7197 except the Subaddress Registers, which are write-only
registers. The Subaddress Register determines which register is
accessed by the next read or write operation.
All communications with the part through the bus begin with an
access to the Subaddress Register. A read/write operation is
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 the functionality of each register. All registers can be read from as well as written to unless
otherwise stated.
Subaddress Register (SR7–SR0)
The Communications Register is an eight 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.
Figure 11 shows the various operations under the control of the
Subaddress Register. “0” should always be written to SR7.
Register Select (SR6–SR0)
These bits are set up to point to the required starting address.
REV. 0
WRITE
SEQUENCE
READ
SEQUENCE
DATAA(S)S SLAVE ADDR A(S) SUB ADDR A(S)
LSB = 0
S SLAVE ADDR A(S) SUB ADDR
S = START BITA(S) = ACKNOWLEDGE BY SLAVEA(S) = NO-ACKNOWLEDGE BY SLAVE
P = STOP BITA(M) = ACKNOWLEDGE BY MASTERA(M) = NO-ACKNOWLEDGE BY MASTER
S SLAVE ADDR
A(S)
LSB = 1
A(S)DATA
DATA
A(S) P
A(M)
Figure 10. Write and Read Sequence
SR3
SR2
SR1
SR7
ZERO SHOULD
BE WRITTEN
HERE
SR4
ADV7197 SUBADDRESS REGISTER
ADDRESS SR6 SR5 SR4 SR3 SR2 SR1 SR0
00h0000000 MODE REGISTER 0
01h0000001 MODE REGISTER 1
02h0000010 MODE REGISTER 2
03h0000011 MODE REGISTER 3
04h0000100 MODE REGISTER 4
05h0000101 MODE REGISTER 5
06h0000110 COLOR Y
07h0000111 COLOR CR
08h0001000 COLOR CB
Figure 14 shows the various operations under the control of
Mode Register 0.
MR0 BIT DESCRIPTION
Output Standard Selection (MR00–MR01)
These bits are used to select the output levels from the ADV7197.
If EIA 770.3 (MR01–00 = “00”) is selected, the output levels will
be: 0 mV for blanking level, 700 mV for peak white (Y channel),
± 350 mV for Pr, Pb outputs and –300 mV for tri-level sync.
If Full Input Range (MR01–00 = “10”) is selected, the output
levels will be 700 mV for peak white for the Y channel, ±350 mV
for Pr, Pb outputs, and –300 mV for Sync. This mode is used
for RS-170, RS-343A standard output compatibility.
Sync insertion on the Pr, Pb channels is optional. For output
levels refer to the Appendix.
Input Control Signals (MR02–MR03)
These control bits are used to select whether data is input with
external horizontal, vertical, and blanking sync signals or if the
CLK
SYNC
TSYNC
DV SET
MR06 = ‘1’
data is input with embedded EAV/SAV codes. An Asynchronous timing mode is also available using TSYNC, SYNC and
DV as input control signals.
These timing control signals have to be programmed by the user
and are used for any other high definition standard input but
SMPTE274M and SMPTE296M.
Figure 12 shows an example of how to program the ADV7197
to accept a different high definition standard but SMPTE274M
or SMPTE296M.
Reserved (MR04)
A “0” must be written to this bit.
Input Standard (MR05)
Select between 1080i or 720p input.
DV Polarity (MR06)
This control bit allows to select the polarity of the DV input
control signal to be either active high or active low. This is in
order to facilitate interfacing from input devices which use an
active high blanking signal output.
Reserved (MR07)
A “0” must be written to this bit.
PROGRAMMABLE
INPUT TIMING
HORIZONTAL SYNC
8166
ABC
662431920
DE
ACTIVE VIDEO
ANALOG
OUTPUT
Figure 12. Async Timing Mode—Programming Input Control Signals for SMPTE295M Compatibility
SYNC
VSYNC
DV
DISPLAY
VERTICAL BLANKING INTERVAL
7477487497501234
7
5
6
8
25
2627
DISPLAY
744745
Figure 13. DV Input Control Signal in Relation to Video Output Signal for SMPTE296M (720p)
–12–
REV. 0
Page 13
ADV7197
MR07
MR07
ZERO MUST
BE WRITTEN
TO THIS BIT
MR06
0ACTIVE HIGH
1ACTIVE LOW
INPUT STANDARD
MR05
01080I
1720P
DV POLARITY
MR04MR05MR06MR03MR00
MR04
ZERO MUST
BE WRITTEN
TO THIS BIT
Figure 14. Mode Register 0
Table I must be followed when programming the control signals
in Async Timing Mode.
Table I. Truth Table
SYNCTSYNCDV
1 –> 000 or 150% Point of Falling Edge of
Tri-Level Horizontal Sync
Signal, a
00 –> 10 or 125% Point of Rising Edge of
Tri-Level Horizontal Sync
Signal, b
0 –> 10 or 1050% Point of Falling Edge of
Tri-Level Horizontal Sync
Signal, c
10 or 10 –> 150% Start of Active Video, d
10 or 11 –> 050% End of Active Video, e
Figure 15 shows the various operations under the control of
Mode Register 1.
MR1 BIT DESCRIPTION
Pixel Data Enable (MR10)
When this bit is set to “0,” the pixel data input to the ADV7197
is blanked such that a black screen is output from the DACs.
MR02
INPUT CONTROL SIGNALS
MR03 MR02
00 HSYNC\VSYNC/DV
0 1EAV/SAV
10TSYNC/SYNC/DV
11RESERVED
OUTPUT STANDARD SELECTION
MR01 MR00
00EIA-770.3
0 1RESERVED
10FULL I/P RANGE
11RESERVED
MR01
When this bit is set to “1,” pixel data is accepted at the input
pins and the ADV7197 outputs to the standard set in “Output
Standard Selection” (MR01–MR00). This bit also must be set
to “1” to enable output of the test pattern signals.
Input Format (MR11)
It is possible to input data in 4:2:2 format or in 4:4:4 format.
Test Pattern Enable (MR12)
Enables or disables the internal test pattern generator.
Test Pattern Hatch/Frame (MR13)
If this bit is set to “0,” a cross hatch test pattern is output from
the ADV7197. The cross hatch test pattern can be used to test
monitor convergence.
If this bit is set to “1,” a uniform colored frame/field test pattern
is output from the ADV7197.
The color of the lines or the frame/field is by default white but
can be programmed to be any color using the Color Y, Color
Cr, Color Cb Registers.
VBI Open (MR14)
This bit enables or disables the facility of VBI data insertion
during the Vertical Blanking Interval.
For this purpose Lines 7–20 in 1080i and Lines 6–25 in 720p
can be used for VBI data insertion.
Figure 17 shows the various operations under the control of
Mode Register 2.
MR2 BIT DESCRIPTION
Y Delay (MR20–MR22)
With these bits it is possible to delay the Y signal with respect to
the falling edge of the horizontal sync signal by up to four pixel
clock cycles. Figure 16 demonstrates this facility.
Color Delay (MR23–MR25)
With theses bits it is possible to delay the color signals with
respect to the falling edge of the horizontal sync signal by up to
four pixel clock cycles. Figure 16 demonstrates this facility.
Figure 20 shows the various operations under the control of
Mode Register 5.
MR5 BIT DESCRIPTION
Reserved (MR50)
This bit is reserved for the revision code.
RGB Mode (MR51)
When RGB mode is enabled (MR51 = “1”) the ADV7197
accepts unsigned binary RGB data at its input port. This control
is also available in Async Timing Mode.
Sync on PrPb (MR52)
By default the color component output signals Pr, Pb do not
contain any horizontal sync pulses. They can be inserted when
MR52 = “1.”
This control is not available in RGB mode.
Color Output Swap (MR53)
By default DAC B is configured as the Pr output and DAC C
as the Pb output. In setting this bit to “1” the DAC outputs
can be swapped around so that DAC B outputs Pb and DAC C
outputs Pr. The table below demonstrates this in more detail.
This control is also available in RGB mode.
Reserved (MR54–MR57)
A “0” must be written to these bits.
Table II. Relationship Between Color Input Pixel Port, MR53
and DAC B, DAC C Outputs
In 4:4:4 Input Mode
Color DataAnalog Output
Input on PinsMR53Signal
Cr9–00DAC B
Cb/Cr9–00DAC C
Cr9–01DAC C
Cb/Cr9–01DAC B
In 4:2:2 Input Mode
Color DataAnalog Output
Input on PinsMR53Signal
Cr9–00 or 1Not Operational
Cb/Cr9–00DAC C (Pb)
Cb/Cr9–01DAC C (Pr)
MR47
MR57
MR45MR43
THESE REGISTERS
MR57–MR54
ZERO MUST BE
WRITTEN TO
THESE BITS
MR42MR44MR46
MR47–MR41
ZERO MUST BE
WRITTEN TO
Figure 19. Mode Register 4
MR52MR56MR55MR53MR50MR54
SYNC ON PrPb
MR52
0DISABLE
1ENABLE
COLOR OUTPUT
SWAP
MR53
0DAC B = Pr
1DAC C = Pr
Figure 20. Mode Register 5
TIMING RESET
MR40
RESERVED FOR
REVISION CODE
RGB MODE
MR40
MR50
MR41
MR51
MR51
0DISABLE
1ENABLE
REV. 0
–15–
Page 16
ADV7197
COLOR Y
CY (CY7–CY0)
(Address (SR4–SR0) = 06H)
CY6CY5CY4CY3CY2CY1CY0
CY7
CY7–CY0
COLOR Y VALUE
Figure 21. Color Y Register
COLOR CR
CCR (CCR7–CCR0)
(Address (SR4–SR0) = 07H)
CCR6CCR5CCR4CCR3CCR2CCR1CCR0
CCR7
CCR7–CCR0
COLOR CR VALUE
Figure 22. Color Cr Register
COLOR CB
CCB (CCB7–CCB0)
(Address (SR4–SR0) = 08H)
CCB6CCB5CCB4CCB3CCB2CCB1CCB0
CCB7
CCB7 –CCB0
COLOR CB VALUE
Figure 23. Color Cb Register
These three 8-bit-wide registers are used to program the output
color of the internal test pattern generator, be it the lines of the
cross hatch pattern or the uniform field test pattern.
The standard used for the values for Y and the color difference
signals to obtain white, black and the saturated primary and complementary colors conforms to the ITU-R BT 601-4 standard.
The Table III shows sample color values to be programmed into
the color registers.
DAC TERMINATION AND LAYOUT CONSIDERATIONS
Voltage Reference
The ADV7197 contains an on-board voltage reference. The
pin is normally terminated to VAA through a 0.1 µF capacitor
V
REF
when the internal V
can be used with an external V
Resistor R
is connected between the R
SET
is used. Alternatively, the ADV7197
REF
(AD589).
REF
pin and analog
SET
ground and is used to control the full scale output current and
therefore the DAC voltage output levels. For full-scale output
must have a value of 2470 Ω. R
R
SET
When an input range of 0–1023 is selected the value of R
has a value of 300 Ω.
LOAD
SET
must be 2820 Ω.
The ADV7197 has three analog outputs, corresponding to Y,
Pr, Pb video signals. The DACs must be used with external
buffer circuits in order to provide sufficient current to drive an
output device. A suitable op amp would be the AD8057.
PC BOARD LAYOUT CONSIDERATIONS
The ADV7197 is optimally designed for lowest noise performance, both radiated and conducted noise. To complement the
excellent noise performance of the ADV7197, it is imperative
that great care be given to the PC board layout.
The layout should be optimized for lowest noise on the ADV7197
power and ground lines. This can be achieved by shielding the
digital inputs and providing good decoupling. The lead length
between groups of V
and AGND and VDD and DGND pins
AA
should be kept as short as possible to minimized inductive ringing.
It is recommended that a four-layer printed circuit board is
used. With power and ground planes separating the layer of the
signal carrying traces of the components and solder side layer.
Placement of components should consider to separate noisy
circuits, such as crystal clocks, high-speed logic circuitry and
analog circuitry.
There should be a separate analog ground plane (AGND) and
a separate digital ground plane (GND).
Power planes should encompass a digital power plane (V
analog power plane (V
the DACs and all associated circuitry, and the V
). The analog power plane should contain
AA
REF
) and a
DD
circuitry.
The digital power plane should contain all logic circuitry. The
analog and digital power planes should be individually connected
to the common power plane at one single point through a suitable filtering device, such as a ferrite bead.
DAC output traces on a PCB should be treated as transmission
lines. It is recommended that the DACs be placed as close as
possible to the output connector, with the analog output traces
being as short as possible (less than 3 inches. The DAC termination resistors should be placed as close as possible to the DAC
outputs and should overlay the PCB’s ground plane. As well as
minimizing reflections, short analog output traces will reduce
noise pickup due to neighboring digital circuitry.
–16–
REV. 0
Page 17
ADV7197
Supply Decoupling
Noise on the analog power plane can be further reduced by the
use of decoupling capacitors.
Optimum performance is achieved by the use of 0.1 µF ceramic
capacitors. Each of group of V
or VDD pins should be indi-
AA
vidually decoupled to ground. This should be done by placing
the capacitors as close as possible to the device with the capacitor leads as short as possible, thus minimizing lead inductance.
Digital Signal Interconnect
The digital signal lines should be isolated as much as possible
from the analog outputs and other analog circuitry. Digital
signal lines should not overlay the analog power plane.
POWER SUPPLY DECOUPLING
FOR EACH POWER SUPPLY GROUP
V
AA
0.1F
24, 351, 12
V
V
COMP
Cb/Cr0–Cb/Cr9
Cr0–Cr9
AA
DAC A
ADV7197
Due to the high clock rates used, long clock lines to the ADV7197
should be avoided to minimize noise pickup. Any active pull-up
termination resistors for the digital inputs should be connected
to the digital power plane and not the analog power plane.
Analog Signal Interconnect
The ADV7197 should be located as close as possible to the
output connectors thus minimizing noise pickup and reflections
due to impedance mismatch.
For optimum performance, the analog outputs should each have
a source termination resistance to ground of 75 Ω. This termination resistance should be as close as possible to the ADV7197
to minimize reflections.
Any unused inputs should be tied to ground.
V
0.1F
Y OUTPUT
AA
V
DD
10nF
DD
0.1F
10nF
300
UNUSED
INPUTS
SHOULD BE
GROUNDED
V
DD
4.7k
4.7F
6.3V
27MHz, 74.25MHz OR
74.1758MHz CLOCK
V
AA
4.7k
26, 33
DAC B
DAC C
SCL
SDA
V
R
GND
13, 52
REF
SET
Y0–Y9
HSYNC/SYNC
VSYNC/TSYNC
DV
RESET
CLKIN
ALSB
AGND
Figure 24. Circuit Layout
300
300
2.47k OR 2.82k
Pr(V) OUTPUT
Pb(U) OUTPUT
100
100
V
V
DD
5k
DD
5k
MPU BUS
REV. 0
–17–
Page 18
ADV7197
Video Output Buffer and Optional Output Filter
Output buffering is necessary in order to drive output devices,
such as HDTV monitors.
Analog Devices produces a range of suitable op amps for this
application. A suitable op amp would be the AD8057. More
information on line driver buffering circuits is given in the relevant op amp data sheets.
An optional analog reconstruction LPF might be required as an
antialias filter if the ADV7197 is connected to a device that
requires this filtering.
The Eval ADV7196/ADV7197EB evaluation board uses the
ML6426 Microlinear IC, which provides buffering and low-pass
filtering for HDTV applications.
The Eval ADV7196/ADV7197EB Rev. B and Rev. C evaluation
boards use the AD8057 as a buffer and a 6th order LPF.
The Application Note, AN-TBD, describes in detail these two
designs and should be consulted when designing external filter
and buffers for Analog Devices Video Encoders.
+5V
LPF
AD8057
To calculate the output full-scale current and voltage, the following equations should be used: