Analog Devices ADV7181B Manual
Analog Devices ADV7181B Manual

Analog Devices ADV7181B Manual

Multiformat sdtv video decoder
Hide thumbs Also See for ADV7181B:
Table of Contents

Advertisement

Quick Links

FEATURES
Multiformat video decoder supports NTSC-(M, J, 4.43),
PAL-(B/D/G/H/I/M/N), SECAM
Integrates three 54 MHz, 9-bit ADCs
Clocked from a single 27 MHz crystal
Line-locked clock-compatible (LLC)
Adaptive Digital Line Length Tracking (ADLLT™),
signal processing, and enhanced FIFO management
give mini-TBC functionality
5-line adaptive comb filters
Proprietary architecture for locking to weak, noisy, and
unstable video sources such as VCRs and tuners
Subcarrier frequency lock and status information output
Integrated AGC with adaptive peak white mode
®
Macrovision
copy protection detection
Chroma transient improvement (CTI)
Digital noise reduction (DNR)
Multiple programmable analog input formats
Composite video (CVBS)
S-Video (Y/C)
YPrPb component (VESA, MII, SMPTE, and BetaCam)
6 analog video input channels
Automatic NTSC/PAL/SECAM identification
Digital output formats (8-bit or16-bit)
ITU-R BT.656 YCrCb 4:2:2 output + HS, VS, and FIELD
0.5 V to 1.6 V analog signal input range
Differential gain: 0.6% typ
Differential phase: 0.6° typ
GENERAL DESCRIPTION
The ADV7181B integrated video decoder automatically detects
and converts a standard analog baseband television signal
compatible with worldwide standards NTSC, PAL, and SECAM
into 4:2:2 component video data compatible with 16-bit/8-bit
CCIR601/CCIR656.
The advanced, highly flexible digital output interface enables
performance video decoding and conversion in line-locked
clock-based systems. This makes the device ideally suited for a
broad range of applications with diverse analog video charac-
teristics, including tape-based sources, broadcast sources,
security/surveillance cameras, and professional systems.
The six analog input channels accept standard composite,
S-Video, and YPrPb video signals in an extensive number of
combinations. AGC and clamp restore circuitry allow an input
video signal peak-to-peak range of 0.5 V 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
or otherwise under any patent or patent rights of Analog Devices. Trademarks and
registered trademarks are the property of their respective owners.
Multiformat SDTV Video Decoder
Programmable video controls
Peak white/hue/brightness/saturation/contrast
Integrated on-chip video timing generator
Free-run mode (generates stable video output with no I/P)
VBI decode support for
close captioning, WSS, CGMS, EDTV, Gemstar® 1×/2×
VBI decode support for
close captioning, WSS, CGMS, EDTV, and
Gemstar® 1×/2×
Power-down mode
2-wire serial MPU interface (I
3.3 V analog, 1.8 V digital core; 3.3 V IO supply
Temperature grade: –40°C to +85°C
64-lead LQFP Pb-free package and 64-lead LFCSP package
APPLICATIONS
DVD recorders
PC video
HDD-based PVRs/DVDRs
LCD TVs
Set-top boxes
Security systems
Digital televisions
Portable video devices
Automotive entertainment
AVR receivers
The fixed 54 MHz clocking of the ADCs and datapath for all
modes allows very precise, accurate sampling and digital
filtering. The line-locked clock output allows the output data
rate, timing signals, and output clock signals to be synchronous,
asynchronous, or line-locked even with ±5% line length
variation. The output control signals allow glueless interface
connections in almost any application. The ADV7181B modes
are set up over a 2-wire, serial, bidirectional port (I
The ADV7181B is fabricated in a 3.3 V CMOS process. Its
monolithic CMOS construction ensures greater functionality
with lower power dissipation.
The ADV7181B is available in two packages, a small 64-lead
LQFP Pb-free package and a 64-lead LFCSP package.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700
Fax: 781.461.3113
ADV7181B
2
C®-compatible)
2
www.analog.com
© 2005 Analog Devices, Inc. All rights reserved.
C-compatible).

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADV7181B and is the answer not in the manual?

Questions and answers

