PAL M, N, B, D, G, H, I, PAL-60
SMPTE170M NTSC Compatible Composite Video
ITU-R.BT470 PAL Compatible Composite Video
S-Video (Y/C)
EuroScart RGB
Component YUV (Betacam, MII, SMPTE/EBU N10)
Macrovision Rev 7.1*
CGMS/WSS
Closed Captioning
GENERAL FEATURES
Simultaneous SD and HD Inputs and Outputs
Oversampling (108 MHz/148.5 MHz)
On-Board Voltage Reference
6 Precision Video 11-Bit DACs
2-Wire Serial MPU Interface
Dual I/O Supply 2.5 V/3.3 V Operation
Analog and Digital Supply 2.5 V
On-Board PLL
64-LQFP Package
Lead-Free Product
Video Encoder with Six 11-Bit DACs
ADV7302A/ADV7303A
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
S7–S0
Y7–Y0
C7–C0
S_HSYNC
S_VSYNC
S_BLANK
P_HSYNC
P_VSYNC
P_BLANK
CLKIN_A
CLKIN_B
D
E
M
U
X
D
E
M
U
X
TIMING
GENERATOR
PLL
GENERAL DESCRIPTION
The ADV7302A/ADV7303A is a high speed, digital-to-analog
encoder on a single monolithic chip. It includes six high speed
video D/A converters with TTL compatible inputs.
The ADV7302A/ADV7303A has three separate 8-bit wide 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 signals.
ADV7302A/
ADV7303A
11-BIT
DAC
11-BIT
O
DAC
V
E
R
11-BIT
S
DAC
A
M
11-BIT
P
DAC
L
I
N
11-BIT
G
DAC
11-BIT
DAC
I2C
INTERFACE
APPLICATIONS
DVD Players
SD/HD Display Devices
SD/HD Set-Top Boxes
SD/HDTV Studio Equipment
*ADV7302A Only
REV. A
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.
DETAILED FEATURES
High Definition Programmable Features (720 p/1080 i)
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 (720 p/1080 i)
High Definition Programmable Features (525 p/625 p)
4 Oversampling (108 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
HD PIXEL
INPUT
CLKIN_B
DEINTERLEAVE
CR
CB
Y
TEST
PATTERN
SHARPNESS
AND
ADAPTIVE
FILTER
CONTROL
Y COLOR
CR COLOR
CB COLOR
Macrovision Rev 1.0 (525 p/625 p)*
CGMS-A (525 p)
Standard Definition Programmable Features
8 Oversampling (108 MHz)
Internal Test Pattern Generator (Color Bars, Black Bar)
Controlled Edge Rates for Sync, Active Video
Individual Y and UV Output Delay
Gamma Correction
Digital Noise Reduction
Multiple Chroma and Luma Filters
Luma-SSAF
™
Filter with Programmable Gain/
Attenuation
UV SSAF
Separate Pedestal Control on Component and
Composite/S-Video Outputs
VCR FF/RW Sync Mode
Macrovision Rev 7.1*
CGMS/WSS
Closed Captioning
DAC
4:2:2
TO
4:4:4
PS 4
HDTV 2
DAC
_HSYNC
_VSYNC
P_BLANK
S_HSYNC
S_VSYNC
S_BLANK
CLKIN_A
SD PIXEL
INPUT
DEINTERLEAVE
TIMING
GENERATOR
TIMING
GENERATOR
CB
CR
Y
TEST
PATTERN
DNR
GAMMA
COLOR
CONTROL
CLOCK
CONTROL
AND PLL
SYNC
INSER-
TION
U
V
UV SSAF
LUMA
AND
CHROMA
FILTERS
RGB
MATRIX
2 OVER-
SAMPLING
SD 8
CGMS
WSS
FSC
MODULATION
DAC
DAC
DAC
DAC
Figure 1. Functional Block Diagram
TERMS USED IN THIS DATA SHEET
SDStandard Definition Video, conforming to
ITU-R.BT601/ITU-R.BT656.
HDHigh Definition Video, i.e., Progressive Scan or HDTV.
PSProgressive Scan Video, conforming to SMPTE293M
or ITU-R.BT1358.
HDTVHigh Definition Television Video, conforming to
SMPTE274M or SMPTE296M.
YCrCbSD or HD Component Digital Video
YPrPbHD Component Analog Video
YUVSD Component Analog Video
SSAF is a trademark of Analog Devices, Inc.
*ADV7302A Only
REV. A–2–
ADV7302A/ADV7303A–SPECIFICATIONS
(VAA = VDD = 2.375 V–2.625 V, V
ParameterMinTypMaxUnitTest Conditions
STATIC PERFORMANCE
Resolution11Bits
Integral Nonlinearity±1.0LSBV
Differential Nonlinearity, +ve
Differential Nonlinearity, –ve
DIGITAL OUTPUTS
Output Low Voltage, V
Output High Voltage, V
Three-State Leakage Current±1.0µAV
Three-State Output Capacitance2pF
DIGITAL AND CONTROL INPUTS
Input High Voltage, V
Input Low Voltage, V
Input Leakage Current1µAV
Input Capacitance, C
ANALOG OUTPUTS
Full-Scale Output Current8.28.79.2mA
Output Current Range8.28.79.2mA
Full-Scale Output Current4.14.354.6mAR
Output Current Range4.14.354.6mAR
DAC to DAC Matching2.0%
Output Compliance Range, V
Output Capacitance, C
VOLTAGE REFERENCE
Reference Range, V
REF
POWER REQUIREMENTS
Normal Power Mode
4
I
DD
I
DD_IO
5, 6
I
AA
Sleep Mode
I
DD
I
AA
I
DD_IO
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 o/p voltage step from the ideal. For +ve DNL, the actual step value lies above the ideal step value; for –ve DNL, the
actual step values lie below the ideal step value.
3
Value in brackets for V
4
IDD or the circuit current is the continuous current required to drive the digital core without the I
5
IAA is the total current required to supply all DACs including the V
6
All DACs on.
Specifications subject to change without notice.
= 2.375 V to 2.750 V.
DD_IO
= 2.375 V–3.600 V, V
DD_IO
1
2
2
OL
OH
IH
IL
IN
OC
OUT
= 1.235 V, R
REF
= 760 , R
SET
= 150 , T
LOAD
MIN
to T
(0C to 70C), unless otherwise noted.)
MAX
= 2.5 V
AA
0.125LSBVAA = 2.5 V
1.0LSBVAA = 2.5 V
2.4 [2.0]
3
0.4 [0.4]3VI
VI
= 3.2 mA
SINK
= 400 µA
SOURCE
= 0.4 V, 2.4 V
IN
2V
0.8V
= 2.4 V
IN
2pF
= 1520 Ω
SET1, 2
= 1520 Ω
SET1, 2
01.01.4V
7pF
1.151.2351.3V
93mASD Only [8⫻]
52mAPS Only [4⫻]
84mAHDTV Only [2⫻]
90110mASD and PS
99mASD [8⫻] and HDTV
108mASD and HDTV [2⫻]
0.2mA
7075mA
3745mAR
SET1, 2
= 1520 Ω
130µA
10µA
110µA
.
circuitry and the PLL circuitry.
REF
PLL
REV. A–3–
ADV7302A/ADV7303A
(VAA = VDD = 2.375 V–2.625 V, V
DYNAMIC SPECIFICATIONS
ParameterMinTypMaxUnitTest Conditions
PROGRESSIVE SCAN MODE
Luma Bandwidth12.5MHz
Chroma Bandwidth5.8MHz
SNR59dBLuma Ramp Unweighted
SNR75dBFlat Field up to 5 MHz
SNR70dBFlat Field Full Bandwidth
HDTV MODE
Luma Bandwidth30MHz
Chroma Bandwidth13.75MHz
SNR59dBLuma Ramp Unweighted
SNR75dBFlat Field up to 5 MHz
SNR70dBFlat Field Full Bandwidth
STANDARD DEFINITION MODE
Hue Accuracy0.2Degrees
Color Saturation Accuracy0.54%
Chroma Nonlinear Gain±0.4%Referenced to 40 IRE
Chroma Nonlinear Phase±0.3Degrees
Chroma/Luma Intermod±0.05%
Chroma/Luma Gain Ineq±98%
Chroma/Luma Delay Ineq0.9ns
Luminance Nonlinearity±0.4%
Chroma AM Noise84dB
Chroma PM Noise74dB
Differential Gain0.6%NTSC
Differential Phase1.4DegreesNTSC
SNR59dBLuma Ramp
SNR75dBFlat Field up to 5 MHz
SNR70dBFlat Field Full Bandwidth
Specifications subject to change without notice.
R
= 150 , T
LOAD
MIN
to T
(0C to 70C), unless otherwise noted.)
MAX
= 2.375 V–3.600 V, V
DD_IO
= 1.235 V, R
REF
= 760 ,
SET
REV. A–4–
ADV7302A/ADV7303A
TIMING SPECIFICATIONS
(VAA = VDD = 2.375 V–2.625 V, V
T
to T
MIN
(0C to 70C), unless otherwise noted.)
MAX
= 2.375 V–3.600 V, V
DD_IO
= 1.235 V, R
REF
= 760 , R
SET
ParameterMinTypMaxUnitTest Conditions
MPU PORT
1
SCLOCK Frequency0400kHz
SCLOCK High Pulsewidth, t
SCLOCK Low Pulsewidth, t
Hold Time (Start Condition), t
1
2
3
0.6µs
1.3µs
0.6µsFirst Clock Generated After
This Period
Setup Time (Start Condition), t
4
0.6µsRelevant 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.6µs
RESET Low Time100ns
ANALOG OUTPUTS
Analog Output Delay
2
8ns
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
Output Access Time, t
Output Hold Time, t
*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
The ADV7302A/ADV7303A is a lead-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 tin electroplate. The device is suitable for lead-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 tin-lead soldering processes. This means that the
electroplated tin coating can be soldered with tin-lead solder
pastes at conventional reflow temperatures of 220°C to 235°C.
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.
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
ADV7302A/ADV7303A 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.
PIN CONFIGURATION
DD
V
S2S1S0
GND_IO
GND_IO
S_HSYNC
S_VSYNC
49505152535455565758596061626364
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32313029282726252423222120191817
CLKIN_A
RTC_SCR_TR
S_BLANK
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
V
DD_IO
GND_IO
GND_IO
V
DGND
GND_IO
GND_IO
GND_IO
CLKN_BS7S6S5S4S3DGND
1
PIN 1
2
IDENTIFIER
3
4
Y0
5
Y1
6
Y2
7
Y3
8
Y4
9
Y5
10
DD
11
12
Y6
13
Y7
14
15
16
C0
ADV7302A/ADV7303A
(Not to Scale)
C
2
C1
C2
I
SDA
ALSB
SCLK
TOP VIEW
P_VSYNC
P_HSYNC
C3C4C5C6C7
P_BLANK
PIN FUNCTION DESCRIPTIONS
Pin No.MnemonicInput/OutputFunction
1V
DD_IO
PPower Supply for Digital Inputs and Outputs
4–9, 12, 13Y0–Y7I8-Bit Progressive Scan/HDTV Input Port for Y Data. The LSBs are set up on
Pins Y0 and Y1. In default mode, the input on this port is output on DAC D.
16–18, 26–30C0–C7I8-Bit Progressive Scan/HDTV Input Port for CrCb Color Data in 4:2:2 Input
Mode. In 4:4:4 Input Mode, this input port is used for the Cb (Blue/U) data.
The LSBs are set up on Pins C0 and C1. In default mode, the input on this
port is output on DAC E.
REV. A–12–
ADV7302A/ADV7303A
Pin No.MnemonicInput/OutputFunction
19I
20ALSBI/OTTL Address Input. This signal sets up the LSB of the MPU address. When
21SDAI/OMPU Port Serial Data Input/Output
22SCLKIMPU Port Serial Interface Clock Input
23P_HSYNCIVideo Horizontal Sync Control Signal for HD Sync in Simultaneous SD/HD
24P_VSYNCIVideo Vertical Sync Control Signal for HD Sync in Simultaneous SD/HD
25P_BLANKIVideo Blanking Control Signal for HD Sync in Simultaneous SD/HD Mode
31RTC_SCR_TRIMultifunctional Input: Realtime Control (RTC) Input, Timing Reset Input,
32CLKIN_AIPixel Clock Input for HD Only or SD Only Modes
33RESETIThis input resets the on-chip timing generator and sets the ADV7302A/
34EXT_LFIExternal Loop Filter for the internal PLL
35, 47R
36, 45COMP2, 1OCompensation Pin for DACs. Connect 0.1 µF Capacitor from COMP Pin to V
37DAC FOIn SD Only Mode: Chroma/Red/V Analog Output, in HD Only Mode and
38DAC EOIn SD Only Mode: Luma/Blue/U Analog Output, in HD Only Mode and
39DAC DOIn SD Only Mode: CVBS/Green/Y Analog Output, in HD Only Mode and
40AGNDGAnalog Ground
41V
42DAC COChroma/Red/V SD Analog Output
43DAC BOLuma/Blue/U SD Analog Output
44DAC AOCVBS/Green/Y SD Analog Output
46V
48S_BLANKI/OVideo Blanking Control Signal for SD
49S_VSYNCI/OVideo Vertical Control Signal for SD. Option to output SD VSYNC or SD
50S_HSYNCI/OVideo Horizontal Control Signal for SD. Option to output SD HSYNC or
53–55, 58–62S0–S7I8-Bit Standard Definition Input Port or Progressive Scan/HDTV Input Port
10, 56V
11, 57DGNDGDigital Ground
63CLKIN_BIPixel Clock Input. Requires a 27 MHz reference clock for Progressive Scan
2, 3, 14, 15,GND_IODigital Ground
51, 52, 64
REV. A
2
CIThis input pin must be tied high (V
interface over the I
this pin is tied low, the I
2
C port.
2
C filter is activated, which reduces noise on the I2C
interface.
Mode and HD Only Mode
Mode and HD Only Mode
and HD Only Mode
and Subcarrier Reset Input
ADV7303A into default register setting. Reset is an active low signal.
SET2, 1
IA 760 Ω resistor must be connected from this pin to AGND and is used to
control the amplitudes of the DAC outputs.
Simultaneous HD/SD: Pr/Red (HD) Analog Output
Simultaneous HD/SD: Pb/Blue (HD) Analog Output
Simultaneous HD/SD: Y/Green (HD) Analog Output
AA
REF
PAnalog Power Supply
I/OOptional External Voltage Reference Input for DACs or Voltage Reference
Output (1.235 V)
HSYNC in SD Slave Mode 0 and/or any HD Mode.
HD HSYNC in SD Slave Mode 0 and/or any HD Mode.
for Cr (Red/V) color data in 4:4:4 Input Mode. The LSBs are set up on Pins
S0 and S1. In Default Mode, the input on this port is output on DAC F.
DD
PDigital Power Supply
Mode or a 74.25 MHz (74.1758 MHz) reference clock in HDTV Mode. This
clock input pin is only used in Simultaneous SD/HD Mode.
–13–
) for the ADV7302A/ADV7303A to
DD_IO
AA
.
ADV7302A/ADV7303A
MPU PORT DESCRIPTION
The ADV7302A/ADV7303A 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 ADV7302A/
ADV7303A has four possible slave addresses for both read and
write operations. These are unique addresses for each device and
are illustrated in Figures 15 and 16. The LSB sets either a read or
write operation. Logic Level “1” corresponds to a read operation,
while Logic Level “0” corresponds to a write operation. A1 is set
by setting the ALSB Pin of the ADV7302A/ADV7303A to Logic
Level “0” or Logic Level “1.” When ALSB is set to “1,” there is
greater input bandwidth on the I
speed data transfers on this bus. When ALSB is set to “0,” there
is reduced input bandwidth on the I
pulses of less than 50 ns will not pass into the I
2
C lines, which allows high
2
C lines, which means that
2
C internal con-
troller. This mode is recommended for noisy systems.
110101A1X
ADDRESS
CONTROL
SET UP BY
ALSB
READ/WRITE
CONTROL
0 WRITE
1 READ
Figure 15. ADV7302A Slave Address = D4h
010101A1X
ADDRESS
CONTROL
SET UP BY
ALSB
READ/WRITE
CONTROL
0 WRITE
1 READ
Figure 16. ADV7303A Slave Address = 54h
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 SCLK remains high. This indicates that an address/
data stream will follow. All peripherals respond to the start condition
and shift the next eight bits (7-bit address + R/W Bit). The bits
are transferred from MSB down to LSB. The peripheral that
recognizes the transmitted address responds by pulling the data
line low during the ninth clock pulse. This is known as an
Acknowledge Bit. All other devices withdraw from the bus at this
point and maintain an idle condition. The idle condition is where
the device monitors the SDA and SCLK 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 ADV7302A/ADV7303A acts as a standard slave device on
the bus. The data on the SDA Pin is eight bits long, supporting
the 7-bit addresses plus the R/W Bit. It interprets the first byte
as the device address and the second byte as the starting
subaddress. The subaddress’s autoincrement allows data to be
written to or read from the starting subaddress. A data transfer
is always terminated by a stop condition. The user can also
access any unique subaddress register on a one-by-one basis
without having to update all the registers.
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, it will cause an immediate jump to the idle condition. During a given SCLK 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
ADV7302A/ADV7303A will not issue an acknowledge and will
return to the idle condition. If in Autoincrement Mode the user
exceeds the highest subaddress, the following action will be taken:
1. In Read Mode, the highest subaddress register contents will
continue to be output until the master device issues a noacknowledge. This indicates the end of a read. A no-acknowledge
condition is where the SDA line is not pulled low on the ninth
pulse.
2. In Write Mode, the data for the invalid byte will not be
loaded into any subaddress register, a no-acknowledge will
be issued by the ADV7302A/ADV7303A, and the part will
return to the idle condition.
Before writing to the subcarrier frequency registers, it is a requirement that the ADV7302A/ADV7303A has been reset at least
once since power-up.
The four Subcarrier Frequency Registers must be updated
starting with Subcarrier Frequency Register 0. The subcarrier
frequency will not update until the last subcarrier frequency
register byte has been received by the ADV7302A/ADV7303A.
Figure 17 illustrates an example of data transfer for a read sequence
and the start and stop conditions.
Figure 18 shows bus write and read sequences.
SDATA
SCLOCK
S
1–78
START ADRR R/W ACK SUBADDRESS ACKDATAACK STOP
9
1–789
1–7
89
P
Figure 17. Bus Data Transfer
REV. A–14–
WRITE
SEQUENCE
READ
SEQUENCE
ADV7302A/ADV7303A
S SLAVE ADDR A(S) SUB ADDR A(S)DATAA(S)DATAA(S) P
LSB = 0LSB = 1
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
Figure 18. Read and Write Sequence
A(S) = NO-ACKNOWLEDGE BY SLAVE
A(M) = NO-ACKNOWLEDGE BY MASTER
REGISTER ACCESSES
The MPU can write to or read from all of the registers of the
ADV7302A/ADV7303A except the subaddress registers that are
write-only registers. The subaddress register determines which
register the next read or write operation accesses. All communications with the part through the bus start with an access to the
subaddress register. Then a read/write operation is performed
from/to the target address which then increments to the next
address until a stop command on the bus is performed.
REGISTER PROGRAMMING
The following section describes the functionality of each register. All registers can be read from as well as written to, unless
otherwise stated.
Subaddress Register (SR7–SR0)
The Communications Register is an 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.
Register Select (SR7–SR0)
These bits are set up to point to the required starting address.
REV. A
–15–
ADV7302A/ADV7303A
C
C
/Off
C
Off
p
Table I. Power Mode Register
Subaddress RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register SettingReset
00hPower Mode Register Sleep Mode
PLL and Oversampling
Control
DAC F: Power On/Off0DAC F Off
DA
DAC D: Power On/Off0DAC D Off
DAC C: Power On/Off0DAC C Off
DAC B: Power On/Off0DAC B Off
DAC A: Power On/Off0DAC A Off
NOTES
1
When enabled, the current consumption is reduced to µA level. All DACs and the internal PLL cct are disabled. I2C registers can be read from and written to.
2
This control allows the internal PLL circuit to be powered down and the oversampling to be switched off.
1
2
E: Power On
0Sleep Mode Off
1Sleep Mode On
0PLL On
1PLL Off
1DA
0DA
1DAC E On
1DAC D On
1DAC C On
1DAC B On
1DAC A On
F On
E
Fch
Table II. Input Mode Register
Subaddress RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register SettingReset
01hInput Mode Register0Disabled38h
BTA T-1004 Compatibility
1Enabled
Reserved0Zero must be written
Pixel Align
Clock Align
Input Mode
Reserved0Zero must be written
000SD Input Only
001PS Input Only
010HDTV Input Only
011SD and PS (16-Bit)
100SD and PS (8-Bit)
101SD and HDTV (SD
110SD and HDTV
111PS 54 MHz Input
0Video input data starts
1Video input data starts
0
1Must be set if the
to this bit.
with a Y0 bit. Only for
PS Interleaved Mode.
with a Cb0 bit.
phase delay between
the two input clocks is
<9.25 ns or >27.75 ns.
Only if two input
clocks are used.
led)
Oversam
(HDTV Oversampled)
to this bit.
REV. A–16–
Table III. Mode Register
p
p
p
ADV7302A/ADV7303A
Subaddress RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R egister Setting
02hMode Register 0Reserved00Zero must be written
Test Pattern Black Bar
RGB Matrix
SYNC on RGB
RGB/YUV Output
SD SYNC
HD SYNC
03hRGB Matrix 0XXLSB for GY03h
04hRGB Matrix 1XXLSB for RVF0h
05hRGB Matrix 2XXXXXXXXBits 9–2 for GY4Eh
06hRGB Matrix 3XXXXXXXXBits 9–2 for GU0 Eh
07hRGB Matrix 4XXXXXXXXBits 9–2 for GV24h
08hRGB Matrix 5XXXXXXXXBits 9–2 for BU92h
09hRGB Matrix 6XXXXXXXXBits 9–2 for RV7Ch
0AhReserved00h
0BhReserved00h
0ChReserved00h
0DhReserved00h
0EhReserved00h
0FhReserved00h
0No SYNC Output
1Output SD SYNCs on
0No SYNC Output
1Output HD SYNCs
XXLSB for GU
0No SYNC
1SYNC on all RGB
0RGB Component
1YUV Component
XXLSB for GV
0Disabled
1Enabled. 0x11h, Bit 2
0Disable Programmable
1Enable Programmable
XXLSB for BU
to these bits.
must also be enabled.
RGB Matrix
RGB Matrix
uts
Out
uts
Out
uts
Out
S_HSYNC and
S_VSYNC
on S_HSYNC and
S_VSYNC
Reset
20h
REV. A
–17–
ADV7302A/ADV7303A
Subaddress Reg isterBit Descr iptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting
10hHD Mode Register 100EIA770.2 Output00h
11hHD Mode Register 20Pixel Data Valid Off00h
12hHD Mode Register 30000 Clock Cycle
Table IV. HD Mode Register
HD Output Standard
HD Input Control Signals
HD 625 p
HD 720 p
HD BLANK Polarity
HD Macrovision for
525 p/625 p
HD Pixel Data Valid
HD Test Pattern Enable
HD Test Pattern
Hatch/Field
HD VBI Open
HD Undershoot Limiter
HD Sharpness Filter
HD Y Delay wrt Falling
Edge of HSYNC
HD Color Delay wrt
Falling Edge of HSYNC
HD CGMS
HD CGMS CRC
01EIA770.1 Output
10Output Levels for Full
11Reserved
00
01EAV/SAV Codes
10Async Timing Mode
11Reserved
0525 p
1625 p
01080 i
1720 p
0BLANK Active High
1BLANK Active Low
0Macrovision Off
1Macrovision On
0Reser ved
0HD Test Pattern Off
1HD Test Pattern Off
0Hatch
1Field/Frame
0Disabled
1Enabled
00Disabled
01–11 IRE
10–6 IRE
11–1.5 IRE
0Disabled
1Enabled
0011 Clock Cycle
0102 Clock Cycle
0113 Clock Cycle
1004 Clock Cycle
0000 Clock Cycle
0011 Clock Cycle
0102 Clock Cycle
0113 Clock Cycle
1004 Clock Cycle
0Disabled
1Enabled
0Disabled
1Enabled
Input Range
HSYNC, VSYNC
BLANK
1Pixel Data Valid On
Reset
,
1
REV. A–18–
ADV7302A/ADV7303A
Table IV. HD Mode Register (continued)
Subaddress RegisterBit Descr iptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting
13hHD Mode Register 40Cb after Falling
14hHD Mode Register 50000000XA Low-High-Low
15h HD Mode Register 6Reser ved0Zero must be written
HD Cr/Cb Sequence
Reserved
Sync Filter on DAC D, E, F
HD Chroma SSAF
HD Chroma Input04:4:4
HD Double Buffering0Disabled
HD RGB Input0Disabled
HD Sync on PrPb0Disabled
HD Color DAC Swap
HD Gamma Curve A/B0Gamma Curve A
HD Gamma Curve Enable0Disabled
HD Adaptive Filter Mode0Mode A
HD Adaptive Filter Enable0Disabled
1
1Cr after Falling Edge
0Reser ved
0
0Disabled
1Enabled
0Reserved
1
1Enabled
2
1Enabled
0Disabled
1Enabled
14:2:2
1Enabled
1Enabled
0DAC E = Pb,
1DAC F = Pb,
1Gamma Curve B
1Enabled
1Mode B
HSYNC
Edge of
HSYNC
of
.
Reserved
transition resets the
internal HD timing
counters.
to this bit.
DAC F = Pr
DAC E = Pr
Reset
4Ch
00h
00h
REV. A
NOTES
1
4:2:2 Input Format Only
2
4:4:4 Input Format Only
–19–
ADV7302A/ADV7303A
Table V. Register Settings
Subaddress RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting
16hHD Y ColorXXXXXXXXY Color ValueA0h
17hHD Cr ColorXXXXXXXXCr Color Value80h
18hHD Cb ColorXXXXXXXXCb Color Value80h
19hReserved00h
1AhReserved00h
1BhReserved00h
1ChReserved00h
1DhReserved00h
1EhReserved00h
1FhReserved00h
20h0000Gain A = 0
21hHD CGMS Data 0HD CGMS Data Bits0000C19C18C17C16CGMS 19–1600h
22hHD CGMS Data 1HD CGMS Data BitsC 15 C 14 C 13 C 12 C11 C1 0 C9C8CGMS 15–800h
23hHD CGMS Data 2HD CGMS Data BitsC7C6C5C4C3C2C1 C0CGMS 7–000h
24hHD Gamma AHD Gamma Curve A Data
25hHD Gamma AHD Gamma Curve A Data
26hHD Gamma AHD Gamma Curve A Data
27hHD Gamma AHD Gamma Curve A Data
28hHD Gamma AHD Gamma Curve A Data
29hHD Gamma AHD Gamma Curve A Data
2AhHD Gamma AHD Gamma Curve A Data
2BhHD Gamma AHD Gamma Curve A Data
2ChHD Gamma AHD Gamma Curve A Data
2DhHD Gamma AHD Gamma Curve A Data
2EhHD Gamma BHD Gamma Curve B Data
2FhHD Gamma BHD Gamma Curve B Data
30hHD Gamma BHD Gamma Curve B Data
31hHD Gamma BHD Gamma Curve B Data
32hHD Gamma BHD Gamma Curve B Data
33hHD Gamma BHD Gamma Curve B Data
34hHD Gamma BHD Gamma Curve B Data
HD Sharpness Filter
Gain
HD Sharpness Filter Gain
Value A
HD Sharpness Filter Gain
Value B
Points
Points
Points
Points
Points
Points
Points
Points
Points
Points
Points
Points
Points
Points
Points
Points
Points
0001Gain A = +1
……………
0111Gain A = +7
1000Gain A = –8
……………
1111Gain A = –1
0000Gain B = 0
0001Gain B = +1
……………
0111Gain B = +7
1000Gain B = –8
……………
1111Gain B = –1
XXXXXXXXA000h
XXXXXXXXA100h
XXXXXXXXA200h
XXXXXXXXA300h
XXXXXXXXA400h
XXXXXXXXA500h
XXXXXXXXA600h
XXXXXXXXA700h
XXXXXXXXA800h
XXXXXXXXA900h
XXXXXXXXB000h
XXXXXXXXB100h
XXXXXXXXB200h
XXXXXXXXB300h
XXXXXXXXB400h
XXXXXXXXB500h
XXXXXXXXB600h
Reset
00h
REV. A–20–
ADV7302A/ADV7303A
Table VI. HD Adaptive Filters
Subaddress RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0Register SettingReset
38h0000Gain A = 0
39h0000Gain A = 0
3Ah0000Gain A = 0
3BhHD Adaptive Filter
3ChHD Adaptive Filter
3DhHD Adaptive Filter
HD Adaptive Filter
Gain 1
HD Adaptive Filter
Gain 2
HD Adaptive Filter
Gain 3
Threshold A
Threshold B
Threshold C
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
HD Adaptive Filter
Threshold B Value
HD Adaptive Filter
Threshold C Value
00hex
0001Gain A = +1
0111Gain A = +7
1000Gain A = –8
1111Gain A = –1
0000Gain B = 0
0001Gain B = +1
0111Gain B = +7
1000Gain B = –8
1111Gain B = –1
00hex
0001Gain A = +1
0111Gain A = +7
1000Gain A = –8
1111Gain A = –1
0000Gain B = 0
0001Gain B = +1
0111Gain B = +7
1000Gain B = –8
1111Gain B = –1
00hex
0001Gain A = +1
0111Gain A = +7
1000Gain A = –8
1111Gain A = –1
0000Gain B = 0
0001Gain B = +1
0111Gain B = +7
1000Gain B = –8
1111Gain B = –1
XXXXXXXXThreshold A00hex
XXXXXXXXThreshold B00hex
XXXXXXXXThreshold C00hex
REV. A
–21–
ADV7302A/ADV7303A
p
W
Subaddress RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register SettingReset
3EhReserved00h
3FhReserved00h
40hSD Mode Register 000NTSC
41hReserved00h
42hSD Mode Register 10Disabled
Table VII. SD Mode Registers
SD Standard
SD Luma Filter
SD Chroma Filter
SD UV SSAF
SD DAC Output 1*
SD DAC Output 2
SD Pedestal
SD Square Pixel
SD VCR FF/R
SD Pixel Data Valid
SD Active Video Edge
Sync
01PAL B, D, G, H, I
10PAL M
11PAL N
000LPF NTSC
001LPF PAL
010Notch NTSC
011Notch PAL
100SSAF Luma
101Luma CIF
110Luma QCIF
111Reserved
0001.3 MHz
0010.65 MHz
0101.0 MHz
0112.0 MHz
100Reserved
101Chroma CIF
110Chroma QCIF
1113.0 MHz
1Enabled
0DAC A, B, C: CVBS,
1DAC A, B, C: GBR or
0Swap DAC A and
1
0Disabled
1Enabled
0Disabled
1Enabled
0Disabled
1Enabled
0Disabled
1Enabled
0Disabled
1Enabled
L, C; DAC D, E, F:
GBR or YUV
YUV; DAC D, E, F:
CVBS, L, C
DAC D Out
00h
08h
uts
REV. A–22–
ADV7302A/ADV7303A
y
[
]
(
)
Table VII. SD Mode Registers (continued)
Subaddress RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0Register SettingReset
Subaddress RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register SettingReset
7ChReset RegisterTiming Reset0No reset of Timing
*Line 23
HSYNC
VSYNC
Table VIII. SD Registers (continued)
Generator in Subcarrier
Reset Mode. 44h, Bits
1 and 2 must be set to
Subcarrier Reset.
1Reset Timing
Generator in Subcarrier
Reset Mode
Reserved0Zero must be written to
Reserved0Zero must be written to
Reserved0Zero must be written to
Reserved0Zero must be written to
Reserved0Zero must be written to
Reserved0Zero must be written to
Reserved0Zero must be written to
LINE 313LINE 314LINE 1
t
A
t
C
t
B
this bit.
this bit.
this bit.
this bit.
this bit.
this bit.
this bit.
00h
Figure 19. Timing Register 1 in PAL Mode
Table IX. Macrovision Registers*
Subaddress RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register SettingReset
7DhReserved
7EhReserved
7FhReserved
80hMacrovisionMV Control BitsXXXXXXXXMV 3a [7:0]00h
81hMacrovisionMV Control BitsXXXXXXXXMV 3b [15:8]00h
82hMacrovisionMV Control BitsXXXXXXXXMV 3c [23:16]00h
83hMacrovisionMV Control BitsXXXXXXXXMV 3d [31:24]00h
84hMacrovisionMV Control BitsXXXXXXXXMV 3e [39:32]00h
85hMacrovisionMV Control BitsXXXXXXXXMV 3f [47:40]00h
86hMacrovisionMV Control BitsXXXXXXXXMV 40 [55:48]00h
87hMacrovisionMV Control BitsXXXXXXXXMV 41 [63:56]00h
88hMacrovisionMV Control BitsXXXXXXXXMV 42 [71:64]00h
89hMacrovisionMV Control BitsXXXXXXXXMV 43 [79:72]00h
8AhMacrovisionMV Control BitsXXXXXXXXMV 44 [87:80]00h
8BhMacrovisionMV Control BitsXXXXXXXXMV 45 [95:88]00h
8ChMacrovisionMV Control BitsXXXXXXXXMV 46 [103:96]00h
8DhMacrovisionMV Control BitsXXXXXXXXMV 47 [111:104]00h
8EhMacrovisionMV Control BitsXXXXXXXXMV 48 [119:112]00h
8FhMacrovisionMV Control BitsXXXXXXXXMV 49 [127:120]00h
90hMacrovisionMV Control BitsXXXXXXXXMV 4A [135:128]00h
MV Control BitMacrovision91h00h
0000000Zero must be written
*Macrovision Registers are only available on the ADV7302A.
XMV 4B [136]
to these bits.
REV. A–28–
ADV7302A/ADV7303A
t
DELAY
9.25ns OR
t
DELAY
27.75ns
INPUT AND OUTPUT CONFIGURATION
STANDARD DEFINITION ONLY
The 8-bit multiplexed input data is input on Pins S7–S0, with S0
being the LSB. ITU-R.BT601/ITU-R.BT656 input standards
are supported. In 16-bit Input Mode, the Y pixel data is input on
Pins S7–S0 and CrCb data on Pins Y7–Y0. The 27 MHz clock
input must be input on Pin CLKIN_A. Input sync signals are
optional and are input on the S_VSYNC, S_HSYNC, and
S_BLANK pins.
ADV7302A/
ADV7303A
S_VSYNC
3
MPEG2
DECODER
YCrCb
27MHz
S_HSYNC
S_BLANK
CLKIN_A
8
S7–S0
Figure 20. Standard Definition Only Input Mode
PROGRESSIVE SCAN ONLY OR HDTV ONLY
YCrCb Progressive Scan, HDTV, or any other HD YCrCb data
can be input in 4:2:2 or 4:4:4 format. In 4:2:2 Input Mode, the
Y data is input on Pins Y7–Y0 and the CrCb data on Pins C7–
C0. In 4:4:4 Input Mode, Y data is input on Pins Y7–Y0, Cb
data on Pins C7–C0, and Cr data on Pins S7–S0. If the
YCrCb data does not conform to SMPTE293M (525 p),
ITU-R.BT1358M (625 p), SMPTE274M (1080 i),
SMPTE296M (720 p), or BTA-T1004, the Async Timing Mode
must be used. RGB data can only be input in 4:4:4 format in
PS Input Mode only, or HDTV Input Mode only, when HD
RGB input is enabled. G data is input on Pins Y7–Y0, R data
on S7–S0, and B data on Pins C7–C0. The clock signal must
be input on Pin CLKIN_A. Synchronization signals are optional
and are input on Pins P_VSYNC, P_HSYNC, and P_BLANK.
MPEG2
DECODER
YCrCb
INTERLACED
TO
PROGRESSIVE
27MHz
Cr
Cb
Y
8
8
8
3
ADV7302A/
ADV7303A
CLKIN_A
S7–S0
C7–C0
Y7–Y0
P_VSYNC
P_HSYNC
P_BLANK
Figure 21. Progressive Scan Only Input Mode
SIMULTANEOUS STANDARD DEFINITION AND
PROGRESSIVE SCAN OR HDTV
YCrCb PS, HDTV, or any other HD data must be input in 4:2:2
format. In 4:2:2 Input Mode, the Y data is input on Pins Y7–Y0
and the CrCb data on C7–C0. If PS 4:2:2 data is interleaved onto a
single 8-bit bus, Pins Y7–Y0 are used for the input port. The interleaved data is to be input at 27 MHz in setting the Input Mode
Register at Address 01h accordingly. If the YCrCb data does not
conform to SMPTE293M (525 p), ITU-R.BT1358M (625 p),
SMPTE274M (1080 i), SMPTE296M (720 p), or BTA-T1004,
the Async Timing Mode must be used.
The 8-bit standard definition data must be compliant to ITUR.BT601/ITU-R.BT656 in 4:2:2 format. Standard definition data
is input on Pins S7–S0, with S0 being the LSB. 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; the HD syncs on Pins P_VSYNC, P_HSYNC, and
P_BLANK.
ADV7302A/
ADV7303A
S_VSYNC
27MHz
CrCb
27MHz
3
8
8
8Y
3
S_HSYNC
S_BLANK
CLKIN_A
S7–S0
C7–C0
Y7–Y0
P_VSYNC
P_HSYNC
P_BLANK
CLKIN_B
MPEG2
DECODER
YCrCb
INTERLACED
TO
PROGRESSIVE
Figure 22. Simultaneous Progressive Scan and SD Input
ADV7302A/
ADV7303A
S_VSYNC
3
8
8
8
3
S_HSYNC
S_BLANK
CLKIN_A
S7–S0
C7–C0
Y7–Y0
P_VSYNC
P_HSYNC
P_BLANK
CLKIN_B
SDTV
DECODER
HDTV
DECODER
1080 i
720 p
27MHz
YCrCb
CrCb
Y
74MHz
Figure 23. Simultaneous HDTV and SD Input
If in Simultaneous Input Mode the two clock phases differ by less
than 9.25 ns or more than 27.75 ns, the Clock Align Bit must be
set accordingly. This also applies if the Pixel Align Bit is set. 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.
Figure 24. Clock Phase with Two Input Clocks
REV. A
–29–
ADV7302A/ADV7303A
PROGRESSIVE SCAN AT 27 MHz OR 54 MHz
YCrCb progressive scan data can be input at 27 MHz or 54 MHz.
The input data is interleaved onto a single 8-bit bus and is input
on Pins Y7–Y0. For PS Input Only Mode, the input clock
must be input on CLKIN_A. In Simultaneous SD/HD Mode,
the input clock is input on CLKIN_B.
MPEG2
DECODER
YCrCb
INTERLACED
TO
PROGRESSIVE
27MHz OR
54MHz
YCrCb
8
3
ADV7302A/
ADV7303A
CLKIN_A
Y7–Y0
P_VSYNC
P_HSYNC
P_BLANK
Figure 25. 1 ⫻ 8-Bit PS @ 27 MHz or 54 MHz
When the input sequence of the PS data, i.e., 8-bit interleaved
at 27 MHz, starts with Y0 data as shown in Figure 26, PIXEL
ALIGN [Subaddress 01h] must be set to “0.” In this case, the
timing information embedded in the data stream is recognized
and the video data is transferred to the according Y channel
and CrCb channel processing blocks.
CLKIN_A
PIXEL INPUT
DATA
3FF0000XYY0Cb0Y1Cr0
Figure 26. Input Sequence in PS 8-Bit Interleaved
Mode, EAV/SAV Followed by Y0 Data
If the input sequence starts with Cb0 data as shown in Figure 27,
initially PIXEL ALIGN [Subaddress 01h] must be set to “0.”
This ensures that the ADV7302A/ADV7303A locks to the
input sequence in decoding the embedded timing information
correctly. For correct color decoding, the Pixel Align Bit
[Subaddress 01h] must then be set to “l” after a delay of one
field. The ADV7302A/ADV7303A is now in free run mode,
any changes in the timing information are ignored.
CLKIN_A
PIXEL INPUT
DATA
3FF0000XYCb0Y0Cr0Y1
Figure 27. Input Sequence in PS 8-Bit Interleaved
Mode, EAV/SAV Followed by Cb0 Data
PS 8-bit interleaved at 54 MHz must be input with separate
timing signals. EAV/SAV codes cannot be used in this mode.
REV. A–30–
ADV7302A/ADV7303A
Table X. Overview of All Possible Input Configurations
Input FormatTotal BitsInput Video Input PinsSubaddress Reg ister Setting
Table XIII. Output Configuration in Simultaneous SD/HD Mode
RGB/YUV O/PHD Color Swap
Input FormatsAddr 02h, Bit 5Addr 15h, Bit 3DAC ADAC B DAC CDAC DDAC EDAC F
SD YCrCb in 4:2:2 and
HD YCrCb in 4:2:200CVBSLumaChromaGBR
SD YCrCb in 4:2:2 and
HD YCrCb in 4:2:201CVBSLumaChromaGRB
SD YCrCb in 4:2:2 and
HD YCrCb in 4:2:210CVBSLumaChromaYPbPr
SD YCrCb in 4:2:2 and
HD YCrCb in 4:2:211CVBSLumaChromaYPrPb
REV. A–32–
ADV7302A/ADV7303A
TIMING MODES
HD Async Timing Mode
[Subaddress 10h, Bits 3–2]
For any input data that does not conform to SMPTE293M,
SMPTE274M, SMPTE296M, or ITU-R.BT1358 standards,
an Asynchronous Timing Mode can be used to interface to the
ADV7302A/ADV7303A. Timing control signals for HSYNC,
VSYNC, and BLANK have to be programmed by the user.
Macrovision is not available in Async Timing Mode.
Figure 28 shows an example of how to program the ADV7302A/
ADV7303A to accept a different high definition standard other
than SMPTE293M, SMPTE274M, SMPTE296M, or
ITU-R.BT1358 standards.
Table XIV must be followed when programming the control signals in Async Timing Mode.
HD Timing Reset
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 again commence
counting. 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.
Together with the RTC_SCR_TR Pin and SD Mode Register 3
[Address 44h, Bits 1–2] the ADV7302A/ADV7303A can be
used in Timing Reset Mode, Subcarrier Phase Reset Mode,
or RTC Mode.
a. 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 again commence counting.
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.
b. Subcarrier phase reset, a low-to-high transition on the
RTC_SCR_TR pin (Pin 31), will reset the subcarrier phase
to zero when the SD RTC/TR/SCR control bits at Address 44h
are set to “01.” 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 to apply the reset in Field 7
(PAL). The reset of the phase will then occur on the next field
by being correctly lined up with the internal counters. The
Field Count Register at Address 7Bh can be used to identify
the number of the active field.
c. In RTC Mode, the ADV7302A/ADV7303A can be used to
lock to an external video source. The Real-time Control Mode
allows the ADV7302A/ADV7303A to automatically alter the
subcarrier frequency to compensate for line length variations.
When the part is connected to a device that outputs a digital
data stream in the RTC format (such as a ADV7185 video
decoder, see Figure 29), the part will automatically change to
the compensated subcarrier frequency on a line-by-line basis.
This digital data stream is 67 bits wide and the subcarrier is
contained in Bits 0 to 21. Each bit is two clock cycles long.
00h should be written into all four Subcarrier Frequency
Registers when using this mode.
CLK
P_HSYNC
P_VSYNC
P_BLANK*
8166662431920
*SET ADDRESS 10h, BIT 6 TO “1”
Figure 28. Async Timing Mode, Programming Input Control Signals for SMPTE295M Compatibility
HORIZONTAL SYNC
abcd
ACTIVE VIDEO
PROGRAMMABLE
INPUT TIMING
ANALOG
OUTPUT
e
REV. A
–33–
ADV7302A/ADV7303A
Table XIV. Truth Table
P_HSYNCP_VSYNC
1
P_BLANK
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
NOTES
For standards that do not require a tri-sync level, P_BLANK must be tied low at all times.
1
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.
2
See Figure 28.
1
ADV7302A/
ADV7303A
Reference
2
CLKIN_A
LCC1
COMPOSITE
VIDEO
H/L TRANSITION
COUNT START
RTC
TIME SLOT 01
NOTES
1
i.e., VCR OR CABLE
2
F
PLL INCREMENT IS 22 BITS LONG. VALUE LOADED INTO ADV7302A/ADV7303A FSC DDS REGISTER IS FSC PLL INCREMENTS BITS 21:0
SC
PLUS BITS 0:9 OF SUBCARRIER FREQUENCY REGISTERS. ALL ZEROS SHOULD BE WRITTEN TO THE SUBCARRIER FREQUENCY REGISTERS
OF THE ADV7302A/ADV7303A.
3
PAL: 0 = LINE NORMAL, 1 = LINE INVERTED; NTSC: 0 = NO CHANGE
4
RESET ADV7302A/ADV7303A DDS
1
128
ADV7185
VIDEO
DECODER
RESERVED
LOW
130
P19–P12
14 BITS
NOT USED
GLL
4 BITS
RESERVED
142119
RTC_SCR_TR
S7–S0
Figure 29. RTC Timing and Connections
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 for the start of a
new field in the incoming video usually occurs before the total
number of lines/fields are reached; in Rewind Mode, this sync
signal occurs usually after the total number of lines/fields are
reached. Conventionally, this means that the output video will
have an erroneous start of new field signals, one generated by the
incoming video and one when the internal lines/field counters
reach the end of a field. When VCR FF/RW sync control is enabled
DAC A
DAC B
DAC C
DAC D
DAC E
DAC F
F
PLL INCREMENT
SC
VALID
INVALID
SAMPLE
SAMPLE
SEQUENCE
BIT
2
8/LINE
LOCKED
CLOCK
0
3
6768
5 BITS
RESERVED
RESET
4
BIT
RESERVED
[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.
RESET SEQUENCE
A reset is activated with a high-to-low transition on the RESET
Pin (Pin 33) according to the timing specifications. The
ADV7302A/ADV7303A will revert to the default output configuration. Figure 30 illustrates the RESET sequence timing.
RESET
DACs
DIGITAL TIMING
PIXEL DATA
VALID
DIGITAL TIMING SIGNALS SUPPRESSED
Figure 30.
OFF
RESET
Timing Sequence
VALID VIDEO
TIMING ACTIVE
REV. A–34–
ADV7302A/ADV7303A
FREQUENCY – MHz
0.5
–0.5
0305
GAIN – dB
10152025
0.4
0.1
–0.2
–0.3
–0.4
0.3
0.2
0
–0.1
VERTICAL BLANKING INTERVAL
The ADV7302A/ADV7303A accepts input data that contains
VBI data [CGMS, WSS, VITS, etc.] in SD and HD Modes.
For SMPTE293M (525 p) standards, VBI data can be inserted on
Lines 13 to 42 of each frame, or Lines 6 to 43 for ITU-R.BT1358
(625 p) standard.
For SD NTSC this data can be present on Lines 10 to 20, 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 and 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 ADV7302A/ADV7303A. Otherwise the ADV7302A/
ADV7303A automatically blanks the VBI to standard.
If CGMS is enabled and VBI disabled, the CGMS data will
nevertheless be available at the output.
SUBCARRIER FREQUENCY REGISTER
[Subaddress 4Ch–4Fh]
Four 8-bit wide registers are used to set up the subcarrier frequency. The value of these registers is calculated in using the
equation:
FILTERS
Table XV shows an overview of the programmable filters available on the ADV7302A/ADV7303A.
Ten bits are used to set up the subcarrier phase. Each bit represents 0.352°. For normal operation, this register is set to 00h.
*Rounded to the nearest integer
REV. A
–35–
Figure 31. HD Sync Filter Enabled
0.5
0.4
0.3
0.2
0.1
0
GAIN – dB
–0.1
–0.2
–0.3
–0.4
–0.5
0
10152025
FREQUENCY – MHz
Figure 32. HD Sync Filter Disabled
305
ADV7302A/ADV7303A
HD 4:2:2 to 4:4:4 Interpolation Filters and Chroma SSAF
It is recommended to input data in 4:2:2 Input Mode to make
use of the HD chroma SSAFs on the ADV7302A/ADV7303A.
This filter has a 0 dB pass-band response and prevents signal
components from being folded back into the frequency band. In
4:4:4 Input Mode, the video data is already interpolated by the
external input device and the chroma SSAFs of the ADV7302A/
ADV7303A are bypassed.
0
–10
–20
–30
–40
GAIN – dB
–50
–60
–70
–80
011010
20 30 40 50 60 70 80 90 100
FREQUENCY – MHz
Figure 33. Y – PS 4⫻ Oversampling Filter
The chroma SSAF is controlled with Address 13h, Bit 5.
When the HD input format is 4:2:2, the HD Chroma Input Bit
[Address 13h, Bit 6] must be set to “1.”
2/4/8 Oversampling Filters
The oversampling filters are enabled in setting the PLL ON
control [Subaddress 00h, Bit 1] to “1.” If enabled, PS and
ITU-R.BT656 data is output at a rate of 108 MHz, HDTV at a
rate of 148 MHz.
0
–10
–20
–30
–40
GAIN – dB
–50
–60
–70
–80
016020
406080100120140
FREQUENCY – MHz
Figure 35. Y – HDTV 2⫻ Oversampling Filter
1.0
0.5
0
–0.5
–1.0
GAIN – dB
–1.5
–2.0
–2.5
–3.0
02
468101214
FREQUENCY – MHz
Figure 34. Y – PS 4⫻ Oversampling Filter in the
Pass Band
1.0
0.5
0
–0.5
–1.0
GAIN – dB
–1.5
–2.0
–2.5
–3.0
05
101520253035
FREQUENCY – MHz
Figure 36. Y – HDTV 2⫻ Oversampling Filter in
the Pass Band
REV. A–36–
ADV7302A/ADV7303A
0
–10
–20
–30
–40
GAIN – dB
–50
–60
–70
–80
011010
20 30 40 50 60 70 80 90 100
FREQUENCY – MHz
Figure 37. UV – HDTV 2⫻ Oversampling Filter
0
–10
–20
–30
–40
GAIN – dB
–50
1.0
0.5
0
–0.5
–1.0
GAIN – dB
–1.5
–2.0
–2.5
–3.0
0182
46810121416
FREQUENCY – MHz
Figure 39. UV – HDTV 2⫻ Oversampling Filter, Pass Band
0
–10
–20
–30
–40
GAIN – dB
–50
–60
–70
–80
011010
20 30 40 50 60 70 80 90 100
FREQUENCY – MHz
Figure 38. UV – PS 4⫻ Oversampling Filter, Linear
–60
–70
–80
011010
20 30 40 50 60 70 80 90 100
FREQUENCY – MHz
Figure 40. UV – PS 4⫻ Oversampling Filter, SSAF
REV. A
–37–
ADV7302A/ADV7303A
SD Internal Filter Response
[Subaddress 42h, 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 Figures 41–59.
If SD SSAF gain is enabled, there is the option of 12 responses
in the range from –4 dB to +4 dB. The desired response can be
chosen by the user by programming the correct value via the
I2C. The variation of frequency responses can be seen in
Figures 41–59.
In addition to the chroma filters listed above, the ADV7302A/
ADV7303A 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 approximately 2.7 MHz
and –40 dB at 3.8 MHz, as shown in Figure 41. This filter can
be controlled via Address 42h, Bit 0. If this filter is disabled, the
selectable chroma filters shown in Table XVI can be used for
the CVBS or chroma signal.
Pass-band ripple is the maximum fluctuation 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, and f2 are the –3 dB points.
2
3 dB bandwidth refers to the –3 dB cutoff frequency.
COLOR CONTROLS AND RGB MATRIX
HD Y Color, HD Cr Color, HD Cb Color
[Subaddresses 16h–18h]
Three 8-bit wide registers at Addresses 16h, 17h, and 18h are used
to program the output color of the internal HD test pattern generator, be it 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.BT601–
ITU-R.BT604 standards. Table XVII shows sample color
values to be programmed into the color registers when Output
Standard Selection is set to EIA 770.2.
Table XVII. Sample Color Values for EIA 770.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 SMPTE274M
standard (1080 i):
YRG B
0 21260 71520 0722
'.' . '.'
=×
()
This is reflected in the preprogrammed values for GY = 13Bh,
RV = 1F0h, BU = 248h, GV = 93h, and GU = 3Bh.
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. It must be considered by the user that the color component conversion might use different scale values. For example,
SMPTE293M uses the following conversion:
YR G B
0 2990 5870 114
'.' .'.'
=×
()
The programmable RGB matrix can be used to control the HD
output levels in cases where the video output does not conform to
+×
()
05
.
=
CbB Y
'
−
100722
.
05
.
=
Cr
'
−
102126
.
+×
()
05
.
=
CbB Y
'
−
10114
.
05
.
=
Cr
'
−
10299
.
+×
×−
''
()
×−
RY
''
()
+×
×−
''
()
×−
RY
''
()
()
()
standards 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.
To make use of the programmable RGB matrix, the YCrCb
data should contain the HSYNC signal on the Y channel only.
The RGB matrix should be enabled [Address 02h, Bit 3], the
output should be set to RGB [Address 02h, Bit 3], Sync on
PrPb should be disabled [Address 15h, Bit 2], and 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 the blue signal output levels and
RV at 04h and 09h 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, Bits 0–1] is
used for the Y output, RV [Address 09; Address 04, Bits 0–1] is
used for the Pr output, and BU [Address 08h; Address 04h,
Bits 2–3] is used for the Pb output.
If RGB output is selected, the RGB matrix scaler uses the following equations:
RGYYRV
=×+×
GGYYGUCb GV
=×−×−×
B=GY Y+BU Cb
If YUV output is selected the following equations are used:
On power-up, the RGB matrix is programmed with default values:
When the programmable RGB matrix is not functional, the
ADV7302A/ADV7303A automatically scales YCrCb inputs to
all standards supported. For SMPTE293M, the register values
are as follows:
Address 15h, Bit 3 must be set to “1” in this mode.
SD Color Control
[Subaddresses 5Ch, 5Dh, 5Eh, and 5Fh]
SD Y SCALE, SD Cr SCALE, and SD Cb SCALE are three
10-bit wide 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 to 2.0 and the Y level from 0 to 1.5 of its initial
level. The value of these 10 bits is calculated using the equation:
Y, U, or V Scalar Value = Scale Factor ⫻ 512
××
RRV
=×
GGYY
=×
BBUCb
=×
Cr
Cr
Cr
REV. A–42–
ADV7302A/ADV7303A
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 nearest integer)
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 ADV7302A/ADV7303A provides a range of
±22.5° in increments of 0.17578125°. For normal operation (zero
adjustment), this register is set to 80h. FFh and 00h represent the
attainable upper and lower limit (respectively) of adjustment.
For a positive hue adjust value:
0.17578125° ⫻ (HCR – 128)
Example:
To adjust the hue by +4°, write 97h to the Hue Adjust Value
Register:
+
4
0 17578125
where 151 is rounded to the nearest integer. To adjust the hue
by –4°,
write 69h to the Hue Adjust Value Register:
–.4
0 17578125
128 151 97.h
+==
128 105 69+==h
where 105 is rounded to the nearest integer.
SD Brightness Control
[Subaddress 61h]
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
for PAL, the setup can vary from –7.5 IRE to +15 IRE.
The Brightness Control Register is an 8-bit wide register. Seven
bits are used to control the brightness level. This brightness
level can be a positive or negative value.
Example:
Standard: NTSC with pedestal. To add +20 IRE brightness
level, write 28h to Address 61h, SD Brightness:
SD Brightness Value (hex) = (IRE Value⫻ 2.015631)
28h = (20 ⫻ 2.015631) = 40.31262
Standard: PAL. To add –7 IRE brightness level, write 72h to
Address 61h, SD Brightness:
SD Brightness Value (hex) = (IRE Value⫻ 2.015631)
0001110
= (7 ⫻ 2.015631) = 14.109417
b
0001110 in twos complement equals 1110010, or 72h.
SD Brightness Detect
[Subaddress 7Ah]
The ADV7302A/ADV7303A allows monitoring of the brightness level of the incoming video data. The Brightness Detect
Register 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.
Values in the range from 3Fh to 44h might result in an invalid output signal.
NTSC WITHOUT PEDESTAL
100 IRE
0 IRE
NO SETUP
VALUE ADDED
POSITIVE SETUP
VALUE ADDED
NEGATIVE SETUP
VALUE ADDED
+7.5 IRE
–7.5 IRE
Figure 60. Examples for Brightness Control Values
–43–
ADV7302A/ADV7303A
Gamma Correction
[Subaddresses 21h–37h for HD;
Subaddresses 66h–79h for SD]
Gamma correction is available for SD and HD video. For each
standard there are 20 8-bit wide 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
γ
where ␥ equals the gamma power factor.
Gamma correction is performed on the luma data only. The
user has the choice to use two different curves, Curve A or
Curve B. At any one time only one of these curves can be used.
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. Locations 0,
16, 240, and 255 are fixed and cannot be changed.
For the length of 16 to 240, the gamma correction curve must
be calculated as:
γ
yx=
where y = gamma corrected output, x = linear input signal, and
␥ = the gamma power factor.
To program the Gamma Correction Registers, the values for y
must be calculated using the formula:
x
=
240 16
()
where x
y
n
= the value for x along the x-axis at points n = 24,
(n–16)
32, 48, 64, 80, 96, 128, 160, 192, or 224; y
γ
n
−
16
−
240 1616
×−
()
+
= the value for y
n
along the y-axis, which has to be written into the Gamma Correction Register.
Example:
05
224
16
224
224
48
224
64
224
80
224
112
224
144
224
176
224
8
32
208
224
.
2241658
×
05
.
2241676
×
05
.
22416 101
×
05
.
22416 120
×
05
.
22416 136
×
05
.
22416 150
×
05
.
22416 174
×
05
.
22416
×
05
.
×
22416214
05
.
×
22416232
+=
+=
+=
+=
+=
+=
+=
+
+=
+=
==
195
*
*
*
**
*
*
*
*
*
*
y
=
24
y
=
32
y
=
48
y
=
64
y
=
80
y
=
96
y
=
128
y
=
160
=
y
192
y
=
224
The gamma curves shown in Figures 61 and 62 are examples.
Any user defined curve is acceptable in the range of 16–240.
300
250
200
SIGNAL OUTPUT
150
100
0.5
*Rounded to the nearest integer
GAMMA CORRECTED AMPLITUDE
50
0
0
SIGNAL INPUT
50100150200250
LOCATION
Figure 61. Signal Input (Ramp) and Signal Output
for Gamma 0.5
REV. A–44–
ADV7302A/ADV7303A
300
250
SIGNAL INPUT
200
150
100
GAMMA CORRECTED AMPLITUDE
50
0
0
50100150200250
0.3
0.5
1.5
1.8
LOCATION
Figure 62. Signal Input (Ramp) and Selectable
Gamma Output
HD SHARPNESS FILTER CONTROL AND ADAPTIVE
FILTER CONTROL
[Subaddresses 20h and 38h-3Dh]
There are three filter modes available on the ADV7302A/
ADV7303A: 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 63, the following register settings must be used:
HD Sharpness Filter must be enabled and HD Adaptive Filter
Enable must be set to disabled.
To select one of the 256 individual responses, the corresponding 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, and 3 Registers, and the HD Sharpness Filter Gain Register are used in Adaptive Filter Mode. To
activate the adaptive filter control, HD Sharpness Filter and
HD Adaptive Filter Enable must be enabled.
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–235,
although any value in the range of 0–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 Mode 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.
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
FREQUENCY – MHz
FILTER A RESPONSE – Gain Ka
Figure 63. Sharpness and Adaptive Filter Control Block
1.5
1.4
1.3
1.2
1.1
1.0
0.9
MAGNITUDE
0.8
0.7
0.6
0.5
FREQUENCY – MHz
FILTER B RESPONSE – Gain Kb
1.6
1.5
1.4
1.3
1.2
MAGNITUDE – Linear Scale
1.1
1.0
024681012
FREQUENCY RESPONSE IN SHARPNESS
FILTER MODE WITH Ka = 3 AND Kb = 7
FREQUENCY – MHz
REV. A
–45–
ADV7302A/ADV7303A
a
b
c
Figure 64. HD Sharpness Filter Control with Different Gain Settings for HD Sharpness Filter Gain Value
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 register settings in Tables XIX and XX are used to achieve
the results shown in Figure 64. 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.
d
e
f
Adaptive Filter Control Application
Figure 65 shows a typical signal to be processed by the adaptive
filter control block.
: 692mV
@: 446mV
: 332ns
@: 12.8ms
Figure 65. Input Signal to Adaptive Filter Control
: 690mV
@: 446mV
: 332ns
@: 12.8ms
Table XX. Sharpness Filter on Internal Test Pattern
AddressRegister Setting
00hFCh
01h10h
02h20h
10h00h
11h85h
20h99h
In toggling the Sharpness Filter Enable Bit [Address 11h,
Bit 8], it can be seen that the line contours of the crosshatch
pattern change their sharpness.
Figure 66. Output Signal After Adaptive Filter Control
The register settings in Table XXI are used to obtain the results
shown in Figure 66, i.e., to remove the ringing on the Y signal.
Input data was generated by an external signal source.
REV. A–46–
ADV7302A/ADV7303A
Table XXI. Adaptive Filter Control on Step Input Signal
When changing the Adaptive Filter Mode to Mode B
[Address 15h, Bit 6], the output in Figure 67 can be obtained.
: 674mV
@: 446mV
: 332ns
@: 12.8ms
SD DIGITAL NOISE REDUCTION
[Subaddresses 63h, 64h, and 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 ⫻ 8 pixels for MPEG2 systems, or 16 ⫻ 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.
Figure 67. Output Signal from Adaptive Filter Control
The adaptive filter control can also be demonstrated using the
internally generated crosshatch test pattern and toggling the Adaptive Filter Control Bit [Address 15h, Bit 7], shown in Table XXII.
Table XXII. Adaptive Filter Control on Internal Test Pattern
SUBTRACT SIGNAL
IN THRESHOLD
RANGE FROM
ORIGINAL SIGNAL
DNR OUT
ADD SIGNAL
ABOVE THRESHOLD
RANGE FROM
ORIGINAL SIGNAL
DNR OUT
REV. A
Figure 68. DNR Block Diagram
–47–
ADV7302A/ADV7303A
The Digital Noise Reduction Registers are three 8-bit wide
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 0.125. This factor is applied to the DNR filter output
that 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 to 0.5, in
increments of 0.0625. This factor is applied to the DNR filter
output that 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
0.125. This factor is applied to the DNR filter output that 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 0.0625. This factor is applied to the DNR filter
output that lies above the threshold range. The result is added
to the original signal.
APPLY BORDER
CORING GAIN
OFFSET CAUSED
BY VARIATIONS IN
INPUT TIMING
DNR27 – DNR24 = 01HEX
APPLY DATA
CORING GAIN
O X X X X X X O O X X X X X X O
O X X X X X X O O X X X X X X O
O X X X X X X O O X X X X X X O
Figure 69. 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.
720ⴛ485 PIXELS
(NTSC)
2 PIXEL
BORDER
DATA
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 ⫻ 16 pixel data block, a Logic “0” defines an 8 ⫻ 8
pixel data block, where 1 pixel refers to 2 clock cycles at 27 MHz.
DNR Input Select Control
[Address 65h, Bits 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. The figure
below shows the filter responses selectable with this control.
1.0
FILTER D
0.8
FILTER C
0.6
0.4
0.2
0
012 3456
FILTER B
FILTER A
FREQUENCY – Hz
Figure 71. DNR Input Select
DNR Mode Control
[Address 65h, Bit 3]
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.
8ⴛ8 PIXEL BLOCK 8ⴛ8 PIXEL BLOCK
Figure 70. DNR Border Area
REV. A–48–
SD ACTIVE VIDEO EDGE
600R
300R47pF300R
DAC O/P
75R
BNC O/P
6.8H 6.8H
600R
CIRCUIT FREQUENCY RESPONSE – MHz
–60
110100
0n
–240
6n
–120
12n
0
18n
120
24n
240
30n
360
36n
480
–50
–40
–30
–20
–10
0
GROUP DELAY (sec)
PHASE (Deg)
MAGNITUDE (dB)
THIRD ORDER LOW-PASS BUTTERWORTH
[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⫻, and 7/8⫻.
All other active video passes through unprocessed.
ADV7302A/ADV7303A
LUMA CHANNEL WITH
ACT IVE VIDEO EDGE
DISABLED
100 IRE
0 IRE
Figure 72. Active Video Edge Functionality Example
BOARD DESIGN AND LAYOUT CONSIDERATIONS
DAC Termination and Layout Considerations
The ADV7302A/ADV7303A contain an on-board voltage reference. The V
0.1 µF capacitor when the internal V
the ADV7302A/ADV7303A can be used with an external V
AD1580). The R
Pin is normally terminated to VAA through a
REF
resistors are connected between the R
SET
is used. Alternatively,
REF
REF
(e.g.,
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, R
values should not be changed. R
must have a value of 760 Ω. The R
SET
has a value of 150 Ω for
LOAD
SET
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 LPF might be required as an
antialias filter if the ADV7302A/ADV7303A is connected to a
device that requires this filtering. The filter specifications vary
with the application, see Table XXIII.
SD2⫻>6.5 MHz–50 dB @ 20.5 MHz
SD8⫻>6.5 MHz–50 dB @ 101.5 MHz
PS1⫻>12.5 MHz –50 dB @ 14.5 MHz
PS4⫻>12.5 MHz –50 dB @ 95.5 MHz
HDTV 1⫻>30 MHz–50 dB @ 44.25 MHz
HDTV 2⫻>30 MHz–50 dB @ 118.5 MHz
REV. A
–49–
Figure 74. Filter Plot for Output Filter for SD,
⫻
Oversampling
8
ADV7302A/ADV7303A
6.8H 2.2H
DAC O/P
300R
6.8pF
18pF
300R
600R
75R
600R
Figure 75. Example of Output for Output Filter for
PS, 4
⫻
Oversampling
0
–10
GROUP DELAY (sec)
–20
–30
–40
–50
FOURTH ORDER LOW-PASS BUTTERWORTH
–60
PHASE (Deg)
10M
CIRCUIT FREQUENCY RESPONSE – Hz
MAGNITUDE (dB)
100M
Figure 76. Filter Plot for Output Filter for PS, 4
Oversampling
470nH 220nH
82pF
75R
500R
500R
33pF
75R
DAC O/P
300R
Figure 77. Example for Output Filter HDTV, 2
Oversampling
0
–8.6
–17.1
–25.7
–34.3
–42.9
–51.4
FOURTH ORDER LOW-PASS BUTTERWORTH
–60.0
110100
GROUP DELAY (sec)
PHASE (Deg)
CIRCUIT FREQUENCY RESPONSE – MHz
MAGNITUDE (dB)
Figure 78. Filter Plot for Output Filter for HDTV,
⫻
Oversampling
2
BNC O/P
30n
25n
20n
15n
10n
–120
5n
–240
0n
⫻
BNC O/P
⫻
14n
12n
10n
8n
6n
4n
2n
0n
480
360
240
120
0
198
97.6
0
–102
–203
498
398
298
Table XXIII. Possible Output Rates
Input ModePLL
Addr 01h, Bits 6–4Addr 00h, Bit 1Output Rate
SDOff27 MHz (2⫻)
On108 MHz (8⫻)
PSOff27 MHz (1⫻)
On108 MHz (4⫻)
HDTVOff74.25 MHz (1⫻)
On148.5 MHz (2⫻)
SD andOff27 MHz (2⫻)
On108 MHz (8⫻)
PSOff27 MHz (1⫻)
On108 MHz (4⫻)
SD* andOff27 MHz (2⫻)
On108 MHz (8⫻)
HDTVOff74.25 MHz (1⫻)
On74.25 MHz (1⫻)
SD andOff27 MHz (2⫻)
On27 MHz (2⫻)
HDTV*Off74.25 MHz (1⫻)
On148.5 MHz (2⫻)
*Oversampled
PCB Board Layout Considerations
The ADV7302A/ADV7303A is optimally designed for lowest noise
performance, both radiated and conducted noise. To complement
the excellent noise performance of the ADV7302A/ADV7303A,
it is imperative that great care be given to the PC board layout
and the ADV7302A/ADV7303A power and ground lines. This
can be achieved by shielding the digital inputs and providing
good decoupling. The lead length between groups of V
AGND, V
and DGND, and V
DD
and GND_IO Pins should
DD_IO
AA
and
be kept as short as possible to minimize inductive ringing.
It is recommended that a four-layer printed circuit board be
used with power and ground planes separating the layer of the
signal carrying traces of the components and solder side layer.
Placement of components should take into account 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 and an analog power
plane. The analog power plane should contain the DACs and all
associated circuitry, V
circuitry. The digital power plane
REF
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 three 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.
REV. A–50–
ADV7302A/ADV7303A
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.
Supply Decoupling
Noise on the analog power plane can be further reduced by the
use of decoupling capacitors. Optimum performance is achieved
by the use of 0.1 µF ceramic capacitors. Each of the group of
, V
DD,
or V
V
AA
Pins should be individually decoupled to
DD_IO
ground. This should be done by placing the capacitors as close
as possible to the device with the capacitor leads as short as
possible, thus minimizing lead inductance.
Digital Signal Interconnect
The digital signal lines should be isolated as much as possible
from the analog outputs and other analog circuitry. Digital
signal lines should not overlay the analog power plane. Due to
POWER SUPPLY DECOUPLING FOR
EACH POWER SUPPLY GROUP
V
AAVAA
0.1F0.1F
COMP1
S0–S7
S_HSYNC
S_VSYNC
BLANK
S
C0–C7
Y0–Y7
COMP2
ADV7302A/
10, 56
V
VDDV
DD_IO
AA
V
REF
DAC A
DAC B
DAC C
DAC D
ADV7303A
P_HSYNC
P_VSYNC
V
AA
47k
4.7F
6.3V
V
AA
820pF
3.9nF680R
15, 51, 52, 64
UNUSED INPUTS SHOULD BE GROUNDED
P_BLANK
RESET
CLKIN_B
CLKIN_A
EXT_LF
GND_IO AGND DGND
2, 3, 14,
DAC E
DAC F
SCLK
ALSB
R
R
11, 57
SDA
I
SET1
SET2
Figure 79. Circuit Layout
the high clock rates used, long clock lines to the ADV7302A/
ADV7303A should be avoided to minimize noise pickup. Any
active pull-up termination resistors for the digital inputs should
be connected to the digital power plane and not the analog
power plane.
Analog Signal Interconnect
The ADV7302A/ADV7303A 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 79. The termination resistors
should be as close as possible to the ADV7302A/ADV7303A to
minimize reflections.
Any unused inputs should be tied to ground.
V
10nF
2
C
0.1F
10nF
10nF0.1F
150
150
150
150
150
150
760
760
AA
V
DD
0.1F
V
DD_IO
SD CVBS/GREEN/Y
SD LUMA/BLUE/U
SD CHROMA/RED/V
HD Y/GREEN
HD Pb/BLUE
HD Pr/RED
V
DD_IO
V
V
5k
DD_IO
DD_IO
5k
5k
V
DD_IO
5k
I2C
BUS
REV. A
–51–
ADV7302A/ADV7303A
Appendix A
COPY GENERATION MANAGEMENT SYSTEM
HD CGMS DATA Registers 2–0
[Subaddress 12h]
HD CGMS is available in 525 p Mode only, conforming to
“CGMS-A EIA-J CPR1204-1, Transfer Method of Video ID
information using vertical blanking interval (525 p System),
SD CGMS Data Registers 2–0
[Subaddresses 59h, 5Ah, and 5Bh]
The ADV7302A/ADV7303A supports Copy Generation Management System (CGMS) conforming to the standard. CGMS
data is transmitted on Line 20 of the odd fields and Line 283 of
even fields. Bits C/W05 and C/W06 control whether or not
CGMS data is output on odd and even fields. CGMS data can
only be transmitted when the ADV7302A/ADV7303A is configured in NTSC mode. The CGMS data is 20 bits long, the
function of each of these bits is as shown below. The CGMS
data is preceded by a reference pulse of the same amplitude and
duration as a CGMS bit, see Figure 81.
If SD CGMS CRC [Address 59h, Bit 4] is set to a Logic “1,”
the last six bits, C19–C14, that comprise the 6-bit CRC check
sequence are calculated automatically on the ADV7302A/
ADV7303A 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:
March 1998” and IEC61880, 1998, video systems (525/60)—
video and accompanied data using the vertical blanking
interval—analog interface.
When HD CGMS is enabled, CGMS data is inserted on Line 41.
The HD CGMS Data Registers are to be found at Addresses
21h, 22h, and 23h.
CRC SEQUENCE
BIT 20
21.2s 0.22s
22T
output directly from the CGMS registers (no CRC calculated;
must be calculated by the user).
Table XXIV. Function of CGMS Bits
WordBitFunction
0B1Aspect Ratio0 = 4:3
1 = 16:9
B2Display Format0 = Normal
1 = Letterbox
B3Undefined
B4–B6Identification Information about Video
and Other Signals (i.e., Audio)
1B7–B10Identification Signal. Incidental to Word 0.
2B11–B14Identification Signal and Information.
Incidental to Word 0.
xx61++
with a preset value of 111111. If SD CGMS CRC [Address
59h, Bit 4] is set to a Logic “0,” then all 20 bits (C0–C19) are
SD WIDE SCREEN SIGNALING
[Subaddresses 59h, 5Ah, and 5Bh]
The ADV7302A/ADV7303A supports Wide Screen Signaling
(WSS) conforming to the standard. WSS data is transmitted on
Line 23. WSS data can only be transmitted when the ADV7302A/
ADV7303A is configured in PAL Mode. The WSS data is 14 bits
long. The function of each of these bits is as shown in Table XXV.
The WSS data is preceded by a run-in sequence and a start code
(see Figure 82). 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 µs 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.
Table XXV. Function of WSS Bits
BitFunction
0Aspect Ratio
1Format
2Position
3Odd Parity Check of Bits 0–2
40 = Camera Mode
1 = Film Mode
50 = Standard Coding
1 = Motion Adaptive Color Plus
60 = No Helper
1 = Modulated Helper
7Reserved
8Reserved
9–1000 = No Open Subtitles
10 = Subtitles Inside Active Image Area
01 = Subtitles Outside Active Image Area
11 = Reserved
The ADV7302A/ADV7303A 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 the 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. Sixteen bits of data
follow the start bit. These consist of two 8-bit bytes, seven data
bits, and one odd parity bit. The data for these bytes is stored in
the SD Closed Captioning Registers [Addresses 53h–54h].
The ADV7302A/ADV7303A also supports the extended closed
captioning operation that is active during even fields and is
encoded on Line 284. The data for this operation is stored in
the SD Closed Captioning Registers [Addresses 51h–52h].
All clock run-in signals and timing to support closed captioning on
Lines 21 and 284 are generated automatically by the ADV7302A/
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
ADV7303A. All pixels inputs are ignored during Lines 21 and 284 if
closed captioning is enabled.
FCC Code of Federal Regulations (CFR) 47, Section 15.119
and EIA608 describe the closed captioning information for
Lines 21 and 284.
The ADV7302A/ADV7303A uses a single buffering method.
This means that the closed captioning buffer is only one byte
deep, therefore there will be no frame delay in outputting the
closed captioning data unlike other 2-byte deep buffering
systems. The data must be loaded 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, that in turn will load the new data (two bytes)
every field. If no new data is required for transmission, “0”
must be inserted in both data registers; this is called nulling. It
is also important to load “control codes,” all of which are
double bytes on Line 21, or a TV will not recognize them. If
there is a message like “Hello World” that has an odd number
of characters, it is important to pad it out to even to get the
“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
Figure 83. Closed Captioning Waveform, NTSC
REV. A–54–
Appendix D
TEST PATTERNS
The ADV7302A/ADV7303A can generate SD and HD test
patterns.
NOTES
All other registers are set to 00h.
*See Figure 90.
For a 625 p Field Pattern on DAC D, the same settings in
Table XXXII are used except for Subaddress 10 h, which has a
register setting of 50h.
For a 525 p Black Bar Pattern Output on DAC D, the same
settings in Table XXXII are used except for Subaddresses 02h,
which has a register setting of 24h.
For a 625 p Black Bar Pattern Output on DAC D, the same
settings in Table XXXII are used except for Subaddresses 02h,
and 10h, which have register settings of 24h and 50h, respectively.
Table XXX. PAL Black Bar Pattern Output on DAC A
SubaddressRegister Setting
40h11h
4ChCBh
4Dh8Ah
4Eh09h
4Fh2Ah
REV. A
–57–
ADV7302A/ADV7303A
Appendix E
SD TIMING MODES
[Subaddress 4Ah]
Mode 0 (CCIR-656): Slave Option
(Timing Register 0 TR0 = X X X X X 0 0 0)
The ADV7302A/ADV7303A is controlled by the start active video
(SAV) and end active video (EAV) time codes in the pixel data. All
ANALOG
VIDEO
EAV CODE
INPUT PIXELS
NTSC /PAL M SYSTEM
(525 LINES/60Hz)
PAL SYSTEM
(625 LINES/50Hz)
C
FF0000X
Y
Y
r
4 CLOCK
4 CLOCK
END OF ACTIVE
VIDEO LINE
8
10801
0
Y
0
Figure 94. SD Slave Mode 0
Mode 0 (CCIR-656): Master Option
(Timing Register 0 TR0 = X X X X X 0 0 1)
The ADV7302A/ADV7303A generates H, V, and F signals
required for the SAV and EAV time codes in the CCIR-656
standard. The H Bit is output on the S_HSYNC pin, the V Bit
is output on the S_BLANK pin, and the F Bit is output on the
S_VSYNC pin.
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.
SAV CODE
C
C
FF00FFABABA
ANCILLARY DATA
268 CLOCK
280 CLOCK
B
(HANC)
801
8
10FF0
0
0
0
XYC
0
0
b
4 CLOCK
4 CLOCK
START OF ACTIVE
VIDEO LINE
C
Y
Y
r
1440 CLOCK
1440 CLOCK
C
Y
Y
b
r
b
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 95. SD Master Mode 0, NTSC
DISPLAY
1011202122
283
284
285
DISPLAY
REV. A–58–
ADV7302A/ADV7303A
DISPLAY
6226236246251234
H
V
F
DISPLAY
309310311312314315316317
H
V
F
EVEN FIELD
ODD FIELD
ODD FIELD
313
EVEN FIELD
Figure 96. SD Master Mode 0, PAL
VERTICAL BLANK
5
VERTICAL BLANK
67
318
319320
DISPLAY
2223
21
DISPLAY
335336
334
ANALOG
VIDEO
H
F
V
Figure 97. SD Master Mode 0 Data Transitions
REV. A
–59–
ADV7302A/ADV7303A
H
B
H
B
Mode 1: Slave Option
HSYNC, BLANK, FIELD
(Timing Register 0 TR0 = X X X X X 0 1 0)
In this mode the ADV7302A/ADV7303A 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
DISPLAY
522523524525
SYNC
LANK
FIELD
DISPLAY
260261262263264265266267268269270271272273274
HSYNC
1234
EVEN FIELD
ODD FIELD
5
VERTICAL BLANK
retrace. The BLANK signal is optional. When the BLANK input
is disabled, the ADV7302A/ADV7303A automatically blanks all
normally blank lines as per CCIR-624. HSYNC is input on the
S_HSYNC Pin, BLANK on the S_BLANK Pin, and FIELD on
the S_VSYNC Pin.
284
DISPLAY
DISPLAY
285
VERTICAL BLANK
678
9
1011
202122
283
BLANK
FIELD
ODD FIELD EVEN FIELD
Figure 98. SD Slave Mode 1, NTSC
DISPLAY
6226236246251234
HSYNC
BLANK
FIELD
DISPLAY
309310311312313314315316
SYNC
EVEN FIELD
ODD FIELD
VERTICAL BLANK
5
VERTICAL BLANK
317
67
318319
212223
320
DISPLAY
DISPLAY
334335336
LANK
FIELD
ODD FIELD
EVEN FIELD
Figure 99. SD Slave Mode 1, PAL
REV. A–60–
ADV7302A/ADV7303A
Mode 1: Master Option
HSYNC, BLANK, FIELD
(Timing Register 0 TR0 = X X X X X 0 1 1)
In this mode the ADV7302A/ADV7303A 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.,
HSYNC
FIELD
PAL = 12 CLOCK/2
NTSC = 16 CLOCK/2
BLANK
PIXEL
DATA
Figure 100. SD Timing Mode 1 Odd/Even Field Transitions, Master/Slave
vertical retrace. The blank signal is optional. When the BLANK
input is disabled, the ADV7302A/ADV7303A 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 Pin, BLANK
on the S_BLANK Pin, and FIELD on the S_VSYNC Pin.
CbY
PAL = 132 CLOCK/2
NTSC = 122 CLOCK/2
CrY
REV. A
–61–
ADV7302A/ADV7303A
Mode 2: Slave Option
HSYNC, VSYNC, BLANK
(Timing Register 0 TR0 = X X X X X 1 0 0)
In this mode the ADV7302A/ADV7303A accepts horizontal
and vertical SYNC signals. A coincident low transition of both
HSYNC and VSYNC inputs indicates the start of an odd field.
HSYNC
BLANK
VSYNC
HSYNC
BLANK
DISPLAY
522523524525
DISPLAY
260261262263264265266267268269270271272273274
1234
EVEN FIELD
VERTICAL BLANK
5
VERTICAL BLANK
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 ADV7302A/ADV7303A automatically blanks all normally blank lines as per CCIR-624.
HSYNC is input on the S_HSYNC Pin, BLANK on the
S_BLANK Pin, and FIELD on the S_VSYNC Pin.
DISPLAY
678
ODD FIELD
1011
9
202122
DISPLAY
283
284
285
VSYNC
HSYNC
BLANK
VSYNC
HSYNC
BLANK
VSYNC
ODD FIELD
Figure 101. SD Slave Mode 2, NTSC
DISPLAY
6226236246251234
EVEN FIELD
DISPLAY
309310311312313314315316
ODD FIELD
VERTICAL BLANK
ODD FIELD
VERTICAL BLANK
EVEN FIELD
EVEN FIELD
5
318319
317
67
320
DISPLAY
212223
DISPLAY
334335336
Figure 102. SD Slave Mode 2, PAL
REV. A–62–
ADV7302A/ADV7303A
H
B
B
Mode 2: Master Option
HSYNC, VSYNC, BLANK
(Timing Register 0 TR0 = X X X X X 1 0 1)
In this mode the ADV7302A/ADV7303A can generate horizontal and vertical SYNC signals. A coincident low transition of
both HSYNC and VSYNC inputs indicates the start of an odd
SYNC
VSYNC
PAL = 12 CLOCK/2
LANK
PIXEL
DATA
NTSC = 16 CLOCK/2
PAL = 132 CLOCK/2
NTSC = 122 CLOCK/2
Figure 103. SD Timing Mode 2 Even to Odd Field Transition, Master/Slave
HSYNC
VSYNC
PAL = 12 CLOCK/2
LANK
NTSC = 16 CLOCK/2
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 ADV7302A/ADV7303A
automatically blanks all normally blank lines as per CCIR-624.
HSYNC is output on the S_HSYNC Pin, BLANK on the
S_BLANK Pin, and FIELD on the S_VSYNC Pin.
PAL = 864 CLOCK/2
NTSC = 858 CLOCK/2
CbYCr
Y
PIXEL
DATA
PAL = 132 CLOCK/2
NTSC = 122 CLOCK/2
CbYCrYCb
Figure 104. SD Timing Mode 2 Odd to Even Field Transition, Master/Slave
REV. A
–63–
ADV7302A/ADV7303A
Mode 3: Master/Slave Option
HSYNC, BLANK, FIELD
(Timing Register 0 TR0 = X X X X X 1 1 0 or X X X X X 1 1 1)
In this mode the ADV7302A/ADV7303A accepts or generates
horizontal SYNC and odd/even FIELD signals. A transition of
the FIELD input when HSYNC is high indicates a new frame,
HSYNC
BLANK
FIELD
HSYNC
DISPLAY
522523524525
DISPLAYDISPLAY
260261262263264265266267268269270271272273274
1234
ODD FIELDEVEN FIELD
VERTICAL BLANK
5
VERTICAL BLANK
i.e., vertical retrace. The BLANK signal is optional. When the
BLANK input is disabled, the ADV7302A/ADV7303A automati-
cally blanks all normally blank lines as per CCIR-624. HSYNC
is interfaced on the S_HSYNC Pin, BLANK on the S_BLANK
Pin, and FIELD on the S_VSYNC Pin.
DISPLAY
678
9
1011
202122
283
284
285
BLANK
FIELD
HSYNC
BLANK
FIELD
HSYNC
BLANK
ODD FIELDEVEN FIELD
Figure 105. SD Timing Mode 3, NTSC
DISPLAY
6226236246251234
ODD FIELDEVEN FIELD
DISPLAY
309310311312313314315316
VERTICAL BLANK
VERTICAL BLANK
5
317
67
318319
320
DISPLAY
212223
DISPLAY
334335336
FIELD
ODD FIELDEVEN FIELD
Figure 106. SD Timing Mode 3, PAL
REV. A–64–
Appendix F
INPUT CODE
940
64
EIA-770.3, STANDARD FOR Y
+700mV
OUTPUT VOLTAGE
0mV
–300mV
VIDEO ACTIVE
+300mV
960
64
EIA-770.3, STANDARD FOR Pr/Pb
+350mV
OUTPUT VOLTAGE
0mV
–350mV
VIDEO ACTIVE
512
–300mV
+300mV
VIDEO OUTPUT LEVELS
ADV7302A/ADV7303A
INPUT CODE
EIA-770.2, STANDARD FOR Y
940
64
EIA-770.2, STANDARD FOR Pr/Pb
960
512
64
OUTPUT VOLTAGE
+700mV
VIDEO ACTIVE
0mV
–300mV
OUTPUT VOLTAGE
+350mV
VIDEO ACTIVE
0mV
–300mV
–350mV
Figure 107. EIA 770.2 Standard Output Signals (525 p)
INPUT CODE
EIA-770.1, STANDARD FOR Y
940
OUTPUT VOLTAGE
+782mV
+714mV
Figure 109. EIA 770.3 Standard Output Signals
(1080 i, 720 p)
INPUT CODE
1023
Y–OUTPUT LEVELS FOR
FULL I/P SELECTION
OUTPUT VOLTAGE
+700mV
VIDEO ACTIVE
VIDEO ACTIVE
64
EIA-770.1, STANDARD FOR Pr/Pb
960
512
64
Figure 108. EIA 770.1 Standard Output Signals (525 p)
0mV
–286mV
OUTPUT VOLTAGE
+350mV
VIDEO ACTIVE
0mV
–300mV
–350mV
64
INPUT CODE
1023
64
Pr/Pb–OUTPUT LEVELS FOR
FULL I/P SELECTION
0mV
–300mV
OUTPUT VOLTAGE
+700mV
VIDEO ACTIVE
0mV
–300mV
Figure 110. Output Levels for Full Input Selection
REV. A
–65–
ADV7302A/ADV7303A
Appendix G
VIDEO STANDARDS
SMPTE274M
ANALOG WAVEFORM
DATUM
0
H
DIGITAL HORIZONTAL BLANKING
INPUT PIXELS
SAMPLE NUMBER
SMPTE293M
ANALOG WAVEFORM
INPUT PIXELS
4T4T1920T
EAV CODE
F
F
000
V
F
0
H*
4 CLOCK4 CLOCK
21122116 21562199
FVH* = FVH AND PARITY BITS
SAV/EAV: LINE 1–562: F = 0
SAV/EAV: LINE 563–1125: F = 1
SAV/EAV: LINE1–20; 561–583; 1124–1125: V = 1
SAV/EAV: LINE 21–560; 584–1123: V = 0
(OPTIONAL) OR BLANKING CODE
Figure 111. EAV/SAV Input Data Timing Diagram, SMPTE274M
EAV CODE
F
000
F
V
0
F
H*
4 CLOCK4 CLOCK
272T
ANCILLARY DATA
0
441881922111
ANCILLARY DATA
(OPTIONAL)
SAV CODE
F
F
SAV CODE
000
F
F
0
000
H*
DIGITAL
ACTIVE LINE
F
CbC
V
Y
0
H*
DIGITAL
ACTIVE LINE
F
CbC
V
Y
r
C
r
Y
r
C
Y
Y
r
SAMPLE NUMBER
719723 7367998530
FVH* = FVH AND PARITY BITS
SAV: LINE 43–525 = 200H
SAV: LINE 1–42 = 2AC
EAV: LINE43–525 = 274H
EAV: LINE 1–42 = 2D8
0HDATUM
DIGITAL HORIZONTAL BLANKING
Figure 112. EAV/SAV Input Data Timing Diagram, SMPTE293M