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
Programmable DAC Gain Control
Sync Outputs in All Modes
On-Board Voltage Reference
Three 11-Bit Precision Video DACs
2-Wire Serial I
2C®
Interface, Open Drain Configuration
Dual I/O 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
SD/PS DVD Recorders/Players
SD/Prog Scan/HDTV Display Devices
SD/HDTV Set Top Boxes
SIMPLIFIED FUNCTIONAL BLOCK DIAGRAM
STANDARD DEFINITION
Y7–Y0
C7–C0
SYNC_I/P
VSYNC_I/P
LANK_I/P
CLKIN
D
E
M
U
X
TIMING
GENERATOR
PLL
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
ADV7330
11-BIT
O
V
DAC
E
R
S
11-BIT
A
DAC
M
P
L
I
11-BIT
N
DAC
G
I2C
INTERFACE
GENERAL DESCRIPTION
The ADV®7330 is a high speed, digital-to-analog encoder on a
single monolithic chip. It includes three high speed video D/A
converters with TTL compatible inputs.
The ADV7330 has separate 8-bit or 16-bit input ports that
accept data in high definition 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.
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.
REV. B
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties 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 owners.
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
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
Internal Test Pattern Generator
(Colorbars, 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 to 2.625 V, VDD = 2.375 V to 2.625 V; V
V
= 1.235 V, R
REF
= 3040 , R
SET
= 300 . All specifications T
LOAD
= 2.375 V to 3.6 V,
DD_IO
MIN
to T
MAX
(0C to 70C), unless otherwise noted.)
ParameterMinTypMaxUnitConditions
STATIC PERFORMANCE
1
(With No Oversampling Ratio)
Resolution11Bits
Integral Nonlinearity1.5LSB
Differential Nonlinearity
2
, +ve0.5LSB
Differential Nonlinearity2, –ve1.0LSB
DIGITAL OUTPUTS
Output Low Voltage, V
OL
Output High Voltage, V
OH
2.4 [2.0]
3
0.4 [0.4]
Three-State Leakage Current±1.0µAV
3
VI
VI
SINK
SOURCE
= 0.4 V, 2.4 V
IN
= 3.2 mA
= 400 µA
Three-State Output Capacitance2pF
DIGITAL AND CONTROL INPUTS
Input High Voltage, V
Input Low Voltage, V
IH
IL
Input Leakage Current3µAV
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
V
Current
REF
4
REF
REF
1.151.2351.3V
1.151.2351.3V
±10µA
POWER REQUIREMENTS
Normal Power Mode
I
DD
5
170190
6
mASD (16×)
110mAPS (8×)
95mAHDTV (2×)
I
DD_IO
I
AA
7, 8
1.0mA
2428mA
Sleep Mode
I
DD
I
AA
I
DD_IO
200µA
10µA
250µA
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 to 2.75 V.
DD_IO
REF
.
circuitry and the PLL circuitry.
REF
REV. B–4–
ADV7330
(VAA = 2.375 V to 2.625 V, VDD = 2.375 V to 2.625 V; V
Hue Accuracy0.4Degrees
Color Saturation Accuracy0.4%
Chroma Nonlinear Gain1.2±%Referenced to 40 IRE
Chroma Nonlinear Phase–0.2± Degrees
Chroma/Luma Intermodulation0±%
Chroma/Luma Gain Inequality97.0±%
Chroma/Luma Delay Inequality–1.1ns
Luminance Nonlinearity0.5±%
Chroma AM Noise84dB
Chroma PM Noise75.2dB
Differential Gain0.20%NTSC
Differential Phase0.15DegreesNTSC
SNR59.1dBLuma ramp
Specifications subject to change without notice.
R
= 3040 , R
SET
= 300 . All specifications T
LOAD
72dBFlat field full bandwidth
77.7dBFlat field full bandwidth
MIN
= 2.375 V to 3.6 V, V
DD_IO
to T
(0C to 70C), unless otherwise noted.)
MAX
REF
= 1.235 V,
REV. B
–5–
ADV7330
TIMING SPECIFICATIONS
(VAA = 2.375 V to 2.625 V, VDD = 2.375 V to 2.625 V; V
R
= 3040 , R
SET
= 300 . All specifications T
LOAD
= 2.375 V to 3.6 V, V
DD_IO
to T
MIN
(0C to 70C), unless otherwise noted.)
MAX
ParameterMinTypMaxUnitConditions
MPU PORT
1
SCLOCK Frequency0400kHz
SCLOCK High Pulsewidth, t
SCLOCK Low Pulsewidth, t
Hold Time (Start Condition), t
Setup Time (Start Condition), t
Data Setup Time, t
5
SDATA, SCLOCK Rise Time, t
SDATA, SCLOCK Fall Time, t
Setup Time (Stop Condition), t
1
2
3
4
6
7
8
0.6µs
1.3µs
0.6µsAfter this period, the first clock is generated
0.6µsRelevant for repeated start condition
100ns
300ns
300ns
0.6µs
RESET Low Time100ns
ANALOG OUTPUTS
Analog Output Delay
2
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 the DAC output full-scale transition.
3
Data: C [9:0]; Y [9:0], S[9:0].
Control: HSYNC_I/P, VSYNC_I/P, BLANK_I/P, HSYNC_O/P , VSYNC_O/P, BLANK_O/P.
Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the
device at these or any other conditions above those listed in the operational section
of this specification is not implied. Exposure to absolute maximum ratings for
extended periods may affect device reliability.
2
Analog output short circuit to any power supply or common can be of an indefinite
duration.
ADV7330KST0°C to 70°CLow Profile Quad Flat PackageST-64-2
THERMAL CHARACTERISTICS
JC = 11°C/W
= 47°C/W
JA
The ADV7330 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.
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
ADV7330 features proprietary ESD protection circuitry, permanent damage may occur on devices
subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended
to avoid performance degradation or loss of functionality.
REV. B
–11–
ADV7330
P
P
PIN CONFIGURATION
GND_IO
TEST14
TEST13
TEST12
TEST11
TEST10
TEST9
DGND
VDDTEST8
TEST7
TEST6
TEST5
TEST4
HSYNC_O/
VSYNC_O/P
49505152535455565758596061626364
1
V
DD_IO
2
TEST0
3
TEST1
4
Y0
5
Y1
6
Y2
7
Y3
8
Y4
9
Y5
10
V
DD
11
DGND
Y6
12
Y7
13
TEST2
14
TEST3
15
C0
16
NC = NO CONNECT
PIN 1
IDENTIFIER
2
C1
C2
C
I
ALSB
SDA
ADV7330
TOP VIEW
(Not to Scale)
SCLK
VSYNC_I/P
BLANK_I/P
HSYNC_I/P
C3C4C5C6C7
48
BLANK_O/
47
TEST16
46
V
REF
45
TEST15
44
NC
43
NC
42
NC
41
V
AA
40
AGND
39
DAC A
38
DAC B
37
DAC C
36
COMP
35
R
SET
34
EXT_LF
33
RESET
32313029282726252423222120191817
CLKIN
RTC_SCR_TR
PIN FUNCTION DESCRIPTIONS
Pin NumberMnemonicI/OFunction
11, 57DGNDGDigital Ground.
2, 3, 14, 15,TEST0–TEST14INot used, tie to DGND.
51–55, 58–63
40AGNDGAnalog Ground.
32CLKINIPixel Clock Input for HD (74.25 MHz Only, PS (27 MHz), SD (27 MHz)).
36COMPOCompensation Pin for DACs. Connect 0.1 µF capacitor from COMP pin to V
AA
.
39DAC AOCVBS/GREEN/Y Analog Output.
38DAC BOChroma/BLUE/Pb Analog Output.
37DAC COLuma/RED/Pr Analog Output.
25BLANK_I/PIVideo Blanking Control Signal. For HD and PS, this input is active high. For SD
input, this input is active low.
23HSYNC_I/PIVideo Horizontal Sync Control Signal.
24VSYNC_I/PIVideo Vertical Sync Control Signal.
4–9, 12, 13Y7–Y0ISD or Progressive Scan/HDTV Input Port for Y Data. Input port for interleaved
progressive scan data. The LSB is set up on Pin Y0.
16–18, 26–30C7–C0I8-Bit SD/Progressive Scan/HDTV Input Port. The LSB is set up on Pin C0.
33RESETIThis input resets the on-chip timing generator and sets the ADV7330 into the default
register setting. Reset is an active low signal.
35R
SET
IA 3040 Ω resistor must be connected from this pin to AGND and is used to control
the amplitudes of the DAC outputs.
22SCLKII
21SDAI/OI
20ALSBITTL Address Input. This signal sets up the LSB of the I
1V
DD_IO
PPower Supply for Digital Inputs and Outputs.
2
C Port Serial Interface Clock Input.
2
C Port Serial Data Input/Output.
2
tied low, the I
C filter is activated, which reduces noise on the I2C interface.
2
C address. When this pin is
REV. B–12–
ADV7330
PIN FUNCTION DESCRIPTIONS (continued)
Pin NumberMnemonicI/OFunction
10, 56V
41V
DD
AA
45, 47TEST15, TEST16ONot used, do not connect.
34EXT_LFIExternal Loop Filter for the Internal PLL.
31RTC_SCR_TRIMultifunctional Input: Real-Time Control (RTC) Input, Timing Reset Input,
48BLANK_O/POVideo Blanking Control Signal. For HD and PS, this input is active high. For SD input,
50HSYNC_O/POVideo Horizontal Sync Control Signal.
49VSYNC_O/POVideo Vertical Sync Control Signal.
19I
2
CIThis input pin must be tied high (V
64GND_IODigital Input/Output Ground.
42–44NCNo Connect.
46V
TERMINOLOGY
REF
SDStandard definition video, conforming to ITU-R
BT.601/656.
HDHigh definition video, such as progressive scan or HDTV.
PSProgressive scan video, conforming to SMPTE 293M,
ITU-R BT.1358, BTA T-1004EDTC2, BTA1362
PDigital Power Supply.
PAnalog Power Supply.
Subcarrier Reset Input.
this output is active low.
) for the ADV7330 to interface over the I2C port.
DD_IO
I/OOptional External Voltage Reference Input for DACs or Voltage Reference Output
(1.235 V).
HDTVHigh definition television video, conforming to SMPTE
274M or SMPTE 296M.
YCrCb SD, PS, or HD component digital video.
YPrPbSD, PS, or HD component analog video.
MPU PORT DESCRIPTION
The ADV7330 supports a 2-wire serial (I2C compatible) microprocessor bus driving multiple peripherals. This bus operates
in an Open Drain configuration. Two inputs, serial data
(SDA) and serial clock (SCL), carry information between any
devices connected to the bus. Each slave device is recognized by a
unique address. The ADV7330 has four possible slave addresses for both read and write operations. These are unique
addresses for each device and are illustrated in Figure 12. 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 ADV7330 to Logic 0
or Logic 1. When ALSB is set to 1, there is greater input bandwidth on the I
on this bus. When ALSB is set to 0, there is reduced input
bandwidth on the I
than 50 ns will not pass into the I
2
C lines, which allows high speed data transfers
2
C lines, which means that pulses of less
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 12. ADV7330 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 ADV7330 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. There
is a subaddress auto-increment facility. This 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.
REV. B
–13–
ADV7330
Stop and start conditions can be detected at any stage during
the data transfer. If these conditions are asserted out of sequence
with normal read and write operations, they cause an immediate
jump to the idle condition. During a given SCL high period, the
user should issue only one start condition, one stop condition,
or a single stop condition followed by a single start condition.
If an invalid subaddress is issued by the user, the ADV7330 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 ADV7330, and the part will return to the idle condition.
Before writing to the subcarrier frequency registers, it is a requirement that the ADV7330 reset at least once after 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 ADV7330.
Figure 13 illustrates an example of data transfer for a write
sequence and the start and stop conditions. Figure 14 shows
bus write and read sequences.
REGISTER ACCESS
The MPU can write to or read from all of the registers of the
ADV7330 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 go 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 tables describe 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.
WRITE
SEQUENCE
READ
SEQUENCE
SDATA
SCLOCK
1–78
START ADRR R/W ACK SUBADDRESS ACKDATAACK STOP
9S1–789
1–7
89
P
Figure 13. Bus Data Transfer
S SLAVE ADDR A(S) SUBADDR A(S)DATAA(S)DATAA(S) P
LSB = 0
S SLAVE ADDR A(S) SUBADDR 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 14. Write and Read Sequence
REV. B–14–
ADV7330
p
p
SR7–
RegisterBit Description
SR0
00hPower ModeSleep Mode. With this control
01hInput Mode0Disabled
enabled, the current consumption is
reduced to µA level. All DACs and the
internal PLL cct are disabled. I
registers can 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.
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 counters are
HD Y Delay with respect to falling
edge of HSYNC
HD Color Delay with respect to
falling edge of HSYNC
HD CGMS 0Disabled
HD CGMS CRC
HD Cr/Cb Sequence
Reserved00 must be written to this bit.
Reserved00 must be written to this bit.
Sinc Filter on DAC A, B, C
Reserved00 must be written to this bit.
HD Chroma SSAF
Reserved
HD Double Buffering
HD Timing Reset
1080i Frame Rate
Reserved
HD Vsync/Field Input
Lines/Frame
Reserved
HD RGB Input
HD Sync on PrPb0
HD Color DAC Swap0DAC E = Pr; DAC F = Pb
HD Gamma Curve A/B0Gamma Curve A
HD Gamma Curve Enable0Disabled
HD Adaptive Filter Mode0
HD Adaptive Filter Enable0
1
0
1Enabled
0
1
0
1
1
00 0
00 1
01 0
01 13 Clk Cycles
10 0
1
0
1
1
00 0
0
1
1
1
1Mode B
0011 Clk Cycle
010
0113 Clk Cycles
100
0
1Enabled
0030 Hz/2200 Total Samples/Line
0125 Hz/2640 Total Samples/Line
0
1Enabled
1Enabled
1
0 Clk Cycle
2 Clk C
cles
4 Clk Cycles
0 Clk Cycle
1 Clk Cycle
cles
2 Clk C
4 Clk C
cles
Enabled
Disabled
0
Cb after Falling Edge of HSYNC
1
Cr after Falling Edge of HSYNC
Disabled
Disabled
Enabled
Disabled
Enabled
xA low-high-low transition resets the
internal HD timing counters.
0 must be written to these bits.
Field Input
Vsync Input
Update Field/Line Counter
Field/Line Counter Free Running
0
0 must be written to this bit.
Disabled
Disabled
DAC E = Pb
Gamma Curve B
Enabled
Mode A
Disabled
Enabled
DAC F = Pr
free running and wrap around when external sync signals indicate so.
Values
00h
4Ch
00h
00h
REV. B–18–
ADV7330
SR7–
RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register
SR0
16hHD Y Level
17hHD Cr Level
18hHD Cb Level
19hReserved00h
1AhReserved00h
1BhReserved
1ChReserved00h
1DhReserved
1EhReserved00h
1Fh
20hHD Sharpness FilterHD Sharpness Filter Gain Value A
Gain
21hHD CGMS Data 0HD CGMS Data Bits0000C19C18C17C16CGMS 19–1600h
22hHD CGMS Data 1HD CGMS Data BitsC15C14C13C12C11C10C9C8CGMS 15–800h
23hHD CGMS Data 2HD CGMS Data BitsC7C6C5C4C3C2C1 C0CGMS 7–000h
24hHD Gamma AHD Gamma Curve A Data PointsxxxxxxxxA000h
25hHD Gamma AHD Gamma Curve A Data PointsxxxxxxxxA100h
26hHD Gamma AHD Gamma Curve A Data PointsxxxxxxxxA200h
27hHD Gamma AHD Gamma Curve A Data PointsxxxxxxxxA300h
28hHD Gamma A
29hHD Gamma AHD Gamma Curve A Data PointsxxxxxxxxA500h
2AhHD Gamma AHD Gamma Curve A Data PointsxxxxxxxxA600h
2BhHD Gamma A
2ChHD Gamma AHD Gamma Curve A Data PointsxxxxxxxxA800h
2DhHD Gamma A
2EhHD Gamma BHD Gamma Curve B Data PointsxxxxxxxxB000h
2FhHD Gamma BHD Gamma Curve B Data Points
30hHD Gamma BHD Gamma Curve B Data PointsxxxxxxxxB200h
31hHD Gamma BHD Gamma Curve B Data Points
32hHD Gamma BHD Gamma Curve B Data PointsxxxxxxxxB400h
33hHD Gamma BHD Gamma Curve B Data PointsxxxxxxxxB500h
34hHD Gamma BHD Gamma Curve B Data Points
35hHD Gamma BHD Gamma Curve B Data PointsxxxxxxxxB700h
36hHD Gamma BHD Gamma Curve B Data Points
37hHD Gamma BHD Gamma Curve B Data PointsxxxxxxxxB900h
NOTES
1
For the internal test pattern only.
1
1
1
Reserved00h
HD Sharpness Filter Gain Value B
HD Gamma Curve A Data Pointsxxxxxxxx
HD Gamma Curve A Data PointsxxxxxxxxA700h
HD Gamma Curve A Data PointsxxxxxxxxA900h
xxxxx
xxxxxxxxCr Color Value80h
xxxxx
0000Gain B = 0
00 1
0
........…….
11 1
0
1000Gain B = –8
........……..
1111Gain B = –1
xxxxxxxxB100h
xxxxxxxxB300h
xxxxxxxxB600h
xxxxxxxx
xx x
xx x
0000Gain A = 000h
00 1
0
........……
0111Gain A = +7
1000Gain A = –8
........……
1111Gain A = –1
Setting
Y Color Value
Cb Color Value
Gain A = +1
Gain B = +1
Gain B = +7
A400h
B800h
Reset
Values
A0h
80h
00h
00h
REV. B
–19–
ADV7330
SR7SR0
38hHD Adaptive FilterHD Adaptive Filter Gain 1
39hHD Adaptive FilterHD Adaptive Filter Gain 2
3AhHD Adaptive FilterHD Adaptive Filter Gain 3
3BhHD Adaptive Filter HD Adaptive Filter Threshold A
3ChHD Adaptive Filter HD Adaptive Filter Threshold B
3DhHD Adaptive Filter HD Adaptive Filter Threshold C
RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register
Gain 1Value A
HD Adaptive Filter Gain 1
Value B
Gain 2Value A
HD Adaptive Filter Gain 2
Value B
Gain 3Value A
HD Adaptive Filter Gain 3
Value B
Threshold AValue
Threshold BValue
Threshold CValue
Setting
0000Gain A = 0
0001Gain A = +1
........……
0111Gain A = +7
1000Gain A = –8
........……
0000Gain B = 0
0001Gain B = +1
........…….
0111Gain B = +7
1000Gain B = –8
........……..
1111Gain B = –1
0000Gain B = 0
0001Gain B = +1
........…….
0111Gain B = +7
1000Gain B = –8
........……..
1111Gain B = –1
0000Gain B = 0
0001Gain B = +1
........…….
0111Gain B = +7
1000Gain B = –8
........……..
1111Gain B = –1
xxxxxxxxThreshold A
xxxxxxxxThreshold B
xxxxxxxxThreshold C
1111Gain A = –1
0000Gain A = 0
0001Gain A = +1
........……
0111Gain A = +7
1000Gain A = –8
........……
1111Gain A = –1
0000Gain A = 0
0001Gain A = +1
........……
0111Gain A = +7
1000Gain A = –8
........……
1111Gain A = –1
Reset
Values
00h
00h
00h
00h
00h
00h
REV. B–20–
ADV7330
SR7–
RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register SettingReset
SR0
3EhReserved00h
3FhReserved00h
40hSD Mode Register 0SD Standard00 NTSC00h
SD Luma Filter000LPF NTSC
001LPF PAL
010Notch NTSC
011Notch PAL
100
101
110
111
SD Chroma Filter000
00 1
01 0
01 1
10 0
10 1
11 0
11 1
41hReserved00h
42hSD Mode Register 1SD PrPb SSAF0
SD DAC Output 10
SD DAC Output 20
SD Pedestal0
1
SD Square Pixel0
1
SD VCR FF/RW Sync0
1
SD Pixel Data Valid0
1
SD SAV/EAV Step Edge Control 0
1
43hSD Mode Register 2SD Pedestal YPrPb Output0
SD Output Levels Y0
SD Output Levels PrPb00
01
10
11
SD VBI Open0
1
SD CC Field Control00
01
10
11
Reserved0
01PAL B, D, G, H, I
10PAL M
11PAL N
SSAF Luma
Luma CIF
Luma QCIF
Reserved
1.3 MHz
0.65 MHz
1.0 MHz
2.0 MHz
Reserved
Chroma CIF
Chroma QCIF
3.0 MHz
Disabled
1
Enabled
Refer to the Output Configuration
1
section
1
Refer to the Output Configuration
section
Disabled
Enabled
Disabled
Enabled
Disabled
Enabled
Disabled
Enabled
Disabled
Enabled
No Pedestal on YPrPb
1
7.5 IRE Pedestal on YPrPb
Y = 700 mV/300 mV
1
Y = 714 mV/286 mV
700 mV p-p (PAL); 1000 mV p-p (NTSC)
700 mV p-p
1000 mV p-p
648 mV p-p
Disabled
Enabled
CC Disabled
CC on Odd Field Only
CC on Even Field Only
CC on Both Fields
Reserved
Values
08h
00h
REV. B
–21–
ADV7330
SR7–
RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register SettingReset
Reserved00 must be written to this bit.
Reserved00 must be written to this bit.
Reserved00 must be written to this bit.
Reserved00 must be written to this bit.
Reserved00 must be written to this bit.
SD Double Buffering0Disabled
SD Input Format08-Bit Input
Reserved00 must be written to this bit.
SD Digital Noise Reduction0Disabled
SD Gamma Control0Disabled
SD Gamma Curve 0Gamma Curve A
SD Undershoot Limiter00Disabled
Reserved00 must be written to this bit.
SD Black Burst Output on DAC Luma0Disabled
SD Chroma Delay00Disabled
Reserved00 must be written to this bit.
Reserved00 must be written to this bit.
1Enabled
0
1
1Enabled
1Gamma Curve B
1Chroma Disabled
1Disabled
1Enabled
1Enabled
014 Clk Cycles
108 Clk Cycles
11Reserved
01Subcarrier Reset
10Timing Reset
11RTC Enabled
1710 (NTSC)/702 (PAL)
1Enabled
1Enabled
1Enabled
116-Bit Input
1Enabled
*See Figure 23, RTC Timing and Connections.
0
Disabled
1
VSYNC = 2.5 Lines (PAL)
VSYNC = 3 Lines (NTSC)
DAC B = Luma
DAC C = Chroma
DAC B = Chroma
DAC C = Luma
1Enabled
1Enabled
01–11 IRE
10–6 IRE
11–1.5 IRE
Values
00h
00h
00h
REV. B–22–
ADV7330
H
SR7–
RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register SettingReset Values
SR0
4AhSD Timing Register 0SD Slave/Master Mode
SD Timing Mode
SD BLANK Input
SD Luma Delay
SD Min. Luma Value
SD Timing Resetx0000000A low-high-low transition will reset the
4BhSD Timing Register 1
SD HSYNC Width00
SD HSYNC to VSYNC Delay00
SD HSYNC to VSYNC Risingx0T
Edge Delay (Mode 1 Only)
VSYNC Width (Mode 2 Only)
HSYNC to Pixel Data Adjust000 Clk Cycles
4Ch
SD F
Register 0
SD F
SC
Register 1
SC
Register 2
SC
Register 3
SC
Phase
SC
4DhSD F
4EhSD F
4Fh
50hSD F
51hSD Closed Captioning Extended Data on Even Fields
52hSD Closed Captioning Extended Data on Even Fields
53hSD Closed CaptioningData on Odd Fields
54hSD Closed CaptioningData on Odd Fields
55hSD Pedestal Register 0Pedestal on Odd Fields
56hSD Pedestal Register 1Pedestal on Odd Fields
57hSD Pedestal Register 2Pedestal on Even Fields
58hSD Pedestal Register 3Pedestal on Even Fields
00 Mode 0
01 Mode 1
10 Mode 2
11 Mode 3
0Enabled
1Disabled
00No Delay
012 Clk Cycles
104 Clk Cycles
116 Clk Cycles
0– 40 IRE
1– 7.5 IRE
01T
10
11T
x1T
001 Clk Cycle
014 Clk Cycles
1016 Clk Cycles
11128 Clk Cycles
011 Clk Cycle
102 Clk Cycles
113 Clk Cycles
xx xxxxxxSubcarrier Frequency Bit 7–0
xx xxxxxxSubcarrier Frequency Bit 15–8
xx xxxxxxSubcarrier Frequency Bit 23–16
xx xxxxxxSubcarrier Frequency Bit 31–24
xx xxxxxxSubcarrier Phase Bit 9–2
xx xxxxxxExtended Data Bit 7–0
xx xxxxxxExtended Data Bit 15–8
xx xxx xxxData Bit 7–0
xx xxxxxxData Bit 15–8
1716151413121110
2524232221201918
1716151413121110
2524232221201918
0Slave Mode
1Master Mode
internal SD timing counters.
= 1 Clk Cycle
T
01T
10
11T
A
= 4 Clk Cycles
A
T
= 16 Clk Cycles
A
= 128 Clk Cycles
A
T
= 0 Clk Cycle
B
= 4 Clk Cycles
B
T
= 8 Clk Cycles
B
= 18 Clk Cycles
B
= T
C
= T
C
Setting any of these bits to 100h
will disable pedestal on the 00h
line number indicated by the 00h
bit settings.00h
B
+ 32 µs
B
08h
00h
16h
7Ch
F0h
21h
00h
00h
00h
00h
00h
LINE 313LINE 314LINE 1
SYNC
t
A
t
t
B
C
VSYNC
Figure 15. Timing Register 1 in PAL Mode
REV. B
–23–
ADV7330
W
SR7–
RegisterBit DescriptionBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register SettingReset Values
SR0
59hSD CGMS/WSS 0 SD CGMS Data
5AhSD CGMS/WSS 1 SD CGMS/WSS Data
5BhSD CGMS/WSS 2
5Ch SD LSB Register
5Dh SD Y Scale
5Eh SD V Scale
5FhSD U Scale
60hSD Hue Register
61h
SD Brightness/
SS
62hSD Luma SSAF SD Luma SSAF Gain/Attenuation
63hSD DNR 0Coring Gain Border
64hSD DNR 1DNR Threshold
SD CGMS CRC
SD CGMS on Odd Fields
SD CGMS on Even Fields
SD WSS
SD CGMS/WSS Data76543
SD LSB for Y Scale Value
SD LSB for U Scale ValuexxSD U Scale Bit 1–0
SD LSB for V Scale ValuexxSD V Scale Bit 1–0
SD LSB for F
SD Y Scale Valuexxxxxxxx SD Y Scale Bit 7–200h
SD V Scale Valuexxxxxxxx SD V Scale Bit 7–200h
SD U Scale Valuexxxxxxxx SD U Scale Bit 7–200h
SD Hue Adjust Valuexxxxxxxx SD Hue Adjust Bit 7–000h
SD Brightness ValuexxxxxxxSD Brightness Bit 6–000h
SD Blank WSS Data
Coring Gain Data
Border Area
Block Size Control08 Pixels
PhasexxSubcarrier Phase Bits 1–0
SC
0Disabled
1Enabled
0Disabled
1Enabled
0Disabled
1Enabled
1312111098
1514CGMS Data Bits C15–C14
0Disabled
1Enabled
00 000000–4 dB
00 0001100 dB
00 0011004 dB
66hSD Gamma ASD Gamma Curve A Data PointsxxxxxxxxA000h
67hSD Gamma ASD Gamma Curve A Data Pointsxxxxx
68hSD Gamma ASD Gamma Curve A Data Pointsxxxxx
69hSD Gamma ASD Gamma Curve A Data Pointsxxxxx
6AhSD Gamma ASD Gamma Curve A Data PointsxxxxxxxxA400h
6BhSD Gamma ASD Gamma Curve A Data PointsxxxxxxxxA500h
6ChSD Gamma ASD Gamma Curve A Data Pointsxxxxx
6DhSD Gamma ASD Gamma Curve A Data Pointsxxxxx
6EhSD Gamma ASD Gamma Curve A Data PointsxxxxxxxxA800h
6FhSD Gamma ASD Gamma Curve A Data PointsxxxxxxxxA900h
70hSD Gamma BSD Gamma Curve B Data PointsxxxxxxxxB000h
71hSD Gamma BSD Gamma Curve B Data Pointsxxxxx
72hSD Gamma BSD Gamma Curve B Data Pointsxxxxx
73hSD Gamma BSD Gamma Curve B Data PointsxxxxxxxxB300h
74hSD Gamma BSD Gamma Curve B Data PointsxxxxxxxxB400h
75hSD Gamma BSD Gamma Curve B Data PointsxxxxxxxxB500h
76hSD Gamma BSD Gamma Curve B Data Pointsxxxxx
77hSD Gamma BSD Gamma Curve B Data Pointsxxxxx
78hSD Gamma BSD Gamma Curve B Data PointsxxxxxxxxB800h
79hSD Gamma BSD Gamma Curve B Data PointsxxxxxxxxB900h
7AhSD Brightness DetectSD Brightness Value
7BhField Count RegisterField Count
7CReserved00h
Reserved0
Reserved00 must be written to this bit.
Reserved00 must be written to this bit.
Revision Code
7DhReserved
7EhReserved
7FhReserved
80h
81h
82hMacrovisionMV Control Bitsxxxxxxxx00h
83hMacrovisionMV Control Bitsxxxxxxxx00h
84hMacrovisionMV Control Bitsxxxxxxxx00h
85h
86hMacrovisionMV Control Bits
87hMacrovisionMV Control Bitsxxxxxxxx00h
88hMacrovisionMV Control Bitsxxxxxxxx00h
89h
8Ah
8Bh
8ChMacrovisionMV Control Bitsxxxxxxxx00h
8DhMacrovisionMV Control Bitsxxxxxxxx00h
8Eh
8Fh
90hMacrovisionMV Control Bitsxxxxxxxx00h
91hMacrovisionMV Control Bitsx00h
Note that the ADV7330 defaults to progressive scan 54 MHz
mode on power-up. Address(01h): Input Mode = 011
Standard Definition
Address(01h): Input Mode = 000
The 8-bit multiplexed input data is input on Pins Y7–Y0, with Y0
being the LSB. Input standards supported are ITU-R BT.601/656.
In 16-bit input mode the Y pixel data is input on Pins Y7–Y0
and CrCb data on Pins C7–C0.
Input sync signals are optional and are input on the VSYNC_I/P,HSYNC_I/P, and BLANK_I/P pins.
ADV7330
VSYNC_I/P
3
MPEG2
DECODER
YCrCb
27MHz
HSYNC_I/P
BLANK_I/P
CLKIN
8
Y[7:0]
Figure 16. SD Input Mode
Progressive Scan or HDTV Mode
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. In 4:2:2 input mode, the Y data is input
on Pins Y7–Y0 and the CrCb data on Pins C7–C0.
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.
MPEG2
DECODER
YCrCb
27MHz
ADV7330
CLKIN
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-bit bus and is input
on Pins Y7–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.
CLKIN
Y7–Y0
3FF0000XYCb0Y0Cr0Y1
Figure 18a. Cb Data on Rising Edge—Clock Edge
Address 01h Bit 1 Should be Set to 0
CLKIN
Y7–Y0
3FF0000XYY0Cb0Y1Cr0
Figure 18b. Y Data on Rising Edge—Clock Edge
Address 01h Bit 1 Should be Set to 1
With a 54 MHz clock, the data is latched on every rising edge.
CLKIN
PIXEL INPUT
DATA
3FF0000XYCb0Y0Cr0Y1
Figure 18c. Input Sequence in PS Bit Interleaved
Mode (EAV/SAV)
MPEG2
DECODER
YCrCb
27MHz OR 54MHz
ADV7330
CLKIN
REV. B
INTERLACED
TO
PROGRESSIVE
CbCr
Y
8
3
C[7:0]
Y[7:0]
VSYNC_I/P
HSYNC_I/P
BLANK_I/P
8
Figure 17. Progressive Scan Input Mode
–27–
INTERLACED
TO
PROGRESSIVE
YCrCb
3
Y[7:0]
VSYNC_I/P
HSYNC_I/P
BLANK_I/P
8
Figure 19. 1 8-Bit PS at 27 MHz or 54 MHz
ADV7330
Table I provides an overview of possible input configurations.
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 10h, asynchronous timing mode
can be used to interface to the ADV7330. Timing control signals
for Hsync, Vsync, and Blank have to be programmed by the user.
Macrovision and programmable oversampling rates are not available in async timing mode. In async mode, the PLL must be
turned off [Subaddress 01h, Bit 1 = 1].
CLK
HSYNC_I/P
VSYNC_I/P
BLANK_I/P
SET ADDRESS 10h,
BIT 6 TO 1
HORIZONTAL SYNC
Figures 20a and 20b show an example of how to program
the ADV7330 to accept a different high definition standard
other than SMPTE 293M, SMPTE 274M, SMPTE 296M, or
ITU-R BT.1358.
The following truth table must be followed when programming
the control signals in async timing mode.
For standards that do not require a tri-sync level, BLANK_I/P
must be tied low at all times.
PROGRAMMABLE
INPUT TIMING
ACTIVE VIDEO
ANALOG
OUTPUT
Figure 20a. Async Timing Mode—Programming Input Control Signals for SMPTE 295M Compatibility
CLK
HSYNC_I/P
VSYNC_I/P
BLANK_I/P
SET ADDRESS 10h,
BIT 6 TO 1
ANALOG OUTPUT
8166662431920
ab
HORIZONTAL SYNC
abcde
cd
ACTIVE VIDEO
Figure 20b. Async Timing Mode—Programming Input Control Signals for Bilevel Sync Signals
e
0
1
REV. B
–29–
ADV7330
Table IV. Async Timing Mode Truth Table
Reference in
HSYNC_I/PVSYNC_I/PBLANK_I/P*Figures 20a and 20b
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, BLANK_I/P (Pin 25) becomes an active high input.
BLANK_I/P is set to active low at Address 10h, Bit 6.
HD Timing Reset
[Address 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. When this bit is set back to
0, the internal counters will commence counting again. PLL must
be powered off by this mode.
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, Bit 1,2], the ADV7330 can be used in timing
reset mode, subcarrier phase reset mode, or RTC 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 also 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.
In 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 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.
In RTC mode, the ADV7330 can be used to lock to an external
video source. The real-time control mode allows the ADV7330
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 an
ADV7183A video decoder, see Figure 23), 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 this mode is used.
DISPLAY
START OF FIELD 1
307123456721
TIMING RESET APPLIED
PHASE = FIELD 1
F
SC
Figure 21. 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 22. Subcarrier Reset Timing Diagram
TIMING RESET PULSE
PHASE = FIELD 4 OR 8
F
SC
PHASE = FIELD 1
F
SC
F
RESET PULSE
SC
REV. B
–31–
ADV7330
Reset Sequence
A reset is activated with a high-to-low transition on the RESET pin
(Pin 33) according to the Timing Specifications. The ADV7330
will revert to the default output configuration.
Figure 24 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
CLKIN
LCC1
COMPOSITE VIDEO
e.g., VCR OR CABLE
H/L TRANSITION
COUNT START
RTC
TIME SLOT: 01
NOTES
1
FSC PLL INCREMENT IS 22 BITS LONG, VALUE LOADED INTO ADV7330, FSC DSS 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 ADV7330.
2
SEQUENCE BIT.
PAL: 0 = LINE NORMAL, 1 = LINE INVERTED.
NTSC: 0 = NO CHANGE.
3
RESET BIT. RESET ADV7330 DSS.
128
ADV7183A
VIDEO
DECODER
SUBCARRIER
LOW
130
14 BITS
PHASE
GLL
P17–P10
RESERVED
142119
4 BITS
RTC_SCR_TR
Y7–Y0
number of lines/fields are reached. In rewind mode, this sync
signal usually occurs after the total number of lines/fields are
reached. Conventionally this means that the output video will
have corrupted field signals, one generated by the incoming video
and one generated 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.
ADV7330
DAC A
DAC B
DAC C
F
PLL INCREMENT
SC
VALID
INVALID
SAMPLE
SAMPLE
SEQUENCE
BIT
1
8/LINE
LOCKED
CLOCK
0
2
6768
5 BITS
RESERVED
RESET
3
BIT
RESERVED
RESET
DACs
A, B, C
DIGITAL TIMING
PIXEL DATA
VALID
XXXXXX
XXXXXX
Figure 23. RTC Timing and Connections
OFF
DIGITAL TIMING SIGNALS SUPPRESSED
Figure 24.
RESET
Timing Sequence
VALID VIDEO
TIMING ACTIVE
REV. B–32–
ADV7330
H
B
Vertical Blanking Interval
The ADV7330 accepts input data that contains VBI data (such
as 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 the
ITU-R BT.1358 [625p] 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,
Bit4 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 ADV7330; otherwise, the ADV7330 automatically blanks
the VBI to standard.
If CGMS is enabled and VBI disabled, the CGMS data will
nevertheless be available at the output.
SD Subcarrier Frequency Registers
[Subaddress 4Ch–4Fh]
Four 8-bit wide registers are used to set up the subcarrier
frequency. The value of these registers is calculated using the
following equation:
Subcarrier Frequency Register
#
=×
MHz clk cyclesin onevideo line
#27
32
2
Subcarrier FrequencyValuein onevideo line
For example, NTSC mode,
Subcarrier FrequencyValue =
227 5
1716
32
×=
2569408542
.
Subcarrier Register Value = 21F07C1Eh
SD F
Register 0: 1Eh
SC
Register 1: 7Ch
SD F
SC
Register 2: F0h
SD F
SC
SD FSC Register 3: 21h
Refer to the MPU Port Description section for details on how to
access the subcarrier frequency registers.
Square Pixel Timing
[Register 42h, Bit 4]
In square pixel mode, the timing diagrams in Figures 25 and
26 apply.
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
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 25. EAV/SAV Embedded Timing
SYNC
FIELD
PAL = 44 CLOCK CYCLES
NTSC = 44 CLOCK CYCLES
LANK
PIXEL
DATA
CbY
CrY
PAL = 136 CLOCK CYCLES
NTSC = 208 CLOCK CYCLES
REV. B
Figure 26. Active Pixel Timing
–33–
ADV7330
)
)
FILTER SECTION
Table V shows an overview of the programmable filters available
on the ADV7330.
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,
aCIF response, and a QCIF response, as can be seen in the
typical performance characteristics graphs on the following pages.
If SD SSAF gain is enabled, there is the option of 12 responses in
the range of –4 dB to +4 dB [Subaddress 47, 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 on the following pages.
In addition to the chroma filters listed in Table VI, the ADV7330
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 29. This filter can be
controlled with Address 42h, Bit 0.
If this filter is disabled, the selectable chroma filters shown in
Table VI can be used for the CVBS or chroma signal.
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.
EXTENDED UV FILTER MODE
0
–10
–20
–30
GAIN (dB)
–40
–50
–60
6543210
FREQUENCY (MHz)
Figure 29. UV SSAF Filter
REV. B
–35–
ADV7330–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 4060 80 100 120 140 160 1800
TPC 1. PS—UV (8× Oversampling Filter (Linear))
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
1.0
0.5
0
–0.5
–1.0
GAIN (dB)
–1.5
–2.0
–2.5
–3.0
Y PASS BAND IN PS OVERSAMPLING MODE
122468100
FREQUENCY (MHz)
TPC 4. 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)
20020 4060 80 100 120 140 160 1800
TPC 2. PS—UV (8× Oversampling Filter (SSAF))
Y RESPONSE IN PS OVERSAMPLING MODE
0
–10
–20
–30
–40
GAIN (dB)
–50
–60
–70
–80
FREQUENCY (MHz)
20020 4060 80 100 120 140 160 1800
TPC 3. PS—Y (8× Oversampling Filter)
–80
FREQUENCY (MHz)
TPC 5. HDTV—UV (2× Oversampling Filter)
Y RESPONSE IN HDTV OVERSAMPLING MODE
0
–10
–20
–30
–40
GAIN (dB)
–50
–60
–70
–80
FREQUENCY (MHz)
TPC 6. HDTV—Y (2× Oversampling Filter)
140204060801001200
140204060801001200
REV. B–36–
ADV7330
)
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 PAL Low-Pass Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
121086420
–70
FREQUENCY (MHz)
121086420
TPC 10. Luma PAL Notch Filter
Y RESPONSE IN SD OVERSAMPLING MODE
0
–10
–20
–30
–40
GAIN (dB)
–50
–60
–70
–80
121086420
020406080100 120 140 160 180 200
FREQUENCY (MHz)
TPC 11. Y-16× Oversampling Filter
REV. B
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
FREQUENCY (MHz)
TPC 9. Luma NTSC Notch Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
121086420
–70
FREQUENCY (MHz)
121086420
TPC 12. Luma SSAF Filter up to 12 MHz
–37–
ADV7330
)
)
4
2
0
–2
–4
–6
MAGNITUDE (dB)
–8
–10
–12
012347
FREQUENCY (MHz)
5
6
TPC 13. Luma SSAF Filter—Programmable Responses
5
4
3
2
MAGNITUDE (dB)
1
0
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 16. Luma CIF LP Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–1
012347
FREQUENCY (MHz
5
6
TPC 14. Luma SSAF Filter—Programmable Gain
1
0
–1
–2
MAGNITUDE (dB)
–3
–4
–5
012347
FREQUENCY (MHz
5
6
TPC 15. Luma SSAF Filter—Programmable Attenuation
–70
02468 12
FREQUENCY (MHz)
10
TPC 17. Luma QCIF 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. B–38–
ADV7330
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 0.65 MHz LP Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 20. Chroma 1.3 MHz LP Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 21. Chroma 1.0 MHz LP Filter
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 23. Chroma CIF LP Filter
0
–10
–20
–30
–40
MAGNITUDE (dB)
–50
–60
–70
02468 12
FREQUENCY (MHz)
10
TPC 24. Chroma QCIF LP Filter
REV. B
–39–
ADV7330
COLOR CONTROLS AND RGB MATRIX
HD Y Level, Cr Level, Cb Level
[Subaddress 16h–18h]
Three 8-bit wide registers at Addresses 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 VII shows sample color values to be programmed into the
color registers when output standard selection is set to EIA 770.2.
Table VII. Sample Color Values for EIA770.2 Output
Standard Selection
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], and Sync on RGB is
optional [Address 02h, Bit 4].
GY at addresses 03h and 05h controls 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, YPrPb 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 09h; 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:
GGYYGUPb GV
=×+×+×
BGYYBU Pb
=×+×
RGYYRV
=×+×PrPr
If YPrPb output is selected, the following equations are used:
YGYY
=×
UBUPb
=×
VRV
=×Pr
On power-up, the RGB matrix is programmed with default values.
Table VIII. RGB Matrix Default Values
HD RGB Matrix
[Subaddress 03h–09h]
When the programmable RGB matrix is disabled [Address 02h,
Bit 3], the internal RGB matrix takes care of all YCrCb to YPrPb
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]:
YRGB
'.'.'.'
=++
0 21260 71520 0722
CBB Y
'[./( .)](' ')
=−−
05 100722
CRR Y
'[./( .)](' ')
=−−
05 102126
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:
YRGB
'. '. '. '
=++
0 2990 5870 114
CBB Y
'[./( . )](' ')
=− −
05 1 0114
CRR Y
'[./( . )](' ')
=− −
05 1 0299
The programmable RGB matrix can be used to control the HD
output levels in cases where the video output does not confirm
to 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.
AddressDefault
03h03h
04hF0h
05h4Eh
06h0Eh
07h24h
08h92h
09h7Ch
When the programmable RGB matrix is not enabled, the
ADV7330 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
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.0 to 2.0, and the Y level from 0.0 to 1.5 of
its initial level. The value of these 10 bits is calculated using the
following equation:
YUor V Scalar Value Scale Factor,,=×512
For example:
Scale factor = 1.18
Y, U, or V Scalar Value = 1.18 × 512 = 665.6
Y, U, or V Scalar Value = 665 (rounded to the nearest integer)
Y, U, or V Scalar 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 colorburst. The ADV7330 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 limits (respectively) of adjustment attainable.
For example, to adjust the hue by +4°, write 97h to the hue
adjust value register:
4
0 17578125
.
*rounded to the nearest integer
128 10597
+= =dh
*
To adjust the hue by –4°, write 69h to the hue adjust value
register:
−
4
0 17578125
.
*rounded to the nearest integer
SD Brightness Control
[Subaddress 61h]
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 wide 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.
Standard: PAL.
To add –7 IRE brightness level, write 72h to Address 61h,
SD brightness.
*Values in the range of 3Fh to 44h might result in an invalid output signal.
SD Brightness Detect
[Subaddress 7Ah]
The ADV7330 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. B
[]
SD BrightnessValue H
[
IREValueH
[[
20 2 01563140 3126228
×=
2 015631
.
]]
×= =
..
HHH
100 IRE
0 IRE
=
]
NTSC WITHOUT PEDESTAL
NO SETUP
VALUE ADDED
Figure 30. Examples of Brightness Control Values
POSITIVE SETUP
VALUE ADDED
–41–
NEGATIVE SETUP
VALUE ADDED
+7.5 IRE
–7.5 IRE
ADV7330
PROGRAMMABLE DAC GAIN CONTROL
DACs A, B, and C are controlled by Reg 0B. The I2C control
registers will adjust the output signal gain up or down from its
absolute level.
CASE A
GAIN PROGRAMMED IN DAC OUTPUT LEVEL
REGISTERS, SUBADDRESS 0Ah, 0Bh
700mV
300mV
CASE B
700mV
300mV
NEGATIVE GAIN PROGRAMMED IN
DAC OUTPUT LEVEL REGISTERS,
SUBADDRESS 0Ah, 0Bh
Figure 31. 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 X is an example of how the output
current of the DACs varies for a nominal 4.33 mA output current.
Gamma Correction
[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 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, 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 = 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, 224. Locations 0, 16, 240, and 255 are
fixed and cannot be changed.
GAMMA CORRECTION BLOCK OUTPUT TO A RAMP INPUT
300
250
200
150
100
SIGNAL OUTPUT
0.5
For the length of 16 to 240, the gamma correction curve has to
be calculated as follows:
yx=
where:
y = gamma corrected output
x = linear input signal
= gamma power factor
To program the gamma correction registers, the seven values for
y have to be calculated using the following formula:
y
x
=
n
240 16
()
n
−()16
−
240 1616
×−
()
+
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:
y
= [(8 / 224)
24
y
= [16 / 224)
32
= [(32 / 224)
y
48
= [(48 / 224)
y
64
y
= [(64 / 224)
80
= [(80 / 224)
y
96
= [(112 / 224)
y
128
= [(144 / 224)
y
160
y
= [(176 / 224)
192
= [(208 / 224)
y
*rounded to the nearest integer
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 32 and 33 are examples only; any
user defined curve is acceptable in the range of 16–240.
GAMMA CORRECTION BLOCK TO A RAMP INPUT FOR
300
VARIOUS GAMMA VALUES
GAMMA CORRECTED AMPLITUDE
50
0
0
SIGNAL INPUT
50100150200250
LOCATION
Figure 32. Signal Input (Ramp) and Signal Output
for Gamma 0.5
REV. B
–43–
250
200
150
100
GAMMA CORRECTED AMPLITUDE
50
0
0
SIGNAL INPUT
50100150200250
0.3
0.5
1.5
1.8
LOCATION
Figure 33. Signal Input (Ramp) and Selectable
Gamma Output Curves
ADV7330
HD SHARPNESS FILTER CONTROL AND ADAPTIVE
FILTER CONTROL
[Subaddress 20h, 38h–3Dh]
There are three filter modes available on the ADV7330: 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 the figures below, 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 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
FREQUENCY (MHz)
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 34. Sharpness and Adaptive Filter Control Block
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 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
024681012
FREQUENCY RESPONSE IN SHARPNESS
FILTER MODE WITH Ka = 3 AND Kb = 7
FREQUENCY (MHz)
REV. B–44–
ADV7330
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 XII.
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.
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 35. HD Sharpness Filter Control with Different Gain Settings for HS Sharpness Filter Gain Value
REV. B
–45–
ADV7330
ADAPTIVE FILTER CONTROL APPLICATION
Figures 36 and 37 show a typical signal to be processed by the
adaptive filter control block.
: 692mV
@: 446mV
: 332ns
@: 12.8ms
Figure 36. Input Signal to Adaptive Filter Control
: 692mV
@: 446mV
: 332ns
@: 12.8ms
Figure 37. Output Signal After Adaptive Filter Control
The following register settings were used to obtain the results
shown in Figure 37, 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 38. 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].
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, which 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].
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
Figure 39. DNR Block Diagram
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 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 to 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 to 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 to 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 to 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 BORDER
CORING GAIN
OFFSET CAUSED
BY VARIATIONS IN
INPUT TIMING
DNR27 – DNR24 = 01H
APPLY DATA
CORING GAIN
OXXXXXXOOXXXXXXO
OXXXXXXOOXXXXXXO
OXXXXXXOOXXXXXXO
Figure 40. 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
REV. B
Figure 41. DNR Border Area
–47–
ADV7330
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 and 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 42
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 42. 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.
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, and ×7/8.
All other active video passes through unprocessed.
SAV/EAV STEP EDGE CONTROL
The ADV7330 has the capability of controlling 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
DISABLED
100 IRE
0 IRE
Figure 43. Example for Active Video Edge Functionality
LUMA CHANNEL WITH
ACTIVE VIDEO EDGE
ENABLED
100 IRE
87.5 IRE
50 IRE
12.5 IRE
0 IRE
REV. B–48–
ADV7330
VOLTS
024
IRE:FLT
100
0.5
50
00
–50
Figure 44. Address 42h, Bit 7 = 0
VOLTS
IRE:FLT
100
F2
L135
681012
0.5
50
0
0
F2
–50
02–24681012
L135
Figure 45. Address 42h, Bit 7 = 1
REV. B
–49–
ADV7330
BOARD DESIGN AND LAYOUT CONSIDERATIONS
DAC Termination and Layout Considerations
The ADV7330 contains an on-board voltage reference. The V
REF
pin is normally terminated to VAA through a 0.1 µF capacitor
when the internal V
be used with an external V
The RSET resistors connected between the R
is used. Alternatively, the ADV7330 can
REF
(AD1580).
REF
pin and AGND
SET
are used to control the full-scale output current and therefore
the DAC voltage output levels. For full-scale output, R
have a value of 3040 Ω. The R
has a value of 300 Ω for full-scale output.
R
LOAD
values should not be changed.
SET
SET
must
VIDEO OUTPUT BUFFER AND OPTIONAL
OUTPUT FILTER
Output buffering on all three 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, such as 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 ADV7330 is connected
to a device that requires this filtering.
The filter specifications vary with the application.
Table XVI shows possible output rates from the ADV7330.
Table XVI.
Input ModePLLOutput
Address 01h, Bit 6–4Address 00h, Bit 1 Rate
SDOff27 MHz (2×)
On216 MHz (16×)
PSOff27 MHz (1×)
On216 MHz (8×)
HDTVOff74.25 MHz (1×)
On148.5 MHz (2×)
DAC
OUTPUT
10H
22pF600
600
3
4
560
560
75
1
BNC
OUTPUT
Figure 46. Example for Output Filter for SD,
16× Oversampling
0
–10
–20
–30
–40
GAIN (dB)
–50
GROUP DELAY (sec)
–60
–70
–80
1M10M100M
CIRCUIT FREQUENCY RESPONSE
PHASE (Deg)
FREQUENCY (Hz)
MAGNITUDE (dB)
1G
0
–30
–60
–90
–120
–150
–180
–210
–240
24n
21n
18n
15n
12n
9n
6n
3n
0
Figure 47. Filter Plot for Output Filter for SD,
16× Oversampling
REV. B–50–
ADV7330
DAC
OUTPUT
4.7H
6.8pF600
6.8pF600
3
4
560
560
Figure 48. Example Output Filter for PS,
×
Oversampling
8
DAC OUTPUT
300
3
4
75
1
220nH470nH
75
82pF33pF
500
Figure 49. Example Output Filter for HDTV,
×
Oversampling
2
0
–10
–20
–30
GROUP DELAY (Sec)
–40
–50
GAIN (dB)
–60
–70
–80
–90
1M10M100M1G
CIRCUIT FREQUENCY RESPONSE
MAGNITUDE (dB)
FREQUENCY (Hz)
Figure 50. Filter Plot for Output Filter for PS,
×
Oversampling
8
0
–10
–20
–30
GAIN (dB)
–40
–50
GROUP DELAY (Sec)
CIRCUIT FREQUENCY RESPONSE
MAGNITUDE (dB)
75
1
3
4
500
PHASE (Deg)
PHASE (Deg)
BNC
OUTPUT
BNC OUTPUT
1
480
18n
400
16n
320
14n
240
12n
160
10n
80
8n
0
6n
–80
4n
–160
2n
–240
0
480
18n
360
15n
240
12n
120
9n
0
6n
–120
3n
PC BOARD LAYOUT CONSIDERATIONS
The ADV7330 is optimally designed for low noise performance,
both radiated and conducted noise. To complement the excellent
noise performance of the ADV7330, it is imperative that great
care be given to the PC board layout.
The layout should be optimized for lowest noise on the ADV7330
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 µF
ceramic capacitors. Each 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 µF tantalum capacitor is recommended across the V
supply
AA
in addition to 10 nF ceramic capacitor. See Figure 52.
–60
1M10M100M1G
FREQUENCY (Hz)
Figure 51. Example for Output Filter HDTV,
2× Oversampling
REV. B
–240
0
–51–
ADV7330
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 ADV7330
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.
POWER SUPPLY DECOUPLING
FOR EACH POWER SUPPLY GROUP
0.1F
COMP36V
19
I2C
50
HSYNC_O/P
49
VSYNC_O/P
48
BLANK_O/P
V
AA
41
VDDV
AA
ADV7330
10, 56
1
DD_IO
V
REF
5k
V
DD_IO
Analog Signal Interconnect
The ADV7330 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 52. The
termination resistors should be as close as possible to the
ADV7330 to minimize reflections.
For optimum performance, it is recommended that all decoupling
and external components relating to ADV7330 be located on the
same side of the PCB and as close as possible to the ADV7330.
Any unused inputs should be tied to ground.
V
10nF1F
10nF0.1F
10nF0.1F
46
100nF
+
1.1k
AA
V
DD
V
DD_IO
V
AA
RECOMMENDED EXTERNAL
AD1580 FOR OPTIMUM
PERFORMANCE
UNUSED
INPUTS
SHOULD BE
GROUNDED
V
AA
4.7k
4.7F
C0–C7
Y0–Y7
23
HSYNC_I/P
24
VSYNC_I/P
25
BLANK_I/P
33
+
V
AA
820pF
680
3.9nF
RESET
32
CLKIN
34
EXT_LF
GND_ IO64AGND40DGND
39
DAC A
38
DAC B
37
DAC C
22
SCLK
21
SDA
20
ALSB
35
R
SET
2, 11, 14, 15,
51–55, 57–63
300
300
300
100
100
3040
CVBS/GREEN/Y
LUMA/BLUE/Pb
CHROMA/RED/Pr
V
V
DD_IO
5k
V
DD_IO
DD_IO
5k
SELECTION HERE
DETERMINES
DEVICE ADDRESS
5k
2
C BUS
I
Figure 52. ADV7330 Circuit Layout
REV. B–52–
ADV7330
APPENDIX 1—COPY GENERATION
MANAGEMENT SYSTEM
HD CGMS Data Registers 2–0
[Subaddress 21h, 22h, 23h]
HD CGMS is available in 525p mode only, 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 intervalanalog interface.
When HD CGMS is enabled [Subaddress 12h, Bit 6 = 1], CGMS
data is inserted on Line 41. The HD CGMS data registers are
to be found at address 21h, 22h, 23h.
SD CGMS Data Registers 2–0
[Subaddress 59h, 5Ah, 5Bh]
The ADV7330 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 ADV7330 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 54.
HD CGMS Data Registers
[Subaddress 12h, Bit 6]
The ADV7330 supports copy generation management system
(CGMS) in HDTV mode (720p and 1080i) in accordance to
EIAJ CPR-1204-2. The HD CGMS data registers are to be found
at Addresses 21h, 22h, and 23h.
720p System
CGMS data is applied to Line 24 of the luminance vertical
blanking interval.
1080i System
CGMS data is applied to Line 19 and also on Line 582 of the
luminance vertical blanking interval.
CGMS CRC Functionality
If SD CGMS CRC [Address 59h, Bit 4] or PS/HD CGMS CRC
[Subaddress 12h, Bit 7] is set to Logic 1, the last six bits,
C19–C14, which comprise the 6-bit CRC check sequence, are
calculated automatically on the ADV7330 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
[Subaddress 12h, Bit 7] is set to Logic 0, all 20 bits (C0–C19)
are output directly from the CGMS registers (no CRC calculated, must be calculated by the user).
Function of CGMS Bits
Word 0–6 bits; Word 1–4 bits; Word 2–6 bits; CRC 6 bits;
CRC polynomial = x
The ADV7330 supports wide screen signaling (WSS) conforming to the standard. WSS data is transmitted on Line 23. WSS
data can be transmitted only when the ADV7330 is configured
in PAL mode. The WSS data is 14 bits long, and the function
of each of these bits is shown in Table XVII. The WSS data is
preceded by a run-in sequence and a start code (see Figure 57).
If SD WSS [Address 59h, Bit 7] is set to 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.
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 ADV7330 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 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 (Address 53h–54h).
The ADV7330 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 ADV7330.
All pixel inputs are ignored during Lines 21 and 284 if closed
captioning is enabled.
50 IRE
40 IRE
10.5s 0.25s
REFERENCE COLOR BURST
FREQUENCY = F
(9 CYCLES)
= 3.579545MHz
SC
AMPLITUDE = 40 IRE
10.003s
27.382s33.764s
12.91s
7 CYCLES OF
0.5035MHz
CLOCK RUN-IN
FCC Code of Federal Regulations (CFR) 47 section 15.119
and EIA608 describe the closed captioning information for
Lines 21 and 284.
The ADV7330 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
Lines 21 and 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; 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 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
Figure 58. Closed Captioning Waveform, NTSC
REV. B–56–
APPENDIX 4—TEST PATTERNS
The ADV7330 can generate SD and HD test patterns.
ADV7330
T
2
CH2 200mV M 10.0sA CH2 1.20V
T
30.6000s
Figure 59. NTSC Color Bars
T
2
CH2 100mV M 10.0sCH2 EVEN
T
1.82600ms
Figure 62. PAL Black Bar (–21 mV, 0 mV, +3.5 mV,
+7 mV, +10.5 mV, +14 mV, +18 mV, +23 mV)
Figure 67. 525p Black Bar (–35 mV, 0 mV, +7 mV,
+14 mV, +21 mV, +28 mV, +35 mV)
T
T
2
CH2 200mV M 4.0sCH2 EVEN
T
1.84176ms
Figure 66. 625p Field Pattern
2
CH2 100mV M 4.0sCH2 EVEN
T
1.84176ms
Figure 68. 625p Black Bar (–35 mV, 0 mV, +7 mV,
+14 mV, +21 mV, +28 mV, +35 mV)
REV. B–58–
ADV7330
The following register settings are used to generate a SD NTSC
CVBS output on DAC A:
Register
SubaddressSetting
00h10h
40h10h
42h40h
44h40h
4Ah08h
All other registers are set to normal/default.
For PAL CVBS 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 an SD NTSC
black bar pattern output on DAC A:
Register
SubaddressSetting
00h10h
02h04h
40h10h
42h40h
44h40h
4Ah08h
All other registers are set to normal/default.
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 A:
Register
SubaddressSetting
00h10h
01h10h
10h40h
11h05h
16hA0h
17h80h
18h80h
All other registers are set to normal/default.
For 625p hatch pattern on DAC A, the same register settings
are used except that subaddress = 10h and register setting = 50h.
For a 525p black bar pattern output on DAC A, the same settings
are used as above except that subaddress = 02h and register
setting = 24h.
For 625p black bar pattern output on DAC A, the same settings
are used as above except that subaddress = 02h and register
setting = 24h; and subaddress = 10h and register setting = 50h.
REV. B
–59–
ADV7330
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 ADV7330 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. VSYNC_O/P,HSYNC_O/P, and BLANK_O/P (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 69. 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. B–60–
Mode 0 (CCIR-656)—Master Option
(Timing Register 0 TR0 = X X X X X 0 0 1)
The ADV7330 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 HSYNC_O/P,
the V bit is output on BLANK_O/P, and the F bit is output
on VSYNC_O/P pin.
ADV7330
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 70. SD Master Mode 0 (NTSC)
DISPLAY
1011202122
DISPLAY
283
284
285
DISPLAY
6226236246251234
H
V
F
DISPLAY
309310311312314315316317
H
V
F
EVEN FIELD
ODD FIELD
ODD FIELD
313
EVEN FIELD
Figure 71. SD Master Mode 0 (PAL)
VERTICAL BLANK
5
VERTICAL BLANK
67
318
319320
DISPLAY
2223
21
DISPLAY
335336
334
REV. B
–61–
ADV7330
H
B
H
B
ANALOG
VIDEO
H
F
V
Figure 72. 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 ADV7330 accepts horizontal SYNC and odd/
even field signals. A transition of the field input when HSYNC_I/P
is low indicates a new frame i.e., vertical retrace. The BLANK_I/P
signal is optional. When the BLANK_I/P input is disabled, the
ADV7330 automatically blanks all normally blank lines as per
CCIR-624. HSYNC is applied to the HSYNC_I/P pin, BLANK
to the BLANK_I/P pin, and Field to the VSYNC_I/P pin.
284
DISPLAY
DISPLAY
285
DISPLAY
522523524525
SYNC_I/P
LANK_I/P
FIELD
DISPLAY
260261262263264265266267268269270271272273274
SYNC_I/P
LANK_I/P
FIELD
1234
EVEN FIELD
ODD FIELD EVEN FIELD
ODD FIELD
VERTICAL BLANK
678
5
VERTICAL BLANK
9
1011
202122
283
Figure 73. SD Slave Mode 1 (NTSC)
REV. B–62–
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 ADV7330 can generate horizontal sync and
odd/even field signals. A transition of the field output when
HSYNC_O/P is low indicates a new frame i.e., vertical retrace.
The blank signal is optional. Pixel data is latched on the rising
clock edge following the timing signal transitions. HSYNC is
output on the HSYNC_O/P pin, BLANK on the BLANK_O/P
pin, and Field on the VSYNC_O/P pin.
ADV7330
SYNC_O/P
LANK_O/P
FIELD
SYNC_O/P
LANK_O/P
FIELD
DISPLAY
6226236246251234
EVEN FIELD
DISPLAY
309310311312313314315316
ODD FIELD
ODD FIELD
EVEN FIELD
VERTICAL BLANK
VERTICAL BLANK
Figure 74. SD Slave Mode 1 (PAL)
317
5
67
318319
320
DISPLAY
212223
DISPLAY
334335336
SYNC_O/P
FIELD
PAL = 12 CLOCK/2
NTSC = 16 CLOCK/2
LANK_O/P
PIXEL
REV. B
DATA
PAL = 132 CLOCK/2
NTSC = 122 CLOCK/2
Figure 75. SD Timing Mode 1—Odd/Even Field Transitions Master/Slave
–63–
CbY
CrY
ADV7330
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 ADV7330 accepts horizontal and vertical
sync signals. A coincident low transition of both HSYNC_I/P
and VSYNC_I/P inputs indicates the start of an odd field. A
VSYNC_I/P low transition when HSYNC_I/P is high indicates
the start of an even field. The blank signal is optional. When the
blank input is disabled, the ADV7330 automatically blanks all
normally blank lines as per CCIR-624. HSYNC is input on the
HSYNC_I/P pin, BLANK on the BLANK _I/P pin, and VSYNC
on the VSYNC_I/P pin.
SYNC_I/P
LANK_I/P
VSYNC_I/P
SYNC_I/P
LANK_I/P
VSYNC_I/P
DISPLAY
522523524525
DISPLAY
260261262263264265266267268269270271272273274
1234
EVEN FIELD
ODD FIELD
VERTICAL BLANK
678
5
ODD FIELD
VERTICAL BLANK
EVEN FIELD
9
1011
Figure 76. SD Slave Mode 2 (NTSC)
DISPLAY
VERTICAL BLANK
202122
DISPLAY
283
284
DISPLAY
DISPLAY
285
6226236246251234
SYNC_I/P
LANK_I/P
VSYNC_I/P
SYNC_I/P
LANK_I/P
VSYNC_I/P
DISPLAY
309310311312313314315316
EVEN FIELD
ODD FIELD
ODD FIELD
VERTICAL BLANK
EVEN FIELD
5
317
67
318319
320
212223
DISPLAY
334335336
Figure 77. SD Slave Mode 2 (PAL)
REV. B–64–
Mode 2—Master Option
H
B
H
B
(Timing Register 0 TR0 = X X X X X 1 0 1)
In this mode, the ADV7330 can generate horizontal and vertical
sync signals. A coincident low transition of both HSYNC_O/P
and VSYNC_O/P outputs indicates the start of an odd field.
A VSYNC_O/P low transition when HSYNC_O/P is high
indicates the start of an even field. HSYNC is output on the
HSYNC_O/P pin, BLANK on the BLANK_O/P pin, and VSYNC
on the VSYNC_O/P pin.
SYNC_O/P
VSYNC_O/P
PAL = 12 CLOCK/2
LANK_O/P
NTSC = 16 CLOCK/2
ADV7330
PIXEL
DATA
SYNC_O/P
VSYNC_O/P
LANK_O/P
PIXEL
DATA
CbYCr
PAL = 132 CLOCK/2
NTSC = 122 CLOCK/2
Figure 78. 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 79. SD Timing Mode 2—Odd to Even Field Transition Master/Slave
Y
REV. B
–65–
ADV7330
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 ADV7330 accepts or generates horizontal
sync and odd/even field signals. A transition of the field input
when HSYNC_I/P is high indicates a new frame, i.e., vertical
retrace. The BLANK_I/P signal is optional. When the BLANK_I/P
input is disabled, the ADV7330 automatically blanks all
normally blank lines as per CCIR-624. HSYNC is interfaced on
HSYNC_I/P, BLANK on BLANK_I/P, VSYNC on VSYNC_I/P.
SYNC_I/P
LANK_I/P
FIELD
SYNC_I/P
LANK_I/P
FIELD
284
DISPLAY
285
DISPLAY
522523524525
DISPLAYDISPLAY
260261262263264265266267268269270271272273274
1234
ODD FIELDEVEN FIELD
ODD FIELDEVEN FIELD
VERTICAL BLANK
678
5
VERTICAL BLANK
1011
9
202122
283
Figure 80. SD Timing Mode 3 (NTSC)
REV. B–66–
ADV7330
H
B
H
B
H
H
DISPLAY
6226236246251234
SYNC_I/P
LANK_I/P
FIELD
DISPLAY
309310311312313314315316
SYNC_I/P
LANK_I/P
FIELD
APPENDIX 6—HD TIMING
VERTICAL BLANK
67
5
ODD FIELDEVEN FIELD
VERTICAL BLANK
318319
317
ODD FIELDEVEN FIELD
Figure 81. SD Timing Mode 3 (PAL)
320
DISPLAY
212223
DISPLAY
334335336
DISPLAY
FIELD 1
1124 1125125678
VSYNC_I/P
SYNC_I/P
FIELD 2
VSYNC_I/P
SYNC_I/P
561562563564567568569570
VERTICAL BLANKING INTERVAL
43
VERTICAL BLANKING INTERVAL
566565
2022560
21
DISPLAY
584
5835851123
Figure 82. 1080i Hsync and Vsync Input Timing
REV. B
–67–
ADV7330
APPENDIX 7—VIDEO OUTPUT LEVELS
HD YPrPb Output Levels
INPUT CODE
EIA-770.2, STANDARD FOR Y
OUTPUT VOLTAGE
INPUT CODE
EIA-770.3, STANDARD FOR Y
OUTPUT VOLTAGE
940
CTV V
64
EIA-770.2, STANDARD FOR Pr/Pb
960
512
64
700mV
300mV
OUTPUT VOLTAGE
700mV
CTV V
Figure 83. EIA 770.2 Standard Output Signals
(525p/625p)
INPUT CODE
EIA-770.1, STANDARD FOR Y
940
OUTPUT VOLTAGE
782mV
940
700mVCTV V
64
300mV
EIA-770.3, STANDARD FOR Pr/Pb
960
512
64
600mV
CTV V
OUTPUT VOLTAGE
700mV
Figure 85. EIA 770.3 Standard Output Signals
(1080i, 720p)
INPUT CODE
1023
Y–OUTPUT LEVELS FOR
FULL I/P SELECTION
OUTPUT VOLTAGE
64
EIA-770.1, STANDARD FOR Pr/Pb
960
512
64
CTV V
CTV V
714mV
286mV
OUTPUT VOLTAGE
700mV
Figure 84. EIA 770.1 Standard Output Signals
(525p/625p)
700mV
CTV V
64
300mV
INPUT CODE
1023
64
Pr/Pb–OUTPUT LEVELS FOR
FULL I/P SELECTION
CTV V
OUTPUT VOLTAGE
700mV
300mV
Figure 86. Output Levels for Full I/P Selection
REV. B–68–
RGB Output Levels
ADV7330
700mV
300mV
700mV
300mV
700mV
300mV
550mV
550mV
550mV
Figure 87. HD RGB Output Levels
700mV550mV
700mV
300mV
700mV
300mV
700mV
300mV
550mV
550mV
550mV
Figure 89. SD RGB Output Levels—RGB Sync Disabled
700mV550mV
300mV
0mV
700mV
300mV
0mV
700mV
300mV
0mV
550mV
550mV
Figure 88. HD RGB Output Levels—RGB Sync Enabled
300mV
0mV
700mV
300mV
0mV
700mV
300mV
0mV
550mV
550mV
Figure 90. SD RGB Output Levels—RGB Sync Enabled
REV. B
–69–
ADV7330
YPrPb Output Levels
WHITE
160mV
YELLOW
CYAN
220mV
GREEN
280mV
MAGENTA
RED
110mV
332mV
BLUE
BLACK
1000mV
WHITE
1260mV
YELLOW
CYAN
GREEN
2000mV
MAGENTA
RED
2150mV
900mV
BLUE
BLACK
60mV
Figure 91. U Levels—NTSC
WHITE
YELLOW
CYAN
GREEN
220mV
160mV
60mV
Figure 92. U Levels—PAL
WHITE
YELLOW
CYAN
GREEN
2000mV
280mV
MAGENTA
RED
110mV
MAGENTA
RED
2150mV
332mV
BLUE
BLUE
BLACK
BLACK
140mV
Figure 94. U Levels—PAL
WHITE
YELLOW
CYAN
GREEN
MAGENTA
300mV
Figure 95. Y Levels—NTSC
WHITE
YELLOW
CYAN
GREEN
MAGENTA
RED
RED
BLUE
BLUE
BLACK
BLACK
1260mV
1000mV
140mV
Figure 93. U Levels—NTSC
900mV
300mV
Figure 96. Y Levels—PAL
REV. B–70–
VOLTSIRE:FLT
100
0.5
50
ADV7330
0
0
APL = 44.5%
525 LINE NTSC
SLOW CLAMP TO 0.00V AT 6.77s
VOLTS
0.4
0.2
0
–0.2
0
–50
10
IRE:FLT
50
0
F1
L76
20
30
s
PRECISION MODE OFF
4050
SYNCHRONOUSSYNC = A
FRAMES SELECTED 1 2
Figure 97. NTSC Color Bars 75%
60
REV. B
–50
–0.4
F1
L76
0
NOISE REDUCTION: 15.05dB
APL NEEDS SYNC-SOURCE!
525 LINE NTSC NO FILTERING
SLOW CLAMP TO 0.00V AT 6.72s
1020
30405060
s
PRECISION MODE OFF
SYNCHRONOUSSYNC = B
Figure 98. NTSC Chroma
–71–
FRAMES SELECTED 1 2
ADV7330
0.6
0.4
0.2
0
IRE:FLT
50
0
0
F2
L238
1020
VOLTS
–0.2
NOISE REDUCTION: 15.05dB
APL = 44.3%
525 LINE NTSC NO FILTERING
SLOW CLAMP TO 0.00V AT 6.72
VOLTS
30405060
s
PRECISION MODE OFF
s
Figure 99. NTSC Luma
SYNCHRONOUSSYNC = SOURCE
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.00V AT 6.72s
30405060
s
PRECISION MODE OFF
SYNCHRONOUSSOUND-IN-SYNC OFF
FRAMES SELECTED 1 2 3 4
Figure 100. PAL Color Bars 75%
REV. B–72–
0.5
–0.5
ADV7330
0
102030405060
APL NEEDS SYNC = SOURCE
625 LINE PAL, NO FILTERING
SLOW CLAMP TO 0.00V AT 6.72s
VOLTS
0.5
0
L575
10020
APL NEEDS SYNC = SOURCE
625 LINE PAL, NO FILTERING
SLOW CLAMP TO 0.00V AT 6.72s
sNO BUNCH SIGNAL
PRECISION MODE OFF
SYNCHRONOUSSOUND-IN-SYNC OFF
Figure 101. PAL Chroma
3040506070
sNO BUNCH SIGNAL
PRECISION MODE OFF
SYNCHRONOUSSOUND-IN-SYNC OFF
Figure 102. PAL Luma
FRAMES SELECTED 1
FRAMES SELECTED 1
REV. B
–73–
ADV7330
APPENDIX 8—VIDEO STANDARDS
SMPTE274M
ANALOG WAVEFORM
*1
4T
EAV CODE
INPUT PIXELS
SAMPLE NUMBER
F
F
21122116 21562199
*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
F
000
V
0
H*
4 CLOCK4 CLOCK
Figure 103. EAV/SAV Input Data Timing Diagram—SMPTE 274M
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
SMPTE293M
ANALOG WAVEFORM
INPUT PIXELS
SAMPLE NUMBER
EAV CODE
F
F
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
F
000
V
0
H*
4 CLOCK4 CLOCK
0HDATUM
DIGITAL HORIZONTAL BLANKING
ANCILLARY DATA
(OPTIONAL)
SAV CODE
F
000
F
Figure 104. EAV/SAV Input Data Timing Diagram—SMPTE 293M