Adv 7181
Adv 7181
ADV7181
FEATURES
Multiformat video decoder supports NTSC-(J, M, 4.43), Differential phase: 0.6° typ
PAL-(B/D/G/H/I/M/N), SECAM Programmable video controls:
Integrates three 54 MHz, 9-bit ADCs Peak-white/hue/brightness/saturation/contrast
Clocked from a single 27 MHz crystal Integrated on-chip video timing generator
Line-locked clock-compatible (LLC) Free run mode (generates stable video ouput with no I/P)
Adaptive Digital Line Length Tracking (ADLLT™) VBI decode support for
5-line adaptive comb filters Close captioning, WSS, CGMS, EDTV, Gemstar® 1×/2×
Proprietary architecture for locking to weak, noisy, and Power-down mode
unstable video sources such as VCRs and tuners 2-wire serial MPU interface (I2C®-compatible)
Subcarrier frequency lock and status information output 3.3 V analog, 1.8 V digital core; 3.3 V IO supply
Integrated AGC with adaptive peak white mode Temperature grade: –40°C to +85°C
Macrovision® copy protection detection 64-lead LQFP Pb-free package
CTI (chroma transient improvement)
DNR (digital noise reduction) APPLICATIONS
Multiple programmable analog input formats: DVD recorders
CVBS (composite video) PC video
S-Video (Y/C) HDD-based PVRs/DVDRs
YPrPb component (VESA, MII, SMPTE, and Betacam)
LCD TVs
6 analog video input channels
Set-top boxes
Automatic NTSC/PAL/SECAM identification
Security systems
Digital output formats (8-bit or16-bit):
Digital televisions
ITU-R BT.656 YCrCb 4:2:2 output + HS, VS, and FIELD
Portable video devices
0.5 V to 1.6 V analog signal input range
Automotive entertainment
Differential gain: 0.6% typ
AVR receiver
GENERAL DESCRIPTION
The ADV7181 integrated video decoder automatically detects The fixed 54 MHz clocking of the ADCs and datapath for all
and converts a standard analog baseband television signal modes allow very precise, accurate sampling and digital
compatible with worldwide standards NTSC, PAL, and SECAM filtering. The line-locked clock output allows the output data
into 4:2:2 component video data compatible with 16-/8-bit rate, timing signals, and output clock signals to be synchronous,
CCIR601/CCIR656. asynchronous, or line locked even with ±5% line length
variation. The output control signals allow glueless interface
The advanced, highly flexible digital output interface enables connections in almost any application. The ADV7181 modes
performance video decoding and conversion in line-locked are set up over a 2-wire, serial, bidirectional port (I2C-
clock-based systems. This makes the device ideally suited for a compatible).
broad range of applications with diverse analog video charac-
teristics, including tape-based sources, broadcast sources, The ADV7181 is fabricated in a 3.3 V CMOS process. Its
security/surveillance cameras, and professional systems. monolithic CMOS construction ensures greater functionality
with lower power dissipation.
The six analog input channels accept standard composite,
S-Video, YPrPb video signals in an extensive number of The ADV7181 is packaged in a small 64-lead LFCSP and LQFP
combinations. AGC and clamp restore circuitry allow an input and Pb-free packages.
video signal peak-to-peak range of 0.5 V up to 1.6 V.
Alternatively, these can be bypassed for manual settings.
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.
Specifications subject to change without notice. No license is granted by implication One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
or otherwise under any patent or patent rights of Analog Devices. Trademarks and Tel: 781.329.4700 www.analog.com
registered trademarks are the property of their respective owners. Fax: 781.461.3113 © 2005 Analog Devices, Inc. All rights reserved.
ADV7181
TABLE OF CONTENTS
Introduction ...................................................................................... 4 Luma Filter.................................................................................. 27
Analog Front End......................................................................... 4 Chroma Filter ............................................................................. 30
Standard Definition Processor ................................................... 4 Gain Operation........................................................................... 31
Functional Block Diagram .............................................................. 5 Chroma Transient Improvement (CTI) .................................. 35
Specifications..................................................................................... 6 Digital Noise Reduction (DNR)............................................... 36
Electrical Characteristics............................................................. 6 Comb Filters ............................................................................... 36
Video Specifications..................................................................... 7 AV Code Insertion and Controls ............................................. 39
Timing Specifications .................................................................. 8 Synchronization Output Signals .............................................. 41
Analog Specifications .................................................................. 8 Sync Processing .......................................................................... 49
Thermal Specifications ................................................................ 8 VBI Data Decode ....................................................................... 50
Timing Diagrams ......................................................................... 9 Pixel Port Configuration ............................................................... 61
Absolute Maximum Ratings.......................................................... 10 MPU Port Description................................................................... 62
ESD Caution................................................................................ 10 Register Accesses........................................................................ 63
Pin Configuration and Function Descriptions........................... 11 Register Programming .............................................................. 63
Analog Front End ........................................................................... 13 I2C Sequencer.............................................................................. 63
Analog Input Muxing ................................................................ 13
I2C Control Register Map.......................................................... 64
Global Control Registers ............................................................... 15
I2C Register Map Details ........................................................... 67
Power-Save Modes ..................................................................... 15
I2C Programming Examples.......................................................... 93
Reset Control .............................................................................. 15
Mode 1—CVBS Input (Composite Video on AIN6) ............ 93
Global Pin Control..................................................................... 16
Mode 2—S-Video Input (Y on AIN1 and C on AIN4)......... 94
Global Status Registers................................................................... 18
Mode 3—525i/625i YPrPb Input (Y on AIN1, Pr on AIN3,
Identification............................................................................... 18 and Pb on AIN5) ........................................................................ 94
Status 1 ......................................................................................... 18 Mode 4—CVBS Tuner Input CVBS PAL on AIN6 ............... 95
Status 2 ......................................................................................... 19 PCB Layout Recommendations.................................................... 96
Status 3 ......................................................................................... 19 Analog Interface Inputs............................................................. 96
Standard Definition Processor (SDP).......................................... 20 Power Supply Decoupling ......................................................... 96
SD Luma Path ............................................................................. 20 PLL ............................................................................................... 96
SD Chroma Path......................................................................... 20 Digital Outputs (Both Data and Clocks) ................................ 96
Sync Processing .......................................................................... 21 Digital Inputs .............................................................................. 97
VBI Data Recovery..................................................................... 21 XTAL and Load Capacitor Value Selection ............................ 97
General Setup.............................................................................. 21 Typical Circuit Connection........................................................... 98
Color Controls ............................................................................ 24 Outline Dimensions ..................................................................... 100
Clamp Operation........................................................................ 26 Ordering Guide ........................................................................ 101
Changes to the Analog Specifications Section ..............................8 Addition to Applications List ..........................................................1
Changes to Table 20 and Table 21 ................................................17 Changes to Table 3 ............................................................................8
Changes to Table 27 and Table 28 ................................................19 Changes to Table 5 ............................................................................8
Change to Table 50..........................................................................25 Replaced Figure 3 ..............................................................................9
Addition to the Clamp Operation Section...................................26 Changes to Global Pin Control Section .......................................16
Changes to Figures 11.....................................................................29 Changes to Table 202 ......................................................................91
Changes to Figures 12, 13, 14 ........................................................30 Changes to Table 203 ......................................................................92
Changes to Chroma Filter Section ................................................30 Added package in Outline Dimensions Section .......................103
Deleted YPM Section and Renumbered Subsequent Tables .....30 Changes to Ordering Guide.........................................................104
Changes to Figure 15 ......................................................................31
Change to the Luma Gain Section ................................................32 5/04—Revision 0: Initial Version
Changes to Table 103 and Table 104............................................42
Deleted Table 172 and Renumbered Subsequent Tables............68
Changes to Table 176......................................................................71
Changes to Table 185......................................................................78
Changes to Table 192......................................................................83
Changes to Table 193......................................................................84
Changes to Table 194......................................................................85
Added XTAL and Load Capacitor Value Selection Section ......97
Change to Figure 41 ........................................................................98
INTRODUCTION
The ADV7181 is a high quality, single chip, multiformat video STANDARD DEFINITION PROCESSOR
decoder that automatically detects and converts PAL, NTSC, The ADV7181 is capable of decoding a large selection of
and SECAM standards in the form of composite, S-Video, and baseband video signals in composite, S-Video, and component
component video into a digital ITU-R BT.656 format. formats. The video standards supported by the ADV7181
The advanced, highly flexible digital output interface enables include PAL B/D/I/G/H, PAL60, PAL M, PAL N, PAL Nc,
performance video decoding and conversion in line-locked NTSC M/J, NTSC 4.43, and SECAM B/D/G/K/L. The
clock-based systems. This makes the device ideally suited for a ADV7181 can automatically detect the video standard and
broad range of applications with diverse analog video charac- process it accordingly.
teristics, including tape-based sources, broadcast sources, The ADV7181 has a 5-line, superadaptive, 2D comb filter that
security/surveillance cameras, and professional systems. gives superior chrominance and luminance separation when
ANALOG FRONT END decoding a composite video signal. This highly adaptive filter
automatically adjusts its processing mode according to video
The ADV7181 analog front end comprises three 9-bit ADCs standard and signal quality with no user intervention required.
that digitize the analog video signal before applying it to the Video user controls such as brightness, contrast, saturation, and
standard definition processor. The analog front end employs hue are also available within the ADV7181.
differential channels to each ADC to ensure high performance
in mixed-signal applications. The ADV7181 implements a patented adaptive digital line-
length tracking (ADLLT) algorithm to track varying video line
The front end also includes a 6-channel input mux that enables lengths from sources such as a VCR. ADLLT enables the
multiple video signals to be applied to the ADV7181. Current ADV7181 to track and decode poor quality video sources such
and voltage clamps are positioned in front of each ADC to as VCRs, noisy sources from tuner outputs, VCD players, and
ensure that the video signal remains within the range of the camcorders. The ADV7181 contains a chroma transient
converter. Fine clamping of the video signals is performed improvement (CTI) processor that sharpens the edge rate of
downstream by digital fine clamping within the ADV7181. The chroma transitions, resulting in sharper vertical transitions.
ADCs are configured to run in 4× oversampling mode.
The ADV7181 can process a variety of VBI data services such as
closed captioning (CC), wide screen signaling (WSS), copy gen-
eration management system (CGMS), EDTV, Gemstar 1×/2×,
and extended data service (XDS). The ADV7181 is fully
Macrovision certified; detection circuitry enables Type I, II, and
III protection levels to be identified and reported to the user.
The decoder is also fully robust to all Macrovision signal inputs.
PIXEL
8 DATA
L-DNR
SYNC AND
CLK CONTROL 16
SYNC PROCESSING AND LINE AV
SYNC RESAMPLE
CLOCK GENERATION LENGTH CODE
EXTRACT CONTROL
PREDICTOR INSERTION
HS
VS
FIELD
Figure 1.
FSC CTI
RECOVERY C-DNR
OUTPUT FORMATTER
SPECIFICATIONS
Temperature range: TMIN to TMAX, –40°C to +85°C. The min/max specifications are guaranteed over this range.
ELECTRICAL CHARACTERISTICS
AVDD = 3.15 V to 3.45 V, DVDD = 1.65 V to 2.0 V, DVDDIO = 3.0 V to 3.6 V, PVDD = 1.65 V to 2.0 V; operating temperature range, unless
otherwise noted.
Table 1.
Parameter Symbol Test Conditions Min Typ Max Unit
STATIC PERFORMANCE
Resolution (Each ADC) N 9 Bits
Integral Nonlinearity INL BSL at 54 MHz –0.475/+0.6 –1.5/+2 LSB
Differential Nonlinearity DNL BSL at 54 MHz –0.25/+0.5 –0.7/+2 LSB
DIGITAL INPUTS
Input High Voltage VIH 2 V
Input Low Voltage VIL 0.8 V
Input Current IIN Pin 29 –50 +50 µA
All other pins –10 +10 µA
Input Capacitance CIN 10 pF
DIGITAL OUTPUTS
Output High Voltage VOH ISOURCE = 0.4 mA 2.4 V
Output Low Voltage VOL ISINK = 3.2 mA 0.4 V
High Impedance Leakage Current ILEAK 10 µA
Output Capacitance COUT 20 pF
POWER REQUIREMENTS1
Digital Core Power Supply DVDD 1.65 1.8 2 V
Digital I/O Power Supply DVDDIO 3.0 3.3 3.6 V
PLL Power Supply PVDD 1.65 1.8 2.0 V
Analog Power Supply AVDD 3.15 3.3 3.45 V
Digital Core Supply Current IDVDD 80 mA
Digital I/O Supply Current IDVDDIO 2 mA
PLL Supply Current IPVDD 10.5 mA
Analog Supply Current IAVDD CVBS input2 85 mA
YPrPb input3 180 mA
Power-Down Current IPWRDN 1.5 mA
Power-Up Time tPWRUP 20 ms
1
Guaranteed by characterization.
2
ADC1 and ADC2 powered down.
3
All three ADCs powered on.
ANALOG SPECIFICATIONS
Guaranteed by characterization. At AVDD = 3.15 V to 3.45 V, DVDD = 1.65 V to 2.0 V, DVDDIO = 3.0 V to 3.6 V, PVDD = 1.65 V to 2.0 V;
operating temperature range, unless otherwise noted. Recommended analog input video signal range: 0.5 V – 1.6 V, typically 1 V p-p.
Table 4.
Parameter Symbol Test Conditions Min Typ Max Unit
CLAMP CIRCUITRY
External Clamp Capacitor 0.1 µF
Input Impedance Clamps switched off 10 MΩ
Large Clamp Source Current 0.75 mA
Large Clamp Sink Current 0.75 mA
Fine Clamp Source Current 60 µA
Fine Clamp Sink Current 60 µA
THERMAL SPECIFICATIONS
Table 5.
Parameter Symbol Test Conditions Min Typ Max Unit
THERMAL CHARACTERISTICS
Junction-to-Ambient Thermal θJA 4-layer PCB with solid ground plane, 64-lead LFCSP 45.5 °C/W
Resistance (Still Air)
Junction-to-Case Thermal Resistance θJC 4-layer PCB with solid ground plane, 64-lead LFCSP 9.2 °C/W
Junction-to-Ambient Thermal θJA 4-layer PCB with solid ground plane, 64-lead LQFP 47 °C/W
Resistance (Still Air)
Junction-to-Case Thermal Resistance θJC 4-layer PCB with solid ground plane, 64-lead LQFP 11.1 °C/W
SDA
t6 t1
SCLK
04820-002
t2 t7 t4 t8
t9 t10
OUTPUT LLC1
t11
t12
04820-003
OUTPUTS P0–P15, VS,
HS, FIELD, SFL
ESD 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 this product 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.
SDATA
RESET
DGND
FIELD
DVDD
SCLK
ALSB
AIN6
P12
P13
P14
P15
NC
NC
NC
VS
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
NC 1 48 AIN5
PIN 1
HS 2 INDICATOR 47 AIN4
DGND 3 46 AIN3
DVDDIO 4 45 AGND
P11 5 44 CAPC2
P10 6 43 AGND
P9 7 42 CML
P8 8 ADV7181 41 REFOUT
SFL 9 TOP VIEW 40 AVDD
(Not to Scale)
DGND 10 39 CAPY2
DVDDIO 11 38 CAPY1
NC 12 37 AGND
NC 13 36 AIN2
P7 14 35 AIN1
P6 15 34 DGND
P5 16 33 NC
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
ELPF
P4
P3
P2
P1
P0
LLC
XTAL
DVDD
DGND
NC
NC
PVDD
AGND
XTAL1
PWRDN
04820-004
NC = NO CONNECT
ADC_SW_MAN_EN
AIN2
AIN1
AIN4
AIN3
AIN6
AIN5
AIN2
AIN1 ADC0_SW[3:0]
AIN4
AIN3
AIN6 ADC0
AIN5
AIN4
AIN3
AIN6 ADC1_SW[3:0]
AIN5
ADC1
AIN6
AIN5 ADC0_SW[3:0]
04820-005
ADC2
• The standard definition processor block, which decodes To configure the ADV7181 analog muxing section, the user
the digital data, should be configured to process either must select the analog input (AIN1–AIN6) that is to be
CVBS, YC, or YPrPb. processed by each ADC. SETADC_sw_man_en must be set to 1
to enable the muxing blocks to be configured. The three mux
ANALOG INPUT MUXING sections are controlled by the signal buses ADC0/1/2_sw[3:0].
The ADV7181 has an integrated analog muxing section that Table 8 explains the control words used.
allows more than one source of video signal to be connected to
the decoder. Figure 5 outlines the overall structure of the input The input signal that contains the timing information (H/V
muxing provided in the ADV7181. syncs) must be processed by ADC0. For example, in YC input
configuration, ADC0 should be connected to the Y channel and
A maximum of six CVBS inputs can be connected and decoded ADC1 to the C channel. In cases where one or more ADCs are
by the ADV7181. As seen in the Pin Configuration and not used to process video, for example, CVBS input, the idle
Function Description section, these analog input pins lie in ADCs should be powered down, (see the ADC Power-Down
close proximity to one another. This calls for a careful design of Control section).
the PCB layout, for example, ground shielding between all
signals routed through tracks that are physically close together. Restrictions are imposed on the channel routing by the analog
It is strongly recommended to connect any unused analog input signal routing inside the IC; every input pin cannot be routed to
pins to AGND to act as a shield. each ADC. Refer to Table 8 for an overview on the routing
capabilities inside the chip.
CONNECTING
ANALOG SIGNALS INSEL[3:0] Input Selection, Address 0x00 [3:0]
TO ADV7181
The INSEL bits allow the user to select the input format. It
configures the Standard Definition Processor core to process
SET INSEL[3:0] TO
CONFIGURE ADV7181 TO
DECODE VIDEO FORMAT:
CVBS (Comp), S-Video (Y/C), or Component (YPbPr) format.
CVBS: 0000
YC: 0110 Table 9. Standard Definition Processor Format Selection,
YPrPb: 1001
INSEL[3:0]
INSEL[3:0] Video Format
CONFIGURE ADC INPUTS USING
MUXING CONTROL BITS 0000 Composite
04820-006
(ADC_sw_man_en,
ADC0_sw,adc1_sw, ADC2_sw) 0110 YC
1001 YPrPb
Figure 6. Input Muxing Overview
There are two ways to shut down the digital core of the
ADV7181: a pin (PWRDN) and a bit (PWRDN see below). The PWRDN_ADC_1, Address 0x3A [2]
PDBP controls which of the two has the higher priority. The Table 13. PWRDN_ADC_1 Function
default is to give the pin (PWRDN) priority. This allows the PWRDN_ADC_1 Description
user to have the ADV7181 powered down by default. 0 (default) ADC normal operation.
Table 10. PDBP Function 1 Power down ADC 1.
PDBP Description
0 (default) Digital core power controlled by the PWRDN pin PWRDN_ADC_2, Address 0x3A [1]
(bit is disregarded).
Table 14. PWRDN_ADC_2 Function
1 Bit has priority (pin is disregarded).
PWRDN_ADC_2 Description
0 (default) ADC normal operation.
PWRDN, Address 0x0F [5] 1 Power down ADC 2.
Individual drive strength controls are provided via the For more information on three-state control, refer to the
DR_STR_XX bits. following sections:
Table 17. TRI_LLC Function • Drive Strength Selection (Clock)
TRI_LLC Description
0 (default) LLC pin drivers working according to the • Drive Strength Selection (Sync)
DR_STR_C[1:0] setting (pin enabled).
1 LLC pin drivers three-stated. Table 19. DR_STR Function
DR_STR[1:0] Description
00 Low drive strength (1×).
01 (default) Medium low drive strength (2×).
10 Medium high drive strength (3×).
11 High drive strength (4×).
Provides identification of the revision of the ADV7181. Review The AD_RESULT[2:0] bits report back on the findings from the
the list of IDENT code readback values for the various versions autodetection block. Consult the General Setup sec-tion for
shown in Table 24. more information on enabling the autodetection block, and the
Autodetection of SD Modes section to find out how to
Table 24. IDENT Function configure it.
IDENT[7:0] Description
Table 25. AD_RESULT Function
0x0D ADV7181-ES1
AD_RESULT[2:0] Description
0x0E ADV7181-ES2
0x0F or 0x10 ADV7181-FT 000 NTSM-MJ
0x11 ADV7181 (Version 2) 001 NTSC-443
010 PAL-M
011 PAL-60
STATUS 1 100 PAL-BGHID
101 SECAM
STATUS_1[7:0] Address 0x10 [7:0]
110 PAL-Combination N
This read-only register provides information about the internal 111 SECAM 525
status of the ADV7181.
See CIL[2:0] Count Into Lock, Address 0x51 [2:0] and COL[2:0]
Count Out of Lock, Address 0x51 [5:3] for information on the
timing.
LUMA
DIGITIZED CVBS DIGITAL LUMA GAIN LUMA LUMA
DIGITIZED Y (YC) FINE FILTER CONTROL RESAMPLE 2D COMB
CLAMP
LINE AV
SYNC RESAMPLE VIDEO DATA
LENGTH CODE
EXTRACT CONTROL OUTPUT
PREDICTOR INSERTION
CHROMA
DIGITIZED CVBS DIGITAL CHROMA CHROMA GAIN CHROMA CHROMA MEASUREMENT
DIGITIZED C (YC) FINE DEMOD FILTER CONTROL RESAMPLE 2D COMB BLOCK (= >12C)
CLAMP
VIDEO DATA
PROCESSING
BLOCK
FSC
RECOVERY
04820-007
Figure 7. Block Diagram of the Standard Definition Processor
TIME_WIN 1
0
FREE_RUN 0 COUNTER INTO LOCK STATUS 1 [0]
COUNTER OUT OF LOCK
1
FSC LOCK MEMORY STATUS 1 [1]
04820-008
The hue adjustment value is fed into the AM color demodulation Table 52. DEF_C Function
block. Therefore, it only applies to video signals that contain DEF_C[7:0] Description
chroma information in the form of an AM modulated carrier 0x7C (blue) (default) Default values for Cr and Cb.
(CVBS or Y/C in PAL or NTSC). It does not affect SECAM and
does not work on component video inputs (YPrPb).
DEF_VAL_EN Default Value Enable, Address 0x0C [0]
Table 50. HUE Function
This bit forces the use of the default values for Y, Cr, and Cb.
HUE[7:0] Description (Adjust Hue of the Picture)
Refer to the descriptions for DEF_Y and DEF_C for additional
0x00 (default) Phase of the chroma signal = 0°. information. The decoder also outputs a stable 27 MHz clock,
0x7F Phase of the chroma signal = +90°. HS, and VS in this mode.
0x80 Phase of the chroma signal = –90°.
Table 53. DEF_VAL_EN Function
DEF_VAL_EN Description
DEF_Y[5:0] Default Value Y, Address 0x0C [7:2] 0 (default) Don't force the use of default Y, Cr, and
Cb values. Output colors dependent on
When the ADV7181 loses lock on the incoming video signal or
DEF_VAL_AUTO_EN.
when there is no input signal, the DEF_Y[5:0] register allows
1 Always use default Y, Cr, and Cb values.
the user to specify a default luma value to be output. Override picture data even if the video
decoder is locked.
This value is used under the following conditions:
ANALOG DATA
SDP
VIDEO PRE
ADC PROCESSOR WITH DIGITAL
INPUT FINE CLAMP
(DPP)
04820-009
CLAMP CONTROL
The input video is ac-coupled into the ADV7181 through a The clamping scheme has to complete two tasks: it must be able
0.1 µF capacitor. It is recommended that the range of the input to acquire a newly connected video signal with a completely
video signal is 0.5 V to 1.6 V (typically 1 V p-p). If the signal unknown dc level, and it must maintain the dc level during
exceeds this range, it cannot be processed correctly in the normal operation.
decoder. Since the input signal is ac-coupled into the decoder,
its dc value needs to be restored. This process is referred to as For a fast acquiring of an unknown video signal, the large
clamping the video. This section explains the general process of current clamps may be activated. (It is assumed that the
clamping on the ADV7181 and shows the different ways in amplitude of the video signal at this point is of a nominal
which a user can configure its behavior. value.) Control of the coarse and fine current clamp parameters
is performed automatically by the decoder.
The ADV7181 uses a combination of current sources and a
digital processing block for clamping, as shown in Figure 9. Standard definition video signals may have excessive noise on
The analog processing channel shown is replicated three times them. In particular, CVBS signals transmitted by terrestrial
inside the IC. While only one single channel (and only one broadcast and demodulated using a tuner usually show very
ADC) would be needed for a CVBS signal, two independent large levels of noise (>100 mV). A voltage clamp would be
channels are needed for YC (S-VHS) type signals, and three unsuitable for this type of video signal. Instead, the ADV7181
independent channels are needed to allow component signals employs a set of four current sources that can cause coarse
(YPrPb) to be processed. (>0.5 mA) and fine (<0.1 mA) currents to flow into and away
from the high impedance node that carries the video signal (see
The clamping can be divided into two sections: Figure 9).
• Clamping before the ADC (analog domain): current The following sections describe the I2C signals that can be used
sources. to influence the behavior of the clamping.
• Clamping after the ADC (digital domain): digital Previous revisions of the ADV7181 had controls (FACL/FICL,
processing block. fast and fine clamp length) to allow configuration of the length
for which the coarse (fast) and fine current sources are switched
The ADCs can digitize an input signal only if it resides within on. These controls were removed on the ADV7181-FT and
the ADC’s 1.6 V input voltage range. An input signal with a dc replaced by an adaptive scheme.
level that is too large or too small is clipped at the top or bottom
of the ADC range. CCLEN Current Clamp Enable, Address 0x14 [4]
The primary task of the analog clamping circuits is to ensure The current clamp enable bit allows the user to switch off the
that the video signal stays within the valid ADC input window current sources in the analog front end altogether. This may be
so the analog-to-digital conversion can take place. It is not nec- useful if the incoming analog video signal is clamped externally.
essary to clamp the input signal with a very high accuracy in the Table 55. CCLEN Function
analog domain as long as the video signal fits the ADC range.
CCLEN Description
After digitization, the digital fine clamp block corrects for any 0 Current sources switched off.
remaining variations in dc level. Since the dc level of an input 1 (default) Current sources enabled.
video signal refers directly to the brightness of the picture
transmitted, it is important to perform a fine clamp with high
accuracy; otherwise, brightness variations may occur. Further-
more, dynamic changes in the dc level almost certainly lead to
visually objectionable artifacts, and must therefore be prohibited.
SET YSFM
VIDEO
QUALITY
BAD GOOD
USE YSFM SELECTED
FILTER REGARDLESS FOR
GOOD AND BAD VIDEO
AUTO SELECT LUMA
SHAPING FILTER TO
COMPLEMENT COMB WYSFMOVR
1 0
SELECT WIDEBAND
04820-010
SELECT AUTOMATIC
FILTER AS PER WIDEBAND FILTER
WYSFM[4:0]
1'0111 PAL WN 1
–10
1'1000 PAL WN 2
1'1001 NTSC NN 1 –20
AMPLITUDE (dB)
1'1010 NTSC NN 2
–30
1'1011 NTSC NN 3
1'1100 NTSC WN 1 –40
1'1101 NTSC WN 2
–50
1'1110 NTSC WN 3
1'1111 Reserved. –60
04820-011
–70
0 2 4 6 8 10 12
WYSFM[4:0] Wide Band Y Shaping Filter Mode, FREQUENCY (MHz)
Address 0x18 [4:0]
Figure 11. Y S-VHS Combined Responses
The WYSFM[4:0] bits allow the user to manually select a shaping
filter for good quality video signals, for example, CVBS with The filter plots in Figure 11 and Figure 22 show the
stable time base, luma component of YPrPb, luma component S-VHS 1 (narrowest) to S-VHS 18 (widest) shaping filter
of YC. The WYSFM bits are only active if the WYSFMOVR bit settings. Figure 13 shows the PAL notch filter responses.
is set to 1. See the general discussion of the shaping filter The NTSC-compatible notches are shown in Figure 14.
settings in the Y Shaping Filter section.
–40
04820-012
• Chroma Shaping Filters (CSH). The shaping filter block
–120
0 2 4 6 8 10 12 (CSH) can be programmed to perform a variety of low-
FREQUENCY (MHz)
pass responses. It can be used to selectively reduce the
Figure 12. Y S-VHS 18 Extra Wideband Filter (CCIR 601-Compliant) bandwidth of the chroma signal for scaling or compression.
–30 The plots in Figure 15 show the overall response of all filters
together.
–40
–60
The C shaping filter mode bits allow the user to select from a
04820-013
101 SH4
–30
110 SH5
–40 111 Wideband mode
–50
Figure 15 shows the responses of SH1 (narrowest) to SH5
–60 (widest) in addition to the wideband mode (in red).
04820-014
–70
0 2 4 6 8 10 12
FREQUENCY (MHz)
–20 may occur, resulting in visual artifacts. The analog input range
of the ADC, together with the clamp level, determines the
–30 maximum supported amplitude of the video signal.
04820-015
–60
There are two gain control units, one each for luma and chroma
0 1 2 3 4 5 6 data. Both can operate independently of each other. The
FREQUENCY (MHz)
chroma unit, however, can also take its gain value from the
Figure 15. Chroma Shaping Filter Responses luma path.
GAIN OPERATION Several AGC modes are possible; Table 62 summarizes them.
The gain control within the ADV7181 is done on a purely
digital basis. The input ADCs support a 9-bit range, mapped It is possible to freeze the automatic gain control loops. This
into a 1.6 V analog voltage range. Gain correction takes place causes the loops to stop updating. The AGC determined gain
after the digitization in the form of a digital multiplier. at the time of the freeze stays active until the loop is either
unfrozen or the gain mode of operation is changed.
There are several advantages of this architecture over the
commonly used PGA (programmable gain amplifier) before the The currently active gain from any of the modes can be read
ADCs; among them is the fact that the gain is now completely back. Refer to the description of the dual-function manual gain
independent of supply, temperature, and process variations. registers, LG[11:0] Luma Gain and CG[11:0] Chroma Gain, in
the Luma Gain and Chroma Gain sections.
As shown in Figure 16, the ADV7181 can decode a video signal
as long as it fits into the ADC window. There are two components
ANALOG VOLTAGE
RANGE SUPPORTED BY ADC (1.6V RANGE FOR ADV7181)
MAXIMUM
VOLTAGE
SDP
DATA (GAIN SELECTION ONLY)
PRE
ADC
PROCESSOR
(DPP)
GAIN
04820-016
CONTROL
MINIMUM CLAMP
VOLTAGE LEVEL
The update speed for the peak white algorithm can be 2. Truncate to integer value:
customized by the use of internal parameters. Contact ADI 1822.72 = 1822
for more information. 3. Convert to hexadecimal:
Table 64. LAGT Function 1822d = 0x71E
LAGT[1:0] Description
4. Split into two registers and program:
00 Slow (TC = 2 s)
Luma Gain Control 1 [3:0] = 0x7
01 Medium (TC = 1 s) Luma Gain Control 2 [7:0] = 0x1E
10 Fast (TC = 0.2 s)
11 (default) Adaptive 5. Enable Manual Fixed Gain Mode:
Set LAGC[2:0] to 000
• The relative delay of luma vs. chroma signals In this output interface mode, the following assignment takes
place: Cb = FF, Y = 00, Cr = 00, and Y = AV.
Some of the decoded VBI data is being inserted during the
horizontal blanking interval. See the Gemstar Data Recovery In a 16-bit output interface where Y and Cr/Cb are delivered via
section for more information. separate data buses, the AV code is over the whole 16 bits. The
SD_DUP_AV bit allows the user to double up the AV codes, so
the full sequence can be found on the Y bus as well as
BT656-4 ITU Standard BT-R.656-4 Enable, Address 0x04 [7]
(= duplicated) the Cr/Cb bus. See Figure 18.
The ITU has changed the position for toggling of the V bit
Table 89. SD_DUP_AV Function
within the SAV EAV codes for NTSC between revisions 3 and 4.
The BT656-4 standard bit allows the user to select an output SD_DUP_AV Description
mode that is compliant with either the previous or the new 0 AV codes in single fashion (to suit 8-bit
interleaved data output).
standard. For further information, review the standard at
1 AV codes duplicated (for 16-bit interfaces).
http://www.itu.int.
SD_DUP_AV = 1 SD_DUP_AV = 0
Y DATA BUS FF 00 00 AV Y 00 AV Y
Cb/Y/Cr/Y
INTERLEAVED FF 00 00 AV Cb
04820-018
LLC1
PIXEL Cr Y FF 00 00 XY 80 10 80 10 80 10 FF 00 00 XY Cb Y Cr Y Cb Y Cr
BUS
ACTIVE
VIDEO EAV H BLANK SAV ACTIVE VIDEO
HS
HSE[10:0] HSB[10:0]
4 LLC1 C D
04820-019
D
E E
• VSEHO, VSEHE VSBHO VS Begin Horizontal Position Odd, Address 0x32 [7]
The VSBHO and VSBHE bits select the position within a line at
• For NTSC control:
which the VS pin (not the bit in the AV code) becomes active.
o NVBEGDELO, NVBEGDELE, NVBEGSIGN, Some follow-on chips require the VS pin to change state only
NVBEG[4:0] when HS is high/low.
Table 102. VSBHO Function
o NVENDDELO, NVENDDELE, NVENDSIGN,
VSBHO Description
NVEND[4:0]
0 (default) VS pin goes high at the middle of a line of video
o NFTOGDELO, NFTOGDELE, NFTOGSIGN, (odd field).
NFTOG[4:0] 1 VS pin changes state at the start of a line (odd
field).
• For PAL control:
o PVBEGDELO, PVBEGDELE, PVBEGSIGN, VSBHE VS Begin Horizontal Position Even, Address 0x32 [6]
PVBEG[4:0] The VSBHO and VSBHE bits select the position within a line at
which the VS pin (not the bit in the AV code) becomes active.
o PVENDDELO, PVENDDELE, PVENDSIGN,
Some follow-on chips require the VS pin to change state only
PVEND[4:0]
when HS is high/low.
o PFTOGDELO, PFTOGDELE, PFTOGSIGN, Table 103. VSBHE Function
PFTOG[4:0] VSBHE Description
0 VS pin goes high at the middle of a line of video
NEWAVMODE New AV Mode, Address 0x31 [4] (even field).
Table 100. NEWAVMODE Function 1 (default) VS pin changes state at the start of a line (even
NEWAVMODE Description field).
0 EAV/SAV codes generated to suit ADI
encoders. No adjustments possible.
1 (default) Enable Manual Position of VSYNC, Field, and VSEHO VS End Horizontal Position Odd, Address 0x33 [7]
AV codes using 0x34 to 0x37 and 0xE5 to 0xEA. The VSEHO and VSEHE bits select the position within a line at
Default register settings are CCIR656 which the VS pin (not the bit in the AV code) becomes active.
compliant; see Figure 20 for NTSC and
Figure 25 for PAL. For recommended manual
Some follow-on chips require the VS pin to change state only
user settings, see Table 108 and Figure 21 for when HS is high/low.
NTSC; see Table 121 and Figure 26 for PAL. Table 104. VSEHO Function
VSEHO Description
0 VS pin goes low (inactive) at the middle of a line
of video (odd field).
1 (default) VS pin changes state at the start of a line (odd
field).
FIELD 1
525 1 2 3 4 5 6 7 8 9 10 11 12 13 19 20 21 22
OUTPUT
VIDEO
NFTOG[4:0] = 0x3
FIELD 2
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 283 284 285
OUTPUT
VIDEO
NFTOG[4:0] = 0x3
04820-020
*APPLIES IF NEMAVMODE = 0.
MUST BE MANUALLY SHIFTED IF NEWAVMODE = 1.
Figure 20. NTSC Default (BT.656). The polarity of H, V, and F is embedded in the data.
HS
OUTPUT
VS
OUTPUT
FIELD 2
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 284 285
OUTPUT
VIDEO
HS
OUTPUT
VS
OUTPUT
FIELD
04820-021
OUTPUT
NFTOG[4:0] = 0x5
Figure 21. NTSC Typical VSync/Field Positions Using Register Writes in Table 108
Table 108. Recommended User Settings for NTSC (See Figure 21)
Register Register Name Write
0x31 VSync Field Control 1 0x12
0x32 VSync Field Control 2 0x81
0x33 VSync Field Control 3 0x84
0x37 Polarity 0x29
0xE5 NTSV_V_Bit_Beg 0x0
0xE6 NTSC_V_Bit_End 0x3
0xE7 NTSC_F_Bit_Tog 0x85
For all NTSC/PAL VSync timing controls, both the V bit in the
ADDITIONAL ADDITIONAL
DELAY BY DELAY BY AV code and the VSync on the VS pin are modified.
1 LINE 1 LINE
1 NVENDSIGN 0
VSBHO VSBHE
ADVANCE END OF DELAY END OF VSYNC
VSYNC BY NVEND[4:0] BY NVEND[4:0]
1 0 0 1
VSYNC BEGIN
NVENDDELO NVENDDELE
NVBEGDELO Description
0 (default) No delay.
1 Delay VSync going high on an odd field by a line VSEHO VSEHE
relative to NVBEG.
1 0 0 1
ODD FIELD?
YES NO
NVENDDELE NTSC VSync End Delay on Even Field,
Address 0xE6 [6]
Table 114. NVENDDELE Function NFTOGDELO NFTOGDELE
NVENDDELE Description
0 (default) No delay. 1 0 0 1
04820-024
FIELD
NVENDSIGN Description TOGGLE
For all NTSC/PAL VSync timing controls, both the V bit in the NFTOG[4:0] NTSC Field Toggle, Address 0xE7 [4:0]
AV code and the VSync on the VS pin are modified. Table 120. NFTOG Function
NFTOG Description
NFTOGDELO NTSC Field Toggle Delay on Odd Field, 00011 (default) NTSC Field toggle position.
Address 0xE7 [7]
Table 117. NFTOGDELO Function For all NTSC/PAL Field timing controls, both the F bit in the
NFTOGDELO Description AV code and the Field signal on the FIELD/DE pin are modified.
0 (default) No delay.
Table 121. Recommended User Settings for PAL
1 Delay Field toggle/transition on an odd field
by a line relative to NFTOG. (see Figure 26)
Register Register Name Write
0x31 VSync Field Control 1 0x12
NFTOGDELE NTSC Field Toggle Delay on Even Field, 0x32 VSync Field Control 2 0x81
Address 0xE7 [6] 0x33 VSync Field Control 3 0x84
Table 118. NFTOGDELE Function 0x37 Polarity 0x29
NFTOGDELE Description
0xE8 PAL_V_Bit_Beg 0x1
0 No delay.
0xE9 PAL_V_Bit_End 0x4
1 (default) Delay Field toggle/transition on an even field by
0xEA PAL_F_Bit_Tog 0x6
a line relative to NFTOG.
F
PFTOG[4:0] = 0x3
FIELD 2
310 311 312 313 314 315 316 317 318 319 320 321 322 335 336 337
OUTPUT
VIDEO
04820-025
PFTOG[4:0] = 0x3
Figure 25. PAL Default (BT.656). The polarity of H, V, and F is embedded in the data.
FIELD 1
622 623 624 625 1 2 3 4 5 6 7 8 9 10 11 23 24
OUTPUT
VIDEO
HS
OUTPUT
VS
OUTPUT
PFTOG[4:0] = 0x6
FIELD 2
310 311 312 313 314 315 316 317 318 319 320 321 322 323 336 337
OUTPUT
VIDEO
HS
OUTPUT
VS
OUTPUT
OUTPUT
PFTOG[4:0] = 0x6
Figure 26. PAL Typical VSync/Field Positions Using Register Writes in Table 121
1 0 0 1
NOT VALID FOR USER
PROGRAMMING
ADDITIONAL ADDITIONAL
DELAY BY DELAY BY ODD FIELD?
1 LINE 1 LINE
YES NO
PVENDDELO PVENDDELE
VSBHO VSBHE
1 0 0 1
1 0 0 1
ADDITIONAL ADDITIONAL
ADVANCE BY ADVANCE BY DELAY BY DELAY BY
0.5 LINE 0.5 LINE 1 LINE 1 LINE
04820-027
VSYNC BEGIN
VSEHO VSEHE
04820-028
0 (default) No delay. VSYNC END
1 Delay VSync going high on an odd field by a line
relative to PVBEG. Figure 28. PAL VSync End
PVBEGDELE PAL VSync Begin Delay on Even Field, PVENDDELO PAL VSync End Delay on Odd Field,
Address 0xE8 [6] Address 0xE9 [7]
Table 123. PVBEGDELE Function Table 126. PVENDDELO Function
PVBEGDELE Description PVENDDELO Description
0 No delay. 0 (default) No delay.
1 (default) Delay VSync going high on an even field by a line 1 Delay VSync going low on an odd field by a
relative to PVBEG. line relative to PVEND.
PVBEGSIGN PAL VSync Begin Sign, Address 0xE8 [5] PVENDDELE PAL VSync End Delay on Even Field,
Table 124. PVBEGSIGN Function Address 0xE9 [6]
PVBEGSIGN Description Table 127. PVENDDELE Function
0 Delay begin of VSync. Set for user manual PVENDDELE Description
programming. 0 (default) No delay.
1 (default) Advance begin of VSync. Not recommended for 1 Delay VSync going low on an even field by a line
user programming. relative to PVEND.
PVENDSIGN Description
0 (default) Delay end of VSync. Set for user manual ADVANCE TOGGLE OF
FIELD BY PTOG[4:0]
DELAY TOGGLE OF
FIELD BY PFTOG[4:0]
programming.
1 Advance end of VSync. Not recommended
for user programming. NOT VALID FOR USER
PROGRAMMING
ODD FIELD?
YES NO
PVEND[4:0] PAL Vsync End, Address 0xE9,[4:0]
Table 129. PVEND Function
PVEND Description PFTOGDELO PFTOGDELE
10100 (default) PAL VSync end position.
1 0 0 1
For all NTSC/PAL VSync timing controls, both the V bit in the
ADDITIONAL ADDITIONAL
AV code and the VSync on the VS pin are modified. DELAY BY DELAY BY
1 LINE 1 LINE
04820-029
Table 130. PFTOGDELO Function FIELD
TOGGLE
PFTOGDELO Description
0 (default) No delay. Figure 29. PAL F Toggle
1 Delay F toggle/transition on an odd field by SYNC PROCESSING
a line relative to PFTOG.
The ADV7181 has two additional sync processing blocks that
postprocess the raw synchronization information extracted
PFTOGDELE PAL Field Toggle Delay on Even Field, from the digitized input video. If desired, the blocks can be
Address 0xEA [6] disabled via the following two I2C bits.
Table 131. PFTOGDELE Function
PFTOGDELE Description ENHSPLL Enable HSync Processor, Address 0x01 [6]
0 No delay.
The HSYNC processor is designed to filter incoming HSyncs
1 (default) Delay F toggle/transition on an even field by that have been corrupted by noise, providing improved per-
a line relative to PFTOG.
formance for video signals with stable time bases but poor SNR.
• Wide screen signaling (WSS) The CCAPD bit goes high if the rising edge of the start bit is
detected within a time window, and if the polarity of the parity
• Copy generation management systems (CGMS) bit matches the data transmitted.
The data registers are filled with decoded VBI data even if their CGMSD CGMS-A Sequence Detected, Address 0x90 [3]
corresponding detection bits are low; it is likely that bits within
the decoded data stream are wrong. Logic 1 for this bit indicates that the data in the CGMS1, 2, 3
registers is valid. The CGMSD bit goes high if a valid CRC
Notes checksum has been calculated from a received CGMS packet.
Table 139. CGMSD Function
• The closed captioning data (CCAP) is available in the I2C
CGMSD Description
registers, and is also inserted into the output video data
stream during horizontal blanking. 0 No CGMS transmission detected, confidence
low.
• The Gemstar-compatible data is not available in the I2C 1 CGMS sequence decoded, confidence high.
registers, and is inserted into the data stream only during
horizontal blanking. CRC_ENABLE CRC CGMS-A Sequence, Address 0xB2 [2]
For certain video sources, the CRC data bits may have an
WSSD Wide Screen Signaling Detected, Address 0x90 [0] invalid format. In such circumstances, the CRC checksum
validation procedure can be disabled. The CGMSD bit goes
Logic 1 for this bit indicates that the data in the WSS1 and
high if the rising edge of the start bit is detected within a time
WSS2 registers is valid.
window.
The WSSD bit goes high if the rising edge of the start bit is Table 140. CRC_ENABLE Function
detected within a time window, and if the polarity of the parity CRC_ENABLE Description
bit matches the data transmitted. 0 No CRC check performed. The CGMSD bit goes
Table 136. WSSD Function high if the rising edge of the start bit is detected
within a time window.
WSSD Description
1 (default) Use CRC checksum to validate the CGMS-A
0 No WSS detected. Confidence in decoded data is low. sequence. The CGMSD bit goes high for a valid
1 WSS detected. Confidence in decoded data is high. checksum. ADI recommended setting.
WSS1[7:0] WSS2[5:0]
0 1 2 3 4 5 6 7 0 1 2 3 4 5
RUN-IN START ACTIVE
SEQUENCE CODE VIDEO
11.0µs
38.4µs
04820-030
42.5µs
0 1 2
NOT SUPPORTED
3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5
04820-031
+100 IRE
REF CGMS1[7:0] CGMS2[7:0] CGMS3[3:0]
+70 IRE
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3
0 IRE
49.1µs ± 0.5µs
–40 IRE 11.2µs
04820-032
CRC SEQUENCE
2.235µs ± 20ns
7 CYCLES
OF 0.5035MHz
(CLOCK RUN-IN) CCAP1[7:0] CCAP2[7:0]
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
S
T P P
50 IRE A A A
R R R
T I I
T T
Y Y
BYTE 0 BYTE 1
40 IRE REFERENCE COLOR BURST
(9 CYCLES)
FREQUENCY = FSC = 3.579545MHz
AMPLITUDE = 40 IRE
10.003µs
04820-033
27.382µs 33.764µs
04820-034
DATA OPTIONAL PADDING CHECK
00 FF FF DID SDID USER DATA
COUNT BYTES SUM
• 2X. This bit indicates whether the data sliced was in Gemstar 2× Format, Half-Byte Output Mode
Gemstar 1× or 2× format. A high indicates 2× format. Half-byte output mode is selected by setting CDECAD = 0;
full-byte output mode is selected by setting CDECAD = 1.
• line[3:0]. This entry provides a code that is unique for each See the GDECAD Gemstar Decode Ancillary Data Format,
of the possible 16 source lines of video from which Address 0x4C [0] section.
Gemstar data may have been retrieved. Refer to Table 162
and Table 163. Gemstar 1× Format
• DC[1:0]. Data count value. The number of user data-words Half-byte output mode is selected by setting CDECAD = 0;
in the packet divided by 4. The number of user data-words full-byte output mode is selected by setting CDECAD = 1.
(UDW) in any packet must be an integral number of 4. See the GDECAD Gemstar Decode Ancillary Data Format,
Padding is required at the end, if necessary. (Requirement Address 0x4C [0] section.
as set in ITU-R BT.1364.) Refer to Table 150.
Half-Byte output mode is selected by setting CDECAD = 0, • PAL closed caption data is sliced from Lines 22 and 335.
full-byte output mode is selected by setting CDECAD = 1. The corresponding enable bits have to be set.
See the GDECAD Gemstar Decode Ancillary Data Format,
• See the GDECEL[15:0] Gemstar Decoding Even Lines,
Address 0x4C [0] section. Table 157 and Table 158 list the
Address 0x48 [7:0]; Address 0x49 [7:0] and GDECOL[15:0]
bytes of the data packet.
Gemstar Decoding Odd Lines, Address 0x4A [7:0];
Address 0x4B [7:0] sections.
Notes The GDECAD bit allows the data to be inserted into the
horizontal blanking period in two ways:
• To retrieve closed caption data services on NTSC
(Line 284), GDECEL[11] must be set. • Insert all data straight into the data stream, even the
reserved values of 0x00 and 0xFF, if they occur. This
• To retrieve closed caption data services on PAL may violate the output data format specification ITU-R
(Line 335), GDECEL[14] must be set. BT.1364.
Table 159. GDECEL Function • Split all data into nibbles and insert the half-bytes over
double the number of cycles in a 4-bit format.
GDECEL[15:0] Description
0x0000 (default) Do not attempt to decode Gemstar-
compatible data or CCAP on any line (even Table 161. GDECAD Function
field). GDECAD Description
0 (default) Split data into half-bytes and insert.
1 Output data straight in 8-bit format.
GDECOL[15:0] Gemstar Decoding Odd Lines,
Address 0x4A [7:0]; Address 0x4B [7:0]
The 16 bits of the GDECOL[15:0] form a collection of 16
individual line decode enable signals. See Table 162 and
Table 163.
Notes
There are several modes in which the ADV7181 pixel port The following I2C write allows the user to select between the
can be configured. These modes are under the control of LLC1 (nominally at 27 MHz) and LLC2 (nominally at 13.5 MHz).
OF_SEL[3:0]. See Table 167 for details. The LLC2 signal is useful for LLC2-compatible wide bus
The default LLC frequency output on the LLC1 pin is approxi- (16-bit) output modes. See the OF_SEL[3:0] Output Format
mately 27 MHz. For modes that operate with a nominal data Selection, Address 0x03 [5:2] section for additional
rate of 13.5 MHz (0001, 0010), the clock frequency on the LLC1 information. The LLC2 signal and data on the data bus are
pin stays at the higher rate of 27 MHz. For information on synchronized. By default, the rising edge of LLC1/LLC2 is
outputting the nominal 13.5 MHz clock on the LLC1 pin, see aligned with the Y data; the falling edge occurs when the data
the LLC1 Output Selection, LLC_PAD_SEL[2:0], bus holds C data. The polarity of the clock, and therefore the
Address 0x8F [6:4] section. Y/C assignments to the clock edges, can be altered by using the
Polarity LLC pin.
Table 165. LLC_PAD_SEL Function
LLC_PAD_SEL[2:0] Description
000 (default) Output nominal 27 MHz LLC on LLC1 pin.
101 Output nominal 13.5 MHz LLC on LLC1 pin.
SDATA
SCLOCK
04820-035
WRITE
SEQUENCE S SLAVE ADDR A(S) SUB ADDR A(S) DATA A(S) DATA A(S) P
LSB = 0 LSB = 1
READ
SEQUENCE S SLAVE ADDR A(S) SUB ADDR A(S) S SLAVE ADDR A(S) DATA A(M) DATA A(M) P
04820-036
• No other I2C taking place between the two (or more) I2C
writes for the sequence, for example, for HSB[10:0], write
to Address 0x34 first, immediately followed by 0x35.
Reserved.
1 1 Set to 1
LAGC[2:0]. Luma automatic
gain control selects the mode 0 0 0 Manual fixed gain Use LMG[11:0].
of operation for the gain
0 0 1 AGC no override Blank level to sync tip.
control in the luma path.
through white
peak. Man IRE
control.
0 1 0 AGC auto-override Blank level to sync tip.
through white
peak. Man IRE
control.
0 1 1 AGC no override Blank level to sync tip.
through white
peak. Auto IRE
control.
1 0 0 AGC auto-override Blank level to sync tip.
through white
peak. Auto IRE
control.
1 0 1 AGC active video
with white peak
1 1 0 AGC active video
with average video
1 1 1 Freeze gain
Reserved.
1 Set to 1
NC = no connection.
NC = no connection.
04820-037
The inputs should receive care when being routed on the PCB.
Track lengths should be kept to a minimum, and 75 Ω trace
Figure 38. PCB Ground Layout
impedances should be used when possible. Trace impedances
other than 75 Ω also increase the chance of reflections. Experience has repeatedly shown that the noise performance is
the same or better with a single ground plane. Using multiple
POWER SUPPLY DECOUPLING ground planes can be detrimental because each separate ground
It is recommended to decouple each power supply pin with plane is smaller, and long ground loops can result.
0.1 µF and 10 nF capacitors. The fundamental idea is to have a
decoupling capacitor within about 0.5 cm of each power pin. In some cases, using separate ground planes is unavoidable. For
Also, avoid placing the capacitor on the opposite side of the PC those cases, it is recommended to at least place a single ground
board from the ADV7181; doing so interposes resistive vias in plane under the ADV7181. The location of the split should be
the path. The decoupling capacitors should be located between under the ADV7181. For this case, it is even more important to
the power plane and the power pin. Current should flow from place components wisely because the current loops are much
the power plane to the capacitor to the power pin. Do not make longer (current takes the path of least resistance). An example
the power connection between the capacitor and the power pin. of a current loop: power plane to ADV7181 to digital output
Placing a via underneath the 100 nF capacitor pads, down to the trace to digital data receiver to digital ground plane to analog
power plane, is generally the best approach (see Figure 37). ground plane.
For inputs from some video sources that are not bandwidth XTAL
27 MHz
limited, signals outside the video band can alias back into the
04820-040
video band during A/D conversion and appear as noise on the 33pF 33pF
–20
–40
–60
–80
–100
04820-039
–120
100kHz 300kHz 1MHz 3MHz 10MHz 30MHz 100MHz 300MHz 1GHz
FREQUENCY
R43
BUFFER 0Ω
C93 R39 C
100µF 4.7kΩ
B FILTER
Q6
R53 L10
56Ω E 12µH
R38 R89
75Ω 5.6kΩ R24 C95 C102 R63
470Ω 22pF 10pF 820Ω
04820-042
AGND
Figure 41. ADI Recommended Antialiasing Circuit for All Input Channels
AVDD
DVDDIO
DVDD
PVDD
P0
ANTI-ALIAS AIN2 P1
FILTER CIRCUIT P2
100nF P3
ANTI-ALIAS AIN1 P4
Y P5
FILTER CIRCUIT
100nF P6
AIN3 MULTI
ANTI-ALIAS P7 FORMAT
Pr P8
FILTER CIRCUIT ADV7181 PIXEL
100nF P9 PORT
ANTI-ALIAS AIN4 P10
Pb P11 P15–P8 8-BIT ITU-R BT.656 PIXEL DATA @ 27MHz
FILTER CIRCUIT P12
100nF P7–P0 Cb AND Cr 16-BIT ITU-R BT.656 PIXEL DATA @ 13.5MHz
AIN5 P13 P15–P8 Y1 AND Y2 16-BIT ITU-R BT.656 PIXEL DATA @ 13.5MHz
CBVS ANTI-ALIAS P14
FILTER CIRCUIT P15
100nF
AIN6
75Ω
75Ω
75Ω
75Ω
75Ω
75Ω
0.1µF
AGND
+
10µF 0.1µF 0.1nF
AGND CAP C2
CML
+
10µF 0.1µF REFOUT
+
10µF 0.1µF
PWRDN
DVSS ALSB
ELPF
DVDDIO DVDDIO
1.69kΩ 10nF
2kΩ 2kΩ 82nF
33Ω
SCLK
MPU INTERFACE
CONTROL LINES 33Ω
SDA PVDD
DVDDIO
4.7kΩ
RESET RESET AGND DGND
100nF
04820-041
OUTLINE DIMENSIONS
0.30
9.00 0.60 MAX 0.25
BSC SQ 0.18
0.60 MAX PIN 1
INDICATOR
49 64
48 1
PIN 1
INDICATOR
TOP 7.25
8.75 BOTTOM
VIEW BSC SQ 7.10 SQ*
VIEW
6.95
0.45
0.40 33 16
32 17
0.35
0.25 MIN
7.50 REF
0.80 MAX
1.00 12° MAX 0.65 TYP
0.85
0.80 0.05 MAX
0.02 NOM
0.50 BSC
0.20 REF
SEATING
PLANE
* COMPLIANT TO JEDEC STANDARDS MO-220-VMMD
EXCEPT FOR EXPOSED PAD DIMENSION
0.75 12.00
0.60 1.60 BSC SQ
0.45 MAX
64 49
1 48
SEATING PIN 1
PLANE
The ADV7181 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 can withstand surface-
mount soldering at up to 255°C (±5°C).
In addition, it is backward-compatible with conventional SnPb soldering processes. This means the electroplated Sn coating can be
soldered with Sn/Pb solder pastes at conventional reflow temperatures of 220°C to 235°C.
The ADV7181 evaluation board is now obsolete. For new evaluation and design, the ADV7181B evaluation board is recommended.
NOTES
NOTES
NOTES
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.