a Advanced Video Decoder with 10-Bit ADC and Component Input Support ADV7183 FEATURES Analog Video to Digital YCrCb Video Decoder: NTSC-(M/N), PAL-(B/D/G/H/I/M/N) ADV®7183 Integrates Two 10-Bit Accurate ADCs Clocked from a Single 27 MHz Crystal Dual Video Clocking Schemes: Line-Locked Clock Compatible (LLC) Adaptive Digital Line Length Tracking (ADLLT™) Three-Line Chroma Comb Filter Real-Time Clock and Status Information Output Integrated AGC (Automatic Gain Control) and Clamping Multiple Programmable Analog Input Formats: CVBS (Composite Video) SVHS (Y/C) YCrCb Component (VESA, MII, SMPTE, and BetaCom) 6 Analog Input Video Channels Automatic NTSC/PAL Identification Differential Mode Video Input Digital Output Formats 16-Bit Wide Bus): YCrCb (4:2:2 or 4:1:1) CCIR601/CCIR656 8-Bit or 16-Bit 0.5 V to 2.0 V p-p Input Range Differential Gain, 0.4% Typ Differential Phase, 0.6o Typ Programmable Video Controls: Peak White/Hue/Brightness/Saturation/Contrast APPLICATIONS Security Systems Projectors Digital Televisions DVD-RAM Recorders and Players PDP Displays Video Decoders Hybrid Analog/Digital Set-Top Boxes (continued on page 9) FUNCTIONAL BLOCK DIAGRAM P15–P0 PIXEL O/P PORT ADV7183 SHAPING AND NOTCH LPF ISO PEAKING HPF/LPF RESAMPLING AND HORIZONTAL SCALING LUMA DELAY BLOCK HFF/QCLK REFOUT AIN1 10-BIT ADC AIN2 ANALOG I/P MULTIPLEXING AIN3 AIN4 AUTOMATIC GAIN CONTROL (AGC) AIN5 CLAMP AND DC RESTORE SYNC DETECTION SUBCARRIER RECOVERY DTO 27MHz RESAMPLING AND HORIZONTAL SCALING 2H LINE MEMORY FIFO CONTROL BLOCK AND PIXEL OUTPUT FORMATTER AEF DV RD CHROMA COMB FILTER OE GL/CLKIN 10-BIT ADC AIN6 LUMA ANTIALIAS LPF AFF SWITCH CHROMA ANTIALIAS LPF SHAPING LPF 27MHz XTAL OSCILLATOR BLOCK VIDEO TIMING AND CONTROL BLOCK LLC SYNTHESIS WITH LINELOCKED OUTPUT CLOCK I2C-COMPATIBLE INTERFACE PORT LLC1 LLC2 LLCREF ELPF PWRDN HSYNC FIELD VSYNC HREF VREF CLOCK CLOCK RESET SDATA SCLOCK ALSB ADLLT is a trademark and ADV is a registered trademark of Analog Devices, Inc. REV. 0 Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 www.analog.com Fax: 781/326-8703 © Analog Devices, Inc., 2002 1 (VAA = 4.75 V to 5.25 V, VDD = 3.2 V to 3.5 V, VDDIO = 3.15 V to 3.5 V, TMIN to TMAX2, ADV7183–SPECIFICATIONS Parameter Min STATIC PERFORMANCE Resolution (each ADC) Accuracy (each ADC) Integral Nonlinearity3 Differential Nonlinearity3 DIGITAL INPUTS3 Input High Voltage, VINH Input Low Voltage, VINL Input Current, IIN Input Capacitance, CIN DIGITAL OUTPUTS3 Output High Voltage, VOH Output Low Voltage, VOL High Impedance Leakage Current Output Capacitance VOLTAGE REFERENCE3 Reference Range, VREFOUT POWER REQUIREMENTS Digital Power Supply, VDD Digital IO Power Supply, VDDIO Analog Power Supply, VAA Digital Supply Current, IDD Digital IO Supply Current, IDDIO Analog Supply Current, IAA4 Power-Up Time unless otherwise noted.) Typ ± 0.25 ± 0.08 Max Unit 10 Bits ± 0.5 ± 0.17 LSB LSB 0.8 +10 10 V V µA pF 0.4 10 30 V V µA pF ISOURCE = 3.2 mA ISINK = 0.4 mA 2 –10 2.4 Test Conditions BSL, 2 V Input Range to ADC 2 V Input Range to ADC 2.15 2.2 2.25 V IVREFOUT = 0 µA 3.2 3.15 4.75 3.3 3.3 5.0 125 7 150 1 3.5 3.5 5.25 165 V V V mA mA mA Field Sleep Mode until Powered Up 180 NOTES 1 The max/min specifications are guaranteed over this range. The max/min values are typical over VAA = 4.75 V to 5.25 V, VDD = 3.2 to 3.5 V, and VDDIO = 3.15 V to 3.5 V range. 2 Temperature range T MIN to TMAX = 0°C to 70°C 3 Guaranteed by characterization. 4 IAA is total analog current taken by AVDD supply pins. Specifications subject to change without notice. –2– REV. 0 ADV7183 VIDEO PERFORMANCE SPECIFICATIONS1, 2 Parameter Min Typ (VAA = 4.75 V to 5.25 V, VDD = 3.2 V to 3.5 V, VDDIO = 3.15 V to 3.5 V, TMIN to TMAX3, unless otherwise noted.) Max Unit Test Conditions 0.6 0.7 1.0 Degree % % CVBS, Comb/No Comb CVBS, Comb/No Comb 54 63 63 dB dB dB CVBS S-Video/YUV, Single-Ended S-Video/YUV, Differential-Ended 50 50 ±5 ±1 ±1 TV/VCR mode 20 Lines Lines % % % HSync HSync 2 1 ± 400 50 1 37 VSync VSync Hz Lines ns ns 1.0 1.0 Degree % dB 2 NONLINEAR SPECIFICATIONS Differential Phase Differential Gain Luma Nonlinearity NOISE SPECIFICATIONS2 SNR (Ramp) Analog Front End Channel Crosstalk Analog Front End Channel Crosstalk LOCK TIME AND JITTER SPECIFICATIONS2 Horizontal Lock Time Horizontal Recovery Time Horizontal Lock Range Line Length Variation Over Field Line Length Variation Over Field HLock Lost Declared HLock Lost Declared 61 10 Vertical Lock Time VLock Lost Declared FSC Subcarrier Lock Range Color Lock Time LLC Clock Jitter (Short Time Jitter) LLC Clock Jitter (Frame Jitter) CHROMA-SPECIFIC SPECIFICATIONS2 Hue Accuracy Color Saturation Accuracy Color Gain Control Range Analog Color Gain Range Digital Color Gain Range Chroma Amplitude Error Chroma Phase Error Chroma Luma Intermodulation LUMA-SPECIFIC SPECIFICATIONS2 Luma Brightness Accuracy Luma Contrast Accuracy –6 +18 –6 0 +6 12 0.1 0 0.1 dB dB % Degree % 1.0 1.0 % % VCR Mode/Surveillance Mode TV Mode TV Mode, Number of Missing HSyncs VCR/Surveillance Mode, Number of Missing HSyncs First Lock into Video Signal All Modes, Number of Missing VSyncs NTSC/PAL HLock to Color Lock Time RMS Clock Jitter RMS Clock Jitter S-Video, YUV, Overall CGC Range (Analog and Digital) S-Video, YUV CVBS, S-Video, YUV Video Input Range = 1.0 V p-p Video Input Range = 1.0 V p-p NOTES 1 The max/min specifications are guaranteed over this range. The max/min values are typical over VAA = 4.75 V to 5.25 V, VDD = 3.2 to 3.5 V, and VDDIO = 3.15 V to 3.5 V range. 2 Guaranteed by characterization. 3 Temperature range T MIN to TMAX = 0°C to 70°C Specifications subject to change without notice. REV. 0 –3– ADV7183 2 1 (VAA = 4.75 V to 5.25 V, VDD = 3.2 V to 3.5 V, VDDIO = 3.15 V to 3.5 V, TMIN to TMAX , TIMING SPECIFICATIONS unless otherwise noted.) Parameter Min SYSTEM CLOCK AND CRYSTAL Nominal Frequency 2 Typ Max 27 Unit Test Conditions MHz 2 I C PORT SCL Clock Frequency SCL Min Pulsewidth High, t1 SCL Min Pulsewidth Low, t2 Hold Time (Start Condition), t3 Setup Time (Start Condition), t4 Data Setup Time, t5 SCL/SDA Rise Time, t6 SCL/SDA Fall Time, t7 Setup Time (Stop Condition), t8 RESET FEATURE Reset Pulse Input Width 0 0.6 1.3 0.6 0.6 100 400 300 300 0.6 74 kHz µs µs µs µs ns ns ns µs ns 3 CLOCK OUTPUTS LLC1 Cycle Time, t9 LLC1 Cycle Time, t9 LLC1 Cycle Time, t9 LLC1 Min Low Period, t10 LLC1 Min High Period, t11 LLC1 Falling to LLCREF Falling, t12 LLC1 Falling to LLCREF Rising, t13 LLC1 Rising to LLC2 Rising, t14 LLC1 Rising to LLC2 Falling, t15 CLKIN Cycle Time, t18 DATA AND CONTROL OUTPUT Data Output Hold Time, t17 Data Output Access Time, t16 Data Output Access Time, t19 Data Output Hold Time, t20 Propagation Delay to High Z, t21 Max Output Enable Access Time, t22 Min Output Enable Access Time, t23 37 33.9 40.8 18 18 4 6 3 1 37 5 3 26 6 2 30 20 11 5 8 5 33 25 8 11 ns ns ns ns ns ns ns ns ns ns CCIR601 Mode 27 MHz PAL Square Pixel Mode 29.5 MHz NTSC Square Pixel Mode 24.5 MHz CCIR601 Mode 27 MHz CCIR601 Mode 27 MHz ns ns ns ns ns ns ns LLC Mode LLC Mode SCAPI and CAPI Modes SCAPI and CAPI Modes SCAPI and CAPI Modes NOTES 1 The max/min specifications are guaranteed over this range. The max/min values are typical over VAA = 4.75 V to 5.25 V, VDD = 3.2 to 3.5 V, and VDDIO = 3.15 V to 3.5 V range. 2 Temperature Range T MIN to TMAX = 0°C to 70°C 3 Guaranteed by characterization. Specifications subject to change without notice. 2 1 (VAA = 4.75 V to 5.25 V, VDD = 3.2 V to 3.5 V, VDDIO = 3.15 V to 3.5 V, TMIN to TMAX , ANALOG FRONT END SPECIFICATIONS Parameter CLAMP CIRCUITRY External Clamp Capacitor Input Impedance Voltage Clamp Level Clamp Source Current Sink Current Source Current Clamp Sink Current Min unless otherwise noted.) Typ Max Unit µF MΩ V µA µA mA mA 0.1 10 1.4 3 –3 0.9 –0.9 Test Conditions Clamp Switched Off Signal Already Clamped (Fine Clamping) Signal Already Clamped (Fine Clamping) Acquire Mode (Fast Clamping) Acquire Mode (Fast Clamping) NOTES 1 The max/min specifications are guaranteed over this range. The max/min values are typical over VAA = 4.75 V to 5.25 V, VDD = 3.2 to 3.5 V, and VDDIO = 3.15 V to 3.5 V range. 2 Temperature range T MIN to TMAX = 0°C to 70°C Specifications subject to change without notice. –4– REV. 0 ADV7183 t3 SDATA t6 t3 t5 t1 t8 SCLOCK t4 t7 t2 Figure 1. MPU Port Timing Diagram t9 t10 LLC1 t11 t12 t13 LLCREF t14 t15 LLC2 t17 OUTPUTS P0–P19, HREF, VREF, VSYNC, HSYNC, FIELD, DV t16 Figure 2. LLC Clock, Pixel Port, and Control Outputs Timing Diagram t18 CLKIN t20 OUTPUTS P0–P15, HREF, VREF, VSYNC, HSYNC, FIELD, DV t19 Figure 3. Pixel Port and Control Outputs in CAPI and SCAPI Mode Timing Diagram OE t23 t21 OUTPUTS P0–P15, HS, VS, VREF, HREF, FIELD, DV t22 Figure 4. OE Timing Diagram REV. 0 –5– ADV7183 ABSOLUTE MAXIMUM RATINGS 1 ORDERING GUIDE VAA to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 V VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 V VDDIO to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 V Voltage on Digital Input Pins . . GND – 0.5 V to VAA + 0.5 V Storage Temperature (TS) . . . . . . . . . . . . . . –65°C to +150°C Junction Temperature (TJ) . . . . . . . . . . . . . . . . . . . . . . 150°C Lead Temperature (Soldering, 10 sec) . . . . . . . . . . . . . 260°C Analog Outputs to GND2 . . . . . . . . . . . . GND – 0.5 V to VAA Model Temperature Range Package ADV7183KST 0°C to 70°C 80-LQFP NOTES 1 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 sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 Analog output short circuit to any power supply or common can be of an indefinite duration. AIN6 AVSS6 RESET AVSS ALSB ISO VREF/VRESET SCLK SDATA HREF/HRESET DVSS3 P15 DVDD3 P14 P12 P13 OE DV RD FIELD PIN CONFIGURATION 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 VS/ACTIVE 1 HS/ACTIVE 2 60 AIN5 PIN 1 IDENTIFIER 59 AVSS5 DVSSIO 3 58 AIN4 DVDDIO 4 57 AVSS4 P11 5 56 AVSS P10 6 55 CAPC2 P9 7 54 CAPC1 P8 8 53 AVSS DVSS2 9 52 CML AD7183 DVDD2 10 51 REFOUT TOP VIEW (Not to Scale) AFF 11 50 AVDD HFF/QCLK/GL 12 49 CAPY2 AEF 13 48 CAPY1 DVSSIO 14 47 AVSS DVDDIO 15 46 AIN3 CLKIN 16 45 AVSS3 GPO3 17 44 AIN2 GPO2 18 43 AVSS2 P7 19 42 AIN1 P6 20 41 AVSS1 AVSS PVSS GPO0 PWRDN ELPF PVDD P0 GPO1 P1 DVDD1 DVSS1 XTAL LLC1/PCLK XTAL1 LLC2 P2 LLCREF P3 P5 P4 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 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 ADV7183 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. –6– WARNING! ESD SENSITIVE DEVICE REV. 0 ADV7183 PIN FUNCTION DESCRIPTIONS Pin Mnemonic Input/Output Function 1 VS/VACTIVE O VS or Vertical Sync. A dual-function pin, (OM_SEL[1:0] = 0, 0) is an output signal that indicates a vertical sync with respect to the YUV pixel data. The active period of this signal is six lines of video long. The polarity of the VS signal is controlled by the PVS bit. VACTIVE (OM_SEL[1:0] = 1, 0 or 0, 1) is an output signal that is active during the active/viewable period of a video field. The polarity of VACTIVE is controlled by PVS bit. 2 HS/HACTIVE O HS or Horizontal Sync. A dual-function pin, (OM_SEL[1:0] = 0, 0) is a programmable horizontal sync output signal. The rising and falling edges can be controlled by HSB[9:0] and HSE[9:0] in steps of 2 LLC1. The polarity of the HS signal is controlled by the PHS bit. HACTIVE (OM_SEL[1:0] = 1, 0 or 0, 1) is an output signal that is active during the active/viewable period of a video line. The active portion of a video line is programmable on the ADV7183. The polarity of HACTIVE is controlled by PHS bit. 3, 14 DVSSIO G Digital I/O Ground 4, 15 DVDDIO P Digital I/O Supply Voltage (3.3 V) 5–8, 19–24, 32, 33, 73–76 P15–P0 O Video Pixel Output Port. 8-bit multiplexed YCrCb pixel port (P15–P8), 16-bit YCrCb pixel port (P15–P8 = Y and P7–P0 = Cb,Cr). 9, 31, 71 DVSS1–3 G Ground for Digital Supply 10, 30, 72 DVDD1–3 P Digital Supply Voltage (3.3 V) 11 AFF O Almost Full Flag. A FIFO control signal indicating when the FIFO has reached the almost full margin set by the user (use FFM[4:0]). The polarity of this signal is controlled by the PFF bit. 12 HFF/QCLK/GL I/O Half Full Flag. A multifunction pin, (OM_SEL[1:0] = 1, 0) is a FIFO control signal that indicates when the FIFO is half full. The QCLK (OM_SEL[1:0] = 0, 1) pin function is a qualified pixel output clock when using FIFO SCAPI mode. The GL (OM_SEL[1:0] = 0, 0) function (Genlock output) is a signal that contains a serial stream of data that contains information for locking the subcarrier frequency. The polarity of HFF signal is controlled by PFF bit. 13 AEF O Almost Empty Flag. A FIFO control signal, it indicates when the FIFO has reached the almost empty margin set by the user (use FFM[4:0]). The polarity of this signal is controlled by PFF bit. 16 CLKIN I Asynchronous FIFO Clock. This asynchronous clock is used to output data onto the P19-P0 bus and other control signals. 17, 18, 34, 35 GPO[3:0] O General-Purpose Outputs controlled via I2C 25 LLCREF O Clock Reference Output. This is a clock qualifier distributed by the internal CGC for a data rate of LLC2. The polarity of LLCREF is controlled by the PLLCREF bit. 26 LLC2 O Line-Locked Clock System Output Clock/2 (13.5 MHz) 27 LLC1/PCLK O Line-Locked Clock System Output Clock. A dual-function pin (27 MHz ± 5%) or a FIFO output clock ranging from 20 MHz to 35 MHz. 28 XTAL1 O Second terminal for crystal oscillator; not connected if external clock source is used. 29 XTAL I Input terminal for 27 MHz crystal oscillator or connection for external oscillator with CMOS-compatible square wave clock signal 36 PWRDN I Power-Down Enable. A logical low will place part in a power-down status. 37 ELPF I This pin is used for the External Loop Filter that is required for the LLC PLL. 38 PVDD P 39 PVSS G REV. 0 –7– ADV7183 PIN FUNCTION DESCRIPTIONS (continued) Pin Mnemonic Input/Output Function 40, 47, 53, 56, 63 AVSS G Ground for Analog Supply 41, 43, 45, 57, 59, 61 AVSS1–6 G Analog Input Channels. Ground if single-ended mode is selected. These pins should be connected directly to REFOUT when differential mode is selected. 42, 44, 46, 58, 60, 62 AIN1–6 I Video Analog Input Channels 48, 49 CAPY1–2 I ADC Capacitor Network 50 AVDD P Analog Supply Voltage (5 V) 51 REFOUT O Internal Voltage Reference Output 52 CML O Common-Mode Level for ADC 54, 55 CAPC1–2 I ADC Capacitor Network 64 RESET I/O System Reset Input. Active Low. 65 ISO I Input Switch Over. A low to high transition on this input indicates to the decoder core that the input video source has been changed externally and configures the decoder to reacquire the new timing information of the new source. This is useful in applications where external video muxes are used. This input gives the advantage of faster locking to the external muxed video sources. A low to high transition triggers this input. 66 ALSB I TTL Address Input. Selects the MPU address: MPU address = 88h ALSB = 0, disables I2C filter MPU address = 8Ah ALSB = 1, enables I2C filter 67 SDATA I/O MPU Port Serial Data Input/Output 68 SCLK I MPU Port Serial Interface Clock Input 69 VREF/VRESET O VREF or Vertical Reference Output Signal. Indicates start of next field. VRESET or Vertical Reset Output is a signal that indicates the beginning of a new field. In SCAPI/CAPI mode this signal is one clock wide and active low relative to CLKIN. It immediately follows the HRESET pixel, and indicates that the next active pixel is the first active pixel of the next field. 70 HREF/HRESET O HREF or Horizontal Reference Output Signal. A dual-function pin (enabled when Line-Locked Interface is selected, OM_SEL[1:0] = 0,0), this signal is used to indicate data on the YUV output. The positive slope indicates the beginning of a new active line; HREF is always 720 Y samples long. HRESET or Horizontal Reset Output (enabled when SCAPI or CAPI is selected, OM_SEL[1:0] = 0, 1 or 1, 0) is a signal that indicates the beginning of a new line of video. In SCAPI/CAPI this signal is one clock cycle wide and is output relative to CLKIN. It immediately follows the last active pixel of a line. The polarity is controlled via PHVR. 77 RD I Asynchronous FIFO Read Enable Signal. A logical high on this pin enables a read from the output of the FIFO. 78 DV O DV or Data Valid Output Signal. In SCAPI/CAPI mode, DV performs two functions, depending on whether SCAPI or CAPI is selected. It toggles high when the FIFO has reached the AFF margin set by the user, and remains high until the FIFO is empty. The alternative mode is where it can be used to control FIFO reads for bursting information out of the FIFO. In API mode DV indicates valid data in the FIFO, which includes both pixel information and control codes. The polarity of this pin is controlled via PDV. 79 OE I Output Enable Controls Pixel Port Outputs. A logic high will three-state P19–P0. 80 FIELD O ODD/EVEN Field Output Signal. An active state indicates that an even field is being digitized. The polarity of this signal is controlled by the PF bit. –8– REV. 0 ADV7183 (FEATURES continued from page 1) CCIR/Square Pixel Operation Integrated On-Chip Video Timing Generator Synchronous or Asynchronous Output Timing Line-Locked Clock Output Closed Captioning Passthrough Operation Vertical Blanking Interval Support Power-Down Mode 2-Wire Serial MPU Interface (I2C-Compatible) 5 V Analog 3.3 V Digital Supply Operation 80-Lead LQFP Package ANALOG INPUT PROCESSING The ADV7183 has six analog video input channels. These six channels can be arranged in a variety of configurations to support up to six CVBS input signals, three S-video input signals, and two YCrCb component analog video input signals. The INSEL[3:0] bits control the input type and channel selected. The analog front end includes three clamp circuits for DC restore. There are three sample-and-hold amplifiers prior to the ADC which are used to enable simultaneous sampling of up to three channels in a YCrCb input mode. Two 10-bit ADCs are used for sampling. The entire analog front end is fully differential which ensures that the video is captured to the highest quality possible. This is very important in highly integrated systems such as video decoders. Figure 5 shows the analog front end section of the ADV7183. GENERAL DESCRIPTION The ADV7183 is an integrated video decoder that automatically detects and converts a standard analog baseband television signal compatible with worldwide standards NTSC or PAL into 4:2:2 or 4:1:1 component video data compatible with 16-/8-bit CCIR601/CCIR656. MUX 6CVBS 3YC 2YUV The advanced and highly flexible digital output interface enables performance video decoding and conversion in both frame-buffer-based and line-locked clock-based systems. This makes the device ideally suited for a broad range of applications with diverse analog video characteristics, including tape-based sources, broadcast sources, security/surveillance cameras, and professional systems. CLAMP V1 CLAMP U1 CLAMP Y1 SHA ⴛ2 SHA ⴛ2 SHA ⴛ2 Fully integrated line stores enable real-time horizontal and vertical scaling of captured video down to icon size. The 10-bit accurate A/D conversion provides professional quality SNR performance. This allows true 8-bit resolution in the 8-bit output mode. 10 MUX 10 C ADC2 The six analog input channels accept standard composite, S-video, and component YCrCb 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 up to 2 V. Alternatively, these can be bypassed for manual settings. NOTES ANALOG SIGNAL PATH KEPT FULLY DIFFERENTIAL ADCs: 10-BIT ACCURATE; 12dB GAIN RANGE 1CLAMP BLOCKS CONTAIN A SET OF CURRENT SOURCES FOR DC RESTORATION; U AND V HAVE ONLY HALF BANDWIDTH (SAMPLED SIMULTANEOUSLY, CONVERTED SEQUENTIALLY) 2PIPELINED The fixed 27 MHz clocking of the ADCs and data path for all modes allows very precise and 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 connection in almost any application. Figure 5. Analog Front End Block Diagram CLAMPING The clamp control on the ADV7183 consists of a digitally controlled analog current and voltage clamp and a digitally controlled digital clamp circuit. The coupling capacitor on each channel is used to store and filter the clamping voltage. A digital controller controls the clamp up and down current sources that charge the capacitor on every line. Four current sources are used in the current clamp control, two large current sources are used for coarse clamping, and two small current sources are used for fine clamping. The voltage clamp, if enabled, is only used on startup or if a channel is switched. This clamp pulls the video into the midrange of the ADC, which results in faster clamping and faster lock-in time for the decoder. The fourth clamp controller is fully digital and clamps the ADC output data, which results in extremely accurate clamping. It also has the added advantage of being fully digital, which results in very fast clamp timing and makes the entire clamping process very robust in terms of handling large amounts of hum that can be present on real-world video signals. The ADV7183 modes are set up over a 2-wire serial bidirectional port (I2C-compatible). The ADV7183 is fabricated in a 5 V CMOS process. Its monolithic CMOS construction ensures greater functionality with lower power dissipation. The ADV7183 is packaged in a small 80-pin LQFP package. REV. 0 Y ADC2 –9– ADV7183 5. Blank level to sync tip is used to set luminance gain; manual MIRE[2:0] is automatically controlled to set the maximum value through the luminance channel. There is override of this mode when white peak mode is detected. White peak mode is activated when the input video exceeds the maximum luminance range for long periods; this mode is designed to prevent clipping of the input video signal. In S-video mode there are two clamp controllers used to separately control the luminance clamping and the chrominance clamping. Also in YCrCb component input mode there are two clamp controllers used to control the luminance clamping and the CrCb clamping separately; there are, however, individual current clamps on the Cr and Cb inputs. User programmability is built into the clamp controllers which enable the current and digital clamp controllers to be set up to user-defined conditions. Refer to analog clamp control register (14H), digital clamp control register (15H), and digital color clamp offset register (15H and 16H) for control settings. 7. Based on average active video. PW_RES sets what lines are used; only relevant if the signal conforms to PAL 625 line standard. ANALOG-TO-DIGITAL CONVERTERS 8. The luminance channel gain is frozen at its present value. ANALOG INPUT LEVEL 2V p-p – dB Two 10-bit ADCs are used in the ADV7183, and they run from a 27 MHz input clock. An integrated band gap generates the required reference voltages for the converters. If the decoder is configured in CVBS mode, the second ADC can be switched off to reduce power consumption, see PSC[1:0]. AUTOMATIC GAIN CONTROL The AGC control block on the ADV7183 is a digitally based system. This controller ensures that the input video signal (CVBS, S-video, or YCrCb) is scaled to its correct value such that the YCrCb digital output data matches the correct gain of the video signal. The AGC has an analog input video range of 0.5 V p-p to 2.0 V p-p, which gives a –6 dB to +6 dB gain range. Figure 6 demonstrates this range. This AGC range will compensate for video signals that have been incorrectly terminated or have been attenuated due to cable loss or other factors. 0 0 RANGE = 12dB –6 MINIMUM Figure 6. Analog Input Range The chrominance automatic gain control has four modes of operation: There are two main control blocks: one for the luminance channel and one for the chrominance channel. The luminance automatic gain control has eight modes of operation: 1. Manual AGC mode where gain for chrominance path is set manually using CGM[11:0]. 2. Luminance gain used for chrominance channel. 3. Chrominance automatic gain based on color burst amplitude. 4. Chrominance gain frozen at its present setting. 1. Manual AGC mode where gain for the luminance path is set manually using LGM[11:0]. 2. Blank level to sync tip is used to set the luminance gain; manual MIRE[2:0] controls the maximum value through the luminance channel. There is no override of this mode when white peak mode is detected. Both the luminance and chrominance AGC controllers have a programmable time constant that allows the AGC to operate in four modes: slow, medium, fast, and video quality controlled. The maximum IRE (MIRE[2:0]) control can be used to set the maximum input video range that can be decoded. Table I shows the selectable range. 3. Blank level to sync tip is used to set luminance gain; manual MIRE[2:0] controls the maximum value through luminance channel. There is override of this mode when white peak mode is detected. White peak mode is activated when the input video exceeds the maximum luminance range for long periods; this mode is designed to prevent clipping of the input video signal. 4. Blank level to sync tip is used to set luminance gain; MIRE[2:0] is automatically controlled to set the maximum value through the luminance channel. There is no override of this mode when white peak mode is detected. MAXIMUM 6 CONTROLLED ADC INPUT LEVEL – dB 6. Based on active video peak white. PW_UPD sets the gain update frequency (once per field). Table I. MIRE Control MIRE[2:0] Function PAL (IRE) NTSC (IRE) 0 0 0 0 1 1 1 1 133 125 120 115 110 105 100 100 –10– 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 122 115 110 105 100 100 100 100 REV. 0 ADV7183 LUMINANCE PROCESSING 0 When in CVBS mode a notch filter must be used to remove the unwanted chrominance data that lies around the subcarrier frequency. A wide variety of programmable notch filters for both PAL and NTSC are available. The YSFM[4:0] control the selection of these filters; refer to Figures 8 to 16 for plots of these filters. If S-video or component mode is selected a notch filter is not required. The ADV7183 offers 18 possible shaping filters (SVHS1-18) with a range of low pass filter responses from 0.5 MHz up to 5.75 MHz. The YSFM[4:0] control the selection of these filters. Please refer to Figures 8 through 16 for filter plots. –20 –30 –40 –50 –60 1.0 The luminance data is then passed through a resampler to correct for line length variations in the input video. This resampler is designed to always output 720 pixels per line for standard PAL or NTSC. The resampler used on the ADV7183 is of very high quality as it uses 128 phases to resample the video, giving 1/128 pixel resolution. The resampler is controlled by a sync detection block that calculates line length variations on the input video. 0.4 1 2 3 4 5 FREQUENCY – MHz 6 7 8 0.8 ATTENUATION – dB 0.6 0.2 0 –0.2 –0.4 –0.6 The final stage in the luminance path, before it is applied to an output formatter block, is a two-line delay store that is used to compensate for delays in the chroma data path when chroma comb filter is selected. ADC DATA 0 Figure 8. Luminance SVHS1–18 Shaping Filter Responses The next stage in the luminance processing path is a peaking filter; this filter offers a sharpness function on the luminance path. The degree of sharpness can be selected using YPM[2:0]. If no sharpness is required, this filter can be bypassed. ANTIALIASING LPF SVHS1 SVHS2 SVHS17 SVHS3 SVHS18 SVHS4 SVHS5 SVHS6 SVHS7 SVHS8 SVHS9 SVHS10 SVHS11 SVHS12 SVHS13 SVHS14 SVHS15 SVHS16 –10 ATTENUATION – dB Figure 7 shows the luminance data path. The 10-bit data from the Y ADC is applied to an antialiasing low pass filter that is designed to band-limit the input video signal such that aliasing does not occur. This filter dramatically reduces the design on an external analog antialaising filter; this filter need only remove components in the input video signal above 22 MHz. The data then passes through a shaping or notch filter. –0.8 –1.0 0 1 2 3 4 FREQUENCY – MHz 5 6 Figure 9. Luminance SVHS1–SVHS18 Shaping Filter Responses (Close-Up) SYNC DETECTION 0 PEAKING FILTER RESAMPLE NTSC WN1 NTSC WN2 NTSC WN3 NTSC NN1 NTSC NN2 NTSC NN3 –10 ATTENUATION – dB SHAPING AND NOTCH FILTER Y DELAY LINE STORES –20 NTSC WN2 NTSC NN3 NTSC WN1 NTSC NN2 NTSC NN1 NTSC WN3 –30 –40 –50 Figure 7. Luminance Processing Path –60 0 1 2 3 4 5 FREQUENCY – MHz 6 7 8 Figure 10. Luminance NTSC Narrow/Wide Notch Shaping Filter REV. 0 –11– 1.0 10 0.8 8 0.6 6 0.2 ATTENUATION – dB ATTENUATION – dB ADV7183 0.4 0 –0.2 NTSC WN1 NTSC WN2 NTSC WN3 NTSC NN1 NTSC NN2 NTSC NN3 –0.4 –0.6 –0.8 –1.0 0 0.5 1.0 1.5 2.0 2.5 FREQUENCY – MHz 3.0 3.5 PS2 4 PS3 2 PS4 0 –2 PS5 –4 –6 PS6 –8 0 4.0 Figure 11. Luminance NTSC Narrow/Wide Notch Shaping Filter (Close-Up) 1 2 3 4 FREQUENCY – MHz 5 6 7 Figure 14. Luminance Peaking Filter Responses in S-Video (SVHS17 Selected) 6 0 PAL NN1 PAL NN2 PAL NN3 PAL W1 PAL W2 PC1 4 PAL NN3 PAL W1 PAL W2 PAL NN2 2 PC2 ATTENUATION – dB –10 ATTENUATION – dB PS1 –20 PAL NN1 –30 –40 0 PC3 –2 PC4 PC5 PC6 –4 –6 –50 –8 –60 0 1 2 3 4 5 FREQUENCY – MHz 6 7 –10 8 Figure 12. Luminance PAL Narrow/Wide Notch Shaping Filter Responses 0 1 2 3 4 FREQUENCY – MHz 5 6 7 Figure 15. Luminance Peaking Filter Responses in CVBS (PAL NN3 Selected) 1.0 6 0.8 PC1 4 0.2 ATTENUATION – dB ATTENUATION – dB 0.6 0.4 0 –0.2 PAL NN1 PAL NN2 PAL NN3 PAL WN1 PAL WN2 –0.4 –0.6 –0.8 –1.0 0 0.5 1.0 1.5 2.0 2.5 FREQUENCY – MHz 2 PC2 0 PC3 PC4 PC5 –2 PC6 –4 –6 3.0 3.5 –8 4.0 Figure 13. Luminance PAL Narrow/Wide Notch Shaping Filter Responses (Close-Up) 0 1 2 3 4 FREQUENCY – MHz 5 6 Figure 16. Luminance Peaking Filter Responses in CVBS (NTSC NN3 Selected) –12– REV. 0 ADV7183 CHROMINANCE PROCESSING 0 Figure 17 shows the chrominance data path. The 10-bit data from the Y ADC (CVBS mode) or the C ADC (S-video) is first demodulated. The demodulation is achieved by multiplying by the locally generated quadrature subcarrier, where the sign of the cos subcarrier is inverted from line to line according to the PAL switch, and then low pass filtering is applied to removed components at twice the subcarrier frequency. For NTSC, the phase of the locally generated subcarrier during color burst is the same as the phase of the color burst. For PAL, the phase of the color burst changes from line to line, relative to the phase during active video, and the phase of the locally generated subcarrier is the average of these two values. ATTENUATION – dB –10 –20 SH1 SH2 SH3 SH4 SH5 SH6 –30 –40 –50 The chrominance data is then passed through an antialiasing filter which is a band-pass filter to remove the unwanted luminance data. This antialaising filter dramatically reduces the external antialaising filter requirements as it has only to filter components above 25 MHz. In component mode the demodulation block is bypassed. –60 0 0.5 1.0 1.5 2.0 2.5 FREQUENCY – MHz 3.0 3.5 4.0 Figure 18. Chrominance Shaping Filter Responses 1.0 The next stage of processing is a shaping filter that can be used to limit the chrominance bandwidth to between 0.5 MHz and 3 MHz; the CSFM[2:0] can be used to select these responses. It should be noted that in CVBS mode a filter of no greater than 1.5 MHz should be selected, as CVBS video is typically band-limited to below 1.5 MHz. In S-video mode a filter of up to 2 MHz can be used. In component mode a filter of up to 3 MHz can be used as component video has higher bandwidth than CVBS or S-video. 0.8 ATTENUATION – dB 0.6 The chrominance data is then passed through a resampler to correct for line length variations in the input video. This resampler is designed to always output 720 pixels per line for standard PAL or NTSC. The resampler used on the ADV7183 is of very high quality as it uses 64 phases to resample the video, giving 1/64 pixel resolution. The resampler is controlled by a sync detection block that calculates line length variations on the input video. The final stage in the chrominance path, before it is applied to an output formatter block, is chroma comb filter. SINE ANTIALIASING LPF CV/C 27MHz 13.5MHz INTERLEAVE SHAPING LPF COSINE ANTIALIASING LPF 6.75MHz 13.5MHz SUBCARRIER RECOVERY SYNC DETECTION RESAMPLE U/V CHROMA COMB FILTERS Figure 17. Chrominance Processing Path REV. 0 –13– 0.2 0.4 0 –0.2 –0.4 SH1 SH2 SH3 SH4 SH5 SH6 –0.6 –0.8 –1.0 0 0.5 1.0 1.5 2.0 2.5 FREQUENCY – MHz 3.0 3.5 4.0 Figure 19. Chrominance Shaping Filter Responses (Close-Up) ADV7183 OUTPUT INTERFACE Mode Selection Overview The ADV7183 supports three output interfaces: LLC-compatible synchronous pixel interface, the CAPI interface, and the SCAPI interface. When the part is configured in the synchronous pixel interface mode, pixel and control data are output synchronous with LLC1 (8-bit mode) or LLC2 (16-bit mode). In this mode control and timing information for field, vertical blanking, and horizontal blanking identification may also be encoded as control codes. When configured in CAPI or SCAPI mode only the active pixel data is output synchronous with the CLKIN (asynchronous FIFO clock). The pixels are output via a 512-pixel deep, 20-bit wide FIFO. HACTIVE and VACTIVE are output on independent pins. HACTIVE will be active during the active viewable period of a video line and VACTIVE will be active during the active viewable period of a video field. CAPI and SCAPI modes will always output data in 16-bit, so this mode of operation cannot be used when an 8-bit or 10-bit output interface is required. After power-up, the ADV7183 will default to the LLC-compatible 8-bit CCIR656 4:2:2 @ LLC. Synchronous Pixel Interface When the output is configured for an 8-bit pixel interface, the data is output on the pixel output port P[15:8]. In this mode, 8 bits of chrominance data will precede 8 bits of luminance data. New pixel data is output on the pixel port after each rising edge of LLC1. When the output is configured for a 16bit pixel interface, the luminance data is output on P[15:8] and the chrominance data on P[7:0]. In this mode the data is output with respect to LLC2. Figure 20 shows the basic timing relationship for this mode. LLC1 LLC2 PIXEL DATA P15-8[7:0] PIXEL DATA P7-0[7:0] SAV 00 SAV XY SAV FF 00 SAV Y0 Y1 Y2 Y3 Y4 Cb0 Cr0 Cb1 Cr1 Cb2 Figure 20. Synchronous Pixel Interface, 16-Bit Example –14– REV. 0 ADV7183 CVBS INPUT HREF DV VREF VSYNC FIELD SAV/EAV V BIT SAV/EAV H BIT SAV/EAV F BIT Figure 21. NTSC End Even Field (LLC Mode) CVBS INPUT HREF DV VREF VSYNC FIELD SAV/EAV V BIT SAV/EAV H BIT SAV/EAV F BIT Figure 22. NTSC End Odd Field (LLC Mode) REV. 0 –15– ADV7183 CVBS INPUT HREF DV VREF VSYNC FIELD SAV/EAV V BIT SAV/EAV H BIT SAV/EAV F BIT Figure 23. PAL End Even Field (LLC Mode) CVBS INPUT HREF DV VREF VSYNC FIELD SAV/EAV V BIT SAV/EAV H BIT SAV/EAV F BIT Figure 24. PAL End Odd Field (LLC Mode) –16– REV. 0 ADV7183 Control and Pixel Interface FIFO Modes When the ADV7183 is configured to operate in this mode, pixel data generated within the part is buffered by a 512-pixel deep FIFO. Only active video pixels and control codes are written into the FIFO; the others have been dropped. In this mode the output is operating asynchronously and a CLKIN must be provided to clock pixels out of the FIFO. The CLKIN must operate faster than the effective data transfer rate into the FIFO. This rate will be determined by the number of active pixels per line. If the CLKIN is not above this, the FIFO may overflow. The ADV7183 controls the FIFO when set to operate in SCAPI mode. DV (data valid) is internally fed back to the RD (read enable), unlike the synchronous pixel mode where DV will not indicate the validity of the current pixel and only acts as an indication of how much data is stored in the FIFO. DV will go high at the same time as AFF and remain high until the FIFO is empty. By internally setting DV to RD the system ensures that the FIFO never overflows. When using this mode the status of data on the pixel outputs can be determined by two indicators, DV and QCLK. DV will go active two clock cycles (LLC1) before valid data appears on the bus. QCLK is a qualified clock derived from CLKIN, but will only be present when valid pixel data is output from the FIFO. DV indicates valid pixel or control code data. Using these two control signals, the user can differentiate between pixel information and invalid data. Figure 25 shows the basic timing relationship for this mode. The operation of the ADV7183 in CAPI mode is similar to that of SCAPI mode with the exception that now the FIFO is controlled by the system; the system must monitor the almost full flag (AFF), the almost empty flag (AEF), and control the FIFO read enable (RD). Unlike SCAPI mode, the QCLK is not gated and is therefore continuous. Figure 26 shows the basic timing relationship of this mode. PIXEL DATA DV CLKIN QCLK AFF AEF NOTE THE POLARITY OF AFF AND AEF ARE CONTROLLED BY THE PFF BIT. DV POLARITY IS SET BY THE PDV BIT. Figure 25. SCAPI Output Mode FIFO Operation DATA RD CLKIN QCLK AFF AEF NOTE THE POLARITY OF AFF AND AEF ARE CONTROLLED BY THE PFF BIT. Figure 26. CAPI Output Mode FIFO Operation REV. 0 –17– ADV7183 Manual Clock Control The ADV7183 offers several output clock mode options; the output clock frequency can be set by the input video line length, a fixed 27 MHz output, or by a user-programmable value. Information on the clock control register at 28h can be found in the register access map. When Bit 6 of this register (CLKMANE) is set to Logic “1,” the output clock frequency will be determined by the user-programmable value (CLKVAL[15:0]). Using this mode the output clock frequency is calculated as: LLC = CLKVAL[17: 0] 220 × 28 × 3 × 27 MHz 16 For example, a required clock frequency of 25 MHz would yield a CLKVAL of 2D266h (184934). Color Subcarrier Control The color subcarrier manual frequency control register (CSMF[27:0]) can be used to set the DDFS block to a userdefined frequency. This function can be useful if the color subcarrier frequency of the incoming video signal is outside the standard FSC lock range. Setting Bit 4 Reg 23h (CSM) to a Logic “1” enables the manual frequency control, the frequency of which will be determined by CSMF[27:0]. The value of CSMF[27:0] can be calculated as: CSMF[27: 0] = FSC ∗× 228 27 MHz *Required MPU PORT DESCRIPTION The ADV7183 supports a 2-wire serial (I2C-compatible) microprocessor bus driving multiple peripherals. Two inputs, serial data (SDATA) and serial clock (SCLOCK) carry information between any device connected to the bus. Each slave device is recognized by a unique address. The ADV7183 has two possible slave addresses for both read and write operations. These are unique addresses for the device and are illustrated in Figure 27. The LSB sets either a read or write operation. Logic Level “1” corresponds to a read operation while Logic Level “0” corresponds to a write operation. A1 is set by setting the ALSB pin of the ADV7183 to Logic Level “0” or Logic Level “1.” 1 1 2 0 0 0 1 A11 0 X2 Address Control. Set up by ALSB. Read/Write Control. Write = 0; Read = 1 S SLAVE ADDR A(S) SUB ADDR The ADV7183 acts as a standard slave device on the bus. The data on the SDATA pin is 8 bits long, supporting the 7-bit addresses plus the R/W bit. The ADV7183 has 71 subaddresses to enable access to the internal registers. It therefore interprets the first byte as the device address and the second byte as the starting subaddress. The subaddresses autoincrement, allowing data to be written to or read from the starting subaddress. A data transfer is always terminated by a stop condition. The user can also access any unique subaddress register on a one-by-one basis, without having to update all the registers. Stop and start conditions can be detected at any stage during the data transfer. If these conditions are asserted out of sequence with normal read and write operations, they cause an immediate jump to the idle condition. During a given SCLOCK high period the user should only issue 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 ADV7183 will not issue an acknowledge and will return to the idle condition. If the user exceeds the highest subaddress in autoincrement mode, 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 where the SDATA 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 ADV7183, and the part will return to the idle condition. Figure 27. Slave Address WRITE SEQUENCE To control the device 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 SDATA while SCLOCK remains high. This indicates that an address/data stream will follow. All peripherals respond to the start condition and shift the next 8 bits (7-bit address + R/W bit). The bits are transferred from MSB down to LSB. The peripheral that recognizes the transmitted address responds by pulling the data line low during the ninth clock pulse. This is known as an acknowledge bit. All other devices withdraw from the bus at this point and maintain an idle condition. The idle condition is where the device monitors the SDATA and SCLOCK 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. A(S) DATA S SLAVE ADDR S = START BIT P = STOP BIT A(S) • • • DATA A(S) P LSB = 1 LSB = 0 READ SEQUENCE A(S) SUB ADDR A(S) A(S) = ACKNOWLEDGE BY SLAVE A(M) = ACKNOWLEDGE BY MASTER S SLAVE ADDR A(S) DATA A(M) • • • DATA A(M) P A(S) = NO-ACKNOWLEDGE BY SLAVE A(M) = NO-ACKNOWLEDGE BY MASTER Figure 28. Write and Read Sequences –18– REV. 0 ADV7183 SDATA SCLOCK S 1–7 8 START ADDR R/W 9 1–7 8 ACK SUB ADDR 9 ACK 1–7 DATA 8 9 P ACK STOP Figure 29. Bus Data Transfer Table II. Subaddress Register Register Name Addr (Hex) BASIC BLOCK Input Control Video Selection Video Enhancement Control Output Control Extended Output Control General-Purpose Output Reserved FIFO Control Contrast Control Saturation Control Brightness Control Hue Control Default Value Y Default Value C Temporal Decimation Power Management Status Register Info Register 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 REGISTER ACCESSES The MPU can write to or read from all of the registers of the ADV7183 except the subaddress register, which is a write only register. The subaddress register determines which register the next read or write operation accesses. All communications with the part through the bus start with an access to the subaddress register. Then a read/write operation is performed from/to the target address which then increments to the next address until a stop command on the bus is performed. REGISTER PROGRAMMING The following section describes each register in terms of its configuration. 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. Table II shows the various operations under the control of the subaddress register. Zero should always be written to SR7–SR6. Register Select (SR5–SR0) These bits are set up to point to the required starting address. REV. 0 Register Name Addr (Hex) ADVANCED BLOCK Reserved Analog Control (Internal) Analog Clamp Control Digital Clamp Control 1 Digital Clamp Control 2 Shaping Filter Control Reserved Comb Filter Control Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Color Subcarrier Control 1 Color Subcarrier Control 2 Color Subcarrier Control 3 Color Subcarrier Control 4 Pixel Delay Control Manual Clock Control 1 Manual Clock Control 2 Manual Clock Control 3 Auto Clock Control AGC Mode Control Chroma Gain Control 1 Chroma Gain Control 2 Luma Gain Control 1 Luma Gain Control 2 Manual Gain Shadow Control 1 Manual Gain Shadow Control 2 Misc Gain Control HSync Position Control 1 HSync Position Control 2 HSync Position Control 3 Polarity Control Reserved Reserved Reserved Reserved 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 44 45 F1 F2 –19– ADV7183 Table III. Basic Registers Register Addr (Hex) D7 Input Control 00 Video Selection 01 D6 D5 D4 D2 D1 D0 VID SEL.3 VID SEL.2 VID SEL.1 VID SEL.0 INSEL.3 INSEL.2 INSEL.1 INSEL.0 ASE DIFFIN SQPE VID QUAL.1 VID QUAL.0 COR.1 COR.0 YPM.2 YPM.1 YPM.0 OF SEL.2 OF SEL.1 OF SEL.O OM SEL.1 OMEL.O BETACAM 4FSC Video Enhancement 02 Control TOD OF SEL.3 D3 Output Control 03 VBI EN Extended Output Control 04 BT656-4 General-Purpose Output 05 HL_EN BL_C_VBI GPEH GPEL GP0.3 GP0.2 GP0.1 GP0.0 Reserved 06 FIFO Control 07 FFST AFR FR FFM.4 FFM.3 FFM.2 FFM.1 FFM.0 Contrast Control 08 CON.7 CON.6 CON.5 CON.4 CON.3 CON.2 CON.1 CON.0 Saturation Control 09 SAT.7 SAT.6 SAT.5 SAT.4 SAT.3 SAT.2 SAT.1 SAT.0 Brightness Control 0A BRI.7 BRI.6 BRI.5 BRI.4 BRI.3 BRI.2 BRI.1 BRI.0 Hue Control 0B HUE.7 HUE.6 HUE.5 HUE.4 HUE.3 HUE.2 HUE.1 HUE.0 Default Value Y 0C DEF Y.5 DEF Y.4 DEF Y.3 DEF Y.2 DEF Y.1 DEF Y.0 DEF_ DEF_ AUTO_EN VAL_EN Default Value C 0D DEF C.7 DEF C.6 DEF C.5 DEF C.4 DEF C.3 DEF C.2 DEF C.1 DEF C.0 Temporal Decimation 0E TDR.3 TDR.2 TDR.1 TDR.0 TDC.1 TDC.0 TDE TRAQ PWRDN PS CG PS REF PDBP PSC.1 PSC.0 RANGE Power Management 0F RES Status Register 10 STATUS.7 STATUS.6 STATUS.5 STATUS.4 STATUS.3 STATUS.2 STATUS.1 STATUS.0 Info Register 11 IDENT.7 IDENT.6 IDENT.5 IDENT.4 IDENT.3 IDENT.2 IDENT.1 IDENT.0 D3 D2 D1 D0 Table IV. Advanced Registers Register Addr (Hex) Reserved 12 Reserved 13 Analog Clamp Control 14 Digital Clamp Control 1 15 DCCM Digital Clamp Control 2 16 Shaping Filter Control 17 Reserved 18 D7 D6 D5 D4 TIM_OE VCLEN CCLEN FACL.1 FACL.0 FICL.1 FICL.0 DCT.1 DCT.0 DCFE DCC0.11 DCC0.10 DCC0.9 DCC0.8 DCC0.7 DCC0.6 DCC0.5 DCC0.4 DCC0.3 DCC0.2 DCC0.1 DCC0.0 CSFM.2 CSFM.1 CSFM.0 YSFM.4 YSFM.3 YSFM.2 YSFM.1 YSFM.0 CSMF.25 CSMF.24 Comb Filter Control 19 CCMB_AD CCM.1 CCM.0 Color Subcarrier Control 1 CSM CSMF.26 23 –20– CSMF.27 REV. 0 ADV7183 Table IV. Advanced Registers (continued) Addr (Hex) D7 D6 D5 D4 D3 D2 D1 D0 Color Subcarrier Control 2 24 CSMF.23 CSMF.22 CSMF.21 CSMF.20 CSMF.19 CSMF.18 CSMF.17 CSMF.16 Color Subcarrier Control 3 25 CSMF.15 CSMF.14 CSMF.13 CSMF.12 CSMF.11 CSMF.10 CSMF.9 CSMF.8 Color Subcarrier Control 4 26 CSMF.7 CSMF.6 CSMF.5 CSMF.4 CSMF.3 CSMF.2 CSMF.1 CSMF.0 Pixel Delay Control 27 SWPC CTA.2 CTA.1 CTA.0 Manual Clock Control 1 28 FIX27E Manual Clock Control 2 29 CLKVAL. CLKVAL. CLKVAL. CLKVAL. CLKVAL. CLKVAL. CLKVAL.9 CLKVAL.8 15 14 13 12 11 10 Manual Clock Control 3 2A CLKVAL.7 CLKVAL.6 CLKVAL.5 CLKVAL.4 CLKVAL.3 CLKVAL.2 CLKVAL.1 CLKVAL.0 Auto Clock Control 2B ACKLM.2 ACKLM.1 ACKLM.0 Register AGC Mode Control 2C CLKMANE LAGC.2 CLKVAL. CLKVAL. 17 16 LAGC.1 LAGC.0 Chroma Gain Control 1 2D CAGT.1 CAGT.0 Chroma Gain Control 2 2E CMG.7 CMG.6 Luma Gain Control 1 2F LAGT.1 LAGT.0 Luma Gain Control 2 30 LMG.7 LMG.6 Manual Gain Shadow Control 1 31 SGUE Manual Gain Shadow Control 2 32 LMGS.7 Misc Gain Control 33 Hsync Position Control 1 34 HSB.9 HSB.8 HSE.9 HSE.8 Hsync Position Control 2 35 HSB.7 HSB.6 HSB.5 Hsync Position Control 3 36 HSE.7 HSE.6 Polarity Control 37 PHS PHVR Resample Control 44 Reserved F1 Reserved F2 REV. 0 LMGS.6 CAGC.1 CAGC.0 CMG.11 CMG.10 CMG.9 CMG.8 CMG.3 CMG.2 CMG.1 CMG.0 LMG.11 LMG.10 LMG.9 LMG.8 LMG.3 LMG.2 LMG.1 LMG.0 LMGS.11 LMGS.10 LMGS.9 LMGS.8 LMGS.4 LMGS.3 LMGS.2 LMGS.1 LMGS.10 MIRE.2 MIRE.1 MIRE.0 AV_AL PW_UPD HSB.4 HSB.3 HSB.2 HSB.1 HSB.0 HSE.5 HSE.4 HSE.3 HSE.2 HSE.1 HSE.0 PVS PLLCR PF PDV PFF PCLK CMG.5 LMG.5 LMGS.5 CKE FSC_INV –21– CMG.4 LMG.4 ADV7183 Table V. Input Control Register (Subaddress 00) Bit Description 1 INSEL[3:0] VID_SEL[3:0] 5 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 1 1 1 1 1 0 1 1 1 1 0 0 0 0 1 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 Bit 2 0 0 0 0 1 1 1 1 0 0 0 Bit 1 0 0 1 1 0 0 1 1 0 0 1 Bit 0 0 1 0 1 0 1 0 1 0 1 0 Register Setting 2 CVBS In on AIN1 CVBS In on AIN2 CVBS In on AIN3 CVBS In on AIN4 CVBS In on AIN5 CVBS In on AIN6 Y on AIN1, C on AIN4 3 Y on AIN2, C on AIN5 Y on AIN3, C on AIN6 4 Y on AIN1, U on AIN4, V on AIN5 Y on AIN2, U on AIN3, V on AIN6 Auto Detect PAL (BGHID), NTSC without Pedestal Auto Detect PAL (BGHID), NTSC (M) with Pedestal Auto Detect PAL (N), NTSC (M) without Pedestal Auto Detect PAL (N), NTSC (M) with Pedestal NTSC (M) without Pedestal NTSC (M) with Pedestal NTSC 4.43 without Pedestal NTSC 4.43 with Pedestal PAL BGHID without Pedestal PAL N with Pedestal PAL M without Pedestal PAL M with Pedestal PAL Combination N PAL Combination N with Pedestal NOTES 1 Allows the user to select an input channel as well as the input format. 2 Composite 3 S-Video 4 YUV 5 Allows the user to select the input video standard. Table VI. Video Selection Register (Subaddress 01) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 Broadcast Quality VID_QUAL[1:0]1 0 1 TV Quality 1 0 VCR Quality 1 1 Surveillance Quality 0 Standard Mode SQPE2 1 Enable Square Pixel Mode 0 Single-Ended Inputs DIFFIN3 1 Differential Inputs 0 Standard Video Operation FFSC4 1 Select 4 FSC Mode5 BETACAM 0 Standard Video Input 1 Betacam Input Enable RESERVED 0 Set to Zero 1 INSEL change will not cause reacquire. ASE6 0 INSEL change will trigger reacquire. NOTES 1 Allows the user to influence the time constant of the system depending on the input video quality. 2 Allows the user to enable/disable the square pixel operation. 3 Allows the user to select a differential input mode for every entry in the INSEL[3:0] table. 4 4 FSC Mode. Allows the selection of a special NTSC mode where the data is resampled to 4 F SC sampling rate. As a result the LLC will operate at a 4 F SC rate as well. Only valid for NTSC input. 5 NTSC only 6 Automatic Startup Enable. When set a change in the INSEL register will automatically be detected and lead the device to enter a video reacquire mode. May be disabled for genlocked video sources. –22– REV. 0 ADV7183 Table VII. Video Enhancement Control Register (Subaddress 02) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 0 YPM[2:0]1 C = 4.5 dB, S = 9.25 dB2 0 0 1 C = 4.5 dB, S = 9.25 dB3 0 1 0 C = 4.5 dB, S = 5.75 dB 0 1 1 C = 1.25 dB, S = 3.3 dB 1 0 0 No Change; C = 0, S = 0 1 0 1 C = –1.25 dB, S = –3 dB 1 1 0 C = –1.75 dB, S = –8 dB 1 1 1 C = –3.0 dB, S = –8 dB 0 0 No Coring COR[1:0]4 0 1 Truncate if Y < black + 8 1 0 Truncate if Y < black + 16 1 1 Truncate if Y < black + 32 RESERVED 0 0 0 Set to Zero NOTES 1 Y Peaking Filter Mode. Allows the user to boost/attenuate luma signals around the color subcarrier frequency. Used to enhance the picture and improve the contrast. 2 C = Composite (2.6 MHz) 3 S = S-Video (3.75 MHz) 4 Coring Selection. Controls optional coring of the Y output signal depending on its level. Table VIII. Output Control Register (Subaddress 03) Bit Description 1 OM_SEL[1:0] OF_SEL[3:0] TOD 3 VBI_EN 4 2 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 1 0 1 Bit 0 0 1 0 1 Register Setting LLC-Compatible SCAPI Mode CAPI Mode Not Valid Setting 16-bit @ LLC2 4:2:2 CCIR656 8-bit @ LLC 4:2:2 CCIR656 12-bit @ LLC2 4:1:1 Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Drivers Dependent on OE Pin Drivers Three-Stated Regardless of OE Pin All Lines Filtered and Scaled Active Video Region Only NOTES 1 Output Mode Selection. Selects the output mode as in the timing and interface type. 2 Allows the user to choose from a set of output formats. 3 Three-State Output Drivers. Allows the user to three-state the output drivers regardless of the state of the OE pin. 4 Allows VBI data (lines 1 to 21) to be passed through with only a minimum amount of filtering performed. REV. 0 –23– ADV7183 Table IX. Extended Output Control Register (Subaddress 04) Bit Description 1 RANGE RESERVED DDOS[2:0] 2 4 BT656-4 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 1 1 1 0 0 0 0 0 1 Register Setting CCIR-Compliant Fill Whole Accessible Range 3 No Additional Data BT656-3-Compatible BT656-4-Compatible NOTES 1 Allows the user to select the range of output values. Can be CCIR601-compliant or fill the whole accessible number range. 2 D Data Output Selection. If the 100-pin package is used, the 12 additional pins can output additional data. 3 12 Pins Three-State 4 Allows the user to select an output mode that is compatible with BT656-4 or BT656-3. Table X. General-Purpose Output Register (Subaddress 05) Bit Description GPO[3:0] GPEL 1 2 GPEH 3 BL_C_VBI HL_EN 4 5 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 0 0 User Programmable HD Test Pattern Off 0 GPO[1:0] Three-Stated 1 GPO[1:0] Enabled 0 GPO[3:2] Three-Stated 1 GPO[3:2] Enabled 0 Decode and Output Color During VBI 1 Blank Cr and Cb Data During VBI 0 GPO[0] Pin Function6 1 GPO[0] Shows HLOCK Status6 NOTES 1 Pixel Data Valid Off. These general-purpose output pins may be programmed by the user but are only available in selected output modes OF_SEL[3:0] and when the output drivers are enabled using GPEL, GPEH, and HL_Enable bits. 2 General Purpose Enable Low. Enables the output drivers for the general-purpose outputs Bits 0 and 1. 3 General Purpose Enable High. Enables the output drivers for the general-purpose outputs Bits 2 and 3. 4 Blank Chroma During VBI. 5 Hlock Enable. This bit causes the GPO[0] pin to output Hlock instead of GPO[0]. Only available in certain output modes. 6 GPO lower bits must be enabled GPEL. Disabled. Table XI. FIFO Control Register (Subaddress 07) Bit Description 1 FFM[4:0] 2 FR AFR 4 FFST 5 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 1 0 0 0 1 0 1 0 1 Register Setting User Programmable Normal Operation 3 FIFO Reset No Auto Reset Auto Reset Synchronous to CLKIN Synchronous to 27 MHz NOTES 1 FIFO Flag Margin. Allows the user to program the location at which the FIFO flags AEF and AFF. 2 FIFO Reset. Setting this bit will cause the FIFO to reset. 3 Bit is auto cleared. 4 Automatic FIFO Reset. Setting this bit will cause the FIFO to automatically reset at the end of each field of video. 5 FIFO Flag Self Time. Sets whether the FIFO flags AEF, AFF, and HFF are output synchronous to the external CLKIN of the 27 MHz internal clock. Table XII. Contrast Register (Subaddress 08) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting CON[7:0]* 1 0 0 0 0 0 0 0 *Contrast Adjust. This is the user control for contrast adjustment. –24– REV. 0 ADV7183 Table XIII. Saturation Adjust Register (Subaddress 09) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting SAT[7:0]* 0 0 0 0 0 0 0 0 –42 dB 1 0 0 0 0 0 0 0 0 dB 1 1 1 1 1 1 1 1 6 dB *Saturation Adjust. Allows the user to adjust the saturation of color output. Table XIV. Brightness Adjust Register (Subaddress 0A) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting BRI[7:0]* 0 0 0 0 0 0 0 0 0 dB 0 1 1 1 1 1 1 1 3 dB 1 0 0 0 0 0 0 0 –3 dB *Controls the brightness of the video signal. Range = ± 3 dB. Table XV. Hue Adjust Register (Subaddress 0B) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting HUE[7:0]* 0 0 0 0 0 0 0 0 0° 0 1 1 1 1 1 1 1 90° 1 0 0 0 0 0 0 0 –90° *Contains the value for the color hue adjustment. Range = ± 90°. Table XVI. Default Value Y Register (Subaddress 0C) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 DEF_ VAL_ EN1 Use Programmed Value2 1 Use Default Value DEF_ VAL_ 0 Use Programmed Value4 AUTO_EN3 1 Use Default Value 0 0 0 1 0 0 DEF_Y[5:0]5 NOTES 1 Default Value Enable 2 Y, Cr, and Cb Values 3 Default Value Auto-Enable. In the case of lost lock enables/disables default values. 4 When lock is lost. 5 Default Value Y. Holds the Y default value. Table XVII. Default Value C Register (Subaddress 0D) Bit Description DEF_C[7:0]* Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 1 0 0 0 Cr[7:0] = {DEF_C[7:4], 0, 0, 0, 0} 1 0 0 0 Cb[7:0] = {DEF_C[3:0], 0, 0, 0, 0} *Default Value C. Cr and Cb default values are defined in this register. REV. 0 –25– ADV7183 Table XVIII. Temporal Decimation Register (Subaddress 0E) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 Disabled TDE1 1 Enabled 0 0 Suppress Frames; Start with Even Field TDC[1:0]2 0 1 Suppress Frames; Start with Odd Field 1 0 Suppress Even Fields Only 1 1 Suppress Odd Fields Only 0 0 0 0 Skip None TDR[3:0]3 0 0 0 1 Skip 1 Field/Frame 0 0 1 0 Skip 2 Fields/Frames 0 0 1 1 Skip 3 Fields/Frames 0 1 0 0 Skip 4 Fields/Frames 0 1 0 1 Skip 5 Fields/Frames 0 1 1 0 Skip 6 Fields/Frames 0 1 1 1 Skip 7 Fields/Frames 1 0 0 0 Skip 8 Fields/Frames 1 0 0 1 Skip 9 Fields/Frames 1 0 1 0 Skip 10 Fields/Frames 1 0 1 1 Skip 11 Fields/Frames 1 1 0 0 Skip 12 Fields/Frames 1 1 0 1 Skip 13 Fields/Frames 1 1 1 0 Skip 14 Fields/Frames 1 1 1 1 Skip 15 Fields/Frames RESERVED 0 Set to Zero NOTES 1 Temporal Decimation Enable. Allows the user to enable/disable the temporal function. Configured using TDC[1:0] and TDR[3:0]. 2 Temporal Decimation Control. Allows the user to select the suppression of selected fields of video. 3 Temporal Decimation Rate. Specifies how many fields/frames to be skipped before a valid one is output. As specified in the TDC[1:0] register. Table XIX. Power Management Register (Subaddress 0F) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 Full Operation PSC[1:0]1 0 1 CVBS Input Only 1 0 Digital Only 1 1 Power Save Mode 0 Power-Down Controller by Pin PDBP2 1 Power-Down Controller by Bit 0 Reference Functional PS_REF3 1 Reference in Power Save Mode 0 Clock Generator Functional PS_CG4 1 CG in Power Save Mode 0 System Functional PWRDN 5 1 Power-Down 0 Normal Operation TRAQ6 1 Require Video Signal 0 RESET7 1 Resets Digital Core and I2C NOTES 1 Power Save Control. Allows a set of different power save modes to be selected. 2 Power Down Bit Priority. There are two ways to shut down the digital core; the Power-Down Bit sets which has higher priority. 3 Power Save Reference. Allows the user to enable/disable the internal analog reference. 4 Power Save for the LLC Clock Generator 5 Power Down. Disables the input pads and powers down the 27 MHz clock. 6 Timing Reacquire. Will cause the part to reaquire the video signal and is the software version of the ISO pin. If bit is set will clear itself on the next 27 MHz clock cycle. 7 Resets Digital Core and I 2C self-clearing bit. –26– REV. 0 ADV7183 Table XX. Status Register1 (Subaddress 10) Bit Description 2 STATUS[7:0] Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Register Setting In Lock (current) Lost Lock (since last read) FSC Locked (current) 50 Hz Field Rate Auto Detected ADC Underflow Detected ADC Overflow Detected White Peak Active Color Kill Active NOTES 1 Read only 2 Provides information about the internal status of the decoder. Table XXI. Info Register1 (Subaddress 11) Bit Description 2 IDENT[7:0] Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting X X X X X X X X 0 = v85a, 3 = v85b, 4 = v85b3, 5 = v85b3 NOTES 1 Read only 2 Provides identification on the revision of the part. Table XXII. Analog Control Internal Register (Subaddress 13) Bit Description TIM_OE * RESERVED Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 1 0 1 0 0 0 1 1 Register Setting Dependent on OE and TOD HS, VS, F Forced Active Set at Default Value *Timing Signals Output. Enables the user to force the output drivers for H-SYNC,V-SYNC, and Field into an active state regardless of the OE pin and TOD bit. Table XXIII. Analog Clamp Control Register (Subaddress 14) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 I On for 16 Clock Cycles FICL[1:0]1 0 1 I On for 32 Clock Cycles 1 0 I On for 64 Clock Cycles 1 1 I On for 128 Clock Cycles 0 0 I On for 16 Clock Cycles FACL[1:0]2 0 1 I On for 32 Clock Cycles 1 0 I On for 64 Clock Cycles 1 1 I On for 128 Clock Cycles 0 I Sources Switched Off CCLEN 3 1 I Sources Enabled 0 Voltage Clamp Disabled VCLEN 4 1 Voltage Clamp Enabled RESERVED 0 0 Set to Zero NOTES 1 Fine Clamp Length. Controls the number of clock cycles for which the slow current is on. 2 Fast Clamp Length. Controls the number of clock cycles for which the fast current is on. 3 Current Clamp Enable. Allows the user to switch off the I sources in the analog front end. 4 Voltage Clamp Enable. Allows the user to disable the voltage clamp circuitry. REV. 0 –27– ADV7183 Table XXIV. Digital Clamp Control 1 Register (Subaddress 15) Bit Description 1 DCCO[11:8] DCFE 2 DCT[1:0] 3 DCCM[7:0] 4 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting X X X X Only applicable if DCCM is set to manual offset mode. 0 Digital Clamp Operational 1 Digital Clamp Frozen 0 0 Slow (TC = 1 second) 0 1 Medium (TC = 0.5 second) 1 0 Fast (TC = 0.1 second) 1 1 Dependent on VID_QUAL 0 Automatic Digital Clamp 1 Manual Offset Correction5 NOTES 1 Digital Color Clamp Offset. Holds upper 4 bits of the digital offset value which is added to the raw data from the ADC before entering the core. 2 Digital Clamp Freeze Enable. Allows the user to freeze the digital clamp loop at any point in time. 3 Digital Clamp Timing. Determines the time constant of the digital clamping circuitry. 4 Digital Color Clamp Mode. Sets the mode of operation for the digital clamp circuitry. Offset correction via DCCO for C only. 5 Offset Correction via DCCO for C only. Table XXV. Digital Clamp Control 2 Register (Subaddress 16) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting DCCO[7:0]* X X X X X X X X *Digital Color Clamp Offset. Holds the lower 8 bits of the digital offset value which is added to the raw data from the ADC before entering the core. Only applicable if DCCM is set to manual offset mode. Table XXVI. Shaping Filter Control Register (Subaddress 17) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 0 0 0 Auto Wide Notch YSFM[4:0]1 0 0 0 0 1 Auto Narrow Notch 0 0 0 1 0 SVHS 1 – – – – – – 1 0 0 1 0 SVHS 17 1 0 0 1 1 PAL NN1 1 0 1 0 0 PAL NN2 1 0 1 0 1 PAL NN3 1 0 1 1 0 PAL WN 1 1 0 1 1 1 PAL WN 2 1 1 0 0 0 NTSC NN1 1 1 0 0 1 NTSC NN2 1 1 0 1 0 NTSC NN3 1 1 0 1 1 NTSC WN1 1 1 1 0 0 NTSC WN2 1 1 1 0 1 NTSC WN3 1 1 1 1 0 Not Used 1 1 1 1 1 SVHS 18 0 0 0 Auto Selection 1.5 MHz CSFM[2:0]2 0 0 1 Auto Selection 2.17 MHz 0 1 0 SH1 – – – – 1 1 0 SH5 1 1 1 SH6 NOTES 1 Y Shaping Filter Mode. Allows the user to select a wide range of low-pass and notch filters. 2 C Shaping Filter Mode. Allows the selection from a range of low-pass chrominance filters. Auto = filter selected based on scaling factor. –28– REV. 0 ADV7183 Table XXVII. Comb Filter Control Register (Subaddress 19) Bit Description RESERVED 1 CCM[1:0] CCMB_AD 2 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 0 0 0 0 0 1 1 0 1 Bit 2 Bit 1 Bit 0 0 0 0 1 0 1 Register Setting Set to Zero No Comb 1H 2H Not Valid, Do Not Use Chroma Comb Nonadaptive Chroma Comb Adaptive NOTES 1 Chroma Comb Mode. Selects a primary mode for the filter. 2 Chroma Comb Adaptive Table XXVIII. Color Subcarrier Control 1 Register (Subaddress 23) Bit Description 1 CSMF[27:24] 2 CSM RESERVED Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 X X X X 0 1 1 1 1 Register Setting Manual FSC Disabled User Defined FSC 3 Set to One NOTES 1 Color Subcarrier Manual Frequency. Holds the value used to enable the user to support odd subcarrier frequencies. 2 Color Subcarrier Manual 3 Defined in CSFM[27:0] Table XXIX. Color Subcarrier Control 2 Register (Subaddress 24) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting CSMF[23:16]* X X X X X X X X *Color Subcarrier Manual Frequency. Holds the value used to enable the user to support odd subcarrier frequencies. Table XXX. Color Subcarrier Control 3 Register (Subaddress 25) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting CSMF[15:8]* X X X X X X X X *Color Subcarrier Manual Frequency. Holds the value used to enable the user to support odd subcarrier frequencies. Table XXXI. Color Subcarrier Control 4 Register (Subaddress 26) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting CSMF[7:0]* X X X X X X X X *Color Subcarrier Manual Frequency. Holds the value used to enable the user to support odd subcarrier frequencies. REV. 0 –29– ADV7183 Table XXXII. Pixel Delay Control Register (Subaddress 27) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting RESERVED 0 0 0 Set to Zero 0 0 0 Not Valid CTA[2:0]1 0 0 1 Chroma + 2 Pixel (Early) 0 1 0 Chroma + 1 Pixel (Early) 0 1 1 No Delay 1 0 0 Chroma – 1 Pixel (Late) 1 0 1 Chroma – 2 Pixel (Late) 1 1 0 Chroma – 3 Pixel (Late) 1 1 1 Not Valid RESERVED 1 Set to One 0 No Swapping SWPC2 1 Swap the Cr and Cb Values NOTES 1 Chroma Timing Adjust. Allows a specified timing difference between the luma and chroma samples. 2 Allows the Cr and Cb samples to be swapped. Table XXXIII. Manual Clock Control 1 Register (Subaddress 28) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting X X CLKVAL[17:16]1 RESERVED 1 1 1 1 Set to Default 0 Output Frequency Set by Video CLKMANE 2 1 Frequency Set by CLKVAL[17:0] 0 Output Frequency Set by Clock Generator FIX27E3 1 Output 27 MHz Fixed NOTES 1 If enabled via CLKMANE, CLKVAL[17:0] determines the fixed output frequency. On the LLC, LLC2, and LLCREF pins. 2 Clock Generator Manual Enable. Allows the analog clock generator to produce a fixed clock frequency that is not dependent on the video signal. 3 Allows the o/p of fixed 27 MHz crystal clock via LLC, LLC2, and LLCR EF o/p pins. Table XXXIV. Manual Clock Control 2 Register (Subaddress 29) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting CLKVAL[15:8]* X X X X X X X X *If enabled via CLKMANE, CLKVAL[17:0] determines the fixed output frequency. On the LLC, LLC2, and LLCREF pins. Table XXXV. Manual Clock Control 3 Register (Subaddress 2A) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting CLKVAL[7:0]* X X X X X X X X *If enabled via CLKMANE, CLKVAL[17:0] determines the fixed output frequency. On the LLC, LLC2, and LLCREF pins. –30– REV. 0 ADV7183 Table XXXVI. Auto Clock Control Register (Subaddress 2B) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting RESERVED 0 0 0 0 0 Set to Zero ACLKN[2:0]* 0 0 0 Color Burst Line 0 0 1 Start Line 24 Color Burst Line 0 1 0 Active Video 0 1 1 Active Video (<304) PAL, (<264) NTSC 1 0 0 Active Video (<304) PAL, (<256) NTSC 1 0 1 Active Video (<319/320) PAL, (<273/274) NTSC 1 1 1 1 0 1 Invalid Invalid *Automatic Clock Generator Mode. Influences the mode of operation for the LLC. Only when not in Manual Mode. Table XXXVII. AGC Mode Control Register (Subaddress 2C) Bit Description 1 CAGC[1:0] RESERVED LAGC[2:0] 2 RESERVED Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 0 0 1 1 1 1 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 1 1 0 1 1 1 0 1 Bit 0 0 1 0 1 1 Register Setting Manual Fixed Gain; use CMG [11:0] Use Luma Gain for Chroma Automatic Gain; Based on Color Burst Freeze Chroma Gain Set to One 3 Manual Fixed Gain AGC No Override through White Peak; Manual IRE Control 4 AGC Auto Override through White Peak; Manual 4 IRE Control AGC No Override through White Peak; Manual IRE Control 4 AGC Auto Override through White Peak; Manual IRE Control 4 AGC Active Video with White Peak AGC Active Video with Average Video Freeze Gain Set to One NOTES 1 Chroma Automatic Gain Control. Selects the basic mode of operation for the AGC in the chroma path. 2 Luma Automatic Gain Control. Selects the mode of operation for the gain control in the luma path. 3 Use LMG[11:0]. 4 Blank level to sync tip. Table XXXVIII. Chroma Gain Control 1 Register (Subaddress 2D) Bit Description 1 CMG[11:8] RESERVED 2 CAGT[1:0] Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 X X X X 1 1 0 0 0 1 1 0 1 1 Register Setting Set to One Slow (TC = 2 sec) Medium (TC = 1 sec) Fast (TC = 0.2 sec) Dependent on VID_QUAL NOTES 1 Chroma Manual Gain. Can be used to program a desired manual chroma gain or read back the actual used gain value. CAGC[1:0] settings will decide in which mode CMG[11:0] will operate. 2 Chroma Automatic Gain Timing. Allows adjustment of the Chroma AGC tracking speed. Will only have effect if CAGC[1:0] is set to auto gain (10b). Table XXXIX. Chroma Gain Control 2 Register (Subaddress 2E) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting CMG[7:0]* X X X X X X X X *Chroma Manual Gain. Lower 8 bits, see CMG [11:8] for description. REV. 0 –31– ADV7183 Table XL. Luma Gain Control 1 Register (Subaddress 2F) Bit Description 1 LMG[11:8] RESERVED 2 LAGT[1:0] Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 X X X X 1 1 0 0 0 1 1 0 1 1 Register Setting Set to One Slow (TC = 2 sec) Medium (TC = 1 sec) Fast (TC = 0.2 sec) Dependent on VID_QUAL NOTES 1 Luma Manual Gain. Can be used to program a desired manual chroma gain or read back the actual used gain value. LAGC[1:0] settings will decide in which mode LMG[11:0] will operate. 2 Luma Automatic Gain Timing. Allows adjustment of the Luma AGC tracking speed. Will only have effect if LAGC[1:0] is set to auto gain (001, 010, 001, or 100). Table XLI. Luma Gain Control 2 Register (Subaddress 30) Bit Description LMG[7:0] * Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting LAGC [1:0] Settings Will Decide What X X X X X X X X Mode LMG [11:0] Operates In. *Luma Manual Gain. Can be used to program a desired manual chroma gain or read back the actual used gain value. Table XLII. Manual Gain Shadow Control 1 Register (Subaddress 31) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting X X X X LMGS[11:8]1 RESERVED 1 1 1 Set to One 0 Disable LMGS Update SGUE 2 1 Use LMGS Update Facility NOTES 1 Luma Manual Gain Store. Has dual functions; a desired manual luma gain can be programmed or a readback from the register will return the actual gain used. Gain value will only become active when LAGC[2:0] set to manual fixed gain. The function and readback value are dependent on LAGC[2:0] setting. 2 Surveillance Gain Update Enable. Enables surveillance mode operation (see LMGS[11:0] for details). Table XLIII. Manual Gain Shadow Control 2 Register (Subaddress 32) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting LMG[7:0]* X X X X X X X X *Chroma Manual Gain. Lower 8 bits, see LMG[11:8] for description. –32– REV. 0 ADV7183 Table XLIV. Miscellaneous Gain Control Register (Subaddress 33) Bit Description 1 PW_UPD AV_AL 2 MIRE[2:0] 3 RESERVED CKE 4 RESERVED Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 1 0 1 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 1 0 1 1 Register Setting Update Gain Once per Line Update Gain Once per Field Lines 33 to 310 Lines 33 to 270 PAL-133 NTSC-122 PAL-125 NTSC-115 PAL-120 NTSC-110 PAL-115 NTSC-105 PAL-110 NTSC-100 PAL-105 NTSC-100 PAL-100 NTSC-100 PAL-100 NTSC-100 Set to One Color Kill Disabled Color Kill Enabled Set to One NOTES 1 Peak White Update. Determines the gain based on measurements taken from the active video; this bit determines the rate of gain change. LAGC[1:0] must be set to the appropriate mode to enable peak white or average video in the first case. 2 Average Brightness Active Lines. Allows the selection between two ranges of active video to determine the average brightness. 3 Max IRE. Sets the max I/p IRE level depending on the video standard. 4 Color Kill Enable. Allows the optional color kill function to be switched on or off. Table XLV. HSync Position Control 1 Register (Subaddress 34) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting RESERVED 1 1 1 1 Set to One 0 0 HSync ends after HSE[9:0] pixel after falling edge HSE[9:8]1 of HSync. 0 0 HSync starts after HSB[9:0] pixel after the falling HSB[9:8]2 edge of HSync. NOTES 1 HSync End. Allows the positioning of the HSync output within the video line. 2 HSync Begin. Allows the positioning of HSync output within the video line. Table XLVI. HSync Position Control 2 Register (Subaddress 35) Bit Description HSB[7:0] 1 1 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 0 0 0 0 0 1 Using HSB[9:0] and HSE[9:0] the user can program the position and length of HSync output signal. Table XLVII. HSync Position Control 3 Register (Subaddress 36) Bit Description HSE[7:0] 1 1 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 0 0 0 0 0 1 Using HSB[9:0] and HSE[9:0] the user can program the position and length of HSync output signal. REV. 0 –33– ADV7183 Table XLVIII. Polarity Register (Subaddress 37) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 Active High PCLK 1 1 Active Low 0 Active High PFF2 1 Active Low 0 Active High PDV3 1 Active Low 0 Active High PF4 1 Active Low 0 Active High PLLCR 5 1 Active Low 0 Active High PVS6 1 Active Low 0 Active High PHVR7 1 Active Low 0 Active High PHS8 1 Active Low NOTES 1 Sets the polarity of LLC, LLC2, and QClk. 2 Sets the polarity of HFF, AEF, and AFF. 3 Sets the polarity for Data Field. 4 Sets the field sync polarity. 5 Sets the LLCREF polarity. 6 Sets the VSync polarity. 7 Sets the HREF and VREF sync polarities. 8 Sets HSync Polarity. –34– REV. 0 ADV7183 Table XLIX. Resample Control Register (Subaddress 44) Bit Description RESERVED FSC_INV * Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 1 X 0 RESERVED 0 1 Register Setting Set to Default NB No Default Value < v85c Compatible with ADV7190, ADV7191, and ADV7194 Compatible with ADV717x Set to Zero *Color Subcarrier RTCO Inversion. Allows the inversion of the GL bit. Table L. Reserved (Subaddress 45) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting Reserved 0 0 1 X X 0 1 1 Default Values Functions 1 0 1 1 1 0 1 1 Set to These Values Table LI. Reserved (Subaddress F1) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting Reserved 1 1 1 1 0 1 1 X Default Values Functions 1 1 1 0 1 1 1 1 Set to These Values Table LII. Reserved (Subaddress F2) Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting Reserved 1 0 0 1 1 1 0 X Default Values Functions 1 0 0 0 0 0 0 0 Set to These Values REV. 0 –35– ADV7183 Table LIII. Power-On Reset Values for MPU Registers Register Addr (Hex) Default (Hex) BASIC BLOCK Input Control Video Selection Video Enhancement Control Output Control Extended Output Control General-Purpose Output Reserved FIFO Control Contrast Control Saturation Control Brightness Control Hue Control Default Value Y Default Value C Temporal Decimation Power Management Status Register Info Register 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 00 80 04 0C 0C 40 XX 04 80 80 0 0 10 88 00 00 – – Register Addr (Hex) Default (Hex) ADVANCED BLOCK Reserved Analog Control (Internal) Analog Clamp Control Digital Clamp Control 1 Digital Clamp Control 2 Shaping Filter Control Reserved Comb Filter Control Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Color Subcarrier Control 1 Color Subcarrier Control 2 Color Subcarrier Control 3 Color Subcarrier Control 4 Pixel Delay Control Manual Clock Control 1 Manual Clock Control 2 Manual Clock Control 3 Auto Clock Control . AGC Mode Control Chroma Gain Control 1 Chroma Gain Control 2 Luma Gain Control 1 Luma Gain Control 2 Manual Gain Shadow Control 1 Manual Gain Shadow Control 2 Miscellaneous Gain Control Hsync Position Control 1 Hsync Position Control 2 Hsync Position Control 3 Polarity Control Reserved Reserved Reserved Reserved 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 44 45 F1 F2 XX 45 18 6X XX 01 XX 10 XX XX XX XX XX XX XX XX XX EX XX XX XX 58 XX XX XX A0 CE FX XX FX XX 7X XX E3 0F 01 00 00 X1 XX FX 9X –36– REV. 0 ADV7183 Appendix BOARD DESIGN AND LAYOUT CONSIDERATIONS Supply Decoupling The ADV7183 is a highly integrated circuit containing both precision analog and high-speed digital circuitry. It has been designed to minimize interference effects on the integrity of the analog circuitry by the high-speed digital circuitry. It is imperative that these same design and layout techniques be applied to the system level design such that high speed and accurate performance are achieved. Figure 30 shows the recommended analog circuit layout. For optimum performance, bypass capacitors should be installed using the shortest leads possible, consistent with reliable operation, to reduce the lead inductance. Best performance is obtained with 0.1 µF ceramic capacitor decoupling. Each group of power pins on the ADV71783 must have at least one 0.1 µF decoupling capacitor to its corresponding ground. These capacitors should be placed as close as possible to the device. The layout should be optimized for lowest noise on the ADV7183 power and ground lines by shielding the digital inputs and providing good decoupling. The lead length between groups of VDD and GND pins should be minimized to reduce inductive ringing. It is important to note that while the ADV7183 contains circuitry to reject power supply noise, this rejection decreases with frequency. If a high-frequency switching power supply is used, the designer should pay close attention to reducing power supply noise and consider using a three-terminal voltage regulator for supplying power to the analog power plane. Ground Planes The ground plane should be split into two, one analog and one digital. They should be joined directly under the ADV7183. The analog ground return path should be through the digital (the digital ground is connected to the analog ground and also the system ground, whereas the analog ground is only connected to the digital ground; this will ensure only analog current will flow in the analog ground). Digital Signal Interconnect The digital inputs and outputs to and from the ADV7183 should be isolated as much as possible from the analog inputs and other analog circuitry. Also, these input signals should not overlay the analog power plane. Due to the high clock rates involved, long clock lines to and from the ADV7183 should be avoided to reduce noise pickup. Any series termination resistors (typically 33Ω) for the digital inputs should be connected to the high-speed digital outputs. Power Planes The ADV7183 and any associated analog circuitry should have its own power planes, referred to as the analog and digital power planes. These power planes should be connected to the regular PCB power plane (VCC) at a single point through a ferrite bead. This bead should be located within three inches of the ADV7183. Analog Signal Interconnect The ADV7183 should be located as close as possible to the input connectors to minimize noise pickup and reflections due to impedance mismatch. The PCB power plane should provide power to all digital logic on the PC board and the digital power pins on the ADV7183, and the analog power plane should provide power to all analog power pins on the ADV7183. Plane-to-plane noise coupling can be reduced by ensuring that portions of the regular PCB power and ground planes do not overlay portions of the analog power plane, unless they can be arranged so the plane-to-plane noise is common-mode. REV. 0 The video input signals should overlay the ground plane, and not the analog power plane, to maximize the high-frequency power supply rejection. Digital outputs, especially pixel data Inputs and clocking signals, should never overlay any of the analog signal circuitry and should be kept as far away as possible. The ADV7183 should have no inputs left floating. Any inputs that are not required should be tied to ground. –37– ADV7183 FERRITE BEAD AVDD 33F 0.1F 10F AVSS 0.01F AVSS AVSS AVSS FERRITE BEAD AVSS DVSS DVDD 33F 10F DVSS 0.1F DVSS DVDDIO DVDD 100nF 100nF AIN1 AVSS1 100nF AIN2 AVSS2 AIN1 AIN2 AIN3 AIN3 AVSS3 AIN4 100nF AIN4 AVSS4 AIN5 100nF AIN5 100nF AIN6 AVSS POWER SUPPLY DECOUPLING FOR EACH POWER PIN AVSS AVSS INPUT SWITCH OVER AVSS AVSS DVSS AVDD DVSS POWER SUPPLY DECOUPLING FOR EACH POWER PIN P0 P1 P2 P3 P4 P5 P6 P7 AVSS5 P8 P9 AIN6 AVSS6 P10 P11 MULTIFORMAT PIXEL PORT* P12 P13 P14 AVSS ISO 0.1F CAP Y1 0.1F 10F 0.01F P15 GPO0 GPO1 GPO2 0.1F CAP Y2 AVSS AVSS 0.1F GPO3 LLC LLC2 LLCREF 27MHz OUTPUT CLOCK 13.5MHz OUTPUT CLOCK AEF AFF ALMOST EMPTY FIFO O/P CLOCK REFERENCE O/P CAP C1 0.1F 10F 0.1F CAP C2 RD AVSS AVSS CML OE DV GL/QCLK/HFF ALMOST FULL FIFO O/P READ SIGNAL I/P OUTPUT ENABLE I/P DATA VALID O/P FIFO MANAGEMENT SIGNALS ONLY USED IN FIFO MODE; USE LLC AND GENLOCK FOR NON-FIFO MODE GL/QCLK/HFF O/P 0.1F REFOUT 10F DVDD PWRDN POWER-DOWN INPUT 0.1F HS/RESET VS/RESET FIELD AVSS XTAL 33F HS/RESET O/P VS/RESET O/P FIELD O/P ELPF 5.6k⍀ 27MHz DVSS DVSS 68pF 2nF XTAL1 33F AVDD DVDD 2k⍀ DVDD DVSS ALSB 2k⍀ I2C INTERFACE CONTROL LINE 100R I2C INTERFACE 100R SCLK SDA CONTROL LINE RESET 4.7k⍀ DVDD 100nF RESET *P15–P8: 8-BIT CCIR656 PIXEL DATA @ 27MHz P7–P0: Cb AND Cr 16-BIT CCIR656 PIXEL DATA @ 13.5MHz P15–P8: Y1 AND Y2 16-BIT CCIR656 PIXEL DATA @ 13.5MHz DVSS Figure 30. Recommended Analog Circuit Layout –38– REV. 0 ADV7183 OUTLINE DIMENSIONS Dimensions shown in millimeters and (inches) 80-Lead Thin Plastic Quad Flatpack [LQFP] (ST-80) 16.25 (0.6398) SQ 15.75 (0.6201) 1.60 (0.0630) MAX 0.75 (0.0295) 0.50 (0.0197) 14.05 (0.5532) SQ 13.95 (0.5492) 80 1 61 60 SEATING PLANE 12.35 (0.4862) TYP SQ TOP VIEW (PINS DOWN) COPLANARITY 0.10 (0.0039) MAX 0.15 (0.0059) 0.05 (0.0020) 1.45 (0.0571) 1.35 (0.0531) 41 40 20 21 0.73 (0.0287) 0.57 (0.0224) 0.35 (0.0138) 0.25 (0.0098) CONTROLLING DIMENSIONS ARE IN MILLIMETERS; INCH DIMENSIONS (IN PARENTHESES) ARE ROUNDED-OFF MILLIMETER EQUIVALENTS FOR REFERENCE ONLY AND ARE NOT APPROPRIATE FOR USE IN DESIGN REV. 0 –39– PRINTED IN U.S.A. C01682–0–5/02(0) ADV7183 –40– This datasheet has been download from: www.datasheetcatalog.com Datasheets for electronics components.