Composite NTSC M/N
Composite PAL M/N/B/D/G/H/I, PAL-60
SMPTE 170M NTSC Compatible Composite Video
ITU-R BT.470 PAL Compatible Composite Video
S-Video (Y/C)
EuroScart RGB
Component YPrPb (Betacam, MII, SMPTE/EBU N10)
Macrovision Rev 7.1.L1
CGMS/WSS
Closed Captioning
GENERAL FEATURES
Simultaneous SD and HD Inputs and Outputs
Oversampling up to 216 MHz
Programmable DAC Gain Control
Sync Outputs in All Modes
Purchase of licensed I2C components of Analog Devices or one of its
sublicensed Associated Companies conveys a license for the purchaser under
the Philips I2C Patent Rights to use these components in an I2C system,
provided that the system conforms to the I2C Standard Specification as
defined by Philips.
On-Board Voltage Reference
Six 14-Bit NSV Precision Video DACs
2-Wire Serial I
2C®
Interface
Dual Input/Output Supply 2.5 V/3.3 V Operation
Analog and Digital Supply 2.5 V
On-Board PLL
64-Lead LQFP Package
Lead (Pb) Free Product
APPLICATIONS
High End DVD
High End PS DVD Recorders/Players
SD/Prog Scan/HDTV Display Devices
SD/HDTV Set Top Boxes
Professional Video Systems
SIMPLIFIED FUNCTIONAL BLOCK DIAGRAM
STANDARD DEFINITION
CONTROL BLOCK
COLOR CONTROL
BRIGHTNESS
DNR
GAMMA
PROGRAMMABLE FILTERS
SD TEST PATTERN
PROGRAMMABLE
RGB MATRIX
HIGH DEFINITION
CONTROL BLOCK
HD TEST PATTERN
COLOR CONTROL
ADAPTIVE FILTER CTRL
SHARPNESS FILTER
O
V
E
R
S
A
M
P
L
I
N
G
INTERFACE
14-BIT
DAC
14-BIT
DAC
14-BIT
DAC
14-BIT
DAC
14-BIT
DAC
14-BIT
DAC
I2C
Y9–Y0
C9–C0
S9–S0
HSYNC
VSYNC
BLANK
CLKIN_A
CLKIN_B
ADV7314
D
E
M
U
X
TIMING
GENERATOR
PLL
GENERAL DESCRIPTION
The ADV®7314 is a high speed, digital-to-analog encoder on a
single monolithic chip. It includes six high speed NSV video
D/A converters with TTL compatible inputs.
The ADV7314 has separate 8-/10-/16-/20-bit input ports that
accept data in high definition and/or standard definition video
format. For all standards, external horizontal, vertical and
blanking signals, or EAV/SAV timing codes control the insertion of appropriate synchronization signals into the digital data
stream and therefore the output signal.
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. Trademarks and
registered trademarks are the property of their respective companies.
DETAILED FEATURES
High Definition Programmable Features (720p/1080i)
2 Oversampling (148.5 MHz)
Internal Test Pattern Generator
(Color Hatch, Black Bar, Flat Field/Frame)
Fully Programmable YCrCb to RGB Matrix
Gamma Correction
Programmable Adaptive Filter Control
Programmable Sharpness Filter Control
CGMS-A (720p/1080i)
Programmable Features (525p/625p)
8 Oversampling (216 MHz Output)
Internal Test Pattern Generator
(Color Hatch, Black Bar, Flat Frame)
Individual Y and PrPb Output Delay
Gamma Correction
Programmable Adaptive Filter Control
Fully Programmable YCrCb to RGB Matrix
Undershoot Limiter
Macrovision Rev 1.1 (525p/625p)
CGMS-A (525p)
Standard Definition Programmable Features
16 Oversampling (216 MHz)
Internal Test Pattern Generator (Color Bars, Black Bar)
Controlled Edge Rates for Sync, Active Video
Individual Y and PrPb Output Delay
Gamma Correction
Digital Noise Reduction (DNR)
Multiple Chroma and Luma Filters
Luma-SSAF™ Filter with Programmable
Gain/Attenuation
PrPb SSAF
Separate Pedestal Control on Component and
(VAA = 2.375 V–2.625 V, VDD = 2.375 V–2.625 V; V
V
= 1.235 V, R
REF
= 3040 , R
SET
= 150 . All specifications T
LOAD
(0C to 70C), unless otherwise noted.)
= 2.375 V–3.6 V,
DD_IO
MIN
to T
MAX
ParameterMinTypMaxUnitTest Conditions
STATIC PERFORMANCE
1
Resolution14Bits
Integral Nonlinearity2.0LSB
Differential Nonlinearity
Differential Nonlinearity
2
, +ve1.0LSB
2
, –ve3.0LSB
DIGITAL OUTPUTS
Output Low Voltage, V
Output High Voltage, V
OL
OH
2.4 [2.0]
3
Three-State Leakage Current± 1.0mAV
0.4 [0.4]3VI
VI
= 3.2 mA
SINK
= 400 mA
SOURCE
= 0.4 V, 2.4 V
IN
Three-State Output Capacitance 2pF
DIGITAL AND CONTROL INPUTS
Input High Voltage, V
Input Low Voltage, V
IH
IL
Input Leakage Current3mAV
Input Capacitance, C
IN
2V
0.8V
= 2.4 V
IN
2pF
ANALOG OUTPUTS
Full-Scale Output Current4.14.334.6mA
Output Current Range4.14.334.6mA
DAC-to-DAC Matching1.0%
Output Compliance Range, V
Output Capacitance, C
OC
OUT
01.01.4V
7pF
VOLTAGE REFERENCE
Internal Reference Range, V
External Reference Range, V
Current
V
REF
4
REF
REF
1.151.2351.3V
1.151.2351.3V
± 10mA
POWER REQUIREMENTS
Normal Power Mode
5
I
DD
170mASD Only [16]
110mAPS Only [8]
I
DD_IO
I
AA
7, 8
95mAHDTV Only [2]
172190
1.0mA
3945mA
6
mASD [16, 10 Bit] + PS [8, 20 Bit]
Sleep Mode
I
DD
I
AA
I
DD_IO
200mA
10mA
250mA
Power Supply Rejection Ratio0.01%/%
NOTES
1
Oversampling disabled. Static DAC performance will be improved with increased oversampling ratios.
2
DNL measures the deviation of the actual DAC output voltage step from the ideal. For +ve DNL, the actual step value lies above the ideal step value; for –ve DNL,
the actual step value lies below the ideal step value.
3
Value in brackets for V
4
External current required to overdrive internal V
5
IDD, the circuit current, is the continuous current required to drive the digital core.
6
Guaranteed maximum by characterization.
7
IAA is the total current required to supply all DACs including the V
8
All DACs on.
Specifications subject to change without notice.
= 2.375 V–2.75 V.
DD_IO
REF
.
circuitry and the PLL circuitry.
REF
REV. 0–4–
Page 5
ADV7314
(VAA = 2.375 V–2.625 V, VDD = 2.375 V–2.625 V; V
DYNAMIC SPECIFICATIONS
Parameter MinTypMaxUnitTest Conditions
PROGRESSIVE SCAN MODE
Luma Bandwidth12.5MHz
Chroma Bandwidth5.8MHz
SNR65.6dBLuma Ramp Unweighted
SNR72dBFlat Field Full Bandwidth
HDTV MODE
Luma Bandwidth 30MHz
Chroma Bandwidth13.75MHz
STANDARD DEFINITION MODE
Hue Accuracy0.44∞
Color Saturation Accuracy0.20%
Chroma Nonlinear Gain0.84± %Referenced to 40 IRE
Chroma Nonlinear Phase–0.2±∞
Chroma/Luma Intermodulation0±%
Chroma/Luma Gain Inequality97.5± %
Chroma/Luma Delay Inequality0ns
Luminance Nonlinearity0.1± %
Chroma AM Noise84dB
Chroma PM Noise75.3dB
Differential Gain0.09%NTSC
Differential Phase0.12∞NTSC
SNR63.5dBLuma Ramp
SNR77.7dBFlat Field Full Bandwidth
Specifications subject to change without notice.
3040 , R
= 150 . All specifications T
LOAD
MIN
= 2.375 V–3.6 V, V
DD_IO
to T
(0C to 70C), unless otherwise noted.)
MAX
= 1.235 V, R
REF
SET
=
REV. 0
–5–
Page 6
ADV7314
TIMING SPECIFICATIONS
(VAA = 2.375 V–2.625 V, VDD = 2.375 V–2.625 V; V
3040 , R
= 150 . All specifications T
LOAD
MIN
= 2.375 V–3.6 V, V
DD_IO
to T
(0C to 70C), unless otherwise noted.)
MAX
= 1.235 V, R
REF
ParameterMinTypMaxUnitConditions
MPU PORT
1
SCLOCK Frequency0400kHz
SCLOCK High Pulsewidth, t
SCLOCK Low Pulsewidth, t
Hold Time (Start Condition), t
1
2
3
0.6ms
1.3ms
0.6msThe first clock is generated after
this period
Setup Time (Start Condition), t
4
0.6msRelevant for repeated start
condition
Data Setup Time, t
SDATA, SCLOCK Rise Time, t
SDATA, SCLOCK Fall Time, t
Setup Time (Stop Condition), t
5
6
7
8
100ns
300ns
300ns
0.6ms
RESET Low Time100ns
ANALOG OUTPUTS
Analog Output Delay
2
7ns
Output Skew1ns
CLOCK CONTROL AND PIXEL PORT
f
CLK
f
CLK
Clock High Time t
Clock Low Time t
Data Setup Time t
Data Hold Time t
SD Output Access Time t
SD Output Hold Time t
HD Output Access Time t
HD Output Hold Time t
PIPELINE DELAY
9
10
1
11
1
12
13
14
13
14
4
3
27MHzProgressive Scan Mode
81MHzHDTV Mode/ASYNC Mode
40% of one clk cycle
40% of one clk cycle
2.0ns
2.0ns
15ns
5.0ns
14ns
5.0ns
63clk cyclesSD [2, 16]
76clk cyclesSD Component Mode [16]
35clk cyclesPS [1]
41clk cyclesPS [8]
36clk cyclesHD [2, 1]
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: C [9:0]; Y [9:0], S[9:0]
Control: P_HSYNC, P_VSYNC, P_BLANK, S_HSYNC, S_VSYNC, S_BLANK.
4
SD, PS = 27 MHz, HD = 74.25 MHz.
Specifications subject to change without notice.
SET
=
REV. 0–6–
Page 7
CLKIN_A
ADV7314
t
12
t
13
t
14
CONTROL
INPUTS
t
= CLOCK HIGH TIME
9
t
= CLOCK LOW TIME
10
t
= DATA SETUP TIME
11
t
= DATA HOLD TIME
12
P_HSYNC,
P_VSYN
P_BLANK
Y9–Y0
C9–C0
CONTROL
OUTPUTS
t
t
9
10
C,
Y0Y1Y2Y3Y4Y5
Cb0Cr0Cb2Cr2Cb4Cr4
t11
Figure 1. HD Only 4:2:2 Input Mode [Input Mode 010]; PS Only 4:2:2 Input Mode [Input Mode 001]
CLKIN_A
t
12
CONTROL
INPUTS
P_HSYNC,
P_VSYNC,
P_BLANK
Y9–Y0
t
t
9
10
Y0Y1Y2Y3Y4Y5
Cb0Cb1Cb2Cb3Cb4Cb5
t
11
Cr0Cr1Cr2Cr3Cr5
Cr4
t
13
t
14
CONTROL
OUTPUTS
t
= CLOCK HIGH TIME
9
t
= CLOCK LOW TIME
10
t
= DATA SETUP TIME
11
t
= DATA HOLD TIME
12
C9–C0
S9–S0
Figure 2. HD Only 4:4:4 Input Mode [Input Mode 010]; PS Only 4:4:4 Input Mode [Input Mode 001]
REV. 0
–7–
Page 8
ADV7314
CONTROL
INPUTS
CLKIN_A
P_HSYNC,
P_VSYNC,
P_BLANK
t
t
9
10
t
12
CONTROL
OUTPUTS
t
= CLOCK HIGH TIME
9
t
= CLOCK LOW TIME
10
t
= DATA SETUP TIME
11
t
= DATA HOLD TIME
12
Y9–Y0
C9–C0
S9–S0
G0G1G2G3G4G5
B0B1B2B3B4B5
t
11
R0R1R2R3R4R5
Figure 3. HD RGB 4:4:4 Input Mode [Input Mode 010]
CLKIN_B*
t9
t10
CONTROL
INPUTS
t
= CLOCK HIGH TIME
9
t
= CLOCK LOW TIME
10
t
= DATA SETUP TIME
11
t
= DATA HOLD TIME
12
P_HSYNC,
P_VSYNC,
P_BLANK
Y9–Y
CONTROL
OUTPUTS
Cb0 Y0 Cr0 Y1 Crxxx Yxxx
0
t12
t11
*CLKIN_B MUST BE USED IN THIS PS MODE.
Figure 4. PS 4:2:2 110-Bit Interleaved at 27 MHz
t
13
t
14
t12
t11
t13
t14
HSYNC/VSYNC
Input Mode [Input Mode 100]
REV. 0–8–
Page 9
CONTROL
INPUTS
CLKIN_A
P_HSYNC,
P_VSYNC,
P_BLANK
t9
ADV7314
t10
Y9–Y0
CONTROL
OUTPUTS
t
= CLOCK HIGH TIME
9
t
= CLOCK LOW TIME
10
t
= DATA SETUP TIME
11
t
= DATA HOLD TIME
12
Figure 5. PS 4:2:2 110-Bit Interleaved at 54 MHz
t
= CLOCK HIGH TIME
9
t
= CLOCK LOW TIME
10
t
= DATA SETUP TIME
11
t
= DATA HOLD TIME
12
Cb0 Y0 Cr0 Y1 Crxxx Yxxx
t11
CLKIN_B*
Y9–Y
CONTROL
OUTPUTS
t12
t
t
9
3FF 00 00 XY Cb0 Y0 Cr0 Y1
0
t
12
t
11
*CLKIN_B USED IN THIS PS ONLY MODE.
10
t13
t14
HSYNC/VSYNC
t
12
t
11
t
13
t
14
Input Mode [Input Mode 111]
Figure 6. PS Only 4:2:2 110-Bit Interleaved at 27 MHz EAV/SAV Input Mode [Input Mode 100]
REV. 0
CLKIN_A
t10
t9
CONTROL
OUTPUTS
t
= CLOCK HIGH TIME
9
t
= CLOCK LOW TIME
10
t
= DATA SETUP TIME
11
t
= DATA HOLD TIME
12
Y9–Y0
3FF 00 00 XY Cb0 Y0 Cr0 Y1
t11
t12
NOTE: Y0, Cb0 SEQUENCE AS PER SUBADDRESS 0x01 BIT 1
t13
t14
Figure 7. PS Only 4:2:2 110-Bit Interleaved at 54 MHz EAV/SAV Input Mode [Input Mode 111]
–9–
Page 10
ADV7314
CONTROL
INPUTS
CLKIN_B
P_HSYNC,
P_VSYNC,
P_BLANK
t
t
t
10
9
12
CONTROL
INPUTS
Y9–Y0
C9–C0
CLKIN_A
S_HSYNC,
S_VSYNC,
S_BLANK
S9–S0
Y0Y1
Cb0Cr0Cb2
t
t
9
10
Cb0Y0Cr0
Y2
t
11
Y3Y4Y5
Cr2
Y1
t
11
t
12
Cb4Cr4
Cb1Y2
Figure 8. HD 4:2:2 and SD (10-Bit) Simultaneous Input Mode [Input Mode 101]; SD Oversampled
[Input Mode 110] HD Oversampled
*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.
The ADV7314 is a Pb-free environmentally friendly product. It is
manufactured using the most up-to-date materials and processes.
The coating on the leads of each device is 100% pure Sn electroplate. The device is suitable for Pb-free applications and is able to
withstand surface-mount soldering at up to 255∞C [± 5∞C]. In
addition, it is backward compatible with conventional SnPb soldering processes. This means that the electroplated Sn coating can
be soldered with Sn/Pb solder pastes at conventional reflow temperatures of 220∞C to 235∞C.
ORDERING GUIDE*
ModelPackage DescriptionPackage Option
THERMAL CHARACTERISTICS
JC = 11∞C/W
= 47∞C/W
JA
ADV7314KSTPlastic Quad FlatpackST-64
(LQFP)
*Analog output short circuit to any power supply or common can be of an indefi-
nite duration.
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
ADV7314 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. 0–14–
Page 15
PIN CONFIGURATION
K
DD
GND_IO
CLKN_BS9S8S7S6S5DGND
V
S4S3S2S1S0
S_HSYNCS_VSYNC
49505152535455565758596061626364
ADV7314
V
DD_IO
V
DGND
1
PIN 1
2
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
DD
Y8
Y9
C0
C1
C2
10
11
12
13
14
15
16
3
4
5
6
7
8
9
IDENTIFIER
2
C3
C4
C
I
ALSB
SDA
ADV7314
LQFP
TOP VIEW
(Not to Scale)
SCLK
P_VSYNC
P_BLANK
P_HSYNC
C5C6C7C8C9
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32313029282726252423222120191817
CLKIN_A
RTC_SCR_TR
S_BLAN
R
SET1
V
REF
COMP1
DAC A
DAC B
DAC C
V
AA
AGND
DAC D
DAC E
DAC F
COMP2
R
SET2
EXT_LF
RESET
PIN FUNCTION DESCRIPTIONS
Pin No.MnemonicInput/OutputFunction
11, 57DGNDGDigital Ground.
40AGNDGAnalog Ground.
32CLKIN_AIPixel Clock Input for HD (74.25 MHz Only, PS Only (27 MHz), SD Only
(27 MHz).
63CLKIN_BIPixel Clock Input. Requires a 27 MHz reference clock for Progressive Scan
mode or a 74.25 MHz (74.1758 MHz) reference clock in HDTV mode. This
clock is only used in dual modes.
36, 45COMP2, COMP1 OCompensation Pin for DACs. Connect 0.1 mF capacitor from COMP pin
to V
.
AA
44DAC AOCVBS/Green/Y/Y Analog Output.
43DAC BOChroma/Blue/U/Pb Analog Output.
42DAC COLuma/Red/V/Pr Analog Output.
39DAC DOIn SD Only Mode: CVBS/Green/Y Analog Output.
In HD Only mode and simultaneous HD/SD mode: Y/Green [HD] Analog
Output.
38DAC EOIn SD Only Mode: Luma/Blue/U Analog Output.
In HD Only mode and simultaneous HD/SD mode: Pr/Red Analog Output.
37DAC FOIn SD Only Mode: Chroma/Red/V Analog Output.
In HD Only mode and simultaneous HD/SD mode: Pb/Blue [HD] Analog
Output.
23P_HSYNCIVideo Horizontal Sync Control Signal for HD in Simultaneous SD/HD Mode
and HD.
24P_VSYNCIVideo Vertical Sync Control Signal for HD in Simultaneous SD/HD Mode
and HD.
25P_BLANKIVideo Blanking Control Signal for HD in Simultaneous SD/HD Mode and HD.
48S_BLANKI/OVideo Blanking Control Signal for SD only.
REV. 0
–15–
Page 16
ADV7314
Pin No.MnemonicInput/OutputFunction
50S_HSYNCI/OVideo Horizontal Sync Control Signal for SD Only.
49S_VSYNCI/OVideo Vertical Sync Control Signal for SD Only.
2–9, 12–13Y9–Y0ISD or Progressive Scan/HDTV Input Port for Y Data. Input port for inter-
leaved progressive scan data. The LSB is set up on Pin Y0. For 8-bit data
input, LSB is set up on Y2.
14–18, 26–30 C9–C0IProgressive Scan/HDTV Input Port. In 4:4:4 Input mode, this port is used for
the Cb[Blue/U] data. The LSB is set up on Pin C0. For 8-bit data input, LSB
is set up on C2.
51–55, 58–62 S9–S0ISD or Progressive Scan/HDTV Input Port for Cr [Red/V] Data in 4:4:4 Input
Mode. LSB is set up on Pin S0. For 8-bit data input, LSB is set up on S2.
33RESETIThis input resets the on-chip timing generator and sets the ADV7314 into
default register setting. RESET is an active low signal.
35, 47R
22SCLKII
21SDAI/OI
20ALSBITTL Address Input. This signal sets up the LSB of the I
1V
10, 56V
41V
46V
34EXT_LFIExternal Loop Filter for the Internal PLL.
SET2
DD_IO
DD
AA
REF
, R
SET1
IA 3040 W resistor must be connected from this pin to AGND and is used
to control the amplitudes of the DAC outputs.
2
C Port Serial Interface Clock Input.
2
C Port Serial Data Input/Output.
2
C address. When
this pin is tied low, the I
2
C filter is activated, reducing noise on the I2C
interface.
PPower Supply for Digital Inputs and Outputs.
PDigital Power Supply.
PAnalog Power Supply.
I/OOptional External Voltage Reference Input for DACs or Voltage Reference
Output (1.235 V).
31RTC_SCR_TRIMultifunctional Input. Real-time control (RTC) input, timing reset input,
subcarrier reset input.
19I
CIThis input pin must be tied high (V
over the I
2
C port.
) for the ADV7314 to interface
DD_IO
2
64GND_IODigital Input/Output Ground.
TERMINOLOGY
SDStandard definition video, conforming to ITU-R BT.601/656.
HDHigh definition video, such as progressive scan or HDTV.
HDTVHigh definition television video, conforming to SMPTE 274M or SMPTE 296M.
YCrCbSD, HD, or PS component digital video.
YPrPbHD, SD, or PS component analog video.
REV. 0–16–
Page 17
ADV7314
MPU PORT DESCRIPTION
The ADV7314 supports 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 ADV7314 has four possible slave
addresses for both read and write operations. These are unique
addresses for each device and are illustrated in Figure 17. The
LSB sets either a read or write operation. Logic 1 corresponds
to a read operation, while Logic 0 corresponds to a write operation. A1 is set by setting the ALSB pin of the ADV7314 to
Logic 0 or Logic 1. When ALSB is set to 1, there is greater
input bandwidth on the I
transfers on this bus. When ALSB is set to 0, there is reduced
input bandwidth on the I
less than 50 ns will not pass into the I
2
C lines, which allows high speed data
2
C lines, which means that pulses of
2
C internal controller.
This mode is recommended for noisy systems.
110101A1X
ADDRESS
CONTROL
SET UP BY
ALSB
READ/WRITE
CONTROL
0 WRITE
1 READ
Figure 17. ADV7314 Slave Address = D4h
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
when 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.
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 ADV7314 acts as a standard slave device on the bus. The
data on the SDA pin is eight bits wide, 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.
There is a subaddress auto-increment facility, which allows data
to be written to or read from registers in ascending subaddress
sequence starting at any valid 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 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
ADV7314 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
no-acknowledge condition is when the SDA line is not
pulled low on the ninth pulse.
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 ADV7314, and the part will return to the idle condition.
REV. 0
–17–
Page 18
ADV7314
Before writing to the subcarrier frequency registers, the ADV7314
must have been reset at least once since power-up.
The four subcarrier frequency registers must be updated starting with subcarrier frequency register 0 through subcarrier
frequency register 3. The subcarrier frequency will not update
until the last subcarrier frequency register byte has been received
by the ADV7314.
Figure 18 illustrates an example of the data transfer for a write
sequence and the start and stop conditions.
Figure 19 shows bus write and read sequences.
REGISTER ACCESS
The MPU can write to or read from all of the registers of the
ADV7314 except the subaddress registers, which are write-only
registers. The subaddress register determines which register the
SDATA
SCLOCK
S
1–78
START ADRR R/W ACK SUBADDRESS ACKDATAACK STOP
9
1–789
Figure 18. Bus Data Transfer
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 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 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.
1–7
89
P
WRITE
SEQUENCE
READ
SEQUENCE
S SLAVE ADDR A(S) SUB ADDR A(S)DATAA(S)DATAA(S) P
LSB = 0
S SLAVE ADDR A(S) SUB ADDR A(S) S SLAVE ADDR A(S)DATADATAA(M)A(M) P
S = START BIT
P = STOP BIT
A(S) = ACKNOWLEDGE BY SLAVE
A(M) = ACKNOWLEDGE BY MASTER
LSB = 1
A(S) = NO-ACKNOWLEDGE BY SLAVE
A(M) = NO-ACKNOWLEDGE BY MASTER
Figure 19. Write and Read Sequence
REV. 0–18–
Page 19
ADV7314
SR7SR0 RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting
00h Power
Mode
Register
Mode Select
01h
Register
Sleep Mode. With this control enabled, the current
consumption is reduced to
the internal PLL cct are disabled. I
be read from and written to in sleep mode.
PLL and Oversampling Control. This control
allows the internal PLL cct to be powered down
and the oversampling to be switched off.
DAC F. Power on/off.
DAC E. Power on/off.
DAC D. Power on/off.
DAC C. Power on/off.
DAC B. Power on/off.
DAC A. Power on/off.
BTA T-1004 or 1362 Compatibility
Clock Edge
Reserved038h
Clock Align
Input Mode
Y/S Bus Swap
A level. All DACs and
2
C registers can
0DAC F off
1DAC F on
0DAC E off
1DAC E on
0DAC D off
1DAC D on
0DAC D off
1DAC C on
0DAC B off
1DAC B on
0DAC A off
1DAC A on
0
1Must be set if the phase
000SD input only
001PS input only
010HDTV input only
011SD and PS [20-bit]
100SD and PS [10-bit]
101SD and HDTV [SD
110SD and HDTV [HDTV
111PS only [at 54 MHz]
010-bit data on S Bus
110-bit data on Y Bus
0Sleep Mode offFCh
1Sleep Mode on
0PLL on
1PLL off
0Disabled
1Enabled
0Cb clocked on rising edge
1Y clocked on rising edge
delay between the two
input clocks is <9.25 ns or
>27.75 ns.
oversampled
oversampled]
Register Reset
Value (Shaded)
Only for PS dual
edge clk mode
Only for PS
interleaved input at
27 MHz
Only if two input
clocks are used
SD Only. 10-Bit/
20-Bit Input mode
REV. 0
–19–
Page 20
ADV7314
SR7SR0 RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting
02h Mode Register 0Reserved00 Zero must be written to
Test Pattern Black Bar0Disabled
RGB Matrix0Disable Programmable
Sync on RGB
RGB/YUV Output0RGB component outputs
SD Sync0No Sync output
HD Sync0No Sync output
03h RGB Matrix 0xx LSB for GY03h
04h RGB Matrix 1x xLSB for RVF0h
05h RGB Matrix 2xxxxxxxxBit 9–2 for GY4Eh
06h RGB Matrix 3xxxxxxxxBit 9–2 for GU0Eh
07h RGB Matrix 4xxxxxxxxBit 9–2 for GV24h
08h RGB Matrix 5xxxxxxxxBit 9–2 for BU92h
09h RGB Matrix 6xxxxxxxxBit 9–2 for RV7Ch
0Ah DAC A,B,C Output
0Bh DAC D,E,F Output
0Ch00110011Note 300h
0Dh11000000Note 300h
0EhReserved00h
0FhReserved00h
1
For more detail, refer to Appendix 7.
2
For more detail on the programmable output levels, refer to the Programmable DAC Gain Control section.
3
Must be written to after power-up/reset.
Level
Level
2
Positive Gain to DAC Output
Voltage
Negative Gain to DAC Output
Voltage
Positive Gain to DAC Output
Voltage
Negative Gain to DAC Output
Voltage
1
1Output SD syncs on
1Output HD syncs on
xxLSB for GU
000000000%00h
00000001+0.018%
000000100.036%
00111111+7.382%
01000000+7.5%
11000000–7.5%
11000001–7.382%
10000010–7.364%
11111111–0.018%
000000000%00h
00000001+0.018%
000000100.036%
00111111+7.382%
01000000+7.5%
11000000–7.5%
11000001–7.382%
10000010–7.364%
11111111–0.018%
0No Sync
1Sync on all RGB outputs
1YUV component outputs
xxLSB for GV
1Enabled
1Enable Programmable
xxLSB for BU
these bits
RGB Matrix
RGB Matrix
S_HSYNC output, S_VSYNC
output, S_BLANK output
P_HSYNC output, P_VSYNC
output, P_BLANK output
………
……….
………
……….
Reset Value
20h
11h, Bit 2 must
be enabled also
REV. 0–20–
Page 21
ADV7314
g
,
y
g
isabled
d
HD Sh
Fil
Disabled
SR7SR0 RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting
10hHD Output Standard00EIA770.2 output 00h
HD Mode
Register 1
HD Input Control Signals00
HD 625p0525p
HD 720p01080i
HD BLANK Polarit
HD Macrovision for 525p/625p0Macrovision off
11hHD Pixel Data Valid0Pixel data valid off00h
HD Mode
Register 2
HD Test Pattern Enable0HD test pattern off
HD Test Pattern Hatch/Field0Hatch
HD VBI Open0D
HD Undershoot Limiter00Disabled
arpness
ter0
1Macrovision on
1Enabled
1720p
0
1
01–11 IRE
10–6 IRE
11–1.5 IRE
01EAV/SAV codes
10Async timing mode
11Reserved
1625p
1Field/Frame
1Enable
01 EIA770.1 output
10 Output levels for full input
11 Reserved
0Reserved
1HD test pattern on
ran
e
VSYNC, BLANK
HSYNC
BLANK active hi
BLANK active low
1Pixel data valid on
h
Reset Values
REV. 0
–21–
Page 22
ADV7314
SR7SR0 RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting
12h0000 clk cycle00h
HD Mode
Register 3
HD Mode
13hHD Cr/Cb Sequence0
Register 4
14h HD Mode
Register 5
15h Reserved00 must be written to this bit00h
HD Mode
Register 6
NOTES
1
When set to 0, the line and field counters automatically wrap around at the end of the field/frame of the standard selected. When set to 1 , the field/line
HD Y Delay with
Respect to Falling Edge
of HSYNC
HD with Respect to
Falling Edge of HSYNC
HD CGMS 0Disabled
HD CGMS CRC0Disabled
Reserved00 must be written to this bit
HD Input Format
Sinc Filter on DAC D,
E, F
Reserved00 must be written to this bit
HD Chroma SSAF0Disabled
HD Chroma Input04:4:4
HD Double Buffering
HD Timing ResetxA low-high-low transition resets the
counters are free running and wrap around when external sync signals indicate so.
2
Adaptive Filter mode is not available in PS only @ 54 MHz input mode.
Reset Value
4Ch
00h
REV. 0–22–
Page 23
ADV7314
SR7SR0 RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
16h
HD Y Level
17h
HD Cr Level
18h
HD Cb Level
1
1
1
xxxxx xx x Y color valueA0h
xxxxx xx x Cr color value 80 h
xxxxx xx x Cb color value 8 0 h
Register
Setting
Reset Value
19hReserved00h
1AhReserved00h
1BhReserved00h
1ChReserved00h
1DhReserved00h
1EhReserved00h
1FhReserved00h
15h HD Mode
Register 6
HD Gamma Curve Enable
HD Adaptive Filter Mode
0Disabled
1Enabled
0Mode A
1Mode B
HD Adaptive Filter Enable
0Disabled
1Enabled
20h0000Gain A = 000 h
HD Sharpness
Filter Gain
HD Sharpness Filter Gain Value A
0001Gain A = +1
........… …
0111Gain A = +7
100 0 Gain A = –8
........… …
111 1 Gain A = –1
HD Sharpness Filter Gain Value B
0000Gain B = 0
0001Gain B = +1
........…… .
0111Gain B = +7
1000Gain B = –8
........…… ..
2
HD CGMS HD CGMS Data Bits0000C19C18C17C16CGMS 19–1600 h
21h
1111Gain B = –1
22h HD CGMS HD CGMS Data BitsC15 C14 C13 C12 C 11 C10 C9C8CGMS 15–800h
23h HD CGMS HD CGMS Data BitsC7C6C5C4C3C2C1 C0CGMS 7–000 h
24h
HD Gamma A
1
HD Gamma Curve A Data Points xxxxx xx x A000h
25h HD Gamma A HD Gamma Curve A Data Points xxxxx xx x A100h
26h HD Gamma A HD Gamma Curve A Data Points xxxxx xx x A200h
27h HD Gamma A HD Gamma Curve A Data Points xxxxx xx x A300h
28h HD Gamma A HD Gamma Curve A Data Points xxxxx xx x A400h
29h HD Gamma A HD Gamma Curve A Data Points xxxxx xx x A500h
2Ah HD Gamma A HD Gamma Curve A Data Points xxxxxxx x A600h
2Bh HD Gamma A HD Gamma Curve A Data Points xxxxxxx x A700h
2Ch HD Gamma A HD Gamma Curve A Data Points xxxxx xx x A800h
2Dh HD Gamma A HD Gamma Curve A Data Points xxxxx xx x A900h
2Eh HD Gamma B HD Gamma Curve B Data Points xxxxx xx x B000h
2Fh HD Gamma B HD Gamma Curve B Data Points xxxxx xx x B100h
30h HD Gamma B HD Gamma Curve B Data Points xxxxx xx x B200h
31h HD Gamma B HD Gamma Curve B Data Points xxxxx xx x B300h
32h HD Gamma B HD Gamma Curve B Data Points xxxxx xx x B400h
33h HD Gamma B HD Gamma Curve B Data Points xxxxx xx x B500h
34h HD Gamma B HD Gamma Curve B Data Points xxxxx xx x B600h
35h HD Gamma B HD Gamma Curve B Data Points xxxxx xx x B700h
36h HD Gamma B HD Gamma Curve B Data Points xxxxx xx x B800h
2
HD Gamma B HD Gamma Curve B Data Points xxxxx xx x B900h
37h
NOTES
1
Used for internal test pattern only.
2
Programmable gamma correction is not available in PS only mode @ 54 MHz operation.
REV. 0
–23–
Page 24
ADV7314
SR7–SR0 RegisterBit DescriptionBit 7Bit 6 Bit 5 Bit 4Bit 3Bit 2Bit 1Bit 0Register SettingValue
38hHD Adaptive Filter0000Gain A = 000h
39h00 0 0 Gain A = 000h
3Ah00 0 0 Gain A = 000h
3Bh
Gain 100 0 1 Gain A = +1
HD Adaptive Filter
Gain 2
HD Adaptive Filter
Gain 3
HD Adaptive Filter
Threshold A
HD Adaptive Filter
Gain 1 Value A
HD Adaptive Filter
Gain 1 Value B
HD Adaptive Filter
Gain 2 Value A
HD Adaptive Filter
Gain 2 Value B
HD Adaptive Filter
Gain 3 Value A
HD Adaptive Filter
Gain 3 Value B
HD Adaptive Filter
Threshold A Value
........……
01 1 1 Gain A = +7
10 0 0 Gain A = –8
........……
11 1 1 Gain A = –1
0000Gain B = 0
0001Gain B = +1
........…….
0111Gain B = +7
1000Gain B = –8
........……..
1111Gain B = –1
00 0 1 Gain A = +1
........……
01 1 1 Gain A = +7
10 0 0 Gain A = –8
........……
11 1 1 Gain A = –1
0000Gain B = 0
0001Gain B = +1
........…….
0111Gain B = +7
1000Gain B = –8
........……..
1111Gain B = –1
00 0 1 Gain A = +1
........……
01 1 1 Gain A = +7
10 0 0 Gain A = –8
........……
11 1 1 Gain A = –1
0000Gain B = 0
0001Gain B = +1
........…….
0111Gain B = +7
1000Gain B = –8
........……..
1111Gain B = –1
xxxxxx x x Threshold A00h
3Ch
3Dh
HD Adaptive Filter
Threshold B
HD Adaptive Filter
Threshold C
HD Adaptive Filter
Threshold B Value
HD Adaptive Filter
Threshold C Value
xxxxxx x x Threshold B00h
xxxxxx x x Threshold C00h
REV. 0–24–
Page 25
ADV7314
SR7–
SR0 RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
5Ah SD CGMS/WSS 1 SD CGMS/WSS Data1312111098CGMS Data Bits C13–C8 or
5Bh SD CGMS/WSS 2 SD CGMS/WSS Data76543210CGMS/WSS Data Bits C7–C0 00 h
5Ch SD LSB Register SD LSB for Y Scale xxSD Y Scale Bit 1–0
5Dh SD Y Scale SD Y Scale ValuexxxxxxxxSD Y Scale Bit 7–20 0 h
5Eh SD V Scale SD V Scale ValuexxxxxxxxSD V Scale Bit 7–20 0 h
5Fh SD U Scale SD U Scale ValuexxxxxxxxSD U Scale Bit 7–200 h
60h SD Hue Register SD Hue Adjust Valuexxxxxxx xSD Hue Adjust Bit 7–00 0 h
61hSD Brightness Value xxxxxxxSD Brightness Bit 6–000 h
SD Brightness/
WSS
62h SD Luma SSAF00000000–4 dB0 0 h
63h SD DNR 0Coring Gain Border0000No gain00h
64h SD DNR 1DNR Threshold00000000 0h
SD LSB for U Scale xxSD U Scale Bit 1–0
SD LSB for V Scale xxSD V Scale Bit 1–0
SD LSB for FSC PhasexxSubcarrier Phase Bits 1–0
SR7SR0 RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting
65h SD DNR 2DNR Input Select001Filter A0 0h
100Filter D
DNR Mode 0DNR mode
1DNR Sharpness mode
DNR Block Offset00000 pixel offset
000 11 pixel offset
……… ……
111 014 pixel offset
111 115 pixel offset
66h SD Gamma ASD Gamma Curve A Data Points xxxxxxx x A000h
67h SD Gamma ASD Gamma Curve A Data Points xxxxxxx x A100h
68h SD Gamma ASD Gamma Curve A Data Points xxxxxxx x A200h
69h SD Gamma ASD Gamma Curve A Data Points xxxxxxx x A300h
6Ah SD Gamma ASD Gamma Curve A Data Points xxxxxxx x A400h
6Bh SD Gamma ASD Gamma Curve A Data Points xxxxxxx x A500h
6ChSD Gamma ASD Gamma Curve A Data Points xxxxxxx x A600h
6Dh SD Gamma ASD Gamma Curve A Data Points xxxxxxxx A700h
6Eh SD Gamma ASD Gamma Curve A Data Points xxxxxxx x A800h
6FhSD Gamma ASD Gamma Curve A Data Points xxxxxxx x A900h
70h SD Gamma BSD Gamma Curve B Data Points xxxxxxxx B000h
71h SD Gamma BSD Gamma Curve B Data Points xxxxxxxx B100h
72h SD Gamma BSD Gamma Curve B Data Points xxxxxxxx B200h
73h SD Gamma BSD Gamma Curve B Data Points xxxxxxxx B300h
74h SD Gamma BSD Gamma Curve B Data Points xxxxxxxx B400h
75h SD Gamma BSD Gamma Curve B Data Points xxxxxxxx B500h
76h SD Gamma BSD Gamma Curve B Data Points xxxxxxxx B600h
77h SD Gamma BSD Gamma Curve B Data Points xxxxxxxx B700h
78h SD Gamma BSD Gamma Curve B Data Points xxxxxxxx B800h
79h SD Gamma BSD Gamma Curve B Data Points xxxxxxxx B900h
7Ah SD Brightness Detect SD Brightness ValuexxxxxxxxRead only
7Bh Field Count Register Field CountxxxRead only
Reserved00 must be written to this
Reserved00 must be written to this
Reserved00 must be written to this
Revision CodexxRead Only
7Ch 10-Bit Input00000010Must write this for 10 bit
010Filter B
011Filter C
Data Input (SD, PS, HD)
Reset Value
00h
REV. 0
–29–
Page 30
ADV7314
SR7SR0 RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting
7Dh Reserved
7Eh Reserved
7Fh Reserved
80h MacrovisionMV Control Bitsxxxxxxxx00h
81h MacrovisionMV Control Bitsxxxxxxxx00h
82h MacrovisionMV Control Bitsxxxxxxxx00h
83h MacrovisionMV Control Bitsxxxxxxxx00h
84h MacrovisionMV Control Bitsxxxxxxxx00h
85h MacrovisionMV Control Bitsxxxxxxxx00h
86h MacrovisionMV Control Bitsxxxxxxxx00h
87h MacrovisionMV Control Bitsxxxxxxxx00h
88h MacrovisionMV Control Bitsxxxxxxxx00h
89h MacrovisionMV Control Bitsxxxxxxxx00h
8Ah MacrovisionMV Control Bitsxxxxxxxx00h
8Bh MacrovisionMV Control Bitsxxxxxxxx00h
8ChMacrovisionMV Control Bitsxxxxxxxx00h
8Dh MacrovisionMV Control Bitsxxxxxxxx00h
8EhMacrovisionMV Control Bitsxxxxxxxx00h
8FhMacrovisionMV Control Bitsxxxxxxxx00h
90h MacrovisionMV Control Bitsxxxxxxxx00h
91h MacrovisionMV Control Bitx00 h
00000000 must be written to
bits
Reset Value
REV. 0–30–
Page 31
ADV7314
INPUT CONFIGURATION
When 10-bit input data is applied, the following bits must be
set to 1:
Address 0x7C, Bit 1 (Global 10-Bit Enable)
Address 0x13, Bit 2 (HD 10-Bit Enable)
Address 0x48, Bit 4 (SD 10-Bit Enable)
Note that the ADV7314 defaults to simultaneous standard
definition and progressive scan on power-up. Address[01h]:
Input Mode = 011.
Standard Definition Only
Address [01h] Input Mode = 000
The 8-bit/10-bit multiplexed input data is input on Pins S9–S0
(or Y9–Y0, depending on Register Address 0x01, Bit7), with S0
being the LSB in 10-bit input mode. Input standards supported
are ITU-R BT.601/656.
In 16-bit input mode, the Y pixel data is input on Pins S9–S2,
and CrCb data is input on Pins C9–C2. The 27 MHz clock
input must be input on the CLKIN_A pin.
Input sync signals are optional and are input on the S_VSYNC,S_ HSYNC, and S_BLANK pins.
ADV7314
S_VSYNC
3
MPEG2
DECODER
27MHz
S_HSYNC
S_BLANK
CLKIN_A
Progressive Scan Only or HDTV Only
Address [01h] Input Mode 001 or 010, Respectively
YCrCb Progressive Scan, HDTV, or any other HD YCrCb data
can be input in 4:2:2 or 4:4:4. In 4:2:2 input mode, the Y data
is input on Pins Y9–Y0 and the CrCb data on Pins C9–C0. In
4:4:4 input mode, Y data is input on Pins Y9–Y0, Cb data on
Pins C9–C0, and Cr data on Pins S9–S0.
If the YCrCb data does not conform to SMPTE 293M (525p),
ITU-R BT.1358M (625p), SMPTE 274M (1080i), SMPTE
296M (720p), or BTA T-1004/1362, the async timing mode must
be used.
RGB data can be input in 4:4:4 format in PS Input mode only
or in HDTV Input mode only when HD RGB input is enabled.
G data is input on Pins Y9–Y0, R data on S9–S0, and B data
on C9–C0.
The clock signal must be input on the CLKIN_A pin.
MPEG2
DECODER
YCrCb
INTERLACED
TO
PROGRESSIVE
27MHz
Cb
Cr
Y
ADV7314
CLKIN_A
10
C[9:0]
10
S[9:0]
10
Y[9:0]
P_VSYNC
3
P_HSYNC
P_BLANK
Figure 22. Progressive Scan Input Mode
YCrCb
*Selected by Address 0x01 Bit 7
10
S[9:0] or Y[9:0]*
Figure 21 . SD Only Input Mode
REV. 0
–31–
Page 32
ADV7314
Simultaneous Standard Definition and
Progressive Scan or HDTV
Address [01h]: Input Mode 011(SD 40-Bit, PS 20-Bit) or
101 (SH and HD, SD Oversampled), 110 (SD and HD, HD
Oversampled)
YCrCb PS, HDTV, or any other HD data must be input in
4:2:2 format. In 4:2:2 input mode, the HD Y data is input on
Pins Y9–Y0 and the HD CrCb data on C9–C0.
If PS 4:2:2 data is interleaved onto a single 10-bit bus, Y9–Y0 are
used for the input port. The input data is to be input at 27 MHz
with the data clocked on the rising and falling edge of the input
clock. The input mode register at Address 01h is set accordingly.
If the YCrCb data does not conform to SMPTE 293M (525p),
ITU-R BT.1358M (625p), SMPTE 274M (1080i), SMPTE
296M (720p), or BTA T-1004, the Async Timing mode must
be used.
The 8-bit or 10-bit standard definition data must be compliant
to ITU-R BT.601/656 in 4:2:2 format.
Standard definition data is input on Pins S9–S0, with S0 being the
LSB. Using 8-bit input format, the data is input on Pins S9–S2.
The clock input for SD must be input on CLKIN_A, and the
clock input for HD must be input on CLKIN_B.
Synchronization signals are optional. SD syncs are input on pins
S_VSYNC, S_ HSYNC, and S_BLANK.
HD syncs are input on Pins P_VSYNC, P_ HSYNC, P_BLANK.
ADV7314
S_VSYNC
3
MPEG2
DECODER
YCrCb
27MHz
S_HSYNC
S_BLANK
CLKIN_A
10
S[9:0]
ALIGN bit [Address 01h, Bit 3] must be set accordingly. If the
application uses the same clock source for both SD and PS, the
CLOCK ALIGN bit must be set since the phase difference
between both inputs is less than 9.25 ns.
CLKIN_A
CLKIN_B
t
9.25ns OR
DELAY
t
27.75ns
DELAY
Figure 25. Clock Phase with Two Input Clocks
Progressive Scan at 27 MHz (Dual Edge) or 54 MHz
Address [01h]: Input Mode 100 OR 111, Respectively
YCrCb progressive scan data can be input at 27 MHz or 54
MHz. The input data is interleaved onto a single 8-/10-bit bus
and is input on Pins Y9–Y0. When a 27 MHz clock is supplied,
the data is clocked in on the rising and falling edge of the input
clock and CLOCK EDGE [Address 01h, Bit 1] must be set
accordingly.
The following figures show the possible conditions. (a) Cb data
on the rising edge and (b) Y data on the rising edge.
CLKIN_B
Y9–Y0
3FF0000XYY0Y1Cr0
Cb0
Figure 26a. Clock Edge Address 01h, Bit 1
Should Be Set to 0
CLKIN_B
CrCb
10
INTERLACED TO
PROGRESSIVE
Y
27MHz
C[9:0]
10
Y[9:0]
P_VSYNC
3
P_HSYNC
P_BLANK
CLKIN_B
Figure 23. Simultaneous PS and SD Input
ADV7314
S_VSYNC
3
SDTV
DECODER
HDTV
DECODER
1080 i
720 p
27MHz
YCrC b
CrCb
Y
74.25MHz
S_HSYNC
S_BLANK
CLKIN_A
10
S[9:0]
10
C[9:0]
10
Y[9:0]
P_VSYNC
3
P_HSYNC
P_BLANK
CLKIN_B
Figure 24. Simultaneous HD and SD Input
If in simultaneous SD/HD input mode, the two clock phases
differ by less than 9.25 ns or more than 27.75 ns, the CLOCK
Y9–Y0
3FF0000XYCb0Cr0Y1
Y0
Figure 26b. Clock Edge Address 01h, Bit 1
Should Be Set to 1
With a 54 MHz clock, the data is latched on the every rising edge.
CLKIN
PIXEL INPUT
DATA
3FF0000XYCb0Y0Y1Cr0
Figure 26c. Input Sequence in PS Bit Interleaved
Mode, EAV/SAV Followed by Cb0 Data
MPEG2
DECODER
YCrCb
INTERLACED
TO
PROGRESSIVE
27MHz OR
54MHz
YCrCb
ADV7314
CLKIN_A
10
Y[9:0]
P_VSYNC
3
P_HSYNC
P_BLANK
Figure 27. 1 10-Bit PS at 27 MHz or 54 MHz
REV. 0–32–
Page 33
Table I provides an overview of all possible input configurations.
Table I. Input Configurations
ADV7314
Input FormatTotal BitsInput Video Input PinsSubaddress Register Setting
ITU-R BT.65601h00h
PS Only01h10h
HDTV Only164:2:2YY9-Y2 [MSB = Y9]01h20h
HD RGB
ITU-R BT.656 and PS
ITU-R BT.656 and PS
ITU-R BT.656 and PS or HDTV
ITU-R BT.656 and PS or HDTV
84:2:2
104:2:2
16YS9-S2 [MSB = S9]01h00h
20YS9-S0 [MSB = S9]01h00h
8YCrCbY9-Y2 [MSB = Y9]01h80h
10YCrCbY9-Y0 [MSB = Y9]01h80h
8 [27 MHz clock]4:2:2
10 [27 MHz clock]4:2:2
8 [54 MHz clock]YCrCbY9-Y2 [MSB = Y9]
16YY9-Y2 [MSB = Y9]01h10h
20YY9-Y0 [MSB = Y9]01h10h
244:4:4YY9-Y2 [MSB = Y9]01h10h
304:4:4YY9-Y0 [MSB = Y9]01h10h
204:2:2YY9-Y0 [MSB = Y9]01h20h
244:4:4YY9-Y2 [MSB = Y9]01h20h
304:4:4YY9-Y0 [MSB = Y9]01h20h
244:4:4GY9-Y2 [MSB = Y9]01h10h or 20h
304:4:4GY9-Y0 [MSB = Y9]01h10h or 20h
84:2:2YCrCbS9-S2 [MSB = S9]01h40h
84:2:2
104:2:2YCrCbS9-S0 [MSB = S9]01h40h
104:2:2YCrCbY9-Y0 [MSB = Y9]
84:2:2YCrCbS9-S2 [MSB = S9]01h30h or 50h or 60h
164:2:2YY9-Y2 [MSB = Y9]13h60h
104:2:2YCrCbS9-S0 [MSB = S9]01h30h or 50h or 60h
204:2:2YY9-Y0 [MSB = Y9]13h60h
YCrCbS9-S2 [MSB = S9]
YCrCbS9-S0 [MSB = S9]
4:2:2
CrCbY9-Y2 [MSB = Y9]48h08h
4:2:2
CrCbY9-Y0 [MSB = Y9]48h18h
4:2:2
4:2:2
YCrCbY9-Y2 [MSB = Y9]
YCrCbY9-Y0 [MSB = Y9]
4:2:2
4:2:210 [54 MHz clock]
YCrCbY9-Y0 [MSB = Y9]
4:2:2
CrCbC9-C2 [MSB = C9]13h40h
4:2:2
CrCbC9-C0 [MSB = C9]13h44h
CbC9-C2 [MSB = C9]13h00h
CrS9-S2 [MSB = S9]
CbC9-C0 [MSB = C9]13h04h
CrS9-S0 [MSB = S9]
CrCbC9-Y2 [MSB = C9]13h40h
CrCbC9-C0 [MSB = C9]13h44h
CbC9-Y2 [MSB = C9]13h00h
CrS9-S2 [MSB = S9]
CbC9-C0 [MSB = C9]13h04h
CrS9-S0 [MSB = S9]
BC9-C2 [MSB = C9]13h00h
RS9-S2 [MSB = S9]15h02h
BC9-C0 [MSB = C9]13h04h
RS9-S0 [MSB = S9]15h02h
YCrCbY9-Y2 [MSB = Y9]
CrCbC9-C2 [MSB = C9]48h00h
CrCbC9-C0 [MSB = C9]48h10h
48h00h
01h00h
48h10h
48h00h
48h10h
13h40h
01h10h
13h44h
01h70h
13h40h
70h10h
13h44h
13h40h
48h 00h
13h44h
48h10h
REV. 0
–33–
Page 34
ADV7314
OUTPUT CONFIGURATION
These tables show which output signals are assigned to the DACs when the control bits are set accordingly.
Table II. Output Configuration in SD Only Mode
RGB/YUV
Output 02h,
Bit 5
000CVBSLumaChroma GBR
001GBR CVBSLuma Chroma
010GLumaChroma CVBSBR
011CVBSBRGLuma Chroma
100CVBSLumaChroma YUV
101YUV CVBS Luma Chroma
110YLumaChroma CVBSUV
111CVBSUVYLuma Chroma
SD DAC
Output 1
42h, Bit 2
SD DAC
Output 2
42h, Bit 1 DAC A DAC B DAC C DAC D DAC E
DAC F
0
1Table above with all Luma/Chroma instances swapped
Luma/Chroma Swap 44h, Bit 7
Table as above
Table III. Output Configuration in HD/PS Only Mode
HD Input
Format
YCrCb 4:2:2 000N /AN/AN/AGBR
YCrCb 4:2:2 001N /AN/AN/AGRB
YCrCb 4:2:2 010N /AN/AN/AYPbPr
YCrCb 4:2:2 011N /AN/AN/AYPrP b
YCrCb 4:4:4 000N /AN/AN/AGBR
YCrCb 4:4:4 001N /AN/AN/AGRB
YCrCb 4:4:4 010N /AN/AN/AYPbPr
YCrCb 4:4:4 011N /AN/AN/AYPrP b
RGB 4:4:4100N /AN/ AN /AGBR
RGB 4:4:4101N /AN/ AN /AGRB
RGB 4:4:4110N /AN/ AN /AGBR
RGB 4:4:4111N /AN/ AN /AGRB
HD RGB
Input 15h,
Bit 1
RGB/YPrP
b Output
02h, Bit 5
HD Color
Swap 15h,
Bit 3DAC A DAC B DAC C DAC D DAC E
Table IV. Output Configuration in Simultaneous SD and HD/PS Mode
Input Formats
ITU-R BT.656 and
HD YCrCb in 4:2:2
ITU-R BT.656 and
HD YCrCb in 4:2:2
ITU-R BT.656 and
HD YCrCb in 4:2:2
ITU-R BT.656 and
HD YCrCb in 4:2:2
RGB/YPrP
b Output
02h, Bit 5
00CVBSLumaChroma GBR
01CVBSLumaChroma GRB
10CVBSLumaChroma YPbPr
11CVBSLumaChroma YPrPb
HD Color
Swap 15h,
Bit 3DAC A DAC B DAC C DAC D DAC E
DAC F
DAC F
REV. 0–34–
Page 35
ADV7314
TIMING MODES
HD Async Timing Mode
[Subaddress 10h, Bit 3,2]
For any input data that does not conform to the standards
selectable in input mode, Subaddress 01h, asynchronous timing mode can be used to interface to the ADV7314. Timing
control signals for HSYNC, VSYNC, and BLANK have to be
programmed by the user. Macrovision and programmable
CLK
P_HSYNC
P_VSYNC
P_BLANK
SET ADDRESS 10h,
BIT 6 TO 1
HORIZONTAL SYNC
oversampling rates are not available in async timing mode. When
using async mode, the PLL must be turned off [Subaddress
00h, Bit 1 = 1].
Figures 28a and 28b show an example of how to program the
ADV7314 to accept a different high definition standard other
than SMPTE 293M, SMPTE 274M, SMPTE 296M, or
ITU-R BT.1358. The truth table in Table V must be followed
when programming the control signals in async timing mode.
PROGRAMMABLE
INPUT TIMING
ACTIVE VIDEO
ANALOG
OUTPUT
Figure 28a. Async Timing Mode—Programming Input Control Signals for SMPTE 295M Compatibility
CLK
P_HSYNC
P_VSYNC
P_BLANK
SET ADDRESS 10h,
BIT 6 TO 1
ANALOG OUTPUT
8166662431920
ab c
HORIZONTAL SYNC
abcde
d
ACTIVE VIDEO
e
Figure 28b. Async Timing Mode—Programming Input Control Signals for Bilevel Sync Signal
0
1
REV. 0
–35–
Page 36
ADV7314
Table V. Async Timing Mode Truth Table
Reference in
P_HSYNCP_VSYNCP_BLANK*Figures 28a and 28b
1 -> 000 or 150% point of falling edge of tri-level horizontal sync signala
00 -> 10 or 125% point of rising edge of tri-level horizontal sync signalb
0 -> 10 or 1050% point of falling edge of tri-level horizontal sync signalc
10 or 10 -> 150% start of active videod
10 or 11 -> 050% end of active videoe
*When async timing mode is enabled, P_BLANK [Pin 25] becomes an active high input. P_BLANK is set to active low at Address 10h, Bit 6.
For standards that do not require a tri-sync level, P_BLANK must be tied low at all times.
HD Timing Reset
[Subaddress 14h, Bit 0]
A timing reset is achieved in setting the HD timing reset control
bit at Address 14h from 0 to 1. In this state, the horizontal and
vertical counters will remain reset. On setting this bit back to 0,
the internal counters will commence counting again.
The minimum time the pin has to be held high is one clock
cycle, otherwise this reset signal might not be recognized. This
timing reset applies to the HD timing counters only.
REV. 0–36–
Page 37
ADV7314
SD Real-Time Control, Subcarrier Reset, and Timing Reset
[Subaddress 44h, Bit 2,1]
Together with the RTC_SCR_TR pin and SD Mode Register 3,
the ADV7314 can be used in timing reset mode, subcarrier phase
reset mode, or RTC mode.
Timing Reset Mode
A timing reset is achieved in a low-to-high transition on the
RTC_SCR_TR pin (Pin 31). In this state, the horizontal and
vertical counters will remain reset. On releasing this pin (set to
low), the internal counters will commence counting again, the
field count will start on Field 1, and the subcarrier phase will
be reset.
The minimum time the pin has to be held high is one clock
cycle; otherwise this reset signal might not be recognized.
This timing reset applies to the SD timing counters only.
Subcarrier Phase Reset
A low-to-high transition on the RTC_SCR_TR pin (Pin 31) will
reset the subcarrier phase to zero on the field following the
subcarrier phase reset when the SD RTC/TR/SCR control bits
at Address 44h are set to 01.
DISPLAY
307310
NO TIMING RESET APPLIED
START OF FIELD 4 OR 8FSC PHASE = FIELD 4 OR 8
313320
This reset signal will have to be held high for a minimum of one
clock cycle.
Since the field counter is not reset, it is recommended that the
reset signal should be applied in Field 7 [PAL] or Field 3
[NTSC]. The reset of the phase will then occur on the next
field, i.e., Field 1, being lined up correctly with the internal
counters. The field count register at Address 7Bh can be used to
identify the number of the active field.
RTC Mode
In RTC mode, the ADV7314 can be used to lock to an external
video source. The real-time control mode allows the ADV7314
to automatically alter the subcarrier frequency to compensate
for line length variations. When the part is connected to a device
that outputs a digital datastream in the RTC format (such as an
ADV7183A video decoder, see Figure 31), the part will automatically change to the compensated subcarrier frequency on a
line by line basis. This digital datastream is 67 bits wide and the
subcarrier is contained in Bits 0 to 21. Each bit is two clock
cycles long. 00h should be written into all four subcarrier
frequency registers when using this mode.
DISPLAY
START OF FIELD 1
307123456721
TIMING RESET APPLIED
F
PHASE = FIELD 1
SC
Figure 29. Timing Reset Timing Diagram
DISPLAY
307310313320
NO FSC RESET APPLIED
DISPLAY
307310313320
FSC RESET APPLIED
START OF FIELD 4 OR 8
START OF FIELD 4 OR 8
Figure 30. Subcarrier Reset Timing Diagram
TIMING RESET PULSE
PHASE = FIELD 4 OR 8
F
SC
PHASE = FIELD 1
F
SC
F
SC
RESET PULSE
REV. 0
–37–
Page 38
ADV7314
Reset Sequence
A reset is activated with a high-to-low transition on the RESET pin
[Pin 33] according to the timing specifications. The ADV7314
will revert to the default output configuration. Figure 32 illustrates the RESET sequence timing.
SD VCR FF/RW Sync
[Subaddress 42h, Bit 5]
In DVD record applications where the encoder is used with a
decoder, the VCR FF/RW Sync control bit can be used for nonstandard input video, i.e., in fast forward or rewind modes.
In fast forward mode, the sync information at the start of a new
field in the incoming video usually occurs before the correct
number of lines/field are reached. In rewind mode, this sync
CLKIN_A
COMPOSITE
VIDEO
e.g., VCR
OR CABLE
H/L TRANSITION
COUNT START
128
RTC
TIME SLOT 01
NOTES
1
FSC PLL INCREMENT IS 22 BITS LONG. VALUE LOADED INTO ADV7314 FSC DDS REGISTER IS FSC PLL INCREMENTS BITS 21:0
PLUS BITS 0:9 OF SUBCARRIER FREQUENCY REGISTERS. ALL ZEROS SHOULD BE WRITTEN TO THE SUBCARRIER FREQUENCY REGISTERS
OF THE ADV7314.
2
SEQUENCE BIT
PAL: 0 = LINE NORMAL, 1 = LINE INVERTED; NTSC: 0 = NO CHANGE
3
SEQUENCE BIT
RESET ADV7314 DDS
LCC1
ADV7183A
VIDEO
DECODER
14 BITS
SUBCARRIER
PHASE
LOW
130
GLL
P19–P10
RESERVED
142119
4 BITS
RTC_SCR_TR
Y9-Y0/S9–S0*
signal usually occurs after the total number of lines/field are
reached. Conventionally this means that the output video will
have corrupted field signals, one generated by the incoming
video and one when the internal lines/field counters reach the
end of a field.
When the VCR FF/RW sync control is enabled [Subaddress 42h,
Bit 5] the lines/field counters are updated according to the
incoming VSYNC signal and the analog output matches the
incoming VSYNC signal.
This control is available in all slave timing modes except Slave
Mode 0.
ADV7314
DAC A
DAC B
DAC C
DAC D
DAC E
DAC F
PLL INCREMENT
F
SC
VALID
INVALID
SAMPLE
SAMPLE
*SELECTED BY REGISTERADDRESS 01h BIT 7
SEQUENCE
1
8/LINE
LOCKED
CLOCK
BIT
0
2
RESET
BIT
RESERVED
6768
5 BITS
RESERVED
3
RESET
DACs
A, B, C
DIGITAL TIMING
PIXEL DATA
VALID
XXXXXX
XXXXXX
Figure 31. RTC Timing and Connections
OFF
DIGITAL TIMING SIGNALS SUPPRESSED
Figure 32.
RESET
Timing Sequence
VALID VIDEO
TIMING ACTIVE
REV. 0–38–
Page 39
ADV7314
H
B
Vertical Blanking Interval
The ADV7314 accepts input data that contains VBI data [e.g.,
CGMS, WSS, VITS] in SD and HD modes.
For SMPTE 293M [525p] standards, VBI data can be inserted
on Lines 13 to 42 of each frame, or Lines 6 to 43 for ITU-R
BT.1358 [625p] standard. For SD NTSC, this data can be
present on Lines 10 to 20, and in PAL on Lines 7 to 22.
If VBI is disabled [Address 11h, Bit 4 for HD; Address 43h,
Bit 4 for SD], VBI data is not present at the output and the
entire VBI is blanked. These control bits are valid in all master
and slave modes.
In Slave Mode 0, if VBI is enabled, the blanking bit in the EAV/
SAV code is overwritten; it is possible to use VBI in this timing
mode as well.
In Slave mode 1 or 2, the BLANK control bit must be set to
enabled [Address 4Ah, Bit 3] to allow VBI data to pass through
the ADV7314; otherwise the ADV7314 automatically blanks the
VBI to standard.
If CGMS is enabled and VBI is disabled, the CGMS data will
nevertheless be available at the output.
ANALOG
VIDEO
SD Subcarrier Frequency Registers
[Subaddress 4Ch–4Fh]
Four 8-bit registers are used to set up the subcarrier frequency.
The value of these registers is calculated in using the following
equation:
Subcarrier Frequencygister
Re=¥
#
MHz clk cycles in one video line
#27
23
2
Subcarrier Frequency Value
For example, in NTSC mode,
227 5
.
Ê
ˆ
23
Subcarrier FrequencyValue =
Á
Ë
1716
2569408542
¥=
˜
¯
SD FSC Register 0: 1Eh
SD F
Register 1: 7Ch
SC
Register 2: F0h
SD F
SC
Register 3: 21h
SD F
SC
Refer to the MPU Port Description section for more details on
how to access the subcarrier frequency registers.
Square Pixel Timing [Register 42h, Bit 4]
In square pixel mode, the following timing diagrams apply.
INPUT PIXELS
NTSC/PAL M SYSTEM
(525 LINES/60Hz)
PAL SYSTEM
(625 LINES/50Hz)
EAV CODE
C
FF0000X
Y
Y
r
4 CLOCK
4 CLOCK
END OF ACTIVE
VIDEO LINE
8
10801
0
Y
0
FF00FFABABA
ANCILLARY DATA
272 CLOCK
344 CLOCK
B
(HANC)
801
0
SAV CODE
8
10FF0
0
0
XYC
Y
0
0
b
4 CLOCK
4 CLOCK
START OF ACTIVE
VIDEO LINE
C
C
Y
Y
b
r
1280 CLOCK
1536 CLOCK
C
C
Y
b
r
Figure 33. EAV/SAV Embedded Timing
SYNC
FIELD
PAL = 44 CLOCK CYCLES
NTSC = 44 CLOCK CYCLES
LANK
PIXEL
DATA
PAL = 136 CLOCK CYCLES
NTSC = 208 CLOCK CYCLES
CbY
CrY
Figure 34. Active Pixel Timing
REV. 0
–39–
Page 40
ADV7314
)
)
FILTER SECTION
Table VI shows an overview of the programmable filters available on the ADV7314.
SD Internal Filter Response
[Subaddress 40h; Subaddress 42, Bit 0]
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 six low-pass responses,
a CIF response and a QCIF response, as can be seen in the
Typical Performance Characteristics graphs.
If SD SSAF gain is enabled, there are 12 possible responses in
the range from –4 dB to +4 dB [Subaddress 47h, Bit 4]. The
desired response can be chosen by the user by programming the
correct value via the I2C [Subaddress 62h]. The variation of
frequency responses can be seen in the Typical Performance
Characteristics graphs.
Pass-band ripple refers to the maximum fluctuations from the 0 dB response in
the pass band, measured in dB. The pass band is defined to have 0 Hz to fc
(Hz) frequency limits for a low-pass filter, 0 Hz to f1 (Hz) and f2 (Hz) to
infinity for a notch filter, where fc, f1, f2 are the –3 dB points.
2
3 dB bandwidth refers to the –3 dB cutoff frequency.
In addition to the chroma filters listed in Table VII, the ADV7314
contains an SSAF filter specifically designed for and applicable
to the color difference component outputs, U and V.
This filter has a cutoff frequency of about 2.7 MHz and –40 dB
at 3.8 MHz, as can be seen in Figure 37. This filter can be
controlled with Address 42h, Bit 0.
If this filter is disabled, the selectable chroma filters shown in
Table VII can be used for the CVBS or Luma/Chroma signal.
EXTENDED UV FILTER MODE
0
–10
–20
–30
GAIN (dB)
–40
–50
–60
FREQUENCY (MHz)
6543210
Figure 37. UV SSAF Filter
REV. 0
–41–
Page 42
ADV7314–Typical Performance Characteristics
PROG SCAN Pr/Pb RESPONSE. LINEAR INTERP FROM 4:2:2 TO 4:4:4
0
–10
–20
–30
–40
GAIN (dB)
–50
–60
–70
–80
FREQUENCY (MHz)
20020 40 6080 100 120 140 160 1800
TPC 1. PS – UV 8 Oversampling Filter—Linear
Y RESPONSE IN PS OVERSAMPLING MODE
0
–10
–20
–30
–40
GAIN (dB)
–50
–60
–70
–80
FREQUENCY (MHz)
20020 40 6080 100 120 140 160 1800
TPC 2. PS –Y 8 Oversampling Filter
PROG SCAN Pr/Pb RESPONSE. SSAF INTERP FROM 4:2:2 TO 4:4:4
0
–10
–20
–30
–40
GAIN (dB)
–50
–60
–70
–80
FREQUENCY (MHz)
20020 40 6080 100 120 140 160 1800
TPC 4. PS – UV 8 Oversampling Filter—SSAF
1.0
0.5
0
–0.5
–1.0
GAIN (dB)
–1.5
–2.0
–2.5
–3.0
Y PASSBAND IN PS OVERSAMPLING MODE
122468100
FREQUENCY (MHz)
TPC 5. PS – Y 8 Oversampling Filter—Pass Band
Pr/Pb RESPONSE IN HDTV OVERSAMPLING MODE
0
–10
–20
–30
–40
GAIN (dB)
–50
–60
–70
–80
FREQUENCY (MHz)
TPC 3. HDTV – UV 2 Oversampling Filter
Y RESPONSE IN HDTV OVERSAMPLING MODE
0
–10
–20
–30
–40
GAIN (dB)
–50
–60
–70
140204060801001200
–80
FREQUENCY (MHz)
140204060801001200
TPC 6. HDTV – Y 2 Oversampling Filter
REV. 0–42–
Page 43
ADV7314
)
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
FREQUENCY (MHz
TPC 7. Luma NTSC Low-Pass Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
FREQUENCY (MHz)
TPC 8. Luma NTSC Notch Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
121086420
–70
FREQUENCY (MHz)
121086420
TPC 10. Luma PAL Low-Pass Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
121086420
–70
FREQUENCY (MHz)
121086420
TPC 11. Luma PAL Notch Filter
REV. 0
Y RESPONSE IN SD OVERSAMPLING MODE
0
–10
–20
–30
–40
GAIN (dB)
–50
–60
–70
–80
020406080100 120 140 160 180 200
FREQUENCY (MHz)
TPC 9. Y—16 Oversampling Filter
–43–
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
FREQUENCY (MHz)
TPC 12. Luma SSAF Filter up to 12 MHz
121086420
Page 44
ADV7314
)
)
4
2
0
–2
–4
–6
MAGNITUDE (dB)
–8
–10
–12
012347
FREQUENCY (MHz)
5
6
TPC 13. Luma SSAF Filter—Programmable Responses
1
0
–1
–2
MAGNITUDE (dB)
–3
5
4
3
2
MAGNITUDE (dB)
1
0
–1
012347
FREQUENCY (MHz
5
6
TPC 16. Luma SSAF Filter—Programmable Gain
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–4
–5
012347
FREQUENCY (MHz
5
6
TPC 14. Luma SSAF Filter—Programmable Attenuation
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 15. Luma QCIF LP Filter
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 17. Luma CIF LP Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 18. Chroma 3.0 MHz LP Filter
REV. 0–44–
Page 45
ADV7314
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 19. Chroma 2.0 MHz LP Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 22. Chroma 1.3 MHz LP Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 20. Chroma 1.0 MHz LP Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 21. Chroma CIF LP Filter
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 23. Chroma 0.65 MHz LP Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 24. Chroma QCIF LP Filter
REV. 0
–45–
Page 46
ADV7314
COLOR CONTROLS AND RGB MATRIX
HD/PS Y Level, Cr Level, Cb Level
[Subaddress 16h–18h]
Three 8-bit registers at Address 16h, 17h, 18h are used to program
the output color of the internal HD test pattern generator, whether
it is the lines of the cross hatch pattern or the uniform field test
pattern. They are not functional as color controls on external
pixel data input. For this purpose, the RGB matrix is used.
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.
Table VIII shows sample color values to be programmed into
the color registers when Output Standard Selection is set to
EIA 770.2.
Table VIII. Sample Color Values for
EIA770.2 Output Standard Selection
When the programmable RGB matrix is disabled [Address 02h,
Bit 3], the internal RGB matrix takes care of all YCrCb to YUV
or RGB scaling according to the input standard programmed
into the device.
When the programmable RGB matrix is enabled, the color
components are converted according to the 1080i standard
[SMPTE 274M]:
This is reflected in the preprogrammed values for GY = 138Bh,
GU = 93h, GV = 3B, BU = 248h, RV = 1F0.
If another input standard is used, the scale values for GY, GU,
GV, BU, and RV have to be adjusted according to this input
standard. The user must consider that the color component
conversion might use different scale values. For example,
SMPTE 293M uses the following conversion:
The programmable RGB matrix can be used to control the HD
output levels in cases where the video output does not conform
to standard due to altering the DAC output stages such as termination resistors. The programmable RGB matrix is used for
external HD data and is not functional when the HD test pattern
is enabled.
Programming the RGB Matrix
The RGB matrix should be enabled [Address 02h, Bit 3], the
output should be set to RGB [Address 02h, Bit 5], sync on
PrPb should be disabled [Address 15h, Bit 2], sync on RGB is
optional [Address 02h, Bit 4].
GY at Addresses 03h and 05h control the output levels on the
green signal, BU at 04h and 08h control the blue signal output
levels, and RV at 04h and 09h control the red output levels. To
control YPrPb output levels, YUV output should be enabled
[Address 02h, Bit 5]. In this case GY [Address 05h; Address 03,
Bit 0–1] is used for the Y output, RV [Address 09; Address 04,
Bit 0–1] is used for the Pr output and BU [Address 08h; Address
04h, Bit 2–3] is used for the Pb output.
If RGB output is selected the RGB matrix scaler uses the following equations:
G = GY Y + GU Pb + GV Pr
B = GY Y + BU Pb
R = GY Y + RV Pr
If YUV output is selected the following equations are used:
Y = GY Y
U = BU Pb
V = RV Pr
On power-up, the RGB matrix is programmed with default values:
Table IX. RGB Matrix Default Values
AddressDefault
03h03h
04hF0h
05h4Eh
06h0Eh
07h24h
08h92h
09h7Ch
When the programmable RGB matrix is not enabled, the
ADV7314 automatically scales YCrCb inputs to all standards
supported by this part.
SD Luma and Color Control
[Subaddresses 5Ch, 5Dh, 5Eh, 5Fh]
SD Y scale, SD Cr scale, and SD Cb scale are 10-bit control
registers to scale the Y, U, and V output levels.
Each of these registers represents the value required to scale the
U or V level from 0.0 to 2.0 and Y level from 0.0 to 1.5 of its
initial level. The value of these 10 bits is calculated using the
following equation:
Y, U, or V Scalar Value = Scale Factor 512
For example:
Scale Factor = 1.18
Y, U, or V Scale Value = 1.18 512 = 665.6
Y, U, or V Scale Value = 665 (rounded to the nearest integer)
Y, U, or V Scale Value = 1010 0110 01b
The hue adjust value is used to adjust the hue on the composite
and chroma outputs.
These eight bits represent the value required to vary the hue of
the video data, i.e., the variance in phase of the subcarrier during
active video with respect to the phase of the subcarrier during
the color burst. The ADV7314 provides a range of ±22.5∞ increments of 0.17578125∞. For normal operation (zero adjustment),
this register is set to 80h. FFh and 00h represent the upper and
lower limit (respectively) of adjustment attainable.
To adjust the hue by –4∞, write 69h to the hue adjust value
register:
Ê
-
Á
0 17578125
.
Ë
*Rounded to the nearest integer.
SD Brightness Control
[Subaddress 61h]
ˆ
4
+= =
128 10569
˜
¯
dh*
The brightness is controlled by adding a programmable setup
level onto the scaled Y data. This brightness level may be added
onto the scaled Y data. For NTSC with pedestal, the setup can
vary from 0 IRE to 22.5 IRE. For NTSC without pedestal and
PAL, the setup can vary from –7.5 IRE to +15 IRE.
The brightness control register is an 8-bit register. Seven bits of
this 8-bit register are used to control the brightness level. This
brightness level can be a positive or negative value. For example:
Standard: NTSC with pedestal.
To add +20 IRE brightness level, write 28h to Address 61h, SD
brightness.
[]
SD BrightnessValue H
[.]
IREValueH
[. ][.]
20 2 01563140 3126228
¥=
2 015631
¥= =
HHH
=
Standard: PAL.
To add –7 IRE brightness level, write 72h to Address 61h, SD
brightness.
*Values in the range from 3Fh to 44h might result in an invalid output signal.
SD Brightness Detect
[Subaddress 7Ah]
The ADV7314 allows monitoring of the brightness level of the
incoming video data. Brightness detect is a read-only register.
Double Buffering
[Subaddress 13h, Bit 7; Subaddress 48h, Bit 2]
Double buffered registers are updated once per field on the
falling edge of the VSYNC signal. Double buffering improves
the overall performance since modifications to register settings
will not be made during active video, but take effect on the start
of the active video.
Double buffering can be activated on the following HD registers:
HD Gamma A and Gamma B curves and HD CGMS registers.
Double buffering can be activated on the following SD registers: SD Gamma A and Gamma B curves, SD Y scale, SD U
scale, SD V scale, SD brightness, SD closed captioning, and
SD Macrovision Bits 5–0.
REV. 0
NTSC WITHOUT PEDESTAL
100 IRE
0 IRE
VALUE ADDED
Figure 38. Examples for Brightness Control Values
NO SETUP
POSITIVE SETUP
VALUE ADDED
–47–
NEGATIVE SETUP
VALUE ADDED
+7.5 IRE
–7.5 IRE
Page 48
ADV7314
PROGRAMMABLE DAC GAIN CONTROL
DACs A, B, and C are controlled by Register 0A.
DACs D, E, and F are controlled by Register 0B.
2
C control registers will adjust the output signal gain up or
The I
down from its absolute level.
CASE A
GAIN PROGRAMMED IN DAC O/P LEVEL
700mV
300mV
700mV
300mV
REGISTERS, SUBADDRESS 0Ah, 0Bh
CASE B
NEGATIVE GAIN PROGRAMMED IN
DAC OUTPUT LEVEL REGISTERS,
SUBADDRESS 0Ah, 0Bh
Figure 39. Programmable DAC Gain—Positive
and Negative Gain
In case A, the video output signal is gained. The absolute level
of the sync tip and blanking level both increase with respect to
the reference video output signal. The overall gain of the
signal is increased from the reference signal.
In case B, the video output signal is reduced. The absolute
level of the sync tip and blanking level both decrease with respect
to the reference video output signal. The overall gain of the signal
is reduced from the reference signal.
The range of this feature is specified for ± 7.5% of the nominal
output from the DACs. For example, if the output current of
the DAC is 4.33 mA, the DAC tune feature can change this
output current from 4.008 mA (–7.5%) to 4.658 mA (+7.5%).
The reset value of the vid_out_ctrl registers is 00h –> nominal
DAC output current. Table XI is an example of how the output
current of the DACs varies for a nominal 4.33 mA output current.
[Subaddress 24h–37h for HD, Subaddress 66h–79h for SD]
Gamma correction is available for SD and HD video. For each
standard there are 20 8-bit registers. They are used to program
the gamma correction curves A and B. HD gamma curve A is
programmed at Addresses 24h–2Dh, HD gamma curve B at
2Eh–37h. SD gamma curve A is programmed at addresses
66h–6Fh, and SD gamma curve B at Addresses 70h–79h.
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
SignalSignal
=
()
OUTIN
g
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 time, only one of these curves can be used.
The response of the curve is programmed at 10 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 10 locations are at 24,
32, 48, 64, 80, 96, 128, 160, 192, and 224. Location 0, 16,
240, and 255 are fixed and cannot be changed.
GAMMA CORRECTION BLOCK OUTPUT TO A RAMP INPUT
300
250
200
SIGNAL OUTPUT
0.5
For the length of 16 to 240, the gamma correction curve has to
be calculated as follows:
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:
–16
g
˘
¥-
240 1616
˙
-
()
˙
˚
+
È
x
n
y
n
()
=
Í
240 16
()
Í
Î
where:
x
= value for x along x-axis at points.
(n–16)
n = 24, 32, 48, 64, 80, 96, 128, 160, 192, or 224.
y
= value for y along the y-axis, which has to be written into
n
the gamma correction register.
For example:
yyyyyyyyy
y
*rounded to the nearest integer
= [(8 / 224)
24
= [(16 / 224)
32
= [(32 / 224)
48
= [(48 / 224)
64
= [(64 / 224)
80
= [(80 / 224)
96
= [(112 / 224)
128
= [(144 / 224)
160
= [(176 / 224)
192
= [(208 / 224)
224
0.5
224] + 16 = 58*
0.5
224] + 16 = 76*
0.5
224] + 16 = 101*
0.5
224] + 16 =120*
0.5
224] + 16 =136*
0.5
224] + 16 = 150*
0.5
224] + 16 = 174*
0.5
224] + 16 = 195*
0.5
224] + 16 = 214*
0.5
224] + 16 = 232*
The gamma curves in Figure 41 are examples only; any user
defined curve is acceptable in the range of 16 to 240.
150
100
GAMMA CORRECTED AMPLITUDE
50
0
0
SIGNAL INPUT
50100150200250
LOCATION
Figure 40. Signal Input (Ramp) and
Signal Output for Gamma 0.5
GAMMA CORRECTION BLOCK TO A RAMP INPUT FOR
300
250
200
150
100
GAMMA CORRECTED AMPLITUDE
50
0
0
VARIOUS GAMMA VALUES
0.3
0.5
1.5
SIGNAL INPUT
50100150200250
1.8
LOCATION
Figure 41. Signal Input (Ramp) and
Selectable Gamma Output Curves
REV. 0
–49–
Page 50
ADV7314
HD Sharpness Filter Control and Adaptive Filter Control
[Subaddress 20h, 38h–3Dh]
There are three Filter modes available on the ADV7314:
sharpness filter mode and two adaptive filter modes.
HD Sharpness Filter Mode
To enhance or attenuate the Y signal in the frequency ranges
shown in Figure 42, the following register settings must be used:
HD sharpness filter must be enabled and HD adaptive filter
enable must be disabled.
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 HD sharpness filter gain register at Address 20h.
HD Adaptive Filter Mode
The HD adaptive filter threshold A, B, C registers, the HD
adaptive filter gain 1, 2, 3 registers, and the HD sharpness filter
gain register are used in adaptive filter mode. To activate the
adaptive filter control, HD sharpness filter must be enabled and
HD adaptive filter gain must be enabled.
SHARPNESS AND ADAPTIVE FILTER CONTROL BLOCK
FREQUENCY (MHz)
1.5
1.4
1.3
1.2
1.1
1.0
0.9
MAGNITUDE
0.8
0.7
0.6
0.5
FILTER B RESPONSE (Gain Kb)
INPUT SIGNAL:
STEP
1.5
1.4
1.3
1.2
1.1
1.0
0.9
MAGNITUDE
0.8
0.7
0.6
0.5
FILTER A RESPONSE (Gain Ka)
Figure 42. Sharpness and Adaptive Filter Control Block Frequency Response in
Sharpness Filter Mode with Ka = +3 and Kb = +7
The derivative of the incoming signal is compared to the three
programmable threshold values: HD adaptive filter threshold
A, B, C. The recommended threshold range is from 16 to 235
although any value in the range of 0 to 255 can be used.
The edges can then be attenuated with the settings in HD adaptive
filter gain 1, 2, 3 registers and HD sharpness filter gain register.
According to the settings of the HD adaptive filter mode control, there are two adaptive filter modes available:
1. Mode A is used when adaptive filter mode 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 HD
sharpness filter gain, HD adaptive filter gain 1, 2, 3 are applied
when needed. The Gain A values are fixed and cannot be
changed.
2. Mode B is used when adaptive filter gain is set to 1. In this
mode, a cascade of Filter A and Filter B is used. Both settings for Gain A and Gain B in the HD sharpness filter gain,
HD adaptive filter gain 1, 2, 3 become active when needed.
1.6
1.5
1.4
1.3
1.2
1.1
MAGNITUDE RESPONSE (Linear Scale)
1.0
FREQUENCY (MHz)
024681012
FREQUENCY RESPONSE IN SHARPNESS
FILTER MODE WITH Ka = 3 AND Kb = 7
FREQUENCY (MHz)
REV. 0–50–
Page 51
ADV7314
HD Sharpness Filter and Adaptive Filter Application Examples
HD Sharpness Filter Application
The HD 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.
The effect of the sharpness filter can also be seen when using
the internally generated cross hatch pattern.
Table XIII.
AddressRegister Setting
00hFCh
01h10h
02h20h
10h00h
11h85h
20h99h
In toggling the sharpness filter enable bit [Address 11h, Bit 7],
it can be seen that the line contours of the cross hatch pattern
change their sharpness.
d
e
f
R2
R4
1
CH1 500mVM 4.00sCH1
REF A500mV 4.00s19.99978ms
ALL FIELDS
a
1
b
R1
c
R2
CH1 500mVM 4.00sCH1
REF A500mV 4.00s19.99978ms
ALL FIELDS
Figure 43. HD Sharpness Filter Control with Different Gain Settings for HS Sharpness Filter Gain Value
REV. 0
–51–
Page 52
ADV7314
Adaptive Filter Control Application
Figures 44 and 45 show a typical signal to be processed by the
adaptive filter control block.
: 692mV
@: 446mV
: 332ns
@: 12.8ms
Figure 44. Input Signal to Adaptive Filter Control
: 692mV
@: 446mV
: 332ns
@: 12.8ms
Figure 45. Output Signal after Adaptive Filter Control
The following register settings were used to obtain the results
shown in Figure 45, i.e., to remove the ringing on the Y signal.
Input data was generated by an external signal source.
When changing the adaptive filter mode to Mode B, [Address
15h, Bit 6], the following output can be obtained:
: 674mV
@: 446mV
: 332ns
@: 12.8ms
Figure 46. Output Signal from Adaptive Filter Control
The adaptive filter control can also be demonstrated using the
internally generated cross hatch test pattern and toggling the
adaptive filter control bit [Address 15h, Bit 7].
SD DIGITAL NOISE REDUCTION
[Subaddress 63h, 64h, 65h]
DNR is applied to the Y data only. A filter block selects the high
frequency, low amplitude components of the incoming signal
[DNR input select]. The absolute value of the filter output is
compared to a programmable threshold value [DNR threshold
control]. There are two DNR modes available: DNR mode and
DNR sharpness mode.
In DNR mode, if the absolute value of the filter output is smaller
than the threshold, it is assumed to be noise. A programmable
amount [coring gain border, coring gain data] of this noise
signal will be subtracted from the original signal.
In DNR sharpness mode, if the absolute value of the filter output is less than the programmed threshold, it is assumed to be
noise, as before. Otherwise, if the level exceeds the threshold,
now being identified as a valid signal, a fraction of the signal
[coring gain border, coring gain data] will be added to the original signal in order to boost high frequency components and to
sharpen the video image.
In MPEG systems, it is common to process the video information
in blocks of 8 pixels 8 pixels for MPEG2 systems, or 16 pixels
16 pixels for MPEG1 systems [block size control]. DNR can
be applied to the resulting block transition areas that are known
to contain noise. Generally, the block transition area contains
two pixels. It is possible to define this area to contain four pixels
[border area].
It is also possible to compensate for variable block positioning
or differences in YCrCb pixel timing with the use of the [DNR
block offset].
The digital noise reduction registers are three 8-bit registers.
They are used to control the DNR processing.
Coring Gain Border [Address 63h, Bits 3–0]
These four bits are assigned to the gain factor applied to
border areas.
In DNR mode, the range of gain values is 0–1, in increments of
1/8. This factor is applied to the DNR filter output, which lies
below the set threshold range. The result is then subtracted
from the original signal.
In DNR sharpness mode the range of gain values is 0–0.5, in
increments of 1/16. This factor is applied to the DNR filter
output which lies above the threshold range. The result is added
to the original signal.
Coring Gain Data [Address 63h, Bits 7-4]
These four bits are assigned to the gain factor applied to the
luma data inside the MPEG pixel block.
In DNR mode the range of gain values is 0–1, in increments of
1/8. This factor is applied to the DNR filter output, which lies
below the set threshold range. The result is then subtracted
from the original signal.
In DNR sharpness mode, the range of gain values is 0–0.5, in
increments of 1/16. This factor is applied to the DNR filter
output, which lies above the threshold range. The result is added
to the original signal.
APPLY DATA
CORING GAIN
OXXXXXXOOXXXXXXO
APPLY BORDER
CORING GAIN
Y DATA
INPUT
Y DATA
INPUT
DNR MODE
NOISE
SIGNAL PATH
INPUT FILTER
BLOCK
MAIN SIGNAL PATH
DNR
SHARPNESS
MODE
NOISE
SIGNAL PATH
INPUT FILTER
BLOCK
MAIN SIGNAL PATH
DNR CONTROL
BLOCK SIZE CONTROL
BORDER AREA
BLOCK OFFSET
GAIN
CORING GAIN DATA
CORING GAIN BORDER
FILTER
OUTPUT
< THRESHOLD ?
FILTER OUTPUT
> THRESHOLD
DNR CONTROL
BLOCK SIZE CONTROL
BORDER AREA
BLOCK OFFSET
GAIN
CORING GAIN DATA
CORING GAIN BORDER
FILTER
OUTPUT
> THRESHOLD ?
FILTER OUTPUT
< THRESHOLD
SUBTRACT SIGNAL
IN THRESHOLD
RANGE FROM
ORIGINAL SIGNAL
–
+
DNR OUT
ADD SIGNAL
ABOVE THRESHOLD
RANGE FROM
ORIGINAL SIGNAL
+
+
DNR OUT
OFFSET CAUSED
BY VARIATIONS IN
INPUT TIMING
DNR27 – DNR24 = 01H
OXXXXXXOOXXXXXXO
OXXXXXXOOXXXXXXO
Figure 48. DNR Block Offset Control
DNR Threshold [Address 64h, Bits 5–0]
These six bits are used to define the threshold value in the range
of 0 to 63. The range is an absolute value.
Border Area [Address 64h, Bit 6]
In setting this bit to a Logic 1, the block transition area can be
defined to consist of four pixels. If this bit is set to a Logic 0,
the border transition area consists of two pixels, where one pixel
refers to two clock cycles at 27 MHz.
720485 PIXELS
(NTSC)
88 PIXEL BLOCK 88 PIXEL BLOCK
2 PIXEL
BORDER
DATA
Figure 49. DNR Border Area
REV. 0
Figure 47. DNR Block Diagram
–53–
Page 54
ADV7314
Block Size Control [Address 64h, Bit 7]
This bit is used to select the size of the data blocks to be processed.
Setting the block size control function to a Logic 1 defines a
16 pixel ¥ 16 pixel data block; a Logic 0 defines an 8 pixel ¥
8 pixel data block, where one pixel refers to two clock cycles at
27 MHz.
DNR Input Select Control [Address 65h, Bit 2–0]
Three bits are assigned to select the filter that is applied to the
incoming Y data. The signal that lies in the pass band of the
selected filter is the signal that will be DNR processed. Figure 50
shows the filter responses selectable with this control.
1.0
FILTER D
0.8
FILTER C
0.6
MAGNITUDE
0.4
0.2
0
012 3456
FILTER B
FILTER A
FREQUENCY (Hz)
Figure 50. DNR Input Select
DNR Mode Control [Address 65h, Bit 4]
This bit controls the DNR mode selected. A Logic 0 selects
DNR mode; a Logic 1 selects DNR sharpness mode.
DNR works on the principle of defining low amplitude, high
frequency signals as probable noise and subtracting this noise
from the original signal.
In DNR mode, it is possible to subtract a fraction of the signal
that lies below the set threshold, assumed to be noise, from the
original signal. The threshold is set in DNR Register 1.
When DNR sharpness mode is enabled, it is possible to add a
fraction of the signal that lies above the set threshold to the
original signal, since this data is assumed to be valid data and
not noise. The overall effect is that the signal will be boosted
(similar to using extended SSAF filter).
Block Offset Control [Address 65h, Bits 7–4]
Four bits are assigned to this control, which allows a shift of the
data block of 15 pixels maximum. Consider the coring gain
positions fixed. The block offset shifts the data in steps of one
pixel such that the border coring gain factors can be applied at the
same position regardless of variations in input timing of the data.
REV. 0–54–
Page 55
ADV7314
SD ACTIVE VIDEO EDGE
[Subaddress 42h, Bit 7]
When the active video edge is enabled, the first three pixels and
the last three pixels of the active video on the luma channel are
scaled in such a way that maximum transitions on these pixels
are not possible. The scaling factors are ¥1/8, ¥1/2, ¥7/8. All
other active video passes through unprocessed.
LUMA CHANNEL WITH
ACTIVE VIDEO EDGE
DISABLED
100 IRE
0 IRE
Figure 51. Example for Active Video Edge Functionality
VOLTS
IRE:FLT
100
0.5
SAV/EAV Step Edge Control
The ADV7314 can control fast rising and falling signals at the
start and end of active video to minimize ringing.
An algorithm monitors SAV and EAV and governs when the
edges are too fast. The result will be reduced ringing at the start
and end of active video for fast transitions.
Subaddress 42h, Bit 7 = 1 enables this feature.
LUMA CHANNEL WITH
ACTIVE VIDEO EDGE
ENABLED
100 IRE
87.5 IRE
50 IRE
12.5 IRE
0 IRE
50
0
024
0
–50
Figure 52. Address 42h, Bit 7 = 0
VOLTS
0.5
IRE:FLT
100
50
0
0
F2
L135
681012
REV. 0
F2
–50
02–24681012
L135
Figure 53. Address 42h, Bit 7 = 1
–55–
Page 56
ADV7314
BOARD DESIGN AND LAYOUT CONSIDERATIONS
DAC Termination and Layout Considerations
The ADV7314 contains an on-board voltage reference. The
ADV7314 can be used with an external V
The R
resistors are connected between the R
SET
(AD1580).
REF
SET
pins and
AGND and are used to control the full-scale output current and
therefore the DAC voltage output levels. For full-scale output,
must have a value of 3040 W. The R
R
SET
be changed. R
has a value of 150 W with a 4 gain stage
LOAD
values should not
SET
for full-scale output.
Video Output Buffer and Optional Output Filter
Output buffering on all six DACs is necessary in order to drive
output devices, such as SD or HD monitors. Analog Devices
produces a range of suitable op amps for this application, for
example the AD8061. More information on line driver buffering
circuits is given in the relevant op amp data sheets.
An optional analog reconstruction low-pass filter (LPF) may be
required as an anti-imaging filter if the ADV7314 is connected
to a device that requires this filtering. The filter specifications
vary with the application.
Figure 55. Filter Plot for Output Filter for SD,
16 Oversampling
BNC OUTPUT
0
16n
–30
14n
–60
12n
–90
10n
–120
8n
–150
6n
–180
4n
–210
2n
–240
0
REV. 0–56–
Page 57
ADV7314
DAC OUTPUT
3.3H
22pF300
22pF300
3
4
600
1.8k
1
BNC OUTPUT
75
Figure 56. Example for Output Filter for PS,
¥
Oversampling
8
DAC OUTPUT
300
3
4
75
1
220nH470nH
82pF33pF
75
3
4
500
BNC OUTPUT
1
500
Figure 57. Example for Output Filter for HDTV,
¥
Oversampling
2
Table XVII shows possible output rates from the ADV7314.
Table XVII.
Input ModePLLOutput
Address 01h, Bit 6–4Address 00h, Bit 1 Rate
SD OnlyOff27 MHz (2¥)
On216 MHz (16¥)
PS OnlyOff27 MHz (1¥)
On216 MHz (8¥)
HDTV OnlyOff74.25 MHz (1¥)
On148.5 MHz (2¥)
0
–6
–12
–18
GROUP DELAY (sec)GROUP DELAY (sec)
–24
–30
GAIN (dB)
–36
–42
–48
–54
–60
1M10M100M1G
CIRCUIT FREQUENCY RESPONSE
MAGNITUDE (dB)
PHASE (Deg)
FREQUENCY (Hz)
Figure 58. Filter Plot for Output Filter for PS,
8
¥
Oversampling
0
–10
–20
GROUP DELAY (sec)
–30
GAIN (dB)
–40
PHASE (Deg)
–50
–60
1M10M100M1G
CIRCUIT FREQUENCY RESPONSE
MAGNITUDE (dB)
FREQUENCY (Hz)
198
158
118
77.6
37.6
0
–42.4
–82.4
–122
–162
–202
480
360
240
120
0
–120
–240
20n
18n
16n
14n
12n
10n
8n
6n
4n
2n
0
18n
15n
12n
9n
6n
3n
0
Figure 59. Example for Output Filter HDTV,
2¥ Oversampling
REV. 0
–57–
Page 58
ADV7314
PC BOARD LAYOUT CONSIDERATIONS
The ADV7314 is optimally designed for lowest noise performance, for both radiated and conducted noise. To complement
the excellent noise performance of the ADV7314, it is imperative that great care be given to the PC board layout.
The layout should be optimized for lowest noise on the ADV7314
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 GND_IO pins should be kept as short as possible to
V
DD_IO
and AGND, VDD and DGND, and
AA
minimized inductive ringing.
It is recommended that a 4-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. Component placement should be carefully considered in order to
separate noisy circuits, such as crystal clocks, high speed logic
circuitry, and analog circuitry.
There should be a separate analog ground plane and a separate
digital ground plane.
Power planes should encompass a digital power plane and an
analog power plane. The analog power plane should contain the
DACs and all associated circuitry, V
circuitry. The digital
REF
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.
To avoid crosstalk between the DAC outputs, it is recommended
to leave as much space as possible between the tracks of the
individual DAC output pins. The addition of ground tracks
between outputs is also recommended.
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 10 nF and
0.1 mF ceramic capacitors. Each of group of V
, VDD, or V
AA
DD_IO
pins should be individually 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.
A 1 mF tantalum capacitor is recommended across the V
supply
AA
in addition to a 10 nF ceramic capacitor. See Figure 60.
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.
Due to the high clock rates used, long clock lines to the ADV7314
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 to the
analog power plane.
Analog Signal Interconnect
The ADV7314 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 be
source and load terminated, as shown in Figure 60. The termination resistors should be as close as possible to the ADV7314
to minimize reflections.
For optimum performance, it is recommended that all decoupling
and external components relating to the ADV7314 be located on
the same side of the PCB and as close as possible to the ADV7314.
Any unused inputs should be tied to ground.
REV. 0–58–
Page 59
V
AA
4.7k
4.7F
ADV7314
POWER SUPPLY DECOUPLING FOR
EACH POWER SUPPLY GROUP
ADV7314
V
AAVAA
3.9nF680
0.1F0.1F
COMP2
COMP1
I2C
S0–S9
S_HSYNC
S_VSYNC
S
BLANK
C0–C9
Y0–Y9
CLKIN_B
P_HSYNC
P_VSYNC
P_BLANK
RESET
CLKIN_A
EXT_LF
GND_IO AGND DGND
AA
V
DD_IO
5k
V
AA
820pF
10, 56
VDDV
DAC A
DAC B
DAC C
DAC D
DAC E
DAC F
11, 57
VDD_
V
REF
SCLK
SDA
ALSB
R
SET2
R
SET1
10nF
IO
1F
10nF
10nF0.1F
150
150
150
150
150
150
3040
3040
0.1F
100
100
V
AA
V
DD
V
DD_IO
VDD_
IO
5k
SELECTION HERE
DETERMINES
DEVICE ADDRESS
VDD_
IO
5k
VDD_
1.1k
100nF
IO
5k
V
AA
RECOMMENDED EXTERNAL
AD1580 FOR OPTIMUM
PERFORMANCE
MPU
BUS
UNUSED INPUTS SHOULD BE GROUNDED.
Figure 60. ADV7314 Circuit Layout
REV. 0
–59–
Page 60
ADV7314
APPENDIX 1—COPY GENERATION
MANAGEMENT SYSTEM
PS CGMS Data Registers 2–0
[Subaddress 21h, 22h, 23h]
PS CGMS is available in 525p mode conforming 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—analog
interface.
When PS CGMS is enabled [Subaddress 12h, Bit 6 = 1],
CGMS data is inserted on line 41. The PS CGMS data registers
are at Addresses 21h, 22h, and 23h.
SD CGMS Data Registers 2–0
[Subaddress 59h, 5Ah, 5Bh]
The ADV7314 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 be transmitted
only when the ADV7314 is configured in NTSC mode. The
CGMS data is 20 bits long, and the function of each of these bits
is as shown in Table XVIII. The CGMS data is preceded by a
reference pulse of the same amplitude and duration as a CGMS
bit; see Figure 62.
HD/PS CGMS [Address 12h, Bit 6]
The ADV7314 supports Copy Generation Management System
(CGMS) in HDTV mode (720p and 1080i) in accordance
with EIAJ CPR-1204-2.
The HD CGMS data registers can be found at Address 021h,
22h, 23h.
Function of CGMS Bits
Word 0–6 bits; Word 1–4 bits; Word 2–6 bits; CRC 6 bits
CRC polynomial = x
720p System
6
+ x + 1 (preset to 111111)
CGMS data is applied to Line 24 of the luminance vertical
blanking interval.
1080i System
CGMS data is applied to Line 19 and on Line 582 of the luminance vertical blanking interval.
CGMS Functionality
If SD CGMS CRC [Address 59h, Bit 4] or PS/HD CGMS CRC
[Subaddress 12h, Bit 7] 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 ADV7314 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 x
6
+ x + 1 with a preset value of 111111. If SD
CGMS CRC [Address 59h, Bit 4] or PS/HD CGMS CRC [Address 12h, Bit 7] is set to a Logic 0, all 20 bits (C0–C19) are
output directly from the CGMS registers (no CRC calculated,
must be calculated by the user).
The ADV7314 supports wide screen signaling (WSS) conforming
to the standard. WSS data is transmitted on Line 23. WSS data
can be transmitted only when the ADV7314 is configured in PAL
mode. The WSS data is 14 bits long, and the function of each of
these bits is as shown in Table XIX. The WSS data is preceded
by a run-in sequence and a start code (see Figure 65). If SD
WSS [Address 59h, Bit 7] 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 ms from the falling edge of HSYNC) is available for the
insertion of video.
It is possible to blank the WSS portion of Line 23 with Subaddress
61h, Bit 7.
BitDescription
B6
0No Helper
1Modulated Helper
B7Reserved
B9 B10
0 0No Open Subtitles
1 0Subtitles in Active Image Area
0 1Subtitles out of Active Image Area
1 1Reserved
B11
0No Surround Sound Information
1Surround Sound Mode
The ADV7314 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.
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. 16 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 the SD
closed captioning registers [Address 53h–54h].
The ADV7314 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 the SD
closed captioning registers [Address 51h–52h].
All clock run-in signals and timing to support closed captioning
on Lines 21 and 284 are generated automatically by the ADV7314.
All pixels inputs are ignored during Lines 21 and 284 if closed
captioning is enabled.
10.5 0.25s12.91s
7 CYCLES OF
0.5035MHz
CLOCK RUN-IN
50 IRE
40 IRE
REFERENCE COLOR BURST
FREQUENCY = F
(9 CYCLES)
= 3.579545MHz
SC
AMPLITUDE = 40 IRE
10.003s
27.382s33.764s
FCC Code of Federal Regulations (CFR) 47 section 15.119
and EIA608 describe the closed captioning information for
Lines 21 and 284.
The ADV7314 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 two byte deep buffering systems. The data
must be loaded one line before (Line 20 or Line 283) it is output on Line 21 and Line 284. A typical implementation of this
method is to use VSYNC to interrupt a microprocessor, which
in turn will load the new data (two bytes) every field. If no new
data is required for transmission, 0s must be inserted in both
data registers, which is called nulling. It is also important to load
control codes, all of that are double bytes on Line 21 or a television will not recognize them. If there is a message like Hello
World that has an odd number of characters, it is important
to pad it out to even in order to get end-of-caption 2-byte
control code to land in the same field.
TWO 7-BIT + PARITY
ASCII CHARACTERS
(DATA)
S
T
D0–D6D0–D6
A
R
T
P
A
R
I
T
Y
P
A
R
I
T
Y
BYTE 1BYTE 0
REV. 0
Figure 66. Closed Captioning Waveform, NTSC
–63–
Page 64
ADV7314
APPENDIX 4—TEST PATTERNS
The ADV7314 can generate SD and HD test patterns.
T
2
CH2 200mV M 10.0sA CH2 1.20V
T
30.6000s
Figure 67. NTSC Color Bars
T
2
CH2 100mV M 10.0sCH2 EVEN
T
1.82600ms
Figure 70. PAL Black Bar (–21 mV, 0 mV, 3.5 mV,
7 mV, 10.5 mV, 14 mV, 18 mV, 23 mV)
Figure 74. 525p Black Bar (–35 mV, 0 mV, 7 mV,
14 mV, 21 mV, 28 mV, 35 mV)
The following register settings are used to generate an SD NTSC
CVBS output on DAC A.
Register
SubaddressSetting
00h80h
40h10h
42h40h
44h40h
4Ah08h
*All other registers are set to default/normal settings.
For PAL CVBS output on DAC A, the same settings are used
except that Subaddress 40h is changed to 11h.
The following register settings are used to generate an SD NTSC
black bar pattern output on DAC A.
Register
SubaddressSetting
00h80h
02h04h
40h10h
42h40h
44h40h
4Ah08h
*All other registers are set to default/normal settings.
2
CH2 100mV M 4.0sCH2 EVEN
T
1.84176ms
Figure 76. 625p Black Bar (–35 mV, 0 mV, 7 mV,
14 mV, 21 mV, 28 mV, 35 mV)
For PAL black bar pattern output on DAC A, the same settings
are used except that subaddress = 40h and register setting = 11h.
The following register settings are used to generate a 525p hatch
pattern on DAC D.
Register
SubaddressSetting
00h80h
01h10h
10h40h
11h05h
16hA0h
17h80h
18h80h
*All other registers are set to default/normal settings.
For 625p hatch pattern on DAC D, the same register settings
are used except that subaddress = 10h and register setting = 50h.
For a 525p black bar pattern output on DAC D, the same settings
are used as for a 525p hatch pattern except that subaddress = 02h
and register setting = 24h.
For 625p black bar pattern output on DAC D, the same settings
are used as for a 625p hatch pattern except that subaddress = 02h
and register setting = 24h; and subaddress = 10h and register
setting = 50h.
REV. 0
–65–
Page 66
ADV7314
APPENDIX 5—SD TIMING MODES
[Subaddress 4Ah]
Mode 0 (CCIR-656)—Slave Option
(Timing Register 0 TR0 = X X X X X 0 0 0)
The ADV7314 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. S_VSYNC,S_HSYNC, and S_BLANK (if not used) pins should be tied
high during this mode. Blank output is available.
ANALOG
VIDEO
INPUT PIXELS
NTSC /PAL M SYSTEM
(525 LINES/60Hz)
PAL SYSTEM
(625 LINES/50Hz)
EAV CODE
C
FF0000X
Y
Y
r
4 CLOCK
4 CLOCK
END OF ACTIVE
VIDEO LINE
8
10801
0
Y
0
FF00FFABABA
ANCILLARY DATA
268 CLOCK
280 CLOCK
B
(HANC)
Figure 77. SD Slave Mode 0
801
0
SAV CODE
8
10FF0
0
0
XYC
Y
0
0
b
4 CLOCK
4 CLOCK
START OF ACTIVE
VIDEO LINE
C
C
Y
Y
b
r
1440 CLOCK
1440 CLOCK
C
C
Y
b
r
REV. 0–66–
Page 67
Mode 0 (CCIR-656)—Master Option
(Timing Register 0 TR0 = X X X X X 0 0 1)
The ADV7314 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
S_HSYNC, the V bit is output on S_BLANK, and the F bit is
output on S_VSYNC pin.
ADV7314
DISPLAY
5225235245251234
H
V
F
DISPLAY
260261262263264265266267268269270271272273274
H
V
F
EVEN FIELD
ODD FIELD
ODD FIELD
EVEN FIELD
VERTICAL BLANK
67
5
VERTICAL BLANK
9
8
Figure 78. SD Master Mode 0 (NTSC)
DISPLAY
1011202122
283
284
285
DISPLAY
DISPLAY
6226236246251234
H
V
F
DISPLAY
309310311312314315316317
H
V
F
EVEN FIELD
ODD FIELD
ODD FIELD
313
EVEN FIELD
VERTICAL BLANK
VERTICAL BLANK
Figure 79. SD Master Mode 0 (PAL)
5
67
318
319320
DISPLAY
2223
21
DISPLAY
335336
334
REV. 0
–67–
Page 68
ADV7314
H
B
ANALOG
VIDEO
H
V
F
Figure 80. SD Master Mode 0, Data Transitions
Mode 1—Slave Option
(Timing Register 0 TR0 = X X X X X 0 1 0)
In this mode, the ADV7314 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
ADV7314 automatically blanks all normally blank lines as per
CCIR-624. HSYNC is input on HSYNC, BLANK on S_BLANK,
and FIELD on S_VSYNC.
284
DISPLAY
DISPLAY
285
DISPLAY
522523524525
SYNC
LANK
FIELD
DISPLAY
260261262263264265266267268269270271272273274
HSYNC
BLANK
FIELD
1234
EVEN FIELD
ODD FIELD EVEN FIELD
ODD FIELD
VERTICAL BLANK
678
5
VERTICAL BLANK
9
1011
202122
283
Figure 81. SD Slave Mode 1 (NTSC)
REV. 0–68–
Page 69
Mode 1—Master Option
H
B
H
B
H
B
(Timing Register 0 TR0 = X X X X X 0 1 1)
In this mode, the ADV7314 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
ADV7314 automatically blanks all normally blank lines as per
CCIR-624. Pixel data is latched on the rising clock edge following
the timing signal transitions. HSYNC is output on the S_HSYNC,BLANK on S_BLANK, and FIELD on S_VSYNC.
ADV7314
SYNC
LANK
FIELD
SYNC
LANK
FIELD
DISPLAY
6226236246251234
EVEN FIELD
DISPLAY
309310311312313314315316
ODD FIELD
ODD FIELD
EVEN FIELD
VERTICAL BLANK
VERTICAL BLANK
Figure 82. SD Slave Mode 1 (PAL)
317
5
67
318319
320
DISPLAY
212223
DISPLAY
334335336
SYNC
FIELD
PAL = 12 CLOCK/2
NTSC = 16 CLOCK/2
LANK
PIXEL
REV. 0
DATA
PAL = 132 CLOCK/2
NTSC = 122 CLOCK/2
Figure 83. SD Timing Mode 1—Odd/Even Field Transitions Master/Slave
–69–
CbY
CrY
Page 70
ADV7314
H
B
H
B
H
B
H
B
Mode 2—Slave Option
(Timing Register 0 TR0 = X X X X X 1 0 0)
In this mode, the ADV7314 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 ADV7314 automatically blanks all normally blank
lines as per CCIR-624. HSYNC is input S_HSYNC, BLANK
on S_BLANK, and VSYNC on S_VSYNC.
SYNC
LANK
VSYNC
SYNC
LANK
VSYNC
DISPLAY
522523524525
DISPLAY
260261262263264265266267268269270271272273274
1234
EVEN FIELD
ODD FIELD
VERTICAL BLANK
678
5
ODD FIELD
VERTICAL BLANK
EVEN FIELD
9
1011
Figure 84. SD Slave Mode 2 (NTSC)
DISPLAY
VERTICAL BLANK
202122
DISPLAY
283
284
DISPLAY
DISPLAY
285
6226236246251234
SYNC
LANK
VSYNC
SYNC
LANK
VSYNC
DISPLAY
309310311312313314315316
EVEN FIELD
ODD FIELD
ODD FIELD
VERTICAL BLANK
EVEN FIELD
5
317
67
318319
320
212223
DISPLAY
334335336
Figure 85. SD Slave Mode 2 (PAL)
REV. 0–70–
Page 71
H
B
H
B
Mode 2—Master Option
(Timing Register 0 TR0 = X X X X X 1 0 1)
In this mode, the ADV7314 can generate horizontal and vertical
sync signals. A coincident low transition of both HSYNC andVSYNC 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 ADV7314 automatically blanks all normally blank
lines as per CCIR-624. HSYNC is output on S_HSYNC, BLANK
on S_BLANK, and VSYNC on S_VSYNC.
SYNC
VSYNC
PAL = 12 CLOCK/2
LANK
NTSC = 16 CLOCK/2
ADV7314
PIXEL
DATA
SYNC
VSYNC
LANK
PIXEL
DATA
CbYCr
PAL = 132 CLOCK/2
NTSC = 122 CLOCK/2
Figure 86. SD Timing Mode 2 Even-to-Odd Field Transition Master/Slave
PAL = 864 CLOCK/2
PAL = 12 CLOCK/2
NTSC = 16 CLOCK/2
PAL = 132 CLOCK/2
NTSC = 122 CLOCK/2
NTSC = 858 CLOCK/2
CbYCrYCb
Figure 87. SD Timing Mode 2 Odd-to-Even Field Transition Master/Slave
Y
REV. 0
–71–
Page 72
ADV7314
H
B
H
B
H
B
H
B
Mode 3—Master/Slave Option
(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 ADV7314 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 ADV7314 automatically blanks all normally
blank lines as per CCIR-624. HSYNC is output in master mode
and input in slave mode on S_HSYNC, BLANK on S_BLANK,
and VSYNC on S_VSYNC.
DISPLAY
VERTICAL BLANK
DISPLAY
SYNC
LANK
FIELD
SYNC
LANK
FIELD
522523524525
DISPLAYDISPLAY
260261262263264265266267268269270271272273274
1234
ODD FIELDEVEN FIELD
ODD FIELDEVEN FIELD
678
5
VERTICAL BLANK
9
1011
202122
283
284
Figure 88. SD Timing Mode 3 (NTSC)
DISPLAY
6226236246251234
SYNC
VERTICAL BLANK
5
67
212223
DISPLAY
285
LANK
FIELD
SYNC
LANK
FIELD
DISPLAY
309310311312313314315316
ODD FIELDEVEN FIELD
VERTICAL BLANK
318319
317
ODD FIELDEVEN FIELD
320
334335336
DISPLAY
Figure 89. SD Timing Mode 3 (PAL)
REV. 0–72–
Page 73
ADV7314
P
P
P
P
APPENDIX 6—HD TIMING
FIELD 1
1124 1125
_VSYNC
_HSYNC
FIELD 2
561562
VERTICAL BLANKING INTERVAL
12
VERTICAL BLANKING INTERVAL
563564
3
565
4
566
5
67
567568
569
8
570
20
583
DISPLAY
2122
DISPLAY
584
585
560
1123
_VSYNC
_HSYNC
Figure 90. 1080i
HSYNC
and
VSYNC
Input Timing
REV. 0
–73–
Page 74
ADV7314
APPENDIX 7—VIDEO OUTPUT LEVELS
HD YPrPb Output Levels
INPUT CODE
EIA-770.2, STANDARD FOR Y
940
64
EIA-770.2, STANDARD FOR Pr/Pb
960
512
64
OUTPUT VOLTAGE
700mV
300mV
OUTPUT VOLTAGE
700mV
Figure 91. EIA 770.2 Standard Output Signals
(525p/625p)
INPUT CODE
EIA-770.1, STANDARD FOR Y
940
OUTPUT VOLTAGE
782mV
INPUT CODE
EIA-770.3, STANDARD FOR Y
940
64
EIA-770.3, STANDARD FOR Pr/Pb
960
512
64
OUTPUT VOLTAGE
700mV
300mV
OUTPUT VOLTAGE
600mV
700mV
Figure 93. EIA 770.3 Standard Output Signals
(1080i, 720p)
INPUT CODE
1023
Y–OUTPUT LEVELS FOR
FULL INPUT SELECTION
OUTPUT VOLTAGE
714mV
64
286mV
EIA-770.1, STANDARD FOR Pr/Pb
960
512
64
OUTPUT VOLTAGE
700mV
Figure 92. EIA 770.1 Standard Output Signals
(525p/625p)
700mV
64
300mV
INPUT CODE
1023
64
Pr/Pb–OUTPUT LEVELS FOR
FULL INPUT SELECTION
OUTPUT VOLTAGE
700mV
300mV
Figure 94. Output Levels for Full Input Selection
REV. 0–74–
Page 75
RGB Output Levels
ADV7314
700mV
300mV
700mV
300mV
700mV
300mV
550mV
550mV
550mV
Figure 95. HD RGB Output Levels
700mV550mV
700mV
300mV
700mV
300mV
700mV
300mV
550mV
550mV
550mV
Figure 97. SD RGB Output Levels—RGB Sync Disabled
700mV550mV
300mV
0mV
700mV
300mV
0mV
700mV
300mV
0mV
550mV
550mV
Figure 96. HD RGB Output Levels—RGB Sync Enabled
300mV
0mV
700mV
300mV
0mV
700mV
300mV
0mV
550mV
550mV
Figure 98. SD RGB Output Levels—RGB Sync Enabled
REV. 0
–75–
Page 76
ADV7314
YPrPb Output Levels
WHITE
160mV
YELLOW
CYAN
220mV
GREEN
280mV
MAGENTA
RED
332mV
110mV
BLUE
BLACK
1000mV
WHITE
1260mV
YELLOW
CYAN
GREEN
200mV
MAGENTA
RED
2150mV
900mV
BLUE
BLACK
60mV
Figure 99. U Levels—NTSC
WHITE
YELLOW
CYAN
GREEN
220mV
160mV
60mV
Figure 100. U Levels—PAL
WHITE
YELLOW
CYAN
GREEN
MAGENTA
280mV
200mV
RED
332mV
110mV
MAGENTA
RED
2150mV
BLUE
BLUE
BLACK
BLACK
140mV
Figure 102. U Levels—PAL
WHITE
YELLOW
CYAN
GREEN
MAGENTA
300mV
Figure 103. Y Levels—NTSC
WHITE
YELLOW
CYAN
GREEN
MAGENTA
RED
RED
BLUE
BLUE
BLACK
BLACK
1260mV
1000mV
140mV
Figure 101. U Levels—NTSC
300mV
900mV
Figure 104. Y Levels—PAL
REV. 0–76–
Page 77
ADV7314
VOLTS
0.5
APL = 44.5%
525 LINE NTSC
SLOW CLAMP TO 0.00V AT 6.72s
VOLTS
IRE:FLT
100
50
0
0
0.4
0
–50
1020
IRE:FLT
50
F1
L76
30405060
MICROSECONDS
PRECISION MODE OFF
SYNCHRONOUSSYNC = A
FRAMES SELECTED 1 2
Figure 105. NTSC Color Bars 75%
0.2
0
–0.2
–0.4
0
NOISE REDUCTION: 15.05dB
APL NEEDS SYNC-SOURCE!
525 LINE NTSC NO FILTERING
SLOW CLAMP TO 0.00 AT 6.72s
0
–50
F1
L76
1020
30405060
MICROSECONDS
PRECISION MODE OFF
SYNCHRONOUSSYNC = B
Figure 106. NTSC Chroma
FRAMES SELECTED 1 2
REV. 0
–77–
Page 78
ADV7314
VOLTS
–0.2
NOISE REDUCTION: 15.05dB
APL = 44.3%
525 LINE NTSC NO FILTERING
SLOW CLAMP TO 0.00 AT 6.72s
VOLTS
0.6
0.4
0.2
0
IRE:FLT
50
0
0
F2
L238
1020
30405060
MICROSECONDS
PRECISION MODE OFF
SYNCHRONOUSSYNC = SOURCE
Figure 107. NTSC Luma
FRAMES SELECTED 1 2
0.6
0.4
0.2
0
–0.2
L608
10020
NOISE REDUCTION: 0.00dB
APL = 39.1%
625 LINE NTSC NO FILTERING
SLOW CLAMP TO 0.00 AT 6.72s
MICROSECONDS
30405060
PRECISION MODE OFF
SYNCHRONOUSSOUND-IN-SYNC OFF
FRAMES SELECTED 1 2 3 4
Figure 108. PAL Color Bars 75%
REV. 0–78–
Page 79
VOLTS
0.5
0
–0.5
ADV7314
L575
1020
APL NEEDS SYNC SOURCE!
625 LINE PAL NO FILTERING
SLOW CLAMP TO 0.00 AT 6.72s
VOLTS
0.5
0
L575
10020
APL NEEDS SYNC SOURCE!
625 LINE PAL NO FILTERING
SLOW CLAMP TO 0.00 AT 6.72s
30405060
MICROSECONDSNO BUNCH SIGNAL
PRECISION MODE OFF
SYNCHRONOUSSOUND-IN-SYNC OFF
Figure 109. PAL Chroma
3040506070
MICROSECONDSNO BUNCH SIGNAL
PRECISION MODE OFF
SYNCHRONOUSSOUND-IN-SYNC OFF
Figure 110. PAL Luma
FRAMES SELECTED 1
FRAMES SELECTED 1
REV. 0
–79–
Page 80
ADV7314
APPENDIX 8—VIDEO STANDARDS
SMPTE 274M
ANALOG WAVEFORM
*1
4T
EAV CODE
F
F
INPUT PIXELS
SAMPLE NUMBER
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
FOR A FIELD RATE OF 30Hz: 40 SAMPLES
FOR A FIELD RATE OF 25Hz: 480 SAMPLES
000
V
F
0
H*
4 CLOCK4 CLOCK
21122116 21562199
0
DATUM
H
DIGITAL HORIZONTAL BLANKING
272T
ANCILLARY DATA
(OPTIONAL) OR BLANKING CODE
0
441881922111
4T1920T
SAV CODE
F
CbC
000
F
V
0
F
H*
DIGITAL
ACTIVE LINE
Y
r
C
Y
r
SMPTE 293M
ANALOG WAVEFORM
INPUT PIXELS
SAMPLE NUMBER
Figure 111. EAV/SAV Input Data Timing Diagram—SMPTE 274M
EAV CODE
F
000
F
V
0
F
H*
4 CLOCK4 CLOCK
719723 7367998530
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
0HDATUM
DIGITAL HORIZONTAL BLANKING
ANCILLARY DATA
(OPTIONAL)
SAV CODE
000
F
F
Figure 112. EAV/SAV Input Data Timing Diagram—SMPTE 293M
DIGITAL
ACTIVE LINE
F
CbC
V
0
H*
Y
r
857719
C
Y
Y
r
REV. 0–80–
Page 81
ADV7314
ACTIVE
VIDEO
522 523 524 52512567891213141516424344
VERTICAL BLANK
Figure 113. SMPTE 293M (525p)
ACTIVE
VIDEO
622 623624 6251256789121310114344454
VERTICAL BLANK
Figure 114. ITU-R BT.1358 (625p)
VERTICAL BLANKING INTERVAL
7477487497501256782627257447454
3
ACTIVE
VIDEO
DISPLAY
ACTIVE
VIDEO
FIELD 1
FIELD 2
Figure 115. SMPTE 296M (720p)
VERTICAL BLANKING INTERVAL
1124 1125125678
VERTICAL BLANKING INTERVAL
561562563564567568569570
43
566565
Figure 116. SMPTE 274M (1080i)
DISPLAY
21
2022560
DISPLAY
584
5835851123
REV. 0
–81–
Page 82
ADV7314
OUTLINE DIMENSIONS
64-Lead Low Profile Quad Flat Package [LQFP]
(ST-64)
Dimensions shown in millimeters
1.45
1.40
1.35
0.15
0.05
10
6
2
SEATING
PLANE
ROTATED 90 CCW
VIEW A
0.10 MAX
COPLANARITY
0.75
0.60
0.45
SEATING
PLANE
0.20
0.09
7
3.5
0
COMPLIANT TO JEDEC STANDARDS MS-026BCD
1.60
MAX
1
VIEW A
16
17
PIN 1
0.50
BSC
12.00 BSC
SQ
TOP VIEW
(PINS DOWN)
0.27
0.22
0.17
4964
48
10.00
BSC SQ
33
32
REV. 0–82–
Page 83
–83–
Page 84
C03749–0–8/03(0)
–84–
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.