Summary of Contents for Analog Devices ADV7181B

  • Page 1: Changes To General Description Section

    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.
  • Page 2: Table Of Contents

    ADV7181B TABLE OF CONTENTS Introduction ..................4 General Setup................20 Analog Front End ................. 4 Color Controls ................22 Standard Definition Processor ........... 4 Clamp Operation................ 24 Functional Block Diagram .............. 5 Luma Filter .................. 25 Specifications..................6 Chroma Filter................28 Electrical Characteristics.............
  • Page 3 ADV7181B Typical Circuit Connection ............97 Ordering Guide .................100 Outline Dimensions................99 REVISION HISTORY Changes to Figure 11 to Figure 14 ..........28 9/05—Rev. A to Rev. B Changes to Description of Chroma Filter........28 Changes to Table 1 ................6 Changes to Figure 15 ..............29 Changes to Table 2 ................7...
  • Page 4: Introduction

    ADV7181B. Current and voltage clamps are positioned in front of each ADC to The ADV7181B can process a variety of VBI data services such ensure the video signal remains within the range of the as close captioning (CC), wide screen signaling (WSS), copy converter.
  • Page 5: Functional Block Diagram

    ADV7181B FUNCTIONAL BLOCK DIAGRAM OUTPUT FORMATTER Figure 1. Rev. B | Page 5 of 100...
  • Page 6: Specifications

    ADV7181B SPECIFICATIONS ELECTRICAL CHARACTERISTICS = 3.15 V to 3.45 V, D = 1.65 V to 2.0 V, D = 3.0 V to 3.6 V, P = 1.65 V to 2.0 V; operating temperature range, unless VDDIO otherwise noted. Table 1.
  • Page 7: Video Specifications

    ADV7181B VIDEO SPECIFICATIONS Guaranteed by characterization. A = 3.15 V to 3.45 V, D = 1.65 V to 2.0 V, D = 3.0 V to 3.6 V, P = 1.65 V to 2.0 V; VDDIO operating temperature range, unless otherwise noted.
  • Page 8: Timing Specifications

    ADV7181B TIMING SPECIFICATIONS Guaranteed by characterization. A = 3.15 V to 3.45 V, D = 1.65 V to 2.0 V, D = 3.0 V to 3.6 V, P = 1.65 V to 2.0 V; VDDIO operating temperature range, unless otherwise noted.
  • Page 9: Thermal Specifications

    ADV7181B THERMAL SPECIFICATIONS Table 5. 1, 2 Parameter Symbol Test Conditions Unit THERMAL CHARACTERISTICS θ 4-layer PCB with solid ground plane, 64-lead LFCSP 45.5 °C/W Junction-to-Ambient Thermal Resistance (Still Air) Junction-to-Case Thermal Resistance θ 4-layer PCB with solid ground plane, 64-lead LFCSP °C/W...
  • Page 10: Absolute Maximum Ratings

    ADV7181B ABSOLUTE MAXIMUM RATINGS Table 6. Parameter Rating Stresses above those listed under Absolute Maximum Ratings to GND may cause permanent damage to the device. This is a stress to AGND rating only; functional operation of the device at these or any to DGND 2.2 V...
  • Page 11: Pin Configuration And Function Descriptions

    ADV7181B PIN CONFIGURATION AND FUNCTION DESCRIPTIONS INTRQ AIN5 PIN 1 AIN4 INDICATOR DGND AIN3 DVDDIO AGND CAPC2 AGND ADV7181B REFOUT TOP VIEW AVDD (Not to Scale) DGND CAPY2 DVDDIO CAPY1 AGND AIN2 AIN1 DGND NC = NO CONNECT Figure 4. 64-Lead LFCSP/LQFP Pin Configuration...
  • Page 12 This pin should be connected to the 28.6363 MHz crystal or left as a no connect if an external 3.3 V, 27 MHz clock oscillator source is used to clock the ADV7181B. In crystal mode, the crystal must be a fundamental crystal.
  • Page 13: Analog Front End

    AIN5 ADC2_SW[3:0] ADC2 Figure 5. Internal Pin Connections SETADC_sw_man_en, Manual Input Muxing Enable, The two key steps to configure the ADV7181B to correctly decode the input video are: Address C4[7] ADC0_sw[3:0], ADC0 mux configuration, Address C3[3:0] • The analog input muxing section must be configured to...
  • Page 14 The INSEL bits allow the user to select the input format. It configures the standard definition processor core to process CVBS (Comp), S-Video (Y/C), or Component (YPrPb) format. SET INSEL[3:0] TO CONFIGURE ADV7181B TO DECODE VIDEO FORMAT: CVBS: 0000 Table 9. Standard Definition Processor Format Selection,...
  • Page 15: Global Control Registers

    Power-Down When PWRDN_ADC_0 is 1, ADC 0 is powered down. The digital core of the ADV7181B can be shut down by using a pin ( PWRDN ) and a bit (PWRDN); see below. The PDBP PWRDN_ADC_1, Address 0x3A[2] controls which of the two has the higher priority. By default, the When PWRDN_ADC_1 is 0 (default), the ADC is in normal pin ( PWRDN ) is given priority.
  • Page 16: Global Pin Control

    Medium high drive strength (3×) This bit allows the output drivers for the LLC pin of the High drive strength (4×) ADV7181B to be three-stated. For more information on three- state control, see the Three-State Output Drivers and the Drive Strength Selection (Clock) Timing Signals Output Enable sections.
  • Page 17 Enable Subcarrier Frequency Lock Pin PCLK Address 0x37[0] EN_SFL_PIN Address 0x04[1] The polarity of the clock that leaves the ADV7181B via the LLC The EN_SFL_PIN bit enables the output of subcarrier lock pin can be inverted using the PCLK bit.
  • Page 18: Global Status Registers

    Table 14. STATUS 1 Function decoder. The IDENT register allows the user to identify the STATUS 1[7:0] Bit Name Description revision code of the ADV7181B. The other three registers IN_LOCK In lock (right now). contain status bits from the ADV7181B. LOST_LOCK Lost lock (since last read of this register).
  • Page 19: Standard Definition Processor (Sdp)

    SD CHROMA PATH processor (SDP) is shown in Figure 7. The input signal is processed by the following blocks: The ADV7181B can handle standard definition video in CVBS, • Digital Fine Clamp. This block uses a high precision YC, and YPrPb formats. It can be divided into a luminance and algorithm to clamp the video signal.
  • Page 20: Sync Processing

    The Autodetection of SD Modes output of this is then used to drive the digital resampling section to ensure that the ADV7181B outputs 720 active pixels To guide the autodetect system of the ADV7181B, individual per line.
  • Page 21: Changes To Lock Related Controls Section

    NTSC. Setting AD_P60_EN to 0 disables the autodetection of PAL Second, there was a design change in Analog Devices encoders systems with a 60 Hz field rate. from ADV717x to ADV719x. The older versions used the SFL Setting AD_P60_EN to 1 (default) enables the detection.
  • Page 22: Color Controls

    Register 1. This bit must be set to 0 when operating the including control of the active data in the event of video being ADV7181B in YPrPb component mode to generate a reliable lost. These controls are independent of any other controls. For HLOCK status bit.
  • Page 23 • DEF_VAL_EN bit is set to high (forced output). The data that is finally output from the ADV7181B for the chroma side is Cr[7:0] = {DEF_C[7:4], 0, 0, 0, 0}, Cb[7:0] = {DEF_C[3:0], 0, 0, 0, 0}. DEF_C[7:0] is 0x7C (blue) is the default value for Cr and Cb.
  • Page 24: Clamp Operation

    This bit enables the automatic use of the default values for Y, Cr, After digitization, the digital fine clamp block corrects for any and Cb when the ADV7181B cannot lock to the video signal. remaining variations in dc level. Since the dc level of an input video signal refers directly to the brightness of the picture Setting DEF_VAL_AUTO_EN to 0 disables free-run mode.
  • Page 25: Luma Filter

    CCLEN Current Clamp Enable, Address 0x14[4] tion is performed inside the DPP filters. Therefore, the data rate into the ADV7181B is always 27 MHz.) The ITU- The current clamp enable bit allows the user to switch off the R BT.601 recommends a sampling frequency of 13.5 MHz.
  • Page 26 YC separation can be achieved by using the internal comb filters of the ADV7181B. Comb filtering, however, relies on the The decisions of the control logic are shown in Figure 10. frequency relationship of the luma component (multiples of the video line rate) and the color subcarrier (Fsc).
  • Page 27 ADV7181B SET YSFM YSFM IN AUTO MODE? 00000 OR 00001 VIDEO QUALITY GOOD USE YSFM SELECTED FILTER REGARDLESS FOR GOOD AND BAD VIDEO AUTO SELECT LUMA SHAPING FILTER TO WYSFMOVR COMPLEMENT COMB SELECT WIDEBAND SELECT AUTOMATIC FILTER AS PER WIDEBAND FILTER WYSFM[4:0] Figure 10.
  • Page 28: Chroma Filter

    COMBINED Y ANTIALIAS, CCIR MODE SHAPING FILTER, Y RESAMPLE • Chroma Antialias Filter (CAA). The ADV7181B over- samples the CVBS by a factor of 2 and the Chroma/PrPb –20 by a factor of 4. A decimating filter (CAA) is used to preserve the active video band and to remove any out-of- –40...
  • Page 29: Gain Operation

    GAIN OPERATION The C shaping filter mode bits allow the user to select from a The gain control within the ADV7181B is done on a purely digital basis. The input ADCs support a 9-bit range, mapped range of low-pass filters, SH1 to SH5 and wideband mode, for the chrominance signal.
  • Page 30: Changes To Luma Gain Lagc[2:0] Bits Address

    ADV7181B Table 32. AGC Modes Input Video Type Luma Gain Chroma Gain Manual gain luma Manual gain chroma CVBS Dependent on horizontal sync depth Dependent on color burst amplitude; taken from luma path Peak white Dependent on color burst amplitude;...
  • Page 31: Changes To Table References In Betacam Section

    The two bits of color automatic gain control mode select the basic mode of operation for automatic gain control in the If YPrPb data is routed through the ADV7181B, the automatic chroma path. gain control modes can target different video input levels, as outlined in Table 39.
  • Page 32: Chroma Transient Improvement (Cti)

    000, 001, 010, and 011, chroma demodulation inside If read back, this register returns the current gain value. the ADV7181B may not work satisfactorily for poor input video Depending on the setting in the CAGC[1:0] bits, this is either signals.
  • Page 33: Digital Noise Reduction (Dnr)

    COMB FILTERS Sharp blending maximizes the effect of CTI on the picture, but The comb filters of the ADV7181B have been greatly improved can also increase the visual impact of small amplitude, high to automatically handle video of all types, standards, and levels frequency chroma noise.
  • Page 34: Changes To Pal Comb Filter Settings Section

    ADV7181B NSFSEL[1:0] Split Filter Selection NTSC, CTAPSN[1:0] Chroma Comb Taps NTSC, Address 0x19[3:2] Address 0x38[7:6] Table 44. CTAPSN Function The NSFSEL[1:0] control selects how much of the overall signal CTAPSN[1:0] Description bandwidth is fed to the combs. A narrow split filter selection...
  • Page 35 ADV7181B CTAPSP[1:0] Chroma Comb Taps PAL, Address 0x39[7:6] Table 48. CTAPSP Function CTAPSP[1:0] Description Do not use PAL chroma comb adapts 5 lines (3 taps) to 3 lines (2 taps); cancels cross luma only PAL chroma comb adapts 5 lines (5 taps) to 3 lines (3 taps);...
  • Page 36: Av Code Insertion And Controls

    Line 21 is passed through and available at the output port. www.itu.int. The ADV7181B does not blank the luma data, and auto- matically switches all filters along the luma data path into their The standard change affects NTSC only and has no bearing on widest bandwidth.
  • Page 37 The RANGE bit allows the user to limit the range of values timing difference between chroma and luma samples. This can output by the ADV7181B to the recommended value range. In be used to compensate for external filter group delay differences any case, it ensures that the reserved values of 255d (0xFF) and in the luma vs.
  • Page 38: Synchronization Output Signals

    ADV7181B SYNCHRONIZATION OUTPUT SIGNALS HSE[10:0] HS End, Address 0x34[2:0], Address 0x36[7:0] HS Configuration The position of this edge is controlled by placing a binary number into HSE[10:0]. The number applied offsets the edge The following controls allow the user to configure the behavior...
  • Page 39: Changes To Vsehe Vs End Horizontal Position Section

    ADV7181B VS and FIELD Configuration VSBHO VS Begin Horizontal Position Odd, The following controls allow the user to configure the behavior Address 0x32[7] of the VS and FIELD output pins, as well as the generation of The VSBHO and VSBHE bits select the position within a line at embedded AV codes: which the VS pin (not the bit in the AV code) becomes active.
  • Page 40: Changes To Figure 20

    ADV7181B When PF is 0 (default), FIELD is active high. PF Polarity FIELD, Address 0x37[3] When PF is 1, FIELD is active low. The polarity of the FIELD pin can be inverted using the PF bit. The FIELD pin can be inverted using the PF bit.
  • Page 41: Changes To Table 54

    ADV7181B Table 55. Recommended User Settings for NTSC (See Figure 21) Register Register Name Write 0x31 Vsync Field Control 1 0x1A 0x32 Vsync Field Control 2 0x81 0x33 Vsync Field Control 3 0x84 0x34 Hsync Pos. Control 1 0x00 0x35 Hsync Pos.
  • Page 42: Changes To Table 55

    ADV7181B NVENDSIGN ADVANCE END OF DELAY END OF VSYNC VSYNC BY NVEND[4:0] BY NVEND[4:0] NOT VALID FOR USER PROGRAMMING ODD FIELD? NVENDDELO NVENDDELE ADDITIONAL ADDITIONAL DELAY BY DELAY BY 1 LINE 1 LINE VSEHO VSEHE ADVANCE BY ADVANCE BY 0.5 LINE 0.5 LINE...
  • Page 43: Change To Nftog Section

    ADV7181B NFTOGSIGN ADVANCE TOGGLE OF DELAY TOGGLE OF FIELD BY NFTOG[4:0] FIELD BY NFTOG[4:0] NOT VALID FOR USER PROGRAMMING ODD FIELD? NFTOGDELO NFTOGDELE ADDITIONAL ADDITIONAL DELAY BY DELAY BY 1 LINE 1 LINE FIELD TOGGLE Figure 24. NTSC Field Toggle Table 56.
  • Page 44 ADV7181B FIELD 1 OUTPUT VIDEO PVBEG[4:0] = 0x5 PVEND[4:0] = 0x4 PFTOG[4:0] = 0x3 FIELD 2 OUTPUT VIDEO PVBEG[4:0] = 0x5 PVEND[4:0] = 0x4 PFTOG[4:0] = 0x3 Figure 25. PAL Default (BT.656). The Polarity of H, V, and F is Embedded in the Data...
  • Page 45 ADV7181B For all NTSC/PAL Vsync timing controls, both the V bit in the PVBEGSIGN AV code and the Vsync on the VS pin are modified. ADVANCE BEGIN OF DELAY BEGIN OF PVENDSIGN VSYNC BY PVBEG[4:0] VSYNC BY PVBEG[4:0] ADVANCE END OF...
  • Page 46: Sync Processing

    PVEND[4:0] PAL Vsync End, Address 0xE9[4:0] SYNC PROCESSING The default value of PVEND is 10100, indicating the PAL Vsync The ADV7181B has two additional sync processing blocks that postprocess the raw synchronization information extracted end position. from the digitized input video. If preferred, the blocks can be...
  • Page 47 ADV7181B The closed captioning data (CCAP) is available in the I CGMSD CGMS-A Sequence Detected, Address 0x90[3] registers, and is also inserted into the output video data stream Logic 1 for this bit indicates the data in the CGMS1, 2, 3 during horizontal blanking.
  • Page 48 ADV7181B Table 57. WSS Access Information Signal Name Register Location Address Register Default Value WSS1[7:0] WSS 1[7:0] 145d 0x91 Readback only WSS2[5:0] WSS 2[5:0] 146d 0x92 Readback only EDTV1[7:0] EDTV2[7:0] EDTV3[5:0] NOT SUPPORTED 1 2 3 4 0 1 2 Figure 31.
  • Page 49 Some transmissions of wide screen video include subtitles The active video content (luminance magnitude) over a line of within the lower black box. If the ADV7181B finds at least two video is summed together. At the end of a line, this accumulated...
  • Page 50 Table 63 lists the values within a generic data packet that are output by the ADV7181B in 8-bit format. In 8-bit systems, Bits D1 and D0 in the data packets are disregarded. Rev. B | Page 50 of 100...
  • Page 51 ADV7181B DATA IDENTIFICATION SECONDARY DATA IDENTIFICATION DATA OPTIONAL PADDING CHECK SDID USER DATA COUNT BYTES PREAMBLE FOR ANCILLARY DATA USER DATA (4 OR 8 WORDS) Figure 34. Gemstar and CCAP Embedded Data Packet (Generic) Table 63. Generic Data Output Packet...
  • Page 52 ADV7181B • Gemstar 2× Format, Half-Byte Output Mode CS[8:2]. The checksum is provided to determine the integrity of the ancillary data packet. It is calculated by Half-byte output mode is selected by setting CDECAD = 0; summing up D[8:2] of DID, SDID, the data count byte, and full-byte output mode is selected by setting CDECAD = 1.
  • Page 53 ADV7181B Table 67. Gemstar 1× Data, Half-Byte Mode Byte D[9] D[8] D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] Description Fixed preamble Fixed preamble Fixed preamble Line[3:0] SDID Data count Gemstar Word1[7:4] User data-words Gemstar Word1[3:0] User data-words Gemstar Word2[7:4]...
  • Page 54 ADV7181B NTSC CCAP Data PAL CCAP Data Half-byte output mode is selected by setting CDECAD = 0; the Half-byte output mode is selected by setting CDECAD = 0; full-byte mode is enabled by CDECAD = 1. See the GDECAD full-byte output mode is selected by setting CDECAD = 1.
  • Page 55 ADV7181B Table 72. PAL CCAP Data, Full-Byte Mode Byte D[9] D[8] D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] Description Fixed preamble Fixed preamble Fixed preamble SDID Data count CCAP Word1[7:0] User data-words CCAP Word2[7:0] User data-words UDW padding 0x200...
  • Page 56 ADV7181B Table 73. NTSC Line Enable Bits and Corresponding Line Table 74. PAL Line Enable Bits and Corresponding Line Numbering Numbering Line Number Line Number Line[3:0] (ITU-R BT.470) Enable Bit Comment Line[3:0] (ITU-R BT.470) Enable Bit Comment GDECOL[0] Gemstar GDECOL[0]...
  • Page 57 Figure 36. PAL IF Compensation Filter Responses logic level to be driven out from the INTRQ pin. It is also possible to write to a register in the ADV7181B that manually asserts the INTRQ pin. This bit is MPU_STIM_INTRQ. Rev. B | Page 57 of 100...
  • Page 58 Either pseudo sync or color stripe before the system controller has cleared or masked Interrupt Event 1, the ADV7181B does not generate a second interrupt Additional information relating to the interrupt system is signal. The system controller should check all unmasked detailed in Table 83.
  • Page 59: Pixel Port Configuration

    ADV7181B PIXEL PORT CONFIGURATION The ADV7181B has a very flexible pixel port that can be config- LLC1 Output Selection, LLC_PAD_SEL[2:0], ured in a variety of formats to accommodate downstream ICs. Address 0x8F[6:4] Table 78 and Table 79 summarize the various functions that the...
  • Page 60: Mpu Port Description

    The ADV7181B’s I C port allows the user to set up and The ADV7181B acts as a standard slave device on the bus. configure the decoder and to read back captured VBI data. The The data on the SDA pin is eight bits long, supporting the 7-bit ADV7181B has four possible slave addresses for both read and addresses plus the R/W bit.
  • Page 61: Register Accesses

    REGISTER ACCESSES An I C sequencer is used when a parameter exceeds eight bits The MPU can write to or read from all of the ADV7181B’s and is, therefore, distributed over two or more I C registers, for registers, except the subaddress register, which is write only.
  • Page 62: I 2 C Register Maps

    ADV7181B C REGISTER MAPS Table 81. Common and Normal (Page 1) Register Map Details Subaddress Register Name Reset Value Input Control 0000 0000 0x00 Video Selection 1100 1000 0x01 Reserved 0000 0100 0x02 Output Control 0000 1100 0x03 Extended Output Control...
  • Page 63 ADV7181B Subaddress Register Name Reset Value Reserved xxxx xxxx 62 to 64 0x3E to 0x40 Resample Control 0100 0001 0x41 Reserved xxxx xxxx 66 to 71 0x42 to 0x47 Gemstar Ctrl 1 00000000 0x48 Gemstar Ctrl 2 0000 0000 0x49...
  • Page 64 ADV7181B Subaddress Register Name Reset Value Drive Strength xx01 0101 0xF4 Reserved xxxx xxxx 245-247 0xF5-0xF7 IF Comp Control 0000 0000 0xF8 VS Mode Control 0000 0000 0xF9 Table 82. Common and Normal (Page 1) Register Map Bit Names Register...
  • Page 65 ADV7181B Register Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Luma Gain LMG.7 LMG.6 LMG.5 LMG.4 LMG.3 LMG.2 LMG.1 LMG.0 Control 2 Vsync Field NEWAVMODE HVSTIM Control 1 Vsync Field VSBHO...
  • Page 66 ADV7181B Register Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Letterbox LB_TH.4 LB_TH.3 LB_TH.2 LB_TH.1 LB_TH.0 Control 1 Letterbox LB_SL.3 LB_SL.2 LB_SL.1 LB_SL.0 LB_EL.3 LB_EL.2 LB_EL.1 LB_EL.0 Control 2 Reserved Reserved...
  • Page 67: I 2 C Register Map Details

    ADV7181B C REGISTER MAP DETAILS The following registers are located in Register Access Page 2. Table 83. Interrupt Register Map Bit Names Subaddress Register Reset Name Value Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1...
  • Page 68 ADV7181B Table 84. Interrupt Register Map Details Subaddress Register Bit Description Comments Notes 0x40 Interrupt INTRQ_OP_SEL[1:0]. Open drain Config 1 Interrupt Drive Level Select. Drive low when active Drive high when active Register Reserved Access MPU_STIM_INTRQ[1:0]. Manual interrupt mode disabled Page 2 Manual Interrupt Set Mode.
  • Page 69 ADV7181B Subaddress Register Bit Description Comments Notes 0x44 Interrupt SD_LOCK_MSKB. Masks SD_LOCK_Q bit Mask 1 Unmasks SD_LOCK_Q bit SD_UNLOCK_MSKB. Masks SD_UNLOCK_Q bit Read/Write Unmasks SD_UNLOCK_Q bit Register Reserved. Not used Reserved. Not used Register Reserved. Not used Access Page 2 SD_FR_CHNG_MSKB.
  • Page 70 ADV7181B Subaddress Register Bit Description Comments Notes 0x48 Interrupt CCAPD_MSKB. Masks CCAPD_Q bit Mask 2 Unmasks CCAPD_Q bit GEMD_MSKB. Masks GEMD_Q bit Read/ Unmasks GEMD_Q bit Write CGMS_CHNGD_MSKB. Masks CGMS_CHNGD_Q bit Unmasks CGMS_CHNGD_Q bit Register WSS_CHNGD_MSKB. Masks WSS_CHNGD_Q bit Access...
  • Page 71: Changes To Table 84

    ADV7181B Subaddress Register Bit Description Comments Notes 0x4B Interrupt SD_OP_CHNG_CLR. Do not clear Clear 3 Clears SD_OP_CHNG_Q bit SD_V_LOCK_CHNG_CLR. Do not clear Write Only Clears SD_V_LOCK_CHNG_Q bit Register SD_H_LOCK_CHNG_CLR. Do not clear Clears SD_H_LOCK_CHNG_Q bit Register SD_AD_CHNG_CLR. Do not clear...
  • Page 72: Changes To Table 85

    ADV7181B Table 85. Common and Normal (Page 1) Register Map Details Bits Subaddress Register Bit Description Comments Notes 0x00 Input INSEL[3:0]. The INSEL bits allow the Composite Control user to select an input channel as Reserved well as the input format.
  • Page 73 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0x03 Output SD_DUP_AV. Duplicates the AV AV codes to suit 8-bit Control codes from the Luma into the interleaved data output chroma path. AV codes duplicated (for 16-bit interfaces) Reserved. Set as default OF_SEL[3:0].
  • Page 74 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0x07 Autodetect AD_PAL_EN. PAL B/G/I/H autodetect Disable nable enable. Enable AD_NTSC_EN. NTSC autodetect Disable enable. Enable AD_PALM_EN. PAL M autodetect Disable enable. Enable AD_PALN_EN. PAL N autodetect Disable enable. Enable AD_P60_EN. PAL60 autodetect Disable enable.
  • Page 75 PAL-combination N SECAM 525 COL_KILL. Color kill is active = 1 Color kill. 0x11 IDENT IDENT[7:0] Provides identification ADV7181B = 0x13. on the revision of the part. (Read Only) 0x12 Status MVCS DET. MV color striping detected 1 = detected.
  • Page 76 ADV7181B Bits Subaddress Register Bit Description Comments Notes Analog 0x14 Reserved. Set to default Clamp CCLEN. Current clamp enable allows Current sources switched Control the user to switch off the current sources in the analog front. Current sources enabled Reserved.
  • Page 77 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0x18 Shaping WYSFM[4:0]. Wideband Y shaping Reserved; do not use Filter filter mode allows the user to select Reserved; do not use Control 2 which Y shaping filter is used for the...
  • Page 78 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0x27 Pixel Delay LTA[1:0]. Luma timing adjust allows No delay CVBS mode Control the user to specify a timing difference LTA[1:0] = 00b; Luma 1 clk (37 ns) delayed between chroma and luma samples.
  • Page 79 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0x2D Chroma CMG[11:8]. Chroma manual gain can CAGC[1:0] settings Gain be used to program a desired decide in which Control 1 manual chroma gain. Reading back mode CMG[11:0] from this register in AGC mode gives operates.
  • Page 80 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0x34 HS Position HSE[10:8]. HS end allows the HS output ends HSE[10:0] Using HSB and Control 1 positioning of the HS output within pixels after the falling edge HSE,the user can the video line.
  • Page 81 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0x39 PAL Comb YCMP[2:0]. Luma comb mode, PAL. Adaptive 5-line, 3-tap Control luma comb Use low-pass notch Fixed luma comb Top lines of memory. Fixed luma comb (5-line) All lines of memory.
  • Page 82 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0x41 Resample Reserved. Set to default Control SFL_INV. Controls the behavior of SFL compatible with the PAL switch bit. ADV7190/ADV7191/ ADV7194 encoders SFL compatible with ADV717x/ADV7173x encoders Reserved. Set to default 0x48 Gemstar GDECEL[15:8].
  • Page 83 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0x51 Lock Count CIL[2:0]. Count-into-lock determines 1 line of video the number of lines the system must 2 lines of video remain in lock before showing a 5 lines of video locked status.
  • Page 84 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0x99 CCAP1 CCAP1[7:0] CCAP1[7] contains parity (Read Only) Closed caption data register. bit for byte 0 0x9A CCAP2 CCAP2[7:0] CCAP2[7] contains parity (Read Only) Closed caption data register. bit for byte 0...
  • Page 85 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0xC4 ADC2_SW[3:0]. Manual muxing No connection SETADC_sw_ SWITCH 2 control for ADC2. man_en = 1. No connection No connection No connection No connection AIN6 No connection No connection No connection No connection...
  • Page 86 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0xE6 NTSC V Bit NVEND[4:0]. How many lines after NTSC default (BT.656) rollover to set V low. COUNT NVENDSIGN. Set to low when manual programming Not suitable for user programming NVENDDELE. Delay V bit going low...
  • Page 87 ADV7181B Bits Subaddress Register Bit Description Comments Notes 0xF4 Drive DR_STR_S[1:0]. Select the drive Low drive strength (1x) Strength strength for the Sync output signals. Medium-low drive strength (2x) Medium-high drive strength (3x) High drive strength (4x) DR_STR_C[1:0]. Select the drive Low drive strength (1x) strength for the Clock output signal.
  • Page 88: I 2 C Programming Examples

    ADV7181B C PROGRAMMING EXAMPLES EXAMPLES FOR 28 MHz CLOCK Mode 1 CVBS Input (Composite Video on AIN6) All standards are supported through autodetect, 8-bit, 4:2:2, ITU-R BT.656 output on P15 to P8. Table 86. Mode 1 CVBS Input Register Address...
  • Page 89: Changes To Table 86

    ADV7181B Mode 2 S-Video Input (Y on AIN1 and C on AIN4) All standards are supported through autodetect, 8-bit, ITU-R BT.656 output on P15 to P8. Table 87. Mode 2 S-Video Input Register Address Register Value Notes 0x00 0x06 S-Video input.
  • Page 90: Changes To Table 87

    ADV7181B Mode 3 525i/625i YPrPb Input (Y on AIN1, Pr on AIN3, and Pb on AIN5) All standards are supported through autodetect, 8-bit, ITU-R BT.656 output on P15 to P8. Table 88. Mode 3 YPrPb Input 525i/625i Register Address Register Value...
  • Page 91: Changes To Table 88

    ADV7181B Mode 4 CVBS Tuner Input CVBS PAL on AIN6 All standards are supported through autodetect, 8-bit, ITU-R BT.656 output on P15 to P8. Table 89. Mode 4 Tuner Input CVBS PAL Only Register Address Register Value Notes 0x00 0x80 Force PAL input only mode.
  • Page 92: Examples For 27 Mhz Clock

    ADV7181B EXAMPLES FOR 27 MHz CLOCK Mode 1 CVBS Input (Composite Video on AIN6) All standards are supported through autodetect, 8-bit, 4:2:2, ITU-R BT.656 output on P15 to P8. Table 90. Mode 1 CVBS Input Register Address Register Value Notes...
  • Page 93 ADV7181B Mode 3 525i/625i YPrPb Input (Y on AIN1, Pr on AIN3, and Pb on AIN5) All standards are supported through autodetect, 8-bit, ITU-R BT.656 output on P15 to P8. Table 92. Mode 3 YPrPb Input 525i/625i Register Address Register Value...
  • Page 94 ADV7181B Mode 4 CVBS Tuner Input CVBS PAL on AIN6 All standards are supported through autodetect, 8-bit, ITU-R BT.656 output on P15 to P8. Table 92. Mode 4 Tuner Input CVBS PAL Only Register Address Register Value Notes 0x00 0x80 Force PAL input only mode.
  • Page 95: Pcb Layout Recommendations

    ADV7181B. The location of the split should be under board from the ADV7181B, as doing so interposes resistive vias the ADV7181B. For this case, it is even more important to place in the path. The decoupling capacitors should be located components wisely because the current loops are much longer between the power plane and the power pin.
  • Page 96: Digital Inputs

    DIGITAL INPUTS CRYSTAL LOAD CAPACITOR VALUE SELECTION The digital inputs on the ADV7181B are designed to work with Figure 43 shows an example reference clock circuit for the a 3.3 V signals, and are not tolerant of 5 V signals. Extra compo- ADV7181B.
  • Page 97: Typical Circuit Connection

    ADV7181B TYPICAL CIRCUIT CONNECTION Examples of how to connect the ADV7181B video decoder are shown in Figure 44 and Figure 45. For a detailed schematic diagram for the ADV7181B, refer to the ADV7181B evaluation note. AVDD_5V 0 Ω BUFFER 4.7k Ω...
  • Page 98: Replaced Figure 45

    ADV7181B FERRITE BEAD DVDDIO (3.3V) POWER SUPPLY 33μF 10μF 0.1μF 0.01μF DECOUPLING FOR EACH POWER PIN DGND DGND DGND DGND FERRITE BEAD PVDD (1.8V) POWER SUPPLY 33μF 10μF 0.1μF 0.01μF DECOUPLING FOR EACH POWER PIN AGND AGND AGND AGND FERRITE BEAD AVDD (3.3V)
  • Page 99: Outline Dimensions

    ADV7181B OUTLINE DIMENSIONS 0.30 9.00 0.25 0.60 MAX BSC SQ 0.18 PIN 1 0.60 MAX INDICATOR PIN 1 INDICATOR * 7.25 8.75 EXPOSED PAD 7.10 SQ BSC SQ (BOTTOM VIEW) VIEW 6.95 0.45 0.40 0.35 0.25 MIN 7.50 0.80 MAX 1.00...
  • Page 100: Ordering Guide

    Evaluation Board The ADV7181B 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.

Table of Contents