YCrCb in 2 10-Bit (4:2:2) or 3 10-Bit (4:4:4) Format
Compliant to SMPTE-293M (525p), ITU-R.BT1358
(625p), 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 Progressive Scan (EIA-770.1, EIA-770.2)
YPrPb HDTV (EIA-770.3)
RGB Levels Compliant to RS-170 and RS-343A
11-Bit and Sync (DAC A)
11-Bit DACs (DAC B, DAC C)
PROGRAMMABLE FEATURES
Internal Test Pattern Generator with Color Control
Y/C Delay ()
Gamma Correction
Individual DAC On/Off Control
54 MHz Output (2 Oversampling)
Sharpness Filter with Programmable Gain/Attenuation
Programmable Adaptive Filter Control
Undershoot Limiter
2C®
Filter
I
VBI Open Control
Macrovision Rev. 1.0 (525p)
CGMS-A (525p)
2-Wire Serial MPU Interface
Single Supply 3.3 V Operation
52-MQFP Package
APPLICATIONS
Progressive Scan/HDTV Display Devices
DVD Players
MPEG 2 at 81 MHz
Progressive Scan/HDTV Projection Systems
Digital Video Systems
High Resolution Color Graphics
Image Processing/Instrumentation
Digital Radio Modulation/Video Signal Reconstruction
GENERAL DESCRIPTION
The ADV7196A 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.
ADV7196A
FUNCTIONAL BLOCK DIAGRAM
SHARPNESS
FILTER CONTROL
Y0–Y9
Cr0–Cr9
Cb0–Cb9
CLKIN
HORIZONTAL
SYNC
VERTICAL
SYNC
BLANKING
RESET
ADAPTIVE
FILTER CONTROL
TEST PATTERN
GENERATOR
AND
DELAY
AND
GAMMA
CORRECTION
TIMING
GENERATOR
AND
CHROMA
CHROMA
4:2:2
TO
4:4:4
(SSAF)
4:2:2
TO
4:4:4
(SSAF)
CGMS
MACROVISION
LUMA
SSAF
2 INTERPOLATION
I2C MPU
PORT
The ADV7196A has three separate 10-bit-wide input ports which
accept data in 4:4:4 10-bit YCrCb or RGB or 4:2:2 10-bit YCrCb.
This data is accepted in progressive scan format at 27 MHz or
HDTV format at 74.25 MHz or 74.1758 MHz. For any other
high-definition standard but SMPTE 293M, ITU-R BT.1358,
SMPTE274M or SMPTE296M the Async Timing Mode can be
used to input data to the ADV7196A. For all standards, 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 ADV7196A outputs analog YPrPb progressive scan format
complying to EIA-770.1, EIA-770.2; YPrPb HDTV complying
to EIA-770.3; RGB complying to RS-170/RS-343A.
The ADV7196A requires a single 3.3 V power supply, an
optional external 1.235 V reference and a 27 MHz clock in
Progressive Scan Mode or a 74.25 MHz (or 74.1758 MHz)
clock in HDTV mode.
In Progressive Scan Mode, a sharpness filter with programmable
gain allows high-frequency enhancement on the luminance signal.
Programmable Adaptive Filter Control, which may be used, allows
removal of ringing on the incoming Y data. The ADV7196A
supports CGMS-A data control generation and the Macrovision
Anticopy algorithm in 525p mode.
The ADV7196A is packaged in a 52-lead MQFP package.
ADV7196A
SYNC
GENERATOR
DAC CONTROL
11-BIT+
SYNC
DAC
11-BIT
DAC
11-BIT
DAC
BLOCK
DAC A ( Y)
DAC B
DAC C
V
REF
RESET
COMP
I2C is a registered trademark of Philips Corporation.
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.
Resolution (Each DAC)11Bits
Integral Nonlinearity1.5LSB
Differential Nonlinearity0.92.0LSB
DIGITAL OUTPUTS
Output High Voltage, V
Output Low Voltage, V
OL
OH
2.4VI
Three State Leakage Current10µAV
Three State Output Capacitance4pF
DIGITAL AND CONTROL INPUTS
Input High Voltage, V
Input Low Voltage, V
Input Current, I
Input Capacitance, C
IL
IN
IN
IH
2V
ANALOG OUTPUTS
Full-Scale Output Current3.924.254.56mADAC A
Output Current Range3.924.254.56mADAC A
Full-Scale Output Current2.542.833.11mADAC B, C
Output Current Range2.392.662.93mADAC B, C
DAC-to-DAC Matching1.4%
Output Compliance Range, V
Output Impedance, R
OUT
Output Capacitance, C
OC
OUT
01.4V
VOLTAGE REFERENCE (External)
Reference Range, V
POWER REQUIREMENTS
2
I
DD
2
I
DD
2
I
DD
3, 4
I
AA
I
PLL
REF
1.1121.2351.359V
Power Supply Rejection Ratio0.01%/%
NOTES
1
Guaranteed by characterization.
2
IDD or the circuit current is the continuous current required to drive the digital core without I
3
IAA is the total current required to supply all DACs including the V
SCLOCK Frequency0400kHz
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
f
CLK
f
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
Pipeline Delay16Clock CyclesFor 4:4:4 Pixel Input Format at
3
27MHzProgressive Scan Mode
74.25MHzHDTV Mode
81MHzAsync Timing Mode and
5.01.5ns
5.02.0ns
2.0ns
4.5ns
7.0ns
4.0ns
1× Interpolation
1× Oversampling
Pipeline Delay29Clock CyclesFor 4:4:4 or 4:2:2 Pixel Input Format at
Oversampling
NOTES
1
Guaranteed by characterization.
2
Output delay measured from 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.
2×
REV. 0
–5–
Page 6
ADV7196A
CLOCK
t
t
9
10
R0
R1
R2
• • •
• • •
Rxxx
Rxxx
PIXEL INPUT
DATA
CLOCK
PIXEL INPUT
DATA
G0
B0B1B2B3Bxxx
t
t
11
G1
12
G2G3
• • •
• • •
Gxxx
Gxxx
Bxxx
t
– CLOCK HIGH TIME
9
t
– CLOCK LOW TIME
10
t
– DATA SETUP TIME
11
t
– DATA HOLD TIME
12
Figure 1. 4:4:4 RGB Input Data Format Timing Diagram
t
t
9
10
Y0
Cb0
t
t
11
Y1
Cr0
12
Y2
Cb1Cr1
• • •
• • •
• • •
Yxxx
Cbxxx
Yxxx
Crxxx
t
– CLOCK HIGH TIME
9
t
– CLOCK LOW TIME
10
t
– DATA SETUP TIME
11
t
– DATA HOLD TIME
12
Figure 2. 4:2:2 Input Data Format Timing Diagram
CLOCK
PIXEL INPUT
DATA
t
t
9
10
Y0
Cb0
Cr0Cr1Cr2Cr3Crxxx
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 3. 4:4:4 YCrCb Input Data Format Timing Diagram
to GND2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0 V to V
I
OUT
AA
NOTES
1
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
ADV7196AKS0°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
WARNING!
the ADV7196A 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.
ESD SENSITIVE DEVICE
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]
ADV7196A
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
38
37
36
35
34
33
32
31
30
29
28
27
AGND
V
REF
R
SET
COMP
DAC B
V
AA
DAC A
AGND
DAC C
SDA
SCL
HSYNC/SYNC
VSYNC/TSYNC
DV
–8–
REV. 0
Page 9
ADV7196A
PIN FUNCTION DESCRIPTIONS
PinMnemonicInput/OutputFunction
1, 12V
DD
2–11Y0–Y9I10-Bit Progressive Scan/HDTV Input Port for Y Data. Input for G data when
13, 52GNDGDigital Ground
14–23Cr0–Cr9I
24, 35V
AA
25CLKINIPixel Clock Input. Requires a 27 MHz reference clock for standard operation in
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/IHSYNC, Horizontal
SYNC
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 ADV7196A into
41ALSBITTL Address Input. This signal sets up the LSB of the MPU address. When this
42–51Cb/Cr9–0I
PDigital Power Supply
RGB data is input.
1
0-Bit Progressive Scan/HDTV Input Port for Color Data in 4:4:4 Input Mode.
In 4:2:2 mode this input port is not used. Input port for R data when RGB data
is input.
PAnalog Power Supply
Progressive Scan Mode or a 74.25 MHz (74.1758 MHz) reference clock in
HDTV mode.
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.1–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)
Default 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
1
0-Bit Progressive Scan/HDTV Input Port for Color Data. In 4:2:2 mode the
2
C filter is activated which reduces noise on the I2C interface.
2
C interface is increased.
multiplexed CrCb data must be input on these pins. Input port for B data when
RGB is input.
.
REV. 0
–9–
Page 10
ADV7196A
FUNCTIONAL DESCRIPTION
Digital Inputs
The digital inputs of the ADV7196A 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 also possible to input 3 × 10 bit RGB data in 4:4:4 to the
ADV7196A. It is recommended to input data in 4:2:2 mode to
make use of the Chroma SSAFs on the ADV7196A. As can be
seen in the figure below, this filter has a 0 dB pass band response
and prevents signal components being folded back in to the frequency band. In 4:4:4: input mode, the video data is already
interpolated by the external input device and the Chroma SSAFs
of the ADV7196A are bypassed.
ATTEN 10dBVAVG 1MKR0dB
RL –10.0dBm10dB/3.18MHz
START 100kHzSTOP 20.00MHz
RBW 10kHzVBW 300HzSWP 17.0SEC
Figure 6. ADV7196A SSAF Response to a 2.5 MHz Chroma
Sweep Using 4:2:2 Input Mode
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.1 or EIA-770.2 standards in PS mode
or EIA-770.3 in HDTV mode. R
(EIA-770.1, EIA-770.2, EIA-770.3), R
has a value of 2470 Ω
SET
has a value of 300 Ω.
LOAD
For RGB outputs conforming to RS-170/RS-343A output standards
must have a value of 2820 Ω.
R
SET
I2C Filters
A selectable internal I2C filter allows significant noise reduction
on the I
on the I
passed to the I
input bandwidth on the I
2
C interface. In setting ALSB high, the input bandwidth
2
C lines is reduced and pulses of less than 50 ns are not
2
C controller. Setting ALSB low allows greater
2
C lines.
Undershoot Limiter
A limiter can be applied to the Y data before it is applied to the DACs.
Available limit values are –1.5 IRE, –6 IRE, –11 IRE below blanking. This functionality is available in Progressive Scan mode only.
Internal Test Pattern Generator
The ADV7196A can generate a cross-hatch pattern (white lines
against a black background). Additionally, the ADV7196A 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.
Gamma Correction
Gamma correction may be performed on the luma data. The
user has the choice to use either of two different gamma curves,
A or B. At any one time one of these curves is operational if gamma
correction is enabled. Gamma correction allows the mapping of
the luma data to a user-defined function.
54 MHz Operation
In Progressive Scan mode, it is possible to operate the three output DACs at 54 MHz or 27 MHz. The ADV7196A is supplied
with a 27 MHz clock synced with the incoming data. If required, a
second stage interpolation filter interpolates the data to 54 MHz
before it is applied to the three output DACs. The second stage
interpolation filter is controlled by MR36. After applying a
Reset it is recommended to toggle this bit. Before toggling this bit,
3Ehex must be written to address 09hex.
Figure 7. Conventional Filter Response to a 2.5 MHz Chroma
Sweep Using 4:4:4 Input Mode
Control Signals
The ADV7196A 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.
–10–
PROGRAMMABLE SHARPNESS FILTER
Sharpness Filter Mode is applicable to the Y data only in Progressive Scan mode. The desired frequency response can be chosen
by the user in programming the correct value via the I
2
C. The
variation of frequency responses can be seen in the figures on the
following pages.
PROGRAMMABLE ADAPTIVE FILTER CONTROL
If the Adaptive Filter Mode is enabled (Progressive Scan mode only),
it is possible to compensate for large edge transitions on the
incoming Y data. Sensitivity and attenuation are all programmable over the I
2
C. For further information refer to Sharpness
Filter Control and Adaptive Filter Control section.
REV. 0
Page 11
ADV7196A
1
X
1
0
1
01
A1
ADDRESS
CONTROL
SET UP BY
ALSB
READ/ WRITE
CONTROL
0WRITE
1READ
Input/Output Configuration
Table I shows possible input/output configurations when using
the ADV7196A.
Table I.
Input FormatOutput
YCrCb Progressive Scan
4:2:22×
4:4:41× or 2×
YCrCb HDTV
4:2:21×
4:4:41×
RGB Progressive Scan
4:4:42×
RGB HDTV
4:4:41×
Async Timing Mode
All Inputs1×
10
0
–10
–20
–30
–40
–50
–60
–70
–80
5 10152025030
10
0
–10
–20
–30
–40
–50
–60
–70
–80
5 10152025
0
30
Figure 10. Interpolation Filter – CrCb Channels for 4:4:4
Input Data
MPU PORT DESCRIPTION
The ADV7196A 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 ADV7196A has four possible slave addresses
for both read and write operations. These are unique addresses
for each device and illustrated in Figure 11. 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 ADV7196A to Logic
Level “0” or Logic Level “1.” When ALSB is set to “0,” there is
greater input bandwidth on the I
speed data transfers on this bus. When ALSB is set to “1,” there
is reduced input bandwidth on the I
pulses of less than 50 ns will not pass into the I
2
C lines, which allows high-
2
C lines, which means that
2
C internal control-
ler. This mode is recommended for noisy systems.
Figure 8. 2× Interpolation Filter – Y-Channel
10
0
–10
–20
–30
–40
–50
–60
–70
–80
0
5 10152025
30
Figure 9. Interpolation Filter – CrCb Channels for 4:2:2
Input Data
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
Figure 11. Slave Address
known as an acknowledge bit. All other devices withdraw from
REV. 0
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.
–11–
Page 12
ADV7196A
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 ADV7196A 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 autoincrement 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, then these cause an immediate jump to the idle condition. During a given SCL high period
the user should only issue 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 ADV7196A will
not issue an acknowledge and will return to the idle condition. If
in autoincrement mode, the user exceeds the highest subaddress
then 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 noacknowledge. This indicates the end of a read. A no-acknowledge
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 ADV7196A and the part will return to the
idle condition.
SDATA
SCLOCK
1–78 9 1–7891–78 9 P
S
START ADDR R/W AC K
SUBADDRESS
ACKDATA
ACK
STOP
Figure 12. Bus Data Transfer
Figure 12 illustrates an example of data transfer for a read
sequence and the Start and Stop conditions.
Figure 13 shows bus write and read sequences.
REGISTER ACCESSES
The MPU can write to or read from all of the registers of the
ADV7196A except the Subaddress Registers, which are write-only
registers. The Subaddress Register determines which register the
next read or write operation accesses.
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.
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 13. Write and Read Sequence
DATAP
A(M)
–12–
REV. 0
Page 13
ADV7196A
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
Figure 16 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 for the ADV7196A.
If EIA-770.2 (MR01–00 = “00”) is selected the output levels will
be: 0 mV for blanking level, 700 mV for peak white for the Y
channel, ±350 mV for Pr, Pb outputs and –300 mV for Sync. Sync
insertion on the Pr, Pb channels is optional.
If EIA-770.1 (MR01–00 = “01”) is selected the output levels will
be: 0 mV for blanking level, 714 mV for peak white for the Y channel, ± 350 mV for Pr, Pb outputs and –286 mV for Sync. Optional
sync insertion on the Pr, Pb channels is not possible.
If Full I/P Range (MR01–00 = “10”) is selected the output levels
will be 0 mV for blanking level, 700 mV for peak white for the Y
channel, ±350 mV for Pr, Pb outputs and –300 mV for Sync. Sync
insertion on the Pr, Pb channels is optional. This mode is used
for RS-170, RS-343A standard output compatibility. Refer to
Appendix for output level plots.
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 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 control signals
have to be programmed by the user.
Figure 17 shows an example of how to program the ADV7196A to
accept a different high definition standard but SMPTE293M,
SMPTE274M, SMPTE296M or ITU-R.BT1358 standard.
Input Standard (MR04)
Select between 525p progressive scan input or 625p progressive
scan input.
Reserved (MR05)
A “0” must be written to this bit.
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 I to P Converters which use
an active low blanking signal output.
Macrovision (MR07)
To enable Macrovision this bit must be set to “1.”
MR07
MACROVISION
MR07
0DISABLED
1ENABLED
DV POLARITY
MR06
0ACTIVE HIGH
1ACTIVE LOW
MR05
ZERO MUST
BE WRITTEN
TO THIS BIT
INPUT STANDARD
MR04
0525P
1625P
Figure 16. Mode Register 0
MR03MR00
MR02MR04MR05MR06
INPUT CONTROL SIGNALS
MR03 MR02
0
0
1
0
0
1
1
1
OUTPUT STANDARD SELECTION
MR01 MR00
00EIA-770.2
0 1EIA-770.1
10FULL I/P RANGE
11RESERVED
MR01
HSYNC\VSYNC/DV
EAV/SAV
TSYNC/SYND/DV
RESERVED
–14–
REV. 0
Page 15
Table II must be followed when programming the control signals in Async Timing Mode.
Table II. 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
CLK
SYNC
TSYNC
DV SET
MR06 = 1
ADV7196A
PROGRAMMABLE
INPUT TIMING
81
66
AB CD
66
2431920
ACTIVE VIDEOHORIZONTAL SYNC
E
ANALOG
OUTPUT
Figure 17. Async Timing Mode—Programming Input Control Signals for SMPTE295M Compatibility
VIDEO
OUTPUT
HSYNC
VSYNC
DV
525
112134243
Figure 18. DV Input Control Signal in Relation to Video Output Signal
Figure 20 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 ADV7196A
is blanked such that a black screen is output from the DACs. When
this bit is set to “1,” pixel data is accepted at the input pins and
the ADV7196A outputs the standard set in “Output Standard
Selection” (MR01–00). This bit 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 at 4:4:4 format at
27 MHz.
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
ADV7196A (for example, in SMPTE293M 11 horizontal and 11
vertical white lines, four pixels wide are displayed against a black
background). 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 ADV7196A.
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 13 to 42 of each frame can be used for VBI
when SMPTE293M standard is used, or Lines 6 to 43 when
ITU-R.BT1358 standard is used
.
Undershoot Limiter (MR15–MR16)
This control limits the Y signal to a programmable level in the active
video region.
Available limit levels are –1.5 IRE, –6 IRE, –11 IRE.
Note that this facility is only available when Interpolation is enabled
(MR36 = “1”)
.
Sharpness Filter (MR17)
This control bit enables or disables the Sharpness Filter mode. This
bit must be set to “1” for any values programmed into the Filter
Gain 1 Register to take effect. It must also be set to “1” when
Adaptive Filter mode is used.
Refer to Sharpness Filter control and Adaptive Filter control section.
100IRE
0IRE
–40IRE
–6IRE
Figure 19. Undershoot Limiter, Programmed to –6 IRE
Figure 22 shows the various operations under the control of Mode
Register 2.
MR2 BIT DESCRIPTION
Y Delay (MR20–MR22)
This control bit delays the Y signal with respect to the falling edge
of the horizontal sync signal by up to four pixel clock cycles.
Figure 21 demonstrates this facility
.
Color Delay (MR23–MR25)
This control allows delay of the color signals with respect to the
falling edge of the horizontal sync signal by up to four pixel clock
cycles. Figure 21 demonstrates this facility
.
CGMS Enable (MR26)
When this bit is set to “1,” CGMS data is inserted on Line 41 in
525p mode. The CGMS conforms: to CGMS-A EIA-J CPR1204-1,
Transfer Method of Video ID information using vertical blanking
interval (525p System), March 1998 and IEC61880, 1998, video
systems (525/60)—video and accompanied data using the vertical
blanking interval—analogue interface.
MR27
The CGMS data bits are programmed into the CGMS Data
Registers 0–2. For more information refer to CGMS Data
Registers section
.
CGMS CRC (MR27)
This bit enables the automatic Cyclic Redundancy Check when
CGMS is enabled.
Figure 23 shows the various operations under the control of Mode
Register 3.
MR3 BIT DESCRIPTION
HDTV Enable (MR30)
When this bit is set to “1” the ADV7196A reverts to HDTV mode
(refer to HDTV mode section). When set to “0” the ADV7196A
is set up in Progressive Scan Mode (PS Mode)
.
Reserved (MR31–MR32)
A “0” must be written to these bits
.
DAC A Control (MR33)
Setting this bit to “1” enables DAC A, otherwise this DAC is
powered down
.
DAC B Control (MR34)
Setting this bit to “1” enables DAC B, otherwise this DAC is
powered down
.
DAC C Control (MR35)
Setting this bit to “1” enables DAC C, otherwise this DAC is
powered down
.
Interpolation (MR36)
This bit enables the second stage interpolation filters. When this
bit is enabled (MR36 = “1”). data is send at 54 MHz to the DAC
output stage. After Reset it is recommended to toggle this bit.
Before toggling this bit 3Ehex must be written to address 09hex
to guarantee correct operations
Figure 25 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 ADV7196A 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 facility is only available when Output Standard
Selection has been set to EIA-770.2 (MR01–00 = “00”) or Full
Input Range (MR01–00 = “10”).
This control is not available in RGB mode
.
MR37
MR37
ZERO MUST BE
WRITTEN TO
THIS BIT
INTERPOLATION
MR36
0DISABLE
1ENABLE
MR47
MR35
DAC B CONTROL
MR34
0POWER-DOWN
1NORMAL
DAC C CONTROL
MR35
0POWER-DOWN
1NORMAL
MR33
DAC A CONTROL
MR33
0POWER-DOWN
1NORMAL
Figure 23. Mode Register 3
MR45MR43
MR47–MR41
ZERO MUST BE
WRITTEN TO
THESE REGISTERS
Figure 24. Model Register 4
MR32MR34MR36
MR32
ZERO MUST BE
WRITTEN TO
THIS BIT
MR42MR44MR46
MR31
MR30
0DISABLE
1ENABLE
MR31
ZERO MUST BE
WRITTEN TO
THIS BIT
MR41
TIMING RESET
MR40
MR30
HDTV ENABLE
MR40
–18–
REV. 0
Page 19
ADV7196A
CY7
CY6CY5CY4CY3CY2CY1CY0
CY7–CY0
COLOR Y VALUE
CCR7
CCR6CCR5CCR4CCR3CCR2CCR1CCR0
CCR7–CCR0
COLOR CR VALUE
CCB7
CCB6CCB5CCB4CCB3CCB2CCB1CCB0
CCB7 –CCB0
COLOR CB VALUE
MR57MR56MR55
ADAPTIVE MODE
CONTROL
MR56
0 MODE A
1 MODE B
ADAPTIVE FILTER
CONTROL
MR57
0DISABLE
1ENABLE
GAMMA
CORRECTION
MR55
0 DISABLE
1 ENABLE
MR54MR53MR52MR51MR50
GAMMA CURVE
MR54
0 CURVE A
1 CURVE B
COLOR OUTPUT
MR53
0 DAC B = Pr
1 DAC C = Pr
Figure 25. Mode Register 5
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. Table III demonstrates this in more detail. This control
is also available in RGB mode
.
Table III. Relationship Between Color Input Pixel Port,
MR53 and DAC B, DAC C Outputs
In 4:4:4 Input Mod
e
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 Mod
e
Color DataAnalog Output
Input on PinsMR53Signal
Cr9–00 or 1Not Operational
Cb/Cr9–00DAC C (Pb)
Cb/Cr9–01DAC C (Pr)
Gamma Curve (MR54)
This bit selects which of the two programmable gamma curves is to
be used. When setting MR54 to “0,” the gamma correction curve
selected is Curve A. Otherwise Curve B is selected. Each curve
will have to be programmed by the user as explained in the Gamma
Correction Registers section
.
Gamma Correction (MR55)
To enable Gamma Correction and therefore activate the gamma
curve programmed by the user, this bit must be set to “1.” Otherwise
the programmable Gamma Correction facility is bypassed. Programming of the gamma correction curves is explained in the
Gamma Correction Registers section
.
Adaptive Mode Control (MR56)
For this control to be effective, Adaptive Filter Control must be
enabled (MR57 = “1”) as well as the Sharpness Filter (MR17 =
“1”). For filter plots refer to Sharpness Filter Control and
Adaptive Filter Control section
.
MR52
0DISABLE
1ENABLE
SWAP
SYNC ON PrPb
MR51
0DISABLE
1ENABLE
RGB MODE
MR50
RESERVED FOR
REVISION CODE
Adaptive Filter Control (MR57)
This bit enables the Adaptive Filter Control when set to “1.”
Sharpness Filter must be enabled as well (MR17 = “1”). The
Adaptive Filter Controls is explained in more detail under
Sharpness Filter Control and Adaptive Filter Control section
COLOR Y
CY (CY7–CY0)
(Address (SR4–SR0) = 06H
Figure 26. Color Y Register
COLOR CR
CCR (CCR7–CCR0)
(Address (SR4–SR0) = 07H
Figure 27. Color Cr Register
COLOR CB
CCB (CCB7–CCB0)
(Address (SR4–SR0) = 08H)
Figure 28. 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 and are
available in PS mode and HDTV mode.
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.
.
REV. 0
–19–
Page 20
ADV7196A
The Table IV shows sample color values to be programmed into
the color registers when Output Standard Selection is set to
EIA-770.2 (MR01–00 = “00”)
.
Table IV. Sample Color Values for EIA 770.2 Output
Standard Selectio
These bits are used to program the gain A value, which varies
from response –8 to response +7 and are applied to Filter A.
Filter Gain B (FG4–FG7)
These bits are used to program the gain B value, which varies
from response –8 to response +7 and are applied to Filter B.
Refer to Sharpness Filter Control and Adaptive Filter Control
section for more detail.
The response of the curve is programmed at seven predefined
locations. In changing the values at these locations the gamma
curve can be modified. Between these points linear interpolation
is used to generate intermediate values. Considering the curve to
have a total length of 256 points, the seven locations are at: 32,
64, 96, 128, 160, 192, 224.
Location 0, 16, 240, and 255 are fixed and can not be changed.
For the length of 16 to 240 the gamma correction curve has to be
calculated as below:
γ
y = x
where:
y = gamma corrected output.
x = linear input signal.
γ = gamma power factor.
To program the gamma correction registers, the seven values for
y have to be calculated using the following formula:
y
n
= [
/(240 – 16)]γ ⫻ (240) – 16) + 16
x(n–16)
where:
x
= Value for x along x-axis at points:
(n–16)
n= 32, 64, 96, 128, 160, 192, or 224.
= Value for y along the y-axis, which has to be written into
y
n
the gamma correction register.
Example:
y
= [(16/22
32
= [(48/22
y
64
y
= [(80/22
96
y
= [(112/22
128
*Rounded to the nearest integer.
4)0
.5 ⫻ 2 24] + 16 = 76*
4)0
.5 ⫻ 224] + 16 =120*
4)0
.5 ⫻ 224] + 16 = 150*
4)0
.5⫻ 224] + 16 = 147*
The above will result in a gamma curve shown below, assuming a
ramp signal as an input.
The Gamma Correction Registers are fourteen 8-bit-wide register.
They are used to program the gamma correction Curves A and B.
Generally, gamma correction is applied to compensate for the
nonlinear relationship between signal input and brightness level
output (as perceived on the CRT). It can also be applied wherever
nonlinear processing is used.
Gamma correction uses the function:
where γ = gamma power factor.
Gamma correction is performed on the luma data only.
The user has the choice to use two different curves, Curve A or
Curve B. At any one time only one of these curves can be used.
Signal
= (Signal
OUT
IN
) γ
Figure 35. Signal Input (Ramp) and Signal Output for
Gamma 0.5
REV. 0
–21–
Page 22
ADV7196A
300
GAMMA CORRECTION BLOCK OUTPUT
TO A RAMP INPUT FOR VARIOUS GAMMA VALUES
250
200
150
100
SIGNAL INPUT
GAMMA-CORRECTED AMPLITUDE
50
0
050100150200250
SIGNAL OUTPUTS
0.3
0.5
1.5
LOCATION
1.8
Figure 36. Signal Input (Ramp) and Selectable Gamma
Output Curves
The gamma curves shown above are examples only, any user
defined curve is acceptable in the range of 16–240
.
SHARPNESS FILTER CONTROL AND ADAPTIVE
FILTER CONTROL
There are three Filter modes available on the ADV7196A: one
Sharpness Filter mode and two Adaptive Filter modes.
SHARPNESS FILTER MODE
To enhance or attenuate the Y signal in the frequency ranges shown
in Figure 37, the following register settings must be used:
Sharpness Filter must be enabled (MR17 = “1”) and Adaptive
Filter Control must be disabled (MR57 = “0”).
To select one of the 256 individual responses, the according gain
values for each filter, which range from –8 to +7, must be programmed into the Filter Gain register
.
ADAPTIVE FILTER MODE
The Adaptive Filter Threshold A, B, C registers, the Adaptive
Filter Gain 1, 2, 3 registers and the Filter Gain register are used
in Adaptive Filter mode. To activate the Adaptive Filter control,
Sharpness Filter must be enabled (MR17 = “1”) and Adaptive
Filter Control must be enabled (MR57 = “1”).
The derivative of the incoming signal is compared to the three programmable threshold values: Adaptive Filter Threshold A, B, C.
The edges can then be attenuated with the settings in Adaptive
Filter Gain 1, 2, 3 registers and Filter Gain register.
According to the settings of the Adaptive Mode control (MR56),
there are two Adaptive Filter Modes available:
1. Mode A: is used when Adaptive Filter Mode (MR56) is set
to “0.” In this case, Filter B (LPF) will be used in the adaptive
filter block. Also, only the programmed values for Gain B in
the Filter Gain, Adaptive Filter Gain 1, 2, 3 are applied when
needed. The Gain A values are fixed and can not be changed.
2. Mode B: is used when Adaptive Filter Mode (MR56) is set to
“1.” In this mode a cascade of Filter A and Filter B is used. B oth
settings for Gain A and Gain B in the Filter Gain, Adaptive
Filter Gain 1, 2, 3 become active when needed
.
INPUT SIGNAL: STEP
SHARPNESS AND ADAPTIVE FILTER CONTROL MODE
1.5
1.4
1.3
1.2
1.1
1.0
0.9
MAGNITUDE
0.8
0.7
0.6
0.5
02468101214
1.5
1.4
1.3
1.2
1.1
1.0
0.9
MAGNITUDE
0.8
0.7
0.6
0.5
02468101214
1.6
1.5
1.4
1.3
1.2
1.1
MAGNITUDE RESPONSE – Linear Scale
1.0
02468101214
FREQUENCY RESPONSE IN SHARPNESS FILTER MODE
= 3 and KB = 7
WITH K
A
7
6
5
4
3
2
1
0
–1
–2
–3
–4
–5
–6
–7
–8
FREQUENCY – MHz
FREQUENCY – MHz
FREQUENCY – MHz
7
6
5
4
3
2
1
0
–1
–2
–3
–4
–5
–6
–7
–8
Figure 37. Sharpness and Adaptive Filter Control Mode
–22–
REV. 0
Page 23
ADV7196A
ADAPTIVE FILTER GAIN 1
AFG1 (AFG1)7–0
(Address (SR5–SR0) = 22H)
This 8-bit-wide register is used to program the gain applied to signals
which lie above Adaptive Filter Threshold A but are smaller than
Adaptive Filter Threshold B.
Gain A and Gain B values vary from –8 to +7. The individual
responses are shown in the figures below.
Settings for (AFG1)3–0 have no effect unless Adaptive Mode Control is set to Mode B (MR56 = “1”).
AFG17 AFG16AFG15AFG14AFG13AFG12AFG11AFG10
AFG17–AFG14
GAIN B
AFG13–AFG10
GAIN A
Figure 38. Adaptive Filter Gain 1 Register
ADAPTIVE FILTER GAIN 2
AFG2 (AFG2)7–0
(Address (SR5–SR0) = 23H)
This 8-bit-wide register is used to program the gain applied
to signals which lie above Adaptive Filter Threshold B but are
smaller than Adaptive Filter Threshold C.
Gain A and Gain B values vary from –8 to +7. The individual
responses are shown in the figures below.
Settings for (AFG2)3–0 have no effect unless Adaptive Mode Control is set to Mode B (MR56 = “1”).
AFG37 AFG36AFG35AFG34AFG33AFG32AFG31AFG30
AFG37–AFG34
GAIN B
AFG33–AFG30
GAIN A
Figure 40. Adaptive Filter Gain 3 Register
ADAPTIVE FILTER THRESHOLD A
AFTA (AFTA)7–0
(Address (SR5–SR0) = 25H)
This 8-bit-wide register is used to program the threshold value for
small edges. The recommended programmable threshold range is
from 16–235, although any value in the range of 0–255 can be used.
AFTA7 AFTA6AFTA5AFTA4AFTA3AFTA2AFTA1AFTA0
AFTA7–AFTA0
ADAPTIVE FILTER
THRESHOLD A
Figure 41. Adaptive Filter Threshold A Register
ADAPTIVE FILTER THRESHOLD B
AFTB (AFTB)7–0
(Address (SR5–SR0) = 26H)
This 8-bit-wide register is used to program the threshold value for
medium edges and has priority over Adaptive Threshold A. The
recommended programmable threshold range is from 16–235,
although any value in the range of 0–255 can be used.
AFG27 AFG26AFG25AFG24AFG23AFG22AFG21AFG20
AFG27–AFG24
GAIN B
AFG23–AFG20
GAIN A
Figure 39. Adaptive Filter Gain 2 Register
ADAPTIVE FILTER GAIN 3
AFG3 (AFG3)7–0
(Address (SR5–SR0) = 24H)
This 8-bit-wide register is used to program the gain applied to signals
which lie above Adaptive Filter Threshold C
Gain A and Gain B values vary from –8 to +7. The individual
responses are shown in the figures below.
Settings for (AFG3)3–0 have no effect unless Adaptive Mode Control is set to Mode B (MR56 = “1”).
The gain applied to signals which lie below Adaptive Threshold A
are programmed in the Filter Gain register.
At any one time only one of the following registers is active: AFG1,
AFG2, AFG3, FG. The gain values can be preprogrammed and
become active whenever the threshold conditions for the according register is met. To program the Adaptive Filter Gain registers
the source register settings are used as for the Filter Gain register
.
AFTB7 AFTB6AFTB5AFTB4AFTB3AFTB2AFTB1AFTB0
AFTB7–AFTB0
ADAPTIVE FILTER
THRESHOLD B
Figure 42. Adaptive Filter Threshold B Register
ADAPTIVE FILTER THRESHOLD C
AFTC (AFTC)7–0
(Address (SR5–SR0) = 27H)
This 8-bit-wide register is used to program the threshold value
for large edges and has priority over Adaptive Threshold A and B.
The recommended programmable threshold range is from 16–235,
although any value in the range of 0–255 can be used.
AFTC7 AFTC6AFTC5AFTC4AFTC3AFTC2AFTC1AFTC0
AFTC7–AFTC0
ADAPTIVE FILTER
THRESHOLD C
Figure 43. Adaptive Filter Threshold C Register
REV. 0
–23–
Page 24
ADV7196A
SHARPNESS FILTER AND ADAPTIVE FILTER
APPLICATION EXAMPLES
Sharpness Filter Application
The sharpness filter can be used to enhance or attenuate the Y
video output signal.
The following register settings were used to achieve the results
shown in the figures below:
Input data was generated by an external signal source
Figure 44. Sharpness Filter Control with Different Gain Settings for Filter Gain
TRIG’D
CH1
(A)
(B)
(C)
TEK RUN
R1
R2
T
T
1
CH1
500mVM 4.00s
REF2 500mV 4.00s9.99976ms
T
ALL FIELDS
(b)
TRIG’D
(D)
(E)
(F)
CH1
–24–
REV. 0
Page 25
ADV7196A
T
In toggling MR17 (Sharpness Filter Enable/Disable) and setting
the Filter Gain register value to 99hex it can be seen that the line
contours of the cross hatch pattern change their sharpness
.
Adaptive Filter Control Application
The figure below shows a typical signal to be processed by the
Adaptive Filter Control block.
ALL FIELDS
12.8222ms
TRIG’D
CH4
TEK RUN
T
4
T
100mV
M 100ns
T
CH4
Figure 45. Input Signal to Adaptive Filter Control
The following register settings where used to obtain the
results shown in the figure below, i.e., to remove the ringing
on the Y signal:
Input data was generated by an external signal source.
The figure below shows the output signal when changing the Adaptive Filter mode to Mode B (MR56 = “1”).
ALL FIELDS
12.8222ms
TRIG’D
CH4
TEK RUN
T
4
T
100mV
M 100ns
T
CH4
Figure 46. Output Signal from Adaptive Filter Control
The Adaptive Filter control can also be demonstrated using the
internally generated crosshatch test pattern and toggling the Adaptive Filter Control bit (MR57) using the following register settings:
Figure 50 shows the various operations under the control of Mode
Register 0.
HEXMR0 BIT DESCRIPTION
Output Standard Selection (MR00–MR01)
These bits are used to select the output levels from the ADV7196A.
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 data
is input with embedded EAV/SAV code 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.
Figure 48 shows an example of how to program the ADV7196A
to accept a different high definition standard but SMPTE293M,
SMPTE274M, SMPTE296M or ITU-R.BT1358 standard
.
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
.
Reserved (MR07)
A “0” must be written to this bit
.
Table IX. Truth Table
SYNC TSYNCDV
1 –> 000 or 150% Point of Falling Edge of
Tri-Level Horizontal Signal, A
00 –> 10 or 125% Point of Rising Edge of
Tri-Level Horizontal Signal, B
0 –> 10 or 1050% Point of Falling Edge of
Tri-Level Horizontal Signal, C
10 or 10 –> 150% Start of Active Video, D
10 or 11 –> 050% End of Active Video, E
CLK
SYNC
TSYNC
DV SET
MR06 = ‘1’
HORIZONTAL SYNC
81
66
AB CDE
243
ACTIVE VIDEO
192066
PROGRAMMABLE
INPUT TIMING
ANALOG
OUTPUT
Figure 48. Async Timing Mode—Programming Input Control Signals for SMPTE295M Compatibility
VIDEO
OUTPUT
HSYNC
VSYNC
DV
525
1
7
12
13
43
42
Figure 49. DV Input Control Signal in Relation to Video Output Signal
Figure 51 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 ADV7196A
is blanked such that a black screen is output from the DACs. When
this bit is set to “1,” pixel data is accepted at the input pins and
the ADV7196A outputs to the standard set in “Output Standard
Selection” (MR01–00). This bit also must be set to “1” to enable
output pattern signals
.
Input Format (MR11)
It is possible to input data in 4:2:2 format or in 4:4:4
HDTV format
.
Test Pattern Enable (MR12)
Enables or disables the internal test pattern generator
MR07
MR07
ZERO MUST BE
WRITTEN TO
THIS BIT
MR06
0ACTIVE HIGH
1ACTIVE LOW
DV POLARITY
INPUT STANDARD
MR05
01080I
1720P
.
MR05
MR04
ZERO MUST BE
WRITTEN TO
THIS BIT
Test Pattern Hatch/Frame (MR13)
If this bit is set to “0,” a cross-hatch test pattern is output from
the ADV7196A. 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 ADV7196A.
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 53 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 52 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 52 demonstrates this facility.
Figure 56 shows the various operations under the control of Mode
Register 5.
MR5 BIT DESCRIPTION
Reserved (MR50)
These bit is reserved for the revision code
.
RGB Mode (MR51)
When RGB mode is enabled (MR51 = “1”) the ADV7196A 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. If required 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. Table X demonstrates this in more detail.
Reserved (MR54–MR57)
“0” must be written to these bits.
Table X. Relationship Between Input Pixel Port, MR53
and DAC B, DAC C Outputs
In 4:4:4 Input Mod
e
Color DataAnalog Output
Input on PinsMR53Signal
Cr9–00DAC B
Cb/Cr9–00DAC C
Cr9–01DAC C
Cb/Cr9–01DAC
In 4:2:2 Input Mod
e
B
Color DataAnalog Output
Input on PinsMR53Signal
Cr9–00 or 1Not Operational
Cb/Cr9–00DAC C (Pb)
Cb/Cr9–01DAC C (Pr)
MR47
MR57
MR45MR43
MR55MR53
MR57–MR54
ZERO MUST BE
WRITTEN TO
THESE BITS
MR47–MR41
ZERO MUST BE
WRITTEN TO
THESE BITS
Figure 55. Mode Register 4
SYNC ON PrPb
MR52
0DISABLE
1ENABLE
COLOR OUTPUT
SWAP
MR53
0DAC B = Pr
1DAC C = Pr
Figure 56. Mode Register 5
MR42MR44MR46
MR52MR56
MR51
0DISABLE
1ENABLE
MR41
MR51
RGB MODE
MR40
TIMING RESET
MR40
MR50MR54
MR50
RESERVED FOR
REVISION CODE
REV. 0
–29–
Page 30
ADV7196A
DAC TERMINATION AND LAYOUT CONSIDERATIONS
Voltage Reference
The ADV7196A contains an on-board voltage reference. The
V
pin is normally terminated to VAA through a 0.1 µF capacitor
REF
when the internal
can be used with an external
Resistor
is connected between the R
RSET
is used. Alternatively, the ADV7196A
VREF
VREF
(AD589).
SET
pin and AGND and
is used to control the full-scale output current and therefore the
DAC voltage output levels. For full-scale output
a value of 2470 Ω.
range of 0–1023 is selected the value of
has a value of 300 Ω. When an input
RLOAD
must be 2820 Ω.
RSET
RSET
must have
The ADV7196A 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.
Suitable op amps are the AD8009, AD8002, AD8001, or AD8057.
To calculate the output full-scale current and voltage the following equations should be used:
V
OUT = IOUT ⫻ RLOAD
I
OUT
=[V
REF
⫻ k]/R
SE
T
where:
k = 5.66 [for input ranges 64–940, 64–960, output standards
EIA770.1–3]
k = 6.46 [for input ranges 0–1023, output standard RS–170/343A]
V
= 1.235 V
REF
POWER SUPPLY DECOUPLING
FOR EACH POWER SUPPLY GROUP
PC BOARD LAYOUT CONSIDERATIONS
The ADV7196A is optimally designed for lowest noise performance,
both radiated and conducted noise. To complement the excellent
noise performance of the ADV7196A, it is imperative that great
care be given to the PC board layout.
The layout should be optimized for lowest noise on the ADV7196A
power and ground lines. This can be achieved by shielding the
digital inputs and providing good decoupling. The lead length
between groups of
and AGND and VDD and DGND pins
VAA
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
a analog power plane (V
the DACs and all associated circuitry, and the
). The analog power plane should contain
AA
VREF
) and
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.
V
10nF
0.1F
AA
UNUSED
INPUTS
SHOULD BE
GROUNDED
V
DD
4.7k
4.7F
6.3V
27MHz, 74.25MHz OR
74.1758MHz CLOCK
V
DD
4.7k
V
AA
0.1F
COMP
Cb/Cr0–Cb/Cr9
Cr0–Cr9
Y0–Y9
ADV7196A
HSYNC/SYNC
VSYNC/TSYNC
DV
RESET
CLKIN
ALSB
AGND
24, 351, 12
V
AA
26, 33
V
DD
DAC A
DAC B
DAC C
SCL
SDA
V
R
GND
13, 52
REF
SET
10nF
300
300
300
100
100
2.47k OR
2.82k
0.1F
Y OUTPUT
Pr (V) OUTPUT
Pb (U) OUTPUT
V
DD
V
DD
5k
V
DD
5k
MPU BUS
Figure 57. Circuit Layout
–30–
REV. 0
Page 31
ADV7196A
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
.
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
or VDD pins should be indi-
VAA
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.
DAC A
LPF
AD8057
Due to the high clock rates used, long clock lines to the ADV7196A
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 ADV7196A 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 ADV7196A
to minimize reflections.
Any unused inputs should be tied to ground
.
Video Output Buffer and Optional Output Filter
Output buffering is necessary in order to drive output devices
.
such as progressive scan or HDTV monitors
.
Analog Devices produces a range of suitable op amps for this
application. Suitable op amps would be the AD8009, AD8002,
AD8001, or AD8057. More information on line driver buffering
circuits is given in the relevant op amp data sheets.
+5V
0.1F10F
75 COAX
75
75
.
,
ADV7196A
DAC B
DAC C
0.1F10F
–5V
+5V
LPF
AD8057
LPF
AD8057
0.1F10F
75 COAX
75
0.1F10F
+5V
+5V
0.1F10F
75 COAX
75
0.1F10F
–5V
Figure 58. Output Buffer and Optional Filter
PROGRESSIVE
SCAN
MONITOR
75
75
REV. 0
–31–
Page 32
ADV7196A
An optional analog reconstruction LPF might be required as an
antialias filter if the ADV7196A is connected to a device that
requires this filtering.
The Eval ADV7196A/7EB evaluation board uses the ML6426
Microlinear IC, which provides buffering and low-pass filtering
for progressive scan applications.
The Eval ADV7196A/7EB Rev B and Rev C evaluation board
uses the AD8057 as a buffer and a 6th order LPF.
6.8H
10H
2.2H
600R
6.8pF
22pF
AD8057
600R18pF
Figure 59. Example for Output Filter: PS Mode/
2x Oversampling
498
63n
398
54n
298
45n
198
36n
97.6
27n
0
18n
–102
9n
–202
0n
–10
–15
–20
–25
–30
–35
0
–5
GROUP DELAY (SEC)
1M
23456789
MAGNITUDE (dB)
PHASE (DEG)
FREQUENCY – Hz
10M
234
Figure 60. Frequency Response for Filter Current in
Above Figure
Figure 61. EIA-770.2 Standard Output Signals (525p)
OUTPUT VOLTAGEINPUT CODEEIA-770.1, STANDARD FOR Y
940
960
512
ACTIVE
VIDEO
64
EIA-770.1, STANDARD FORPr/Pb
ACTIVE
VIDEO
64
782mV
714mV
0mV
–286mV
OUTPUT VOLTAGE
350mV
0mV
–300mV
–350mV
Figure 62. EIA-770.1 Standard Output Signals (525p)
–300mV
64
–350mV
Figure 63. EIA-770.3 Standard Output Signals (1080i, 720p)
OUTPUT VOLTAGEINPUT CODEY-OUTPUT LEVELS FOR FULL I/P SECTIONS
1023
INPUT CODE
1023
64
PrPb-OUTPUT LEVELS FOR FULL I/P SECTIONS
64
ACTIVE
VIDEO
ACTIVE
VIDEO
700mV
0mV
–300mV
OUTPUT VOLTAGE
700mV
0mV
–300mV
Figure 64. Output Levels for Full I/P Selection
REV. 0
–33–
Page 34
ADV7196A
ANALOG WAVEFORM
SMPTE293M
INPUT PIXELS
SAMPLE NUMBER
SMPTE274M
ANALOG WAVEFORM
INPUT PIXELS
SAMPLE NUMBER
F
F
4 CLOCK
719
ANCILLARY DATA
(OPTIONAL)
0
00F
0
V
H*
0HDATUM
DIGITAL HORIZONTAL BLANKING
SAV CODEEAV CODE
0
0
F
F
0
0
V
F
H*
4 CLOCK
853799857 0719736723
FVH* = FVH AND PARITY BITS
SAV: LINE 43 – 525 = 200H
SAV: LINE 1 – 42 = 2AC
EAV: LINE 43 – 525 = 274H
EAV: LINE 1 – 42 = 2D8
DIGITAL
ACTIVE LINE
C
C
Y
b
r
Y
Figure 65. EAV/SAV Input Data Timing Diagram—SMPTE293M
0HDATUM
DIGITAL HORIZONTAL BLANKING
4T
EAV CODE
FF0
00F
0
V
H*
4 CLOCK
21122116
272T
ANCILLARY DATA (OPTIONAL)
OR BLANKING CODE
0
2156
2199
4401881922111
4T
SAV CODE
FF0
0
0
0
4 CLOCK
FVH* = FVH AND PARITY BITS
SAV/EAV: LINE 1–562: F = 0
SAV/EAV: LINE 563–1125: F = 1
SAV/EAV: LINE 1–20; 561–583; 1124–1125: V = 1
SAV/EAV: LINE 21–560; 584–1123: V = 0
C
F
b
V
H*
1920T
DIGITAL
ACTIVE LINE
C
Y
r
C
Y
r
C
Y
r
Figure 66. EAV/SAV Input Data Timing Diagram—SMPTE274M
–34–
REV. 0
Page 35
ADV7196A
ACTIVE VIDEO
5225235245251256
Figure 67. SMPTE293M (525p)
ACTIVE VIDEO
6226236246251245
Figure 68. ITU-R. BT1358 (625p)
VERTICAL BLANKING INTERVAL
7477487497501234
VERTICAL BLANK
7
VERTICAL BLANK
6
5
ACTIVE VIDEO
9
12
8
8
7
6
13
1011
9
10
1112
7
8
25
12424344
13434445
DISPLAY
2627
744745
ACTIVE VIDEO
FIELD 1
FIELD 2
Figure 69. SMPTE296M (720p)
VERTICAL BLANKING INTERVAL
1124 1125123456
VERTICAL BLANKING INTERVAL
561562563564565566567568
Figure 70. SMPT274M (1080i)
569
DISPLAY
583
21
22
585
560
1123
20
DISPLAY
584
7
8
570
REV. 0
–35–
Page 36
ADV7196A
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
52-Lead Plastic Quad Flatpack (MQFP)
(S-52)
0.037 (0.95)
0.026 (0.65)
SEATING
PLANE
0.012 (0.30)
0.006 (0.15)
0.008 (0.20)
0.006 (0.15)
0.094 (2.39)
0.084 (2.13)
0.082 (2.09)
0.078 (1.97)
1
13
14
0.557 (14.15)
0.537 (13.65)
0.398 (10.11)
0.390 (9.91)
PIN 1
TOP VIEW
(PINS DOWN)
0.0256
(0.65)
BSC
4052
26
0.014 (0.35)
0.010 (0.25)
39
27
0.390 (9.91)
0.398 (10.11)
0.557 (14.15)
0.537 (13.65)
C02154–1.5–4/01(0)
–36–
PRINTED IN U.S.A.
REV. 0
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.