0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
TVP7002PZPR

TVP7002PZPR

  • 厂商:

    BURR-BROWN(德州仪器)

  • 封装:

    TQFP100_EP

  • 描述:

    IC VIDEO/GRAPHICS DIG 100HTQFP

  • 数据手册
  • 价格&库存
TVP7002PZPR 数据手册
TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 TRIPLE 8-/10-BIT 165-/110-MSPS VIDEO AND GRAPHICS DIGITIZER WITH HORIZONTAL PLL Check for Samples: TVP7002 FEATURES 1 • 23 • Analog Channels – –6-dB to 6-dB Analog Gain – Analog Input Multiplexers (MUXs) – Automatic Video Clamp – Three Digitizing Channels, Each With Independently Controllable Clamp, Gain, Offset, and Analog-to-Digital Converter (ADC) – Clamping: Selectable Clamping Between Bottom Level and Mid Level – Offset: 1024-Step Programmable RGB or YPbPr Offset Control – Gain: 8-Bit Programmable Gain Control – ADC: 8-/10-Bit 165-/110-MSPS ADC – Automatic Level Control (ALC) Circuit – Composite Sync: Integrated Sync-on-Green Extraction From Green/Luminance Channel – Support for DC- and AC-Coupled Input Signals – Supports Component Video Standards 480i, 576i, 480p, 576p, 720p, 1080i, and 1080p – Supports PC Graphics Inputs up to UXGA – Programmable RGB-to-YCbCr Color Space Conversion Horizontal PLL – Fully Integrated Horizontal PLL for Pixel Clock Generation – 12-MHz to 165-MHz Pixel Clock Generation From HSYNC Input – Adjustable Horizontal PLL Loop Bandwidth for Minimum Jitter – 5-Bit Programmable Subpixel Accurate Positioning of Sampling Phase • • Output Formatter – Supports 20-bit 4:2:2 Outputs With Embedded Syncs – Support for RGB/YCbCr 4:4:4 and YCbCr 4:2:2 Output Modes to Reduce Board Traces – Dedicated DATACLK Output With Programmable Output Polarity for Easy Latching of Output Data System – Industry-Standard Normal/Fast I2C Interface With Register Readback Capability – Space-Saving 100-Pin TQFP Package – Thermally-Enhanced PowerPAD™ Package for Better Heat Dissipation APPLICATIONS • • • • • • • • • • LCD TVs/Monitors/Projectors DLP TVs/Projectors PDP TVs/Monitors LCOS TVs/Monitors PCTV Set-Top Boxes Digital Image Processing Video Capture/Video Editing Scan Rate/Image Resolution Converters Video Conferencing Video/Graphics Digitizing Equipment DESCRIPTION The TVP7002 is a complete solution for digitizing video and graphic signals in RGB or YPbPr color spaces. The device supports pixel rates up to 165 MHz. Therefore, it can be used for PC graphics digitizing up to the VESA standard of UXGA (1600 × 1200) resolution at a 60-Hz screen refresh rate, and in video environments for the digitizing of digital TV formats, including HDTV up to 1080p. 1 2 3 Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet. PowerPAD is a trademark of Texas Instruments. All other trademarks are the property of their respective owners. PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of the Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters. Copyright © 2007–2013, Texas Instruments Incorporated TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com The TVP7002 is powered from 3.3-V and 1.9-V supply and integrates a triple high-performance analog-to-digital (A/D) converter with clamping functions and variable gain, independently programmable for each channel. The clamp timing window is provided by an external pulse or can be generated internally. The TVP7002 includes analog slicing circuitry on the SOG inputs to support sync-on-luminance or sync-on-green extraction. In addition, TVP7002 can extract discrete HSYNC and VSYNC from composite sync using a sync slicer. The TVP7002 also contains a complete horizontal phase-locked loop (PLL) block to generate a pixel clock from the HSYNC input. Pixel clock output frequencies range from 12 MHz to 165 MHz. All programming of the device is done via an industry-standard I2C interface, which supports both reading and writing of register settings. The TVP7002 is available in a space-saving 100-pin TQFP PowerPAD package. Ordering Information (1) PACKAGED DEVICES TA 100-PIN PLASTIC FLATPACK PowerPAD 0°C to 70°C (1) PACKAGE OPTION TVP7002PZP Tray TVP7002PZPR Reel For the most current package and ordering information, see the Package Option Addendum at the end of this document, or see the TI web site at www.ti.com. Functional Block Diagram RIN_1 Clamp Gain and Offset RIN_2 10-bit ADC R[9:0] RIN_3 GIN_1 GIN_2 Gain and Offset GIN_3 GIN_4 BIN_1 Color Space Clamp 10-bit ADC Conversion and 4:4:4 to 4:2:2 Output Formatter G[9:0] Conversion Clamp Gain and Offset BIN_2 BIN_3 10-bit ADC B[9:0] SOGIN_1 SOGIN_2 DATACLK SOGIN_3 SOGOUT HSYNC_A HSOUT HSYNC_B VSOUT VSYNC_A VSYNC_B Timing Processor COAST Clock Generation FIDOUT and CLAMP EXT_CLK FILT1 FILT2 PWDN RESETB SCL SDA Host Interface I2CA 2 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 GIN_2 SOGIN_2 GIN_3 SOGIN_3 GIN_4 A33GND A33VDD A33VDD A33GND NSUB PLL_AGND PLL_F FILT2 FILT1 PLL_AGND PLL_AVDD PLL_AVDD PLL_AGND HSYNC_B HSYNC_A EXT_CLK VSYNC_B VSYNC_A COAST CLAMP Terminal Assignments 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 TVP7002 100-Pin TQFP Package (Top View) SDA SCL I2CA TMS RESETB PWDN DVDD GND IOGND IOVDD R_0 R_1 R_2 R_3 R_4 IOGND R_5 R_6 R_7 R_8 R_9 IOGND IOVDD G_0 G_1 IOVDD IOGND DATACLK B_9 B_8 B_7 B_6 B_5 B_4 B_3 B_2 B_1 B_0 DVDD GND IOVDD IOGND G_9 G_8 G_7 G_6 G_5 G_4 G_3 G_2 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 SOGIN_1 GIN_1 AGND AVDD AGND AVDD AVDD AGND RIN_3 RIN_2 RIN_1 A33GND A33VDD A33VDD A33GND BIN_3 BIN_2 BIN_1 AVDD AGND NSUB FIDOUT VSOUT HSOUT SOGOUT Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 3 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Table 1. Terminal Functions TERMINAL NAME NO. I/O DESCRIPTION Analog Video RIN_1 RIN_2 RIN_3 GIN_1 GIN_2 GIN_3 GIN_4 BIN_1 BIN_2 BIN_3 11 10 9 2 100 98 96 18 17 16 I I I I I I I I I I Analog video input for R/Pr 1 Analog video input for R/Pr 2 Analog video input for R/Pr 3 Analog video input for G/Y 1 Analog video input for G/Y 2 Analog video input for G/Y 3 Analog video input for G/Y 4 Analog video input for B/Pb 1 Analog video input for B/Pb 2 Analog video input for B/Pb 3 The inputs must be ac coupled. The recommended coupling capacitor is 0.1 μF. Unused analog inputs should be connected to ground using a 10-nF capacitor. DATACLK 28 O Data clock output EXT_CLK 80 I External clock input. May be used as a timing reference for the mode detection block instead of the internal clock reference. May also be used as the ADC sample clock instead of the H-PLL generated clock. 55–59, 61–65 43-52 29-38 O O O Digital video output of R/Cr, R[9] is the most significant bit (MSB). Digital video output of G/Y, G[9] is the MSB. Digital video output of B/Cb, B[9] is the MSB. For 4:2:2 mode, multiplexed CbCr data is output on B[9:0]. Unused outputs can be left unconnected. Clock Signals Digital Video R[9:0] G[9:0] B[9:0] Miscellaneous Signals PWDN 70 I Power down input 0 = Normal mode 1 = Power down RESETB 71 I Reset input, active low. Outputs are placed in a high-impedance mode during reset (see Table 11). TMS 72 I Test mode select input, active high. Used to enable scan test mode. For normal operation, connect to ground. FILT1 87 O External filter connection for the horizontal PLL. A 0.1-μF capacitor in series with a 1.5-kΩ resistor should be connected from this pin to pin 89 (see Figure 4). FILT2 88 O External filter connection for the horizontal PLL. A 4.7-nF capacitor should be connected from this pin to pin 89 (see Figure 4). PLL_F 89 I Horizontal PLL filter internal supply connection I2CA 73 I I2C slave address input. The I2C slave address must be configured with an external pullup or pulldown resistor (see Table 10). 0 = Slave address = B8h 1 = Slave address = BAh SCL 74 I I2C clock input SDA 75 I/O Host Interface 4 I2C data bus Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Table 1. Terminal Functions (continued) TERMINAL NAME NO. I/O DESCRIPTION Power Supplies NSUB 21, 91 I Substrate ground. Connect to analog ground. A33VDD 13, 14, 93, 94 I Analog power. Connect to 3.3 V. A33GND 12, 15, 92, 95 I Analog 3.3-V return. Connect to ground. AGND 3, 5, 8, 20 I Analog 1.9-V return. Connect to ground. AVDD 4, 6, 7, 19 I Analog power. Connect to 1.9 V. PLL_AVDD 84, 85 I PLL analog power. Connect to 1.9 V. PLL_AGND 83, 86, 90 I PLL analog power return. Connect to ground. DGND 40, 68 I Digital return. Connect to ground. DVDD 39, 69 I Digital power. Connect to 1.9 V. IOGND 27, 42, 54, 60, 67 I Digital power return. Connect to ground. IOVDD 26, 41, 53, 66 I Digital power. Connect to 3.3 V or less for reduced noise. CLAMP 76 I External clamp input. Unused inputs can be connected to ground. COAST 77 I External PLL COAST signal input. Unused inputs can be connected to ground. VSYNC_A VSYNC_B 78 79 I I Vertical sync input A Vertical sync input B Unused inputs can be connected to ground. HSYNC_A HSYNC_B 81 82 I I Horizontal sync input A Horizontal sync input B Unused inputs can be connected to ground. SOGIN_1 SOGIN_2 SOGIN_3 1 99 97 I I I Sync-on-green input 1 Sync-on-green input 2 Sync-on-green input 3 Unused inputs should be connected to ground using a 1-nF capacitor. FIDOUT 22 O Field ID output. Using register 17h, this pin may also be programmed to be the internal sync processing REFCLK output, coast output, clamp pulse output, or data enable. VSOUT 23 O Vertical sync output HSOUT 24 O Horizontal sync output SOGOUT 25 O Sync-on-green slicer output Sync Signals Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 5 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Absolute Maximum Ratings (1) over operating free-air temperature range (unless otherwise noted) IOVDD to IOGND –0.5 V to 4.5 V DVDD to DGND –0.5 V to 2.3 V PLL_AVDD to PLL_AGND and AVDD to AGND –0.5 V to 2.3 V A33VDD to A33GND –0.5 V to 4.5 V Digital input voltage range VI to DGND –0.5 V to 4.5 V Analog input voltage range AI to A33GND –0.2 V to 2.3 V Digital output voltage range VO to DGND –0.5 V to 4.5 V Supply voltage range TA Operating free-air temperature range Tstg Storage temperature range (1) 0°C to 70°C –65°C to 150°C Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these or any other conditions beyond those indicated under Recommended Operating Conditions is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. Thermal Specifications TEST CONDITIONS (1) PARAMETER MIN TYP MAX UNIT θJA Junction-to-ambient thermal resistance, still air Thermal pad soldered to 4-layer High-K PCB 17.28 °C/W θJC Junction-to-case thermal resistance, still air Thermal pad soldered to 4-layer High-K PCB 0.154 °C/W TJ(MAX) Maximum junction temperature for reliable operation (1) 110 °C Exposed thermal pad must be soldered to JEDEC High-K PCB with adequate ground plane. If split ground planes are used, connect the thermal pad to the digital ground plane. Recommended Operating Conditions MIN NOM MAX 3 3.3 3.6 V Digital supply voltage 1.8 1.9 2 V Analog supply voltage for horizontal PLL 1.8 1.9 2 V AVDD Analog supply voltage 1.8 1.9 2 V A33VDD Analog supply voltage 3 3.3 3.6 V VI(P-P) Analog input voltage (ac coupling necessary) 2 V VIH Digital input voltage high VIL Digital input voltage low IOH High-level output current 2 mA IOL Low-level output current –2 mA IOH_DATACLK DATACLK high-level output current 4 mA IOL_DATACLK DATACLK low-level output current IOVDD Digital I/O supply voltage DVDD PLL_AVDD 0.7 IOVDD 6 V 0.3 IOVDD ADC conversion rate TA 0.5 Operating free-air temperature Submit Documentation Feedback UNIT V –4 mA 12 162 MHz 0 70 °C Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Electrical Characteristics IOVDD = 3.3 V, DVDD = 1.9 V, PLL_AVDD = 1.9 V, AVDD = 1.9 V, A33VDD = 3.3 V, TA = 25°C TEST CONDITIONS (1) PARAMETER TYP (2) TYP (3) UNIT Power Supply IA33VDD 3.3-V supply current 78.75 MHz, BC = 5 67 67 mA IIOVDD 3.3-V supply current 78.75 MHz, BC = 5 21 56 mA IAVDD 1.9-V supply current 78.75 MHz, BC = 5 206 209 mA IPLL_VDD 1.9-V supply current 78.75 MHz, BC = 5 16 16 mA IDVDD 1.9-V supply current 78.75 MHz, BC = 5 30 46 mA PTOT Total power dissipation, normal mode 78.75 MHz, BC = 5 743 893 mW IA33VDD 3.3-V supply current 162 MHz, BC = 8 110 110 mA IIOVDD 3.3-V supply current 162 MHz, BC = 8 35 102 mA IAVDD 1.9-V supply current 162 MHz, BC = 8 275 279 mA IPLL_VDD 1.9-V supply current 162 MHz, BC = 8 22 23 mA IDVDD 1.9-V supply current 162 MHz, BC = 8 56 89 mA PTOT Total power dissipation, normal mode 162 MHz, BC = 8 1112 1403 mW PDOWN Total power dissipation, power-down mode 15 15 mW (1) (2) (3) BC = ADC bias control setting in I2C register, 2Ch SMPTE color bar RGB input pattern used Worst-case vertical line RGB input pattern used Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 7 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Electrical Characteristics IOVDD = 3.3 V, DVDD = 1.9 V, PLL_AVDD = 1.9 V, AVDD = 1.9 V, A33VDD = 3.3 V, TA = 0°C to 70°C (unless otherwise noted) TEST CONDITIONS (1) PARAMETER MIN TYP MAX 1 2 UNIT Analog Interface ZI Input voltage range By design Input impedance, analog video inputs By design 0.5 500 Vpp kΩ 10 pF 500 kΩ Digital Logic Interface CI Input capacitance By design ZI Input impedance By design VOH Output voltage high IOH = 2 mA VOL Output voltage low IOL = –2 mA VOH_SCLK DATACLK output voltage high IOH = 4 mA VOL_SCLK DATACLK output voltage low IOH = –4 mA VIH High-level input voltage By design VIL Low-level input voltage By design ADC full-scale input range Clamp disabled ADC resolution 10-bit range 0.8 IOVDD V 0.2 IOVDD 0.8 IOVDD V V 0.2 IOVDD 0.7 IOVDD V V 0.3 IOVDD V ADCs DNL DC differential nonlinearity INL DC integral nonlinearity Missing code SNR 0.95 1 1.05 Vpp 10 bits 10 bit, 110 MHz, BC = 5 –1 ±0.5 +1 8 bit, 162 MHz, BC = 8 –1 ±0.5 +1 10 bit, 110 MHz, BC = 5 –4 ±1 +4 8 bit, 162 MHz, BC = 8 –4 ±1 +4 10 bit, 110 MHz, BC = 5 none 8 bit, 162 MHz, BC = 8 none Signal-to-noise ratio 10 MHz, 1 VP-P at 110 MSPS Analog 3-dB bandwidth By design 350 LSB LSB 55 dB 500 MHz 500 ps Horizontal PLL Clock jitter Phase adjustment 11.6 VCO frequency range By design 12 degree 162 MHz Analog ADC Channel Coarse gain full-scale control range Gain control value NG = 15 Coarse offset full-scale control range Referred to 10-bit ADC output ±124 ±6 counts dB Coarse offset step size Referred to 10-bit ADC output 4 counts Sync Processing Internal clock reference frequency (1) 8 By design 6.5 MHz 2 BC = ADC bias control setting in I C register, 2Ch Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Timing Requirements TEST CONDITIONS (1) PARAMETER MIN TYP MAX UNIT Positive duty cycle, DATACLK (CLK POL = 0) 48 50 52 % Positive duty cycle, DATACLK (CLK POL = 1) 41 43 45 % Clocks, Video Data, Sync Timing t1 DATACLK rise time 10% to 90% 1 t2 DATACLK fall time 90% to 10% 1 t3 (RGB data) RGB output delay time (1) 0 ns ns 1.5 ns Measured at 162 MHz with 22-Ω series termination resistor and 10-pF load. Specified by characterization only. Data is clocked out on the rising edge of DATACLK with Reg 18h CLK POL=0 and is clocked out on the falling edge of DATACLK with CLK POL=1. t1 CLK POL = 0 DATACLK CLK POL = 1 t2 VOH R, G, B, HSOUT Valid Data Valid Data VOL t3 Figure 1. Clock, Video Data, and HSOUT Timing Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 9 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Timing Requirements PARAMETER TEST CONDITIONS MIN TYP MAX UNIT I2C Host Port t1 Bus free time between Stop and Start Specified by design 1.3 μs t2 Setup time for a (repeated) Start condition Specified by design 0.6 μs t3 Hold time (repeated) Start condition Specified by design 0.6 μs t4 Setup time for a Stop condition Specified by design 0.6 ns t5 Data setup time Specified by design 100 ns t6 Data hold time Specified by design 0 0.9 μs t7 Rise time, SDA and SCL signal Specified by design 250 ns t8 Fall time, SDA and SCL signal Specified by design 250 ns Cb Capacitive load for each bus line Specified by design 400 pF fI2C I2C clock frequency Specified by design 400 kHz Stop Start Stop SDA Data t1 t6 t7 t6 t3 t2 t8 t4 t5 SCL Figure 2. I2C Host Port Timing 10 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 FUNCTIONAL DESCRIPTION Analog Channel The TVP7002 contains three identical analog channels that are independently programmable. Each channel consists of a clamping circuit, programmable gain control, programmable offset control, and an ADC. Analog Input Switch Control TVP7002 has three analog channels that accept up to ten video inputs. The user can configure the internal analog video switches via the I2C interface. The ten analog video inputs can be used for different input configurations, some of which are: • Up to three SDTV, EDTV, or HDTV component video inputs (limited by number of SOG inputs) • Up to two 5-wire PC graphics inputs (limited by number of HSYNC and VSYNC inputs) The input selection is performed by the input select register at I2C subaddress 19h a 1Ah (see Input Mux Select 1 and Input Mux Select 2). Supported Video Formats The TVP7002 supports A/D conversion of SDTV (480i, 576i), EDTV (480p, 576p), and HDTV (720p, 1080i, 1080p) YPbPr component video inputs. The TVP7002 also supports A/D conversion and color space conversion of all standard PC graphics formats (RGB) from VGA up to UXGA. The internal sync separator provides support for field rates (VSYNC frequencies) at or above 40 Hz. Separated VSYNC or an external sync separator must be used to support formats having field rates less than 40 Hz. A summary of the analog video standards supported by the TVP7002 module is show in Table 2. Table 2. Analog Video Standards VIDEO FORMAT VIDEO STANDARDS SDTV (YPbPr component) 480i, 576i EDTV (YPbPr component) 480p, 576p HDTV (YPbPr component) 720p50, 720p60, 1080i50, 1080i60, 1080p50, 1080p60 PC graphics (RGB component) VGA to UXGA SCART (RGB component) 576i Analog Input Clamping The TVP7002 provides dc restoration for all analog video inputs including the SOG slicer inputs. The dc restoration circuit (a.k.a. clamp circuit) restores the ac-coupled video signal to a fixed dc level. One dc restoration circuit is implemented prior to each of the three ADCs, and a fourth one is located prior to the SOG slicer. The dc restoration circuit can be programmed to operate as either a sync-tip clamp (a.k.a. coarse clamp) or a backporch clamp (a.k.a. fine clamp). The sync-tip clamp always clamps the video sync-tip level near the bottom of the ADC range. The back-porch type clamp supports two clamping levels (bottom level and mid level) that are selectable using bits 0, 1, and 2 of register 10h. When using the fine bottom-level clamp, an optional 300-mV common-mode offset may be selected using bit 7 of register 2Ah. In general, the analog video input being used for horizontal synchronization purposes should always use the sync-tip clamp; all other analog video inputs should use the back-porch clamp. The advantage of the back-porch clamp is that it has negligible video droop or tilt across a video line. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 11 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com The selection between bottom- and mid-level clamping is performed by I2C subaddress 10h (see Sync-On-Green Threshold). The fine clamps must also be enabled via I2C register 2Ah for proper operation. The internal clamping time can be adjusted using the I2C clamp start and width registers at subaddress 05h and 06h, respectively (see Clamp Start and Clamp Width). Table 3. Recommended Clamp Setting by Video Mode VIDEO MODE SOG INPUT (Y/G) GREEN ADC CHANNEL (Y/G) RED ADC CHANNEL (Pr/R) BLUE ADC CHANNEL (Pb/B) YPbPr component Coarse Fine Bottom Level Fine Mid Level Fine Mid Level PC graphics Coarse Fine Bottom Level Fine Bottom Level Fine Bottom Level SCART-RGB Coarse Fine Bottom Level Fine Bottom Level Fine Bottom Level A single-pole low-pass filter with three selectable cutoff frequencies (0.5, 1.7, and 4.8 MHz) is implemented in the feedback loop of the sync-tip clamp circuit. Programmable Gain Control The TVP7002 provides a 4-bit coarse analog gain control (before A/D conversion) and an 8-bit fine digital gain control (after A/D conversion). The coarse analog gain and the fine digital gain are both independently programmable for each ADC channel. Coarse Gain Control The 4-bit coarse analog gain control has a 4:1 linear gain control range defined by the following equation. Coarse Gain = 0.5 + NCG/10, where 0 ≤ NCG ≤ 15 0.5 ≤ Coarse Gain ≤ 2.0 Default: NCG = 7 (Coarse Gain = 1.2) The 4-bit coarse gain control can scale a signal with a voltage-input compliance of 0.5 VP-P to 2 VP-P to a fullscale 10-bit A/D output code range. The minimum gain corresponds to a code 0h (2-VP-P full-scale input, –6-dB gain) while the maximum gain corresponds to code Fh (0.5-VP-P full scale, +6 dB gain). The 4-bit coarse gain control is independently controllable for each ADC channel (Red Coarse Gain, Green Coarse Gain, and Blue Coarse Gain). Fine Gain Control The 8-bit fine digital gain control has a 2:1 linear gain control range defined by the following equation. Fine Gain = 1.0 + NFG/256 where 0 ≤ NFG ≤ 255 1.0 ≤ Fine Gain < 2.0 Default: NFG = 0 (Fine Gain = 1.0) The 8-bit fine gain control is independently controllable for each ADC channel (Red Fine Gain, Green Fine Gain, and Blue Fine Gain). For a normal PC graphics input, the fine gain is used mostly. Programmable Offset Control The TVP7002 provides a 6-bit coarse analog offset control (before A/D conversion) and a 10-bit fine digital offset control (after A/D conversion). The coarse analog offset and the fine digital offset are both independently programmable for each ADC channel. Coarse Offset Control A 6-bit code sets the coarse offset (Red Coarse Offset, Green Coarse Offset, Blue Coarse Offset) with individual adjustment per channel. The coarse offset ranges from –32 counts to +31 counts. The coarse offset registers apply before the ADC. Fine Offset Control A 10-bit fine offset registers (Red Fine Offset, Green Fine Offset, Blue Fine Offset) apply after the ADC. The fine offset ranges from –512 counts to +511 counts. 12 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Automatic Level Control (ALC) The ALC circuit maintains the level of the signal to be set at a value that is programmed at the fine offset I2C register. It consists of a pixel averaging filter and feedback loop. This ALC function can be enabled or disabled by the I2C register at subaddress 26h. The ALC circuit needs a timing pulse generated internally but the user should program the position properly. The ALC pulse must be positioned after the clamp pulse. The position of ALC pulse is controlled by ALC placement I2C register at address 31h. This is available only for internal ALC pulse timing. When using an external clamp pulse, the fine clamp and the ALC both start on the leading edge of the external clamp pulse. Therefore, it is recommended to keep the external clamp pulse as long as possible. Analog-to-Digital Converters (ADCs) All ADCs have a resolution of 10 bits and can operate up to 165 MSPS. All A/D channels receive an identical clock from the on-chip phase-locked loop (PLL) at a frequency between 12 MHz and 165 MHz. All ADC reference voltages are generated internally. Also the external sampling clock can be used. Horizontal PLL The horizontal PLL generates a high-frequency internal clock used by the ADC sampling and data clocking out to derive the pixel output frequency with programmable phase. The reference signal for this PLL is the horizontal sync signal supplied on the HSYNC input or from extracted horizontal sync of the sync slicer block for embedded sync signals. The horizontal PLL consists of a phase detector, charge pump, loop filter, voltage controlled oscillator (VCO), phase select, feedback divider, and post divider. The horizontal PLL block diagram is shown in Figure 3. PLL Control Register 03h Bit [5:3] COAST HSYNC Phase Detector Loop Filter Charge Pump PLL Control Register 03h Bit [7:6] Phase Select Register 04h Bit [7:3] Post Divider Register 04h Bit [0] VCO Phase Select Post Divider ÷N ADC Sampling CLK N = 1 or 2 Divider External Clock PLL Divide Register 01h and 02h Bit [11:0] Figure 3. Horizontal PLL Block Diagram The COAST signal is used to allow the PLL to keep running at the same frequency, in the absence of the incoming HSYNC signal or disordered HSYNC period. This is useful during the vertical sync period, or any other time that the HSYNC is not available. There are several PLL controls to produce the correct sampling clock. The 12-bit feedback divider register is programmable to select exact multiplication number to generate the pixel clock in the range of 12 MHz to 165 MHz. The 3-bit loop filter current control register is to control the charge pump current that drives the lowpass loop filter. The applicable current values are listed in the Table 4. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 13 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com The purpose of the 2-bit VCO range control is to improve the noise performance of the TVP7002. The frequency ranges for the VCO are shown in Table 4. The phase of the ADC sample clock generated by the horizontal PLL can be accurately controlled in 32 uniform steps over a single clock period (360/32 = 11.25 degrees phase resolution) using the phase select register located at subaddress 04h. The horizontal PLL characteristics are determined by the loop filter design, the PLL charge pump current, and the VCO range setting. The loop filter design is shown in Figure 4. Supported settings of VCO range and charge pump current for VESA standard display modes are listed in Table 4. 89 PLL_F 4.7 nF 88 1.5 kW 87 FILT2 FILT1 0.1 µF TVP7002 Figure 4. Horizontal PLL Loop Filter In addition to sourcing the ADC sample clock from the horizontal PLL, an external pixel clock can be used (from pin 80). Table 4. Recommended VCO Range and Charge Pump Current Settings for Supporting Standard Display Formats STANDARD FRAME RATE (Hz) LINE RATE (kHz) PIXEL RATE (MHz) PLL DIVIDER TOTAL PIX/LINE PLLDIV [11:4] REG 01h [7:0] PLLDIV [3:0] REG 02h [7:4] REG 03h OUTPUT DIVIDER REG 04h [0] VCO RANGE REG 03h [7:6] CP CURRENT REG 03h [5:3] 640 × 480 59.94 31.469 25.175 800 32h 00h 20h 0 ULow (00b) 100b 640 × 480 72.809 37.861 31.5 832 34h 00h 20h 0 ULow (00b) 100b 640 × 480 75 37.5 31.5 840 34h 80h 20h 0 ULow (00b) 100b 640 × 480 85.008 43.269 36 832 34h 00h 60h 0 Low (01b) 100b 800 × 600 56.25 35.156 36 1024 40h 00h 58h 0 Low (01b) 011b 800 × 600 60.317 37.879 40 1056 42h 00h 58h 0 Low (01b) 011b 800 × 600 72.188 48.077 50 1040 41h 00h 58h 0 Low (01b) 011b 800 × 600 75 46.875 49.5 1056 42h 00h 58h 0 Low (01b) 011b 800 × 600 85.061 53.674 56.25 1048 41h 80h 58h 0 Low (01b) 011b 1024 × 768 60.004 48.363 65 1344 54h 00h 58h 0 Low (01b) 011b 1024 ×768 70.069 56.476 75 1328 53h 00h A8h 0 Med (10b) 101b 1024 × 768 75.029 60.023 78.75 1312 52h 00h A8h 0 Med (10b) 101b 1024 × 768 84.997 68.677 94.5 1376 56h 00h A0h 0 Med (10b) 100b 1280 × 768 59.995 47.396 68.25 1440 5Ah 00h 50h 0 Low (01b) 010b 1280 × 768 59.87 47.776 79.5 1664 68h 00h A0h 0 Med (10b) 100b 1280 × 768 74.893 60.289 102.25 1696 6Ah 00h A0h 0 Med (10b) 100b 1280 × 768 84.837 68.633 117.5 1712 6Bh 00h A0h 0 Med (10b) 100b 1280 × 1024 60.02 63.981 108 1688 69h 80h A0h 0 Med (10b) 100b 1280 × 1024 75.025 79.976 135 1688 69h 80h E8h 0 High (11b) 101b 1280 × 1024 85.024 91.146 157.5 1728 6Ch 00h E8h 0 High (11b) 101b 1400 × 1050 59.948 64.744 101 1560 61h 80h A0h 0 Med (10b) 100b 1400 × 1050 59.978 65.317 121.75 1864 74h 80h 98h 0 Med (10b) 011b 1400 × 1050 74.867 82.278 156 1896 76h 80h E0h 0 High (11b) 100b 1440 × 900 59.901 55.469 88.75 1600 64h 00h A0h 0 Med (10b) 100b 1440 × 900 59.887 55.935 106.5 1904 77h 00h 98h 0 Med (10b) 011b 1440 × 900 74.984 70.635 136.75 1936 79h 00h E0h 0 High (11b) 100b 1440 × 900 84.842 80.43 157 1952 7Ah 00h E0h 0 High (11b) 100b 1600 × 1200 60 75 162 2160 87h 00h E0h 0 High (11b) 100b RESOLUTION VGA SVGA XGA WXGA (I) SXGA SXGA+ WXGA (II) UXGA 14 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Table 4. Recommended VCO Range and Charge Pump Current Settings for Supporting Standard Display Formats (continued) STANDARD RESOLUTION FRAME RATE (Hz) LINE RATE (kHz) PIXEL RATE (MHz) PLL DIVIDER TOTAL PIX/LINE PLLDIV [11:4] REG 01h [7:0] PLLDIV [3:0] REG 02h [7:4] REG 03h OUTPUT DIVIDER REG 04h [0] VCO RANGE REG 03h [7:6] CP CURRENT REG 03h [5:3] 720 × 480i 29.97 15.734 13.5 858 35h A0h 18h 0 ULow (00b) 011b 720 × 576i 25 15.625 13.5 864 36h 00h 18h 0 ULow (00b) 011b 720 × 480p 59.94 31.469 27 858 35h A0h 18h 0 ULow (00b) 011b 720 × 576p 50 31.25 27 864 36h 00h 18h 0 ULow (00b) 011b 1280 × 720p 60 45 74.25 1650 67h 20h A0h 0 Med (10b) 100b 1280 × 720p 50 37.5 74.25 1980 7Bh C0h 98h 0 Med (10b) 011b 1920 × 1080i 30 33.75 74.25 2200 89h 80h 98h 0 Med (10b) 011b 1920 × 1080i 25 28.125 74.25 2640 A5h 00h 90h 0 Med (10b) 010b 1920 × 1080p 60 67.5 148.5 2200 89h 80h E0h 0 High (11b) 100b 1920 × 1080p 50 56.25 148.5 2640 A5h 00h D8h 0 High (11b) 011b Video RGB-to-YCbCr Color Space Conversion The TVP7002 supports RGB-to-YCbCr color space conversion (CSC) with I2C programmable coefficients. The TVP7002 should default to the CSC coefficients required for HDTV component video inputs. The TVP7002 supports the ability to bypass the CSC block and defaults to the bypass mode (bit 4 of subaddress 18h). RGB-to-YCbCr CSC (default coefficients): coefficients for HDTV component video G' B' R' Y 00000016E3 000000024F 00000006CE Pb FFFFFFF3AB 0000001000 FFFFFFFC55 Pr FFFFFFF178 FFFFFFFE88 0000001000 RGB-to-YCbCr CSC (informative only): coefficients for SDTV component video G' B' R' Y 00000012C9 00000003A6 0000000991 Pb FFFFFFF566 0000001000 FFFFFFFA9A Pr FFFFFFF29A FFFFFFFD66 0000001000 (see CEA-770.3-C, ITU-R BT.709) (see CEA-770.2-C, ITU-R BT.601) 4:4:4 to 4:2:2 Conversion For 4:4:4 YPbPr component video inputs, the TVP7002 can downsample the chroma samples (CbCr) from 1× to 0.5× using a 27-tap half-band filter. • • • NOTE Selection between the 30-bit 4:4:4 output format and the 20-bit 4:2:2 output format is made using bit 1 of register 15h. Multiplexed CbCr data is output on BOUT [9:0] in the 20-bit 4:2:2 output format. 4:4:4 to 4:2:2 conversion is implemented after RGB-to-YCbCr color space conversion. Sync Processing Horizontal Sync Selection The TVP7002 provides two HSYNC inputs and three analog SOG inputs for HDTV and PC graphics inputs. The sync input used by the horizontal PLL is automatically selected based on activity detection. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 15 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Sync Slicer TVP7002 includes a circuit that compares the input signal on Green channel to a level 150 mV (typical value) above the clamped level (sync tip). The slicing level is programmable by I2C register subaddress at 10h. The digital output of the composite sync slicer is available on the SOGOUT pin. Noise Immunity In general, noise on a slowly varying input signal (i.e., sync falling edge) may cause a voltage comparator to false trigger as the input passes through the linear range of the comparator. To improve the overall performance of the TVP7002 sync slicer in the presence of noise on the SOG input, the voltage comparator includes hysteresis. Maintaining a 50% slice level using the I2C programmable slice level control can further improve the noise immunity of the Sync slicer. The slice level is programmable in 11.2-mV increments over a 350-mV range as follows. slice_level = (350 mV) × (NTH/31) where 0 ≤ NTH ≤ 31, default: 11 0 ≤ slice_level ≤ 350 mV Glitch Immunity During white-to-black transitions, the input video waveform may undershoot below the sync slicer threshold. To help attenuate the amplitude of such glitches, a single-pole low-pass filter with three selectable cutoff frequencies (2.5, 10, and 33 MHz) is provided at the input of the SOG voltage comparator circuit. This filter is bypassed in the default mode. NOTE Although the low-pass filter may attenuate the amplitude of glitches present on the SOG input, it also makes the sync falling edge less sharp. Sync Separator The sync separator automatically extracts VSYNC and HSYNC from the sliced composite sync input supplied at the SOG input. The G or Y input containing the composite sync must be ac coupled to the SOG input pin using a 1-nF capacitor. Support for PC graphics, SDTV, EDTV, and HDTV up to 1080p is provided. The internal sync separator provides support for formats having field rates (VSYNC frequencies) at or above 40 Hz. An external sync separator or separated VSYNC must be used for field rates less than 40 Hz. Sync Activity Detection The TVP7002 provides activity detection on the sync inputs (VSYNC, HSYNC) to enable the host processor to determine whether the PC graphics source is configured as a 3-wire, 4-wire, or 5-wire interface as defined here: • 5 wire (G, B, R, HSYNC, VSYNC) • 4 wire (G, B, R, CSYNC) • 3 wire (G, B, R with SOG) If activity is detected on the VSYNC input, the host processor should assume that the PC graphics input is a standard 5-wire interface. In this case, the HSYNC input of the TVP7002 should be configured as an HSYNC input. If AHSO and AVSO are set for automatic selection in I2C Reg 0Eh, the TVP7002 will automatically use the HSYNC and VSYNC inputs, provided signals are present at both inputs. If activity is detected on the HSYNC input but not on the VSYNC input, the host processor should assume that the PC graphics input is a standard 4-wire interface. In this case, the HSYNC input of the TVP7002 should be used as a digital CSYNC input. If AHSO and AVSO are set for automatic selection, VSYNC will be properly decoded from the CSYNC input, provided no signal is present at the VSYNC input pin. Some test sources output CSYNC on both the HSYNC pin and the VSYNC pin. In this case, the active VSYNC source (AVSS) must be manually set to Sync separated VSYNC in Reg 0Eh. 16 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 If activity is not detected on either the HSYNC input or the VSYNC input, the host processor should assume that the PC graphics input is a standard 3-wire interface. With AHSO and AVSO set for automatic selection and no signals present at the HSYNC and VSYNC input pins, the TVP7002 will automatically select the SOG input as the sync source. Table 5. Sync Activity Detection VSYNC INPUT ACTIVITY DETECT HSYNC INPUT ACTIVITY DETECT PC GRAPHICS INPUT TYPE 1 1 5 wire (default) 0 1 4 wire 0 0 3 wire The activity detection status for the VSYNC and HSYNC inputs is written to the I2C status register at subaddress 14h. NOTE Pin 13 of a standard 15-pin VGA video connector can be either a horizontal sync (HSYNC) or a composite sync (CSYNC). Automatic HSYNC polarity detection is recommended (Reg 0Eh HSPO=0) for all sync types. NOTE For component video inputs, the active HSYNC and VSYNC should always be derived from the selected SOG input. This can most easily be ensured by setting the AHSO, AVSO, AHSS and AVSS bit fields in register 0Eh to logic 1. NOTE For proper operation when separate HSYNC and VSYNC inputs are used, the leading edge of VSYNC must not be precisely aligned with the leading edge of HSYNC. A simple RC delay circuit will provide adequate delay in most applications. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 17 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com VSINV(Reg36[3]) 1 VSYNC 1 AVS(Reg14[3]) VS OUT 0 AVSO(Reg0E[1]) 1 0 1 1 VSOP(Reg0E[2]) 0 1 VS_Select(Reg22[0]) 0 Activity Detect 0 VSBP(Reg36[1]) AVSS(Reg0E[0]) AHSS(Reg0E[3]) HSBP(Reg36[0]) Sync Timing 1 Sync Processor (Sync Separator, VSYNC Sync Accumulator) HS OUT 0 1 HSYNC bypass 0 Activity Detect VSYNC Alignment AHS(Reg14[6]) 0 Activity Detect 1 0 SOG (sliced) AHSO(Reg0E[4]) HSYNC COAST HSYNC HSYNC 1 COAST_sel(Reg0F[5]) 0 Ext_COAST PLL DATA CLK SOG OUT Figure 5. Sync Processing 18 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Output Formatter The output formatter sets how the data is formatted for output on the TVP7002 output buses. Table 6 shows the available component video output modes. Table 6. YCbCr Component Video Output Formats (1) (1) TERMINAL NAME TERMINAL NUMBER 30-BIT 4:2:2 YCbCr 20-BIT 4:2:2 YCbCr G_9 43 Y9 Y9 G_8 44 Y8 Y8 G_7 45 Y7 Y7 G_6 46 Y6 Y6 G_5 47 Y5 Y5 G_4 48 Y4 Y4 G_3 49 Y3 Y3 G_2 50 Y2 Y2 G_1 51 Y1 Y1 G_0 52 Y0 Y0 B_9 29 Cb9 Cb9, Cr9 B_8 30 Cb8 Cb8, Cr8 B_7 31 Cb7 Cb7, Cr7 B_6 32 Cb6 Cb6, Cr6 B_5 33 Cb5 Cb5, Cr5 B_4 34 Cb4 Cb4, Cr4 B_3 35 Cb3 Cb3, Cr3 B_2 36 Cb2 Cb2, Cr2 B_1 37 Cb1 Cb1, Cr1 Cb0, Cr0 B_0 38 Cb0 R_9 29 Cr9 R_8 30 Cr8 R_7 31 Cr7 R_6 32 Cr6 R_5 33 Cr5 R_4 34 Cr4 R_3 35 Cr3 R_2 36 Cr2 R_1 37 Cr1 R_0 38 Cr0 10-bit 4:2:2 YCbCr output format (i.e., ITU-R BT.656) is not supported by the TVP7002. NOTE In the 20-bit 4:2:2 YCbCr output mode, the unused Red outputs (R[9:0]) are placed in a high-impedance state. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 19 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Embedded Syncs Standard embedded syncs insert SAV and EAV codes into the data stream on the rising and falling edges of AVID. These codes contain the V and F bits that also define vertical timing. Table 7 gives the format of the SAV and EAV codes. H = 1 always indicates EAV. H = 0 always indicates SAV. The alignment of V and F to the line and field counter varies depending on the standard. The P bits are protection bits: P3 = V xor H P2 = F xor H P1 = F xor V P0 = F xor V xor H Table 7. EAV and SAV Sequence Y9 (MSB) Y8 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 Preamble 1 1 1 1 1 1 1 1 1 1 Preamble 0 0 0 0 0 0 0 0 0 0 Preamble 0 0 0 0 0 0 0 0 0 0 Status 1 F V H P3 P2 P1 P0 0 0 The pixel locations where SAV/EAV embedded sync codes are inserted can be programmed using the AVID Start Pixel and AVID Stop Pixel I2C registers. The AVID start location is determined from the HSYNC interval, horizontal back porch interval (Hbp) and a digital process delay factor (PDELAY) required for compensation of internal TVP7002 delays. An additional four bytes must be added to the active pixel interval between AVID start and AVID stop to accommodate embedded sync insertion. AVID Start Pixel = PDELAY + HSYNC + Hbp AVID Stop Pixel = AVID Start Pixel + Active Pixels + 4 NOTE Some AVID Stop Pixel calculations will exceed the HPLL-Feedback Register setting, or total pixels per line. When this occurs, subtract total pixels per line from AVID Stop Pixel. NOTE PDELAY is typically 27 pixels but may vary slightly depending on other TVP7002 settings such as the Sync-on-Green Threshold setting (I2C register 10h) and the SOG LPF setting (I2C register 1Ah). The line numbers where the embedded V-bit and F-bit occur are controlled by I2C registers 44h to 49h, which define the vertical blanking interval and field start positions. See Table 8 for typical embedded syncs settings. Table 8. Typical Embedded Sync Settings VBLK Field 0 Start Line VBLK Field 1 Start Line VBLK Field O Duration VBLK Field 1 Duration F-bit Field 0 Start Line F-bit Field 1 Start Line Input Format Output Format REG 15h REG 41h REG 40h REG 43h REG 42h REG 44h REG 45h REG 46h REG 47h REG 48h REG 49h 480i60Hz 47h 00h 95h 00h 0Fh 01h 01h 13h 13h 02h 01h 480p60Hz 47h 00h 93h 00h 0Dh 09h 09h 2Dh 2Dh 00h 00h 20 AVID Start Pixel AVID Stop Pixel 720p60Hz 47h 01h 47h 06h 4Bh 05h 05h 1Eh 1Eh 00h 00h 1080i60Hz 47h 01h 07h 08h 8Bh 02h 02h 16h 17h 00h 00h 1080p60Hz 47h 01h 07h 08h 8Bh 04h 04h 2Dh 2Dh 00h 00h Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Output Range Limits The TVP7002 provides selectable output range limits in I2C subaddress 15h: 00 = RGB coding range (Y, Cb, and Cr range from 0 to 1023) (default) 01 = Extended coding range (Y, Cb, and Cr range from 4 to 1019) 10 = ITU-R BT.601 coding range (Y ranges from 64 to 940, Cb and Cr range from 64 to 960) 11 = Reserved NOTE RGB coding range not allowed with embedded syncs. Power Management The TVP7002 supports both automatic and manual power-down modes. The automatic power-down mode can be selected by setting bit 2 of subaddress 0Fh to logic 0. In the automatic power-down mode, the TVP7002 powers down the ADCs, the ADC reference, and horizontal PLL when activity is not detected on both the selected HSYNC input and the selected SOG input (VSYNC is no longer used). The TVP7002 restores power whenever activity is detected on either the selected HSYNC input or the selected SOG input. The TVP7002 can also be placed in power-down mode via the active-high PWDN input (pin 70). When the PWDN input is driven high, the TVP7002 powers down everything including the I2C interface, and the digital outputs are not placed in a high-impedance mode. The TVP7002 can also be placed in a power-down mode using bit 1 of register 0Fh. Individual blocks of the TVP7002 can be independently powered down using register 2Bh. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 21 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Timing The TVP7002 supports RGB/YCbCr 4:4:4 and YCbCr 4:2:2 modes. Output timing is shown in Figure 6. All timing diagrams are shown for operation with internal PLL clock at phase 0 and HSOUT Output Start = 0. For the 4:2:2 mode, CbCr data output is on the BOUT[9:0] output port. 4:4:4 RGB Output Timing. RGB output latency (RGBPD) is 18 clock cycles. HSOUT latency (HSPD) is 5 clock cycles with HS Start set to 0. 4:2:2 YCbCr Output Timing. YCbCr output latency (YCPD) is 39 clock cycles. HSOUT latency (HSPD) is 5 clock cycles with HS Start set to 0. Figure 6. Output Timing Diagram 22 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 I2C Host Interface Communication with the TVP7002 device is via an I2C host interface. The I2C standard consists of two signals, serial input/output data (SDA) line and input clock line (SCL), which carry information between the devices connected to the bus. A third signal (I2CA) is used for slave address selection. Although an I2C system can be multi-mastered, the TVP7002 can function as a slave device only. Since SDA and SCL are kept open drain at logic high output level or when the bus is not driven, the user should connect SDA and SCL to a positive supply voltage via a pullup resistor on the board. SDA is implemented bidirectional. The slave addresses select, terminal 73 (I2CA), enables the use of two TVP7002 devices tied to the same I2C bus, as it controls the least significant bit of the I2C device address Table 9. I2C Host Interface Terminal Description SIGNAL TYPE I2CA I Slave address selection DESCRIPTION SCL I Input clock line SDA I/O Input/output data line Reset and I2C Bus Address Selection The TVP7002 can respond to two possible chip addresses. The I2 slave address is continuously interpreted from the logic level present at the I2CA terminal. The I2C slave address must be configured with an external connection to either IOGND (I2C address = B8h) or IOVDD (I2C address= BAh). A 2.2-kΩ pullup or pulldown resistor may be used for this connection. Table 10. I2C Host Interface Device Addresses A6 A5 A4 A3 A2 A1 A0 (I2CA) R/W HEX 1 0 1 1 1 0 0 (1) 1/0 B9h/B8h 1 0 1 1 1 0 1 (2) 1/0 BBh/BAh I2C 2 (1) (2) If I2CA terminal 73 is strapped to IOGND, device address A0 is set to 0. If I2CA terminal 73 is strapped to IOVDD, I C device address A0 is set to 1. I2C Operation Data transfers occur utilizing the following illustrated formats. S 10111000 ACK Subaddress ACK Send data ACK P Read from I2C control registers S 10111000 ACK Subaddress ACK S 10111001 ACK Receive data NAK P S = I2C bus Start condition P = I2C bus Stop condition ACK = Acknowledge generated by the slave NAK = Acknowledge generated by the master, for multiple byte read master with ACK each byte except last byte Subaddress = Subaddress byte Data = Data byte, if more than one byte of DATA is transmitted (read and write), the subaddress pointer is automatically incremented I2C bus address = Example shown that I2CA is in default mode; write (B8h), read (B9h). Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 23 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Power Up, Reset, and Initialization No specific power-up sequence is required, but all power supplies should be active and stable within 500 ms of each other. RESETB may be low during power up, but must remain low for at least 1 μs after the power supplies become stable. Alternatively, reset may be asserted any time with minimum 5-ms delay after power-up and must remain asserted for at least 1 μs. Reset timing is shown in Figure 7. I2C SCL and SDA signals must not change state until the TVP7002 reset sequence has been completed. Keeping RESETB low prior to any I2C activity will prevent this. Table 11 shows the status of the TVP7002 terminals during and immediately after reset. Table 11. Output Mode Per Reset Sequence State OUTPUT MODE SIGNAL NAME DURING RESET RESET COMPLETED R[9:0], B[9:0], G[9:0] High impedance Default condition (see bit 0 of subaddress 17h) HSOUT, VSOUT, FIDOUT, DATACLK High impedance Default condition (see bit 0 of subaddress 17h) SOGOUT High impedance Default condition (see bit 1 of subaddress 17h) 5 ms 1 µs Power Reset 2 IC Figure 7. Reset Timing 24 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 CONTROL REGISTERS The TVP7002 is initialized and controlled by a set of internal registers that define the operating parameters of the entire device. Communication between the external controller and the TVP7002 is through a standard I2C host port interface, as previously described. Table 12 shows the summary of these registers. Detailed programming information for each register is described in the following sections. Table 12. Control Registers Summary (1) (2) I2C SUBADDRESS DEFAULT Chip Revision 00h 02h R H-PLL Feedback Divider MSBs 01h 67h R/W H-PLL Feedback Divider LSBs 02h 20h R/W H-PLL Control 03h A8h R/W H-PLL Phase Select 04h 80h R/W Clamp Start 05h 32h R/W Clamp Width 06h 20h R/W HSYNC Output Width 07h 20h R/W Blue Fine Gain 08h 00h R/W Green Fine Gain 09h 00h R/W Red Fine Gain 0Ah 00h R/W Blue Fine Offset MSBs 0Bh 80h R/W Green Fine Offset MSBs 0Ch 80h R/W Red Fine Offset MSBs 0Dh 80h R/W Sync Control 1 0Eh 5Bh R/W H-PLL and Clamp Control 0Fh 2Eh R/W Sync On Green Threshold 10h 5Dh R/W Sync Separator Threshold 11h 20h R/W H-PLL Pre-Coast 12h 00h R/W H-PLL Post-Coast 13h 00h R/W Sync Detect Status 14h Output Formatter 15h 04h R/W MISC Control 1 16h 11h R/W MISC Control 2 17h 03h R/W MISC Control 3 18h 00h R/W Input Mux Select 1 19h 00h R/W Input Mux Select 2 1Ah C2h R/W Blue and Green Coarse Gain 1Bh 77h R/W Red Coarse Gain 1Ch 07h R/W Fine Offset LSBs 1Dh 00h R/W Blue Coarse Offset 1Eh 10h R/W Green Coarse Offset 1Fh 10h R/W Red Coarse Offset 20h 10h R/W HSOUT Output Start 21h 0Dh R/W MISC Control 4 22h 08h R/W Blue Digital ALC Output LSBs 23h R Green Digital ALC Output LSBs 24h R REGISTER NAME (1) (2) (3) R/W (3) R For proper operation of the TVP7002 device, the default settings for all register locations designated as "Reserved" in the register map summary should never be changed from the values provided. For registers with reserved bits, a 0b must be written to reserved bit locations, unless otherwise stated. R = Read only, W = Write only, R/W = Read/Write Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 25 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Table 12. Control Registers Summary(1) (2) (continued) REGISTER NAME I2C SUBADDRESS Red Digital ALC Output LSBs 25h Automatic Level Control Enable 26h Digital ALC Output MSBs 27h Automatic Level Control Filter DEFAULT R/W (3) R 80h R/W 28h 53h R/W Reserved 29h 08h R/W Fine Clamp Control 2Ah 07h R/W Power Control 2Bh 00h R/W ADC Setup 2Ch 50h R/W Coarse Clamp Control 2Dh 00h R/W SOG Clamp 2Eh 80h R/W RGB Coarse Clamp Control 2Fh 8Ch R/W SOG Coarse Clamp Control 30h 04h R/W ALC Placement 31h 5Ah R/W Reserved 32h 18h R/W Reserved 33h 60h R/W Macrovision Stripper Width 34h 03h R/W VSYNC Alignment 35h 10h R/W 36h 00h R/W Sync Bypass R Lines Per Frame Status 37h–38h R Clocks Per Line Status 39h–3Ah R HSYNC Width 3Bh R VSYNC Width 3Ch Line Length Tolerance 3Dh 03h R/W Reserved 3Eh 04h R/W Video Bandwidth Control R 3Fh 00h R/W AVID Start Pixel 40h–41h 012Ch R/W AVID Stop Pixel 42h–43h 062Ch R/W VBLK Field 0 Start Line Offset 44h 05h R/W VBLK Field 1 Start Line Offset 45h 05h R/W VBLK Field 0 Duration 46h 1Eh R/W VBLK Field 1 Duration 47h 1Eh R/W F-bit Field 0 Start Line Offset 48h 00h R/W F-bit Field 1 Start Line Offset 49h 00h R/W 1st CSC Coefficient 4Ah–4Bh 16E3h R/W 2nd CSC Coefficient 4Ch–4Dh 024Fh R/W 3rd CSC Coefficient 4Eh–4Fh 06CEh R/W 4th CSC Coefficient 50h–51h F3ABh R/W 5th CSC Coefficient 52h–53h 1000h R/W 6th CSC Coefficient 54h–55h FC55h R/W 7th CSC Coefficient 56h–57h F178h R/W 8th CSC Coefficient 58h–59h FE88h R/W 9th CSC Coefficient 5Ah–5Bh 1000h R/W Reserved 5Ch–5Dh 0000h R/W Reserved 5Eh–FFh 0000h R/W 26 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Register Definitions Chip Revision Subaddress 00h 7 Read Only 6 5 4 3 Chip revision [7:0] 2 1 0 Chip revision [7:0]: Chip revision number H-PLL Feedback Divider MSBs Subaddress 01h 7 Default (67h) 6 5 4 3 PLL divide [11:4] 2 1 0 PLL divide [11:0]: Controls the 12-bit horizontal PLL feedback divider value that determines the number of pixels per line. PLL divide [11:4] bits should be loaded first whenever a change is required. H-PLL Feedback Divider LSBs Subaddress 02h 7 Default (20h) 6 5 4 3 2 PLL divide [3:0] 1 0 Reserved PLL divide [11:0]: Controls the 12-bit horizontal PLL feedback divider value that determines the number of pixels per line. PLL divide [11:4] bits should be loaded first whenever a change is required. H-PLL Control Subaddress 03h 7 Default (A8h) 6 VCO [1:0] 5 4 Charge Pump Current [2:0] 3 2 1 Reserved 0 VCO [1:0]: Selects VCO frequency range VCO Gain VCO Range Pixel Clock Frequency (PCLK) (KVCO) 00 = 75 Ultra low PCLK < 36 MHz 01 = 85 Low 36 MHz ≤ PCLK < 70 MHz 10 = 150 Medium (default) 70 MHz ≤ PCLK < 135 MHz 11 = 200 High 135 MHz ≤ PCLK ≤ 165 MHz Charge Pump Current [2:0]: Selects PLL charge pump current setting. The recommended charge pump current setting (ICP) can be determined using the following equation. ICP = 40 × KVCO/(pixels per line) 000 = 0: Small 101 = 5 (default) 111 = 7: Large NOTE: Also see the PLL and CLAMP Control register at subaddress 0Fh. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 27 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com H-PLL Phase Select Subaddress 04h 7 Default (80h) 6 5 Phase Select [4:0] 4 3 2 1 Reserved 0 DIV2 Phase Select [4:0]: ADC sampling clock phase select. (1 LSB = 360/32 = 11.25°). A host-based automatic phase control algorithm can be used to control this setting to optimize graphics sampling phase. 00h = 0 degrees 10h = 180 degrees (default) 1Fh = 348.75 degrees DIV2: DATACLK divide-by-2. H-PLL post divider. May be used with a 2x H-PLL feedback divider to improve jitter at low frequencies. When used, only half of the Phase Select [4:0] settings are functional. 0 = DATACLK/1 (default) 1 = DATACLK/2 Clamp Start Subaddress 05h 7 Default (32h) 6 5 4 3 Clamp Start [7:0] 2 1 0 Clamp Start [7:0]: Positions the clamp signal an integer number of clock periods after the HSYNC signal. If external clamping is selected this value has no meaning. Clamp Start must be correctly positioned for proper operation. See Table 13 for the recommended settings. Clamp Width Subaddress 06h 7 Default (20h) 6 5 4 3 Clamp Width [7:0] 2 1 0 Clamp Width [7:0]: Sets the width in pixels for the fine clamp. See also register Clamp Start (subaddress 05h). Table 13. Recommended Fine Clamp Settings VIDEO STANDARD CLAMP START CLAMP WIDTH HDTV (tri-level) 50 (32h) 32 (20h) SDTV (bi-level) 6 (06h) 16 (10h) PC graphics 6 (06h) 16 (10h) HSYNC Output Width Subaddress 07h 7 Default (20h) 6 5 4 3 HSOUT Width [7:0] 2 1 2 1 0 HSOUT Width [7:0]: Sets the width in pixels for HSYNC output. Blue Fine Gain Subaddress 7 08h Default (00h) 6 5 4 3 Blue Fine Gain [7:0] 0 Blue Fine Gain [7:0]: 8-bit fine digital gain (contrast) for Blue channel (applied after the ADC). Offset binary value. Blue Fine Gain = 1 + Blue Fine Gain [7:0]/256 Blue Fine Gain [7:0] Blue Fine Gain 00h 1.0 (default) 80h 1.5 FFh 2.0 28 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Green Fine Gain Subaddress 09h 7 Default (00h) 6 5 4 3 Green Fine Gain [7:0] 2 1 0 Green Fine Gain [7:0]: 8-bit fine digital gain (contrast) for Green channel (applied after the ADC). Offset binary value. Green Fine Gain = 1 + Green Fine Gain [7:0]/256 Green Fine Gain [7:0] Green Fine Gain 00h 1.0 (default) 80h 1.5 FFh 2.0 Red Fine Gain Subaddress 0Ah 7 Default (00h) 6 5 4 3 Red Fine Gain [7:0] 2 1 0 Red Fine Gain [7:0]: 8-bit fine digital gain (contrast) for Red channel (applied after the ADC). Offset binary value. Red Fine Gain = 1 + Red Fine Gain [7:0]/256 Red Fine Gain [7:0] Red Fine Gain 00h 1.0 (default) 80h 1.5 FFh 2.0 Blue Fine Offset MSBs Subaddress 0Bh 7 Default (80h) 6 5 4 3 Blue Fine Offset [9:2] 2 1 0 Blue Fine Offset [9:2]: Eight MSBs of 10-bit fine digital offset (brightness) for Blue channel (applied after ADC). Corresponding two LSBs located at register 1Dh. Offset binary value. The default setting of 80h places the bottom-level (RGB) clamped output blank levels at 0 and mid-level clamped (PbPr) output blank levels at 512. FFh = Maximum fine offset 81h = 1 LSB 80h = 0 (default) 7Fh = –1 LSB 00h = Minimum fine offset Green Fine Offset MSBs Subaddress 7 0Ch Default (80h) 6 5 4 3 Green Fine Offset [9:2] 2 1 0 Green Fine Offset [9:2]: Eight MSBs of 10-bit fine digital offset (brightness) for Green channel (applied after ADC). Corresponding two LSBs located at register 1Dh. Offset binary value. The default setting of 80h places the bottom-level (RGB) clamped output blank levels at 0 and mid-level clamped (PbPr) output blank levels at 512. FFh = Maximum fine offset 81h = 1 LSB 80h = 0 (default) 7Fh = –1 LSB 00h = Minimum fine offset Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 29 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Red Fine Offset MSBs Subaddress 0Dh 7 Default (80h) 6 5 4 3 Red Fine Offset [9:2] 2 1 0 Red Fine Offset [9:2]: 8 MSBs of 10-bit fine digital offset (brightness) for Red channel (applied after ADC). Corresponding two LSBs located at register 1Dh. Offset binary value. The default setting of 80h places the bottom-level (RGB) clamped output blank levels at 0 and mid-level clamped (PbPr) output blank levels at 512. FFh = Maximum fine offset 81h = 1 LSB 80h = 0 (default) 7Fh = –1 LSB 00h = Minimum fine offset Sync Control 1 Subaddress 7 HSPO 0Eh Default (5Bh) 6 HSIP 5 HSOP 4 AHSO 3 AHSS 2 VSOP 1 AVSO 0 AVSS HSPO: HSYNC polarity override 0 = Polarity determined by chip (default) 1 = Polarity set by bit 6 in register 0Eh (not recommended) HSIP: HSYNC input polarity 0 = Indicates input HSYNC polarity active low 1 = Indicates input HSYNC polarity active high (default) HSOP: HSYNC output polarity 0 = Active-low HSYNC output (default) 1 = Active-high HSYNC output NOTE: HSOP has no effect in raw sync bypass mode. See register 36h. AHSO: Active HSYNC override 0 = Active HSYNC is automatically selected by TVP7002. If selected, SOG and HSYNC inputs both have active inputs, HSYNC is selected as the active sync source. The selected active HSYNC is provided via the AHS status bit (bit 6 of register 14h). 1 = Active HSYNC is manually selected via the AHSS control bit (bit 3 of register 0Eh). (default) NOTE: Automatic sync selection should be enabled only for 5-wire PC graphics inputs. AHSS: Active HSYNC select. The indicated HSYNC is used only if the AHSO control bit (bit 4) is set to 1 or if activity is detected on both the selected HSYNC input and the selected SOG input (bits 1, 7 = 1 in register 14h). 0 = Active HSYNC is derived from the selected HSYNC input. 1 = Active HSYNC is derived from the selected SOG input (default). VSOP: VSYNC output polarity 0 = Active-low VSYNC output (default) 1 = Active-high VSYNC output AVSO: Active VSYNC override 0 = Active VSYNC is automatically selected by TVP7002. If selected, SOG and VSYNC inputs both have active inputs, VSYNC is selected as the active sync source. The selected active VSYNC is provided via the AVS status bit (bit 3 of register 14h). 1 = Active VSYNC is manually selected via the AVSS control bit (bit 0 of register 0Eh) (default). NOTE: Automatic sync selection should be enabled only for 5-wire PC graphics inputs. AVSS: Active VSYNC select. This bit is effective when the AVSO control bit (bit 1) is set to 1. 0 = Active VSYNC is derived from the selected VSYNC input. 1 = Active VSYNC is derived from the Sync separated VSYNC (default). 30 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 H-PLL and Clamp Control Subaddress 7 CF 0Fh Default (2Eh) 6 CP 5 Coast Sel 4 CPO 3 CPC 2 SMO 1 FCPD 0 ADC Test CF: Clamp Function. Clamp pulse select. This control bit determines whether the timing for both the fine clamp and the ALC circuit are generated internally or externally. 0 = Internal fine clamp and ALC timing (default) 1 = External fine clamp and ALC timing (pin 76) CP: Clamp Polarity. External clamp polarity select 0 = Active-high clamp pulse (default) 1 = Active-low clamp pulse CS: Coast Select. Coast signal select. This control bit determines whether the timing for H-PLL coast signal is generated internally or externally. 0 = External H-PLL coast timing (pin 77) 1 = Internal H-PLL coast timing (default) CPO: Coast Polarity Override 0 = Polarity determined by chip (default) 1 = Polarity set be Bit 3 in register 0Fh CPC: Coast Polarity Change. External coast polarity select 0 = Active-low coast signal 1 = Active-high coast signal (default) SMO: Seek Mode Override. Places the TVP7002 in a low power mode whenever no activity is detected on the selected sync inputs. 0 = Enable automatic power management mode 1 = Disable automatic power management mode (default) NOTE: Digital outputs are not high impedance and may be in a random state during low power mode. Outputs can be put in high impedance state by I2C register 17h. FCPD: Full Chip Power Down. Active-low power down. FCPD powers down all blocks except I2C. The I2C register values are retained. 0 = Power-down mode 1 = Normal operation (default) NOTE: Digital outputs are not high impedance and may be in random state during FCPD. Outputs can be put in high impedance state by I2C register 17h. ADC Test: Active-high ADC test mode select. When placed in the ADC test mode, the TVP7002 disables the fine clamp, enables the coarse clamp, and selects the external clock input (pin 80) for each ADC channel. 0 = ADC test mode disabled (default) 1 = ADC test mode enabled NOTE: Also see the Horizontal PLL Control register at subaddress 03h. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 31 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Sync-On-Green Threshold Subaddress 10h 7 Default (5Dh) 6 5 SOG Threshold [4:0] 4 3 2 Blue CS 1 Green CS 0 Red CS SOG Threshold [4:0]: Sets the voltage level of the SOG slicer comparator according to the following equation. slice_level = (350 mV) × (NTH/31) 00h = 0 mV 0Bh = 124 mV (default) 1Fh = 350 mV Blue Clamp Select: This bit has no effect when the Blue channel fine clamp is disabled (bit 2 of subaddress 2Ah). 0 = Bottom-level fine clamp 1 = Mid-level fine clamp (default) Green Clamp Select: This bit has no effect when the Green channel fine clamp is disabled (bit 1 of subaddress 2Ah). 0 = Bottom-level fine clamp (default) 1 = Mid level fine clamp Red Clamp Select: This bit has no effect when the Red channel fine clamp is disabled (bit 0 of subaddress 2Ah). 0 = Bottom-level fine clamp 1 = Mid-level fine clamp (default) NOTE: Bottom-level clamping is required for Y and RGB inputs, while mid-level clamping is required for Pb and Pr inputs. The internal clamp pulse must also be correctly positioned for proper clamp operation (see register 05h) Sync Separator Threshold Subaddress 11h 7 Default (20h) 6 5 4 3 Sync Separator Threshold [7:0] 2 1 0 Sync Separator Threshold [7:0]: Sets how many internal clock reference periods the sync separator counts to before toggling high or low. Sync Separator Threshold [7:0] × (minimum clock period) must be greater than the width of the negative sync pulse. This setting can also affect the position of the VSOUT (see register 22h). NOTE: The internal clock reference is typically 6.5 MHz, but a minimum clock period of 133 ns is recommended to allow for clock variation. 40h = recommended setting for support of most video formats NOTE: Margin for a particular format can be maximized by using a mid-range setting below. Format 480i60Hz 480p60Hz 576i50Hz 576p50Hz 720p60Hz 720p50Hz 1080i60Hz 1080i50Hz 1080p60Hz 1080p50Hz MIN 1Fh 10h 20h 11h 1Bh 37h 0Eh 21h 08h 1Bh MID 75h 64h 75h 64h 43h 50h 2Ch 36h 2Dh 36h MAX ABh BAh ACh BCh 6Ch 6Ch 4Bh 4Bh 53h 53h H-PLL Pre-Coast Subaddress 7 12h Default (00h) 6 5 4 3 2 1 0 Pre-Coast [7:0] Pre-Coast [7:0]: Sets the number of HSYNC periods that coast becomes active prior to VSYNC leading edge. A minimum setting of 1 is required to guarantee generation of an internal coast signal. 32 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 H-PLL Post-Coast Subaddress 13h Default (00h) 7 6 5 4 3 2 1 0 Post-Coast [7:0] Post-Coast [7:0]: Sets the number of HSYNC periods that coast stays active following VSYNC trailing edge. Post-Coast settings must be extended to include Macrovision™ pseudo syncs when Macrovision is present. Table 14. Recommended H-PLL Pre-Coast and H-PLL Post-Coast Settings STANDARD H-PLL PRE-COAST H-PLL POSTCOAST 480i/p 3 3 576i/p 3 3 1080i 1 0 1080p 1 0 720p 1 0 PC SOG Graphics 1 0 Sync Detect Status Subaddress 7 HSD 14h Read Only 6 AHS 5 IHSPD 4 VSD 3 AVS 2 VSPD 1 SOGD 0 ICPD HSD: HSYNC Detect. HSYNC activity detection for selected HSYNC input (pin 81 or 82). 0 = No HSYNC activity detected 1 = HSYNC activity detected AHS: Active HSYNC. Indicates whether the active HSYNC is derived from the selected HSYNC input or the selected SOG input. 0 = HSYNC from selected HSYNC input (pin 81 or 82) 1 = HSYNC from selected SOG input (pin 1, 99, or 97) IHSPD: Input HSYNC Polarity Detect. HSYNC polarity detection for selected HSYNC input (pin 81 or 82). 0 = Active-low HSYNC 1 = Active-high HSYNC VSD: VSYNC Detect. VSYNC activity detection for selected VSYNC input (pin 78 or 79). 0 = No VSYNC activity detected 1 = VSYNC activity detected AVS: Active VSYNC. Indicates whether the active VSYNC is derived from the selected VSYNC input or the sync separator. 0 = VSYNC from selected VSYNC input (pin 78 or 79) 1 = VSYNC from sync separator VSPD: Input VSYNC Polarity Detect. VSYNC polarity detection for selected VSYNC input (pin 78 or 79). 0 = Active-low VSYNC 1 = Active-high VSYNC SOGD: SOG Detect. SOG activity detection for selected SOG input (pin 1, 99, or 97). 0 = No SOG activity detected 1 = SOG activity detected ICPD: Input Coast Polarity Detect. Coast signal polarity detection. 0 = Active-low coast signal 1 = Active-high coast signal Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 33 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Output Formatter Subaddress 15h 7 Reserved Default (04h) 6 5 Output code range [1:0] 4 Reserved 3 Clamp REF 2 CbCr order 1 422/444 0 Sync En Reserved [7]: 0 = Required (default) Output code range [1:0]: 00 = RGB coding range (Y, Cb, and Cr range from 0 to 1023) (default) 01 = Extended coding range (Y, Cb, and Cr range from 4 to 1019) 10 = ITU-R BT.601 coding range (Y ranges from 64 to 940, Cb and Cr range from 64 to 960) 11 = Reserved Reserved [4]: 0 = Required (default) Clamp REF: Selects which edge of HSYNC is used as the timing reference for the fine clamp pulse placement and also the ALC placement. 0 = Clamp pulse placement referred to the trailing edge of HSYNC (default) 1 = Clamp pulse placement referred to the leading edge of HSYNC CbCr order: This bit is only effective in the 4:2:2 output mode (i.e., bit 1 is set to 1). 0 = CbCr order 1 = CrCb order (default) 422/444: Active-high 4:4:4 to 4:2:2 decimation filter enable 0 = 30-bit 4:4:4 output format (default) 1 = 20-bit 4:2:2 output format Notes: 1. Multiplexed CbCr data is output on BOUT [9:0] in the 20-bit 4:2:2 output format. 2. 10-bit 4:2:2 output format is not supported. Sync En: Active-high embedded sync enable 0 = Embedded sync disabled (default) 1 = Embedded sync enabled Notes: 1. Embedded syncs are not supported when the RGB coding range (0 to 1023) is selected. 2. Embedded syncs are not supported when the 30-bit 4:4:4 output format is selected. 3. Discrete syncs are always enabled except when outputs are placed in the high-impedance mode. 4. When enabled, embedded syncs are present in both the Y and C outputs. MISC Control 1 Subaddress 7 16h 6 Reserved Default (11h) 5 4 CbCr Align 3 2 Reserved 1 PLL PD 0 STRTB CbCr Align: CbCr alignment 0 = Alternative operation 1 = Normal operation (default) PLL PD: Active-high H-PLL power down 0 = Normal operation (default) 1 = H-PLL powered down STRTB: Active-high H-PLL start-up circuit enable 0 = H-PLL start-up circuit disabled 1 = H-PLL start-up circuit enabled (default) 34 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 MISC Control 2 Subaddress 17h 7 Reserved Default (03h) 6 5 Test output control [2:0] 4 3 2 1 SOG En Reserved 0 Output En Test output control [2:0]: Selects which signal is output on pin 22. Output polarity control is also provided using bit 2 of subaddress 18h. 000 = Field ID output (default) 001 = Data Enable output 010 = Reserved 011 = Reserved 100 = Internal clock reference output (~6.5 MHz typical) 101 = Coast output 110 = Clamp pulse output 111 = High-impedance mode SOG En: Active-low output enable for SOGOUT output. 0 = SOG output enabled 1 = SOG output placed in high-impedance mode (default) Output En: Active-low output enable for RGB, DATACLK, HSOUT, VSOUT, and FIDOUT outputs. This control bit allows selecting a highimpedance output mode for multiplexing the output of the TVP7002 with another device. 0 = Outputs enabled 1 = Outputs placed in high-impedance mode (default) NOTE: Data Enable output is equivalent to the internal active video signal that is controlled by the AVID start/stop pixel values and the VBLK offset/duration line values. MISC Control 3 Subaddress 7 Reserved 18h 6 Reserved Default (00h) 5 Blank En 4 CSC En 3 Reserved 2 FID POL 1 SOG POL 0 CLK POL Reserved [7]: 0 = Required (default) Blank En: Active-high blank level enable. Forces the video blank level to a standard value when using embedded syncs. 0 = Normal operation (default) 1 = Force standard blank levels CSC En: Active-high CSC enable. When disabled, the CSC block is bypassed. 0 = CSC disabled (default) 1 = CSC enabled FID POL: Active-high Field ID output polarity control. Under normal operation, the field ID output is set to logic 1 for an odd field (field 1) and set to logic 0 for an even field (field 0). 0 = Normal operation (default) 1 = FID output polarity inverted NOTE: This control bit also affects the polarity of the data enable output when selected (see Test output control [2:0] at subaddress 17h). SOG POL: Active-high SOG output polarity control 0 = Normal operation (default) 1 = SOG output polarity inverted CLK POL: Allows selecting the polarity of the output data clock. 0 = Data is clocked out on rising edge of DATACLK (default) 1 = Data is clocked out on falling edge of DATACLK Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 35 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Input Mux Select 1 Subaddress 19h 7 6 SOG Select [1:0] Default (00h) 5 4 Red Select [1:0] 3 2 Green Select [1:0] 1 0 Blue Select [1:0] SOG Select [1:0]: Selects one of three SOG inputs. 00 = SOGIN_1 input selected (default) 01 = SOGIN_2 input selected 10 = SOGIN_3 input selected 11 = Reserved Red Select [1:0]: Selects one of three R/Pr inputs. 00 = RIN_1 input selected (default) 01 = RIN_2 input selected 10 = RIN_3 input selected 11 = Reserved Green Select [1:0]: Selects one of four G/Y inputs. 00 = GIN_1 input selected (default) 01 = GIN_2 input selected 10 = GIN_3 input selected 11 = GIN_4 input selected Blue Select [1:0]: Selects one of three B/Pb inputs. 00 = BIN_1 input selected (default) 01 = BIN_2 input selected 10 = BIN_3 input selected 11 = Reserved 36 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Input Mux Select 2 Subaddress 1Ah 7 6 SOG LPF SEL [1:0] Default (C2h) 5 4 CLP LPF SEL [1:0] 3 CLK SEL 2 VS SEL 1 PCLK SEL 0 HS SEL SOG LPF SEL [1:0]: SOG low-pass filter selection. The SOG low-pass filter can be used to attenuate glitches present on the SOG input. Excessive filtering can lead to sync detection issues and increased sample clock jitter. 00 = 2.5-MHz low-pass filter 01 = 10-MHz low-pass filter 10 = 33-MHz low-pass filter 11 = Low-pass filter bypass (default) CLP LPF SEL [1:0]: Coarse clamp low-pass filter selection. This filter effects the operation of all enabled coarse clamps which is generally the SOG coarse clamp only. 00 = 4.8-MHz low-pass filter (default). Suitable for HDTV and graphics formats. 01 = 0.5-MHz low-pass filter. Suitable for SDTV formats. 10 = 1.7-MHz low-pass filter 11 = Reserved CLK SEL: Clock reference select for Sync Processing block. The internal reference clock is typically 6.5 MHz, but it should not be considered a precise clock. An external 27-MHz reference clock is therefore recommended for accurate mode detection. NOTE: The I2C interface, Sync Separator, and activity detection circuitry always uses the internal clock reference. 0 = Internal clock reference (default) 1 = External clock reference (EXT_CLK) NOTE: The external clock input can also be selected as the sample clock for the ADCs (see bit 1). VS SEL: VSYNC input select 0 = VSYNC_A input selected (default) 1 = VSYNC_B input selected PCLK SEL: Pixel clock selection. When the external clock input (pin 80) is selected as the ADC sample clock, the external clamp pulse (pin 76) should also be selected (Bit 7 of subaddress 0Fh). 0 = ADC samples data using external clock input (pin 80) 1 = ADC samples data using H-PLL generated clock (default) NOTE: The external clock input can also be selected as the reference clock for the Sync Processing block (see bit 3). HS SEL: HSYNC input select 0 = HSYNC_A input selected (default) 1 = HSYNC_B input selected NOTE: See the Sync Control register at subaddress 0Eh. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 37 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Blue and Green Coarse Gain Subaddress 1Bh 7 Default (77h) 6 5 Green Coarse Gain [3:0] 4 3 2 1 Blue Coarse Gain [3:0] 0 Green Coarse Gain [3:0]: 4-bit coarse analog gain for Green channel (applied before the ADC). To avoid clipping at the ADC, VP-P in X Gain must be less than 1 VP-P. Gain [3:0] Description 0000 = 0.5 0001 = 0.6 0010 = 0.7 0011 = 0.8 0100 = 0.9 0101 = 1.0 0110 = 1.1 0111 = 1.2 Default 1000 = 1.3 Maximum recommended gain for 700 mVP-P input 1001 = 1.4 1010 = 1.5 1011 = 1.6 1100 = 1.7 1101 = 1.8 1110 = 1.9 1111 = 2.0 Blue Coarse Gain [3:0]: 4-bit coarse analog gain for Blue channel (applied before the ADC). Red Coarse Gain Subaddress 1Ch 7 Default (07h) 6 5 4 3 Reserved 2 1 Red Coarse Gain [3:0] 0 Red Coarse Gain [3:0]: 4-bit coarse analog gain for Red channel (applied before ADC). Fine Offset LSBs Subaddress 1Dh 7 Default (00h) 6 Reserved 5 4 Red Fine Offset [1:0] 3 2 Green Fine Offset [1:0] 1 0 Blue Fine Offset [1:0] Red Fine Offset [1:0]: Two LSBs of 10-bit fine digital offset for Red channel (applied after ADC). Corresponding eight MSBs located at register 0Dh. Offset binary value Green Fine Offset [1:0]: Two LSBs of 10-bit fine digital offset for Green channel (applied after ADC). Corresponding eight MSBs located at register 0Ch. Offset binary value. Blue Fine Offset [1:0]: Two LSBs of 10-bit fine digital offset for Blue channel (applied after ADC). Corresponding eight MSBs located at register 0Bh. Offset binary value. 38 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Blue Coarse Offset Subaddress 1Eh 7 Default (10h) 6 5 4 Reserved 3 2 Blue Coarse Offset [5:0] 1 0 Blue Coarse Offset [5:0]: 6-bit coarse analog offset for Blue channel (applied before ADC). 6-bit sign magnitude value. Coarse Offset settings less than 10h can lead to bottom level clipping at the ADC input. 1Fh = +124 counts 10h = +64 counts referred to ADC output (default) 01h = +4 counts 00h = +0 counts 20h = –0 counts 21h = –4 counts 3Fh = –124 LSB Green Coarse Offset Subaddress 1Fh 7 Default (10h) 6 5 4 Reserved 3 2 Green Coarse Offset [5:0] 1 0 Green Coarse Offset [5:0]: 6-bit coarse analog offset for Green channel (applied before ADC). 6-bit sign magnitude value. Red Coarse Offset Subaddress 20h 7 Default (10h) 6 5 Reserved 4 3 2 Red Coarse Offset [5:0] 1 0 Red Coarse Offset [5:0]: 6-bit coarse analog offset for Red channel (applied before ADC). 6-bit sign magnitude value. HSOUT Output Start Subaddress 7 21h Default (0Dh) 6 5 4 3 HSOUT Start [7:0] 2 1 0 HSOUT Start [7:0]: Adjusts the leading edge of the HSYNC output relative to the leading edge of the HSYNC input in pixel or clock cycles. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 39 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com MISC Control 4 Subaddress 22h 7 SP Reset Default (08h) 6 5 Yadj_delay [2:0] 4 3 MAC_EN 2 Coast Dis 1 VS Select 0 VS Bypass SP Reset: Active-high reset for Sync Processing block. This bit may be used to manually reset the sync separator, sync accumulator, activity and polarity detectors, and line and pixels counters. 0 = Normal operation (default) 1 = Sync processing reset Yadj_delay [2:0]: Adjusts the phase delay of the luma output relative to the chroma output. Used to compensate for the chroma delay associated with the 4:4:4 to 4:2:2 chroma sample conversion. 0h = Minimum delay (default) 7h = Maximum delay MAC_EN: Toggling of the MAC_EN bit was required for TVP7000 and TVP7001 Macrovision support. This is no longer required with the TVP7002. 0 = Macrovision stripper disabled (recommended setting for nominal HD and PC graphics inputs). 1 = Macrovision stripper enabled (default) NOTE: When the Macrovsion stripper is enabled, ALC and Clamp pulse placement is affected by the Macrovision Stripper Width setting. See Register 34h for details. Coast Dis: Active-high internal coast signal disable for 5-wire PC graphics inputs. Has no effect when the external coast signal is selected. See bit 5 of register 0Fh. 0 = Internal coast signal enabled (default) 1 = Internal coast signal disabled VS Select: VSYNC select 0 = VSOUT is generated by the sync separator (default). When there is no sync separator activity, VSOUT will be generated by the half line accumulator . 1 = VSOUT is generated by the half line accumulator VS Bypass: VSYNC timing bypass 0 = Normal operation (default). VS is derived from the sync separator or half line accumulator based on VS select, and the internal pixel/line counters. Register 35h can be used to adjust VSOUT alignment relative to HSOUT. 1 = Bypass VSYNC processing. VSOUT is derived directly from the sync separator. VSOUT delay varies with sync separator threshold (register 11h). Register 35h has no effect. Blue Digital ALC Output LSBs Subaddress 7 23h Read only 6 5 4 3 Blue ALC Out [7:0] 2 1 0 Blue ALC Out [7:0]: Eight LSBs of 10-bit filtered digital ALC output for Blue channel. The corresponding two MSBs are located at subaddress 27h. With the internal ALC loop enabled, the ADC dynamic range can be maximized by adjusting the coarse offset settings based on the ALC read back values. See registers 1Eh–20h for analog coarse offset control. If large adjustments are made to the analog coarse offset control, adequate time must be allowed for the ALC to converge prior to reading of this register. ALC delay requirements will depend on the ALC NSV filter settings and the video input line rate. A delay of 30ms should be adequate for a 480i input with an NSV setting of 1/64. ALC NSV filtering can be increased following final coarse offset adjsutment. See register 28h for more information on ALC filter settings. Twos-complement value. ALC Out[9:0] = ADC output – 512 For bottom-level clamped inputs (YRGB): • • Target ADC output blank level = 32 to avoid bottom level clipping at ADC ALC Out[9:0] = 32 – 512 = –480 = 220h Starting from positive offset, decrement YRGB coarse offset until ALC Out [9:0] ≤ 220h For mid-level clamped inputs (PbPr): • • 40 Target ADC output blank level = 512 ALC Out[9:0] = 512 – 512 = 0 Starting from positive offset, decrement PbPr coarse offset until ALC Out [9:0] ≤ 0. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Green Digital ALC Output LSBs Subaddress 24h 7 Read only 6 5 4 3 Green ALC Out [7:0] 2 1 0 Green ALC Out [7:0]: Eight LSBs of 10-bit filtered digital ALC output for Green channel. The corresponding two MSBs are located at subaddress 27h. Twos-complement value. Also see register 23h. Red Digital ALC Output LSBs Subaddress 25h 7 Read only 6 5 4 3 Red ALC Out [7:0] 2 1 0 Red ALC Out [7:0]: Eight LSBs of 10-bit filtered digital ALC output for Red channel. The corresponding two MSBs are located at subaddress 27h. Twos-complement value. Also see register 23h. Automatic Level Control Enable Subaddress 26h 7 ALC enable Default (80h) 6 5 4 3 Reserved 2 1 0 ALC enable: Active-high automatic level control (ALC) enable 0 = ALC disabled 1 = ALC enabled (default) See the ALC Placement register located at subaddress 31h. Digital ALC Output MSBs Subaddress 27h 7 Read only 6 Reserved 5 4 Red ALC Out [9:8] 3 2 Green ALC Out [9:8] 1 0 Blue ALC Out [9:8] Red ALC Out [9:8]: Two MSBs of 10-bit filtered digital ALC output for Red channel. The corresponding eight LSBs are located at subaddress 25h. Twos-complement value. Green ALC Out [9:8]: Two MSBs of 10-bit filtered digital ALC output for Green channel. The corresponding eight LSBs are located at subaddress 24h. Twos-complement value. Blue ALC Out [9:8]: Two MSBs of 10-bit filtered digital ALC output for Blue channel. The corresponding eight LSBs are located at subaddress 23h. Twos-complement value. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 41 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Automatic Level Control Filter Subaddress 28h 7 Reserved Default (53h) 6 5 4 3 2 NSV [3:0] 1 NSH [2:0] 0 NSV [3:0]: ALC vertical filter coefficient. First-order recursive filter coefficient. ALC updates once per video line. NSV [3:0] Description 0000 = 1 Fastest setting. ALC converges in one iteration (i.e., one video line) 0001 = 1/2 0010 = 1/4 0011 = 1/8 0100 = 1/16 0101 = 1/32 0110 = 1/64 0111 = 1/128 1000 = 1/256 1001 = 1/512 1010 = 1/1024 (default) Slowest setting. Provides the most filtering. 1011 = 1/1024 1100 = 1/1024 1101 = 1/1024 1110 = 1/1024 1111 = 1/1024 NSH [2:0]: ALC horizontal sample filter coefficient. Multi-tap running average filter coefficient. NSH [2:0] Description 000 = 1/2 2-tap running average filter 001 = 1/4 010 = 1/8 011 = 1/16 (default) 100 = 1/32 101 = 1/64 110 = 1/128 111 = 1/256 256-tap running average filter Reserved Subaddress 7 29h Default (08h) 6 5 4 3 2 1 0 Reserved [7:0] Reserved [7:0]: 08h = Required (default) 42 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Fine Clamp Control Subaddress 2Ah 7 CM Offset Default (07h) 6 5 Reserved 4 3 Fine swsel [1:0] 2 Reserved 1 Fine GB 0 Fine R CM Offset: Fine bottom-level clamp common mode offset enable. The common mode offset is approximately 300 mV when enabled. Has no effect when the coarse clamp or fine mid-level clamp is selected. See registers 10h and 2Dh. 0 = Common mode offset disabled (default) 1 = Common mode offset enabled NOTE: The 300-mV common-mode offset can be enabled to improve isolation and channel crosstalk, when inputs with sync tips larger than nominal (>300 mV) must be supported. Reserved [6:5]: 0 = Normal operation (default) Fine swse [1:0]l: Fine clamp time constant adjustment 00 = Longest time constant (default) 11 = Shortest time constant Reserved [2]: 1 = Normal operation (default) Fine GB: Active-high fine clamp enable for Green and Blue channel 0 = Green channel fine clamp disabled 1 = Green and Blue channel fine clamps enabled (default) Fine R: Active-high fine clamp enable for Red channel 0 = Red channel fine clamp disabled 1 = Red channel fine clamp enabled (default) NOTE: Leave Fine GB and Fine R bits turned on for proper clamp operation. See register 10h for mid and bottom level clamping control. Power Control Subaddress 7 Reserved 2Bh (Default 00h) 6 SOG 5 SLICER 4 REF 3 CURRENT 2 PW ADC B 1 PW ADC G 0 PW ADC R SOG: 0 = Normal operation (default) 1 = SOG power-down Slicer: 0 = Normal operation (default) 1 = Slicer power-down Reference: 0 = Normal operation (default) 1 = Reference block power-down Current control: 0 = Normal operation (default) 1 = Current control block power-down PW ADC B: Active-high power-down for ADC Blue channel 0 = ADC Blue channel power-down disabled (default) 1 = ADC Blue channel power-down enabled PW ADC G: Active-high power-down for ADC Green channel 0 = ADC Green channel power-down disabled (default) 1 = ADC Green channel power-down enabled PW ADC R: Active-high power-down for ADC Red channel 0 = ADC Red channel power-down disabled (default) 1 = ADC Red channel power-down enabled Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 43 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com ADC Setup Subaddress 2Ch 7 (Default 50h) 6 5 ADC bias control [3:0] 4 3 2 1 0 Trim clamp [3:0] ADC bias control [3:0]: Allows adjusting the internal ADC bias current for optimum performance. 0h = Minimum setting 5h = Recommended setting for sample rates ≤ 110 MSPS (default) 8h = Recommended setting for sample rates > 110 MSPS Fh = Maximum setting Trim clamp [3:0]: SOG coarse clamp bias current control. 0h = 2 μA (default) 3h = 8 μA Fh = 32 μA IBIAS = 2 + 2 × NBIAS, where 0 ≤ NBIAS ≤ 15 The SOG coarse clamp leakage current (subaddress 30h) is derived from the SOG coarse clamp bias current. Coarse Clamp Control Subaddress 2Dh Default (00h) 7 6 CCCLP_cur_CH1 [1:0] 5 4 Reserved [5:3] 3 2 Coarse B 1 Coarse G 0 Coarse R CCCLP_cur_CH1 [1:0]: Coarse clamp charge current switch selection. 00 = Highest charge current setting (default) 11 = Lowest charge current setting Reserved [5:3]: 000 = Normal operation (default) Coarse B: Active-high coarse clamp enable for Blue channel 0 = Blue channel coarse clamp disabled (default) 1 = Blue channel coarse clamp enabled Coarse G: Active-high coarse clamp enable for Green channel 0 = Green channel coarse clamp disabled (default) 1 = Green channel coarse clamp enabled Coarse R: Active-high coarse clamp enable for Red channel 0 = Red channel coarse clamp disabled (default) 1 = Red channel coarse clamp enabled NOTE: Enabling Coarse clamps will disable Fine clamps and override Fine clamp enable settings in subaddress 2Ah. SOG Clamp Subaddress 7 SOG_CE 2Eh (Default 80h) 6 5 CCCLP_cur_SOG [1:0] 4 upi_sog 3 dwni_sog 2 1 upi_ch123 [2:0] 0 SOG_CE: Active-high SOG clamp enable. 0 = SOG clamp disabled 1 = SOG clamp enabled (default) CCCLP_cur_SOG [1:0]: SOG coarse clamp charge current switch selection. 00 = Lowest charge current setting (default) 11 = Highest charge current setting Reserved [4:0]: 0 = Normal operation (default) 44 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 RGB Coarse Clamp Control Subaddress 2Fh 7 (Default 8Ch) 6 5 4 3 2 RGB leakage [5:0] Reserved 1 0 RGB leakage [5:0]: RGB channel coarse clamp leakage current switch. Increasing the coarse clamp leakage current increases horizontal droop but improves hum rejection. 00h = 0.5 μA 0Ch = 6.5 μA when IBIAS = 2 μA (default) 3Fh = 32.0 μA when IBIAS = 2 μA Droop_Current = 0.5 + (IBIAS/4) × NDC, where 0 ≤ NDC ≤ 63 SOG Coarse Clamp Control Subaddress 30h 7 (Default 04h) 6 5 4 3 2 SOG leakage [5:0] Reserved 1 0 SOG leakage [5:0]: SOG coarse clamp leakage current switch. The SOG coarse clamp leakage current is derived from the bias current. Increasing the coarse clamp leakage current increases horizontal droop but improves hum rejection. 00h = 0.01 μA 04h = 0.21 μA when IBIAS = 2 μA (default) 3Fh = 3.16 μA when IBIAS = 2 μA Droop_Current = (0.01 + (IBIAS/40) × NDC, where 0 ≤ NDC ≤ 63 NOTE: IBIAS is controlled using Trim clamp [3:0] at subaddress 2Ch. ALC Placement Subaddress 31h 7 (Default 5Ah) 6 5 4 3 ALC placement [7:0] 2 1 0 ALC placement [7:0]: Positions the ALC signal an integer number of clock periods after either the leading edge or the trailing edge (default) of the HSYNC signal. Bit 3 of subaddress 15h allows selecting which edge of HSYNC is used as the timing reference for ALC placement. The ALC must be applied after the end of the fine clamp interval. 0 = Minimum setting 18h = PC graphics and SDTV with bi-level syncs 5Ah = HDTV with tri-level syncs (default) Reserved Subaddress 32h 7 Default (18h) 6 5 4 3 2 1 3 2 1 0 Reserved [7:0] Reserved Subaddress 7 33h Default (60h) 6 5 4 0 Reserved Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 45 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com Macrovision Stripper Width Subaddress 34h 7 Default (03h) 6 5 4 3 stripper width [7:0] 2 1 0 When the MAC_EN bit in Reg 22h is set to 1, this setting creates a stripper window around HSYNC for masking Macrovision pseudo-syncs or glitches that could affect PLL lock. The actual stripper width is determined from the stripper width [7:0] setting and can be approximated by 2 x stripper width [7:0] x REFCLK period. If set too low, stripper width [7:0] can adversely affect fine clamp and ALC placement. Reg 3Bh can be used for read-back of the HSYNC width for automation of this setup . To ensure proper operation of fine clamp and ALC, a minimum stripper width[7:0] setting of Reg 3Bh (HSYNC wdith) + Reg 3Dh (Line Length Tolerance) can be used. The maximum width is determined from the start of the Macrovision pseudo-syncs and the video input line length. Stripper width [7:0] settings exceeding one half of the input video line length cannot be used. Recommended settings for the more common formats are shown below for a Line Length Tolerance setting of 3. Stripper width [7:0] has no effect, when the MAC_EN bit in Reg 22h is set to 0. Table 15. Recommended Stripper Width Settings VIDEO STANDARD 480i and 576i 480p and 576p 720p 1080i 1080p INTERNAL REFCLK USED 24h 12h 07h 07h 03h EXTERNAL 27-MHZ REFCLK USED 83h 43h 12h 13h 09h VSYNC Alignment Subaddress 35h 7 Default (10h) 6 5 4 3 VS-HS Align [7:0] 2 1 0 VS-HS Align [7:0]: Specifies the number of pixels that the leading edge of the VSYNC output should be delayed or advanced relative to the leading edge of the HSYNC output. The Field ID output is delayed by the same amount. Twos-complement number. This register has no effect when either Sync bypass mode is enabled (see subaddresses 22h and 36h). 00h–7Fh = VSYNC leading edge delayed relative to the HSYNC leading edge FFh–80h = VSYNC leading edge advanced relative to the HSYNC leading edge Sync Bypass Subaddress 7 36h Default (00h) 6 5 Reserved 4 3 VS INV 2 HS INV 1 VS BP 0 HS BP VS INV: VSYNC output polarity control. This bit only has an effect if the VSYNC bypass is asserted (bit 1 = 1). 0 = HSYNC output polarity matches input polarity (default) 1 = HSYNC output polarity inverted HS INV: HSYNC output polarity control. This bit only has an effect if the HSYNC bypass is asserted (bit 0 = 1). 0 = HSYNC output polarity matches input polarity (default) 1 = HSYNC output polarity inverted VS BP: VSYNC bypass. This bit enables bypassing the Sync processing block in order to output a raw unprocessed VSYNC. 0 = Normal operation (default) 1 = VSYNC bypass mode. Can be used with PC graphics using discrete syncs. HS BP: HSYNC bypass. This bit enables bypassing the Sync processing block in order to output a raw unprocessed HSYNC. 0 = Normal operation (default) 1 = HSYNC bypass mode. Can be used for sync detection but is not recommended for normal operation NOTE: See register 14h for input sync polarity detect. 46 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 Lines Per Frame Status Subaddress 37h–38h Subaddress 37h 38h 7 6 5 Read only Reserved mac detect P/I detect 4 3 Lines per Frame [7:0] Reserved 2 1 0 Lines per Frame [11:8] mac detect: Macrovision pseudo-sync detection status 0 = Macrovision not detected 1 = Macrovision detected P/I detect: Progressive/interlaced video detection status. Not dependent on the H-PLL being locked. 0 = Interlaced video detected 1 = Progressive video detected Lines per Frame [11:0]: Number of lines per frame. The lines per frame value may be used along with the clocks per line value (subaddresses 39h–3Ah) to determine the vertical frequency (fV) of the video input. fV = clock reference frequency / clocks per line / lines per frame NOTE: The Lines per Frame counter is not dependent on the H-PLL being locked. Table 16. Expected Status Read-Back When Using a 27-MHz REFCLK Format Clocks Per Line Lines per frame HSYNC Width I/P Bit HS POL HS POL 480i60Hz 1716 525 126 0 1 1 480p60Hz 858 525 63 1 1 1 576i50Hz 1728 625 126 0 1 1 576p50Hz 864 625 63 1 1 1 720p60Hz 600 750 14 1 1 1 1080i60Hz 800 1125 16 0 1 1 1080p60Hz 400 1125 8 1 1 1 XGA60Hz 558 806 56 1 0 0 XGA75Hz 449 800 32 1 1 1 Clocks Per Line Status Subaddress 39h–3Ah Subaddress 39h 3Ah 7 Read only 6 5 4 3 Clocks per Line [7:0] 2 Reserved 1 0 Clocks per Line [11:8] Clocks per Line [11:0]: Number of clock cycles per line. The value written to this register represents the length of the longest line per frame. A known timing reference based on either the internal clock reference (~6.5 MHz) or an external clock reference input (EXT_CLK) of up to 27 MHz may be selected using subaddress 1Ah. The clocks per line value may be used to determine the horizontal frequency (fH) of the video input. fH = clock reference frequency / clocks per line NOTE: The Clocks per Line counter is not dependent on the H-PLL being locked. HSYNC Width Subaddress 7 3Bh Read only 6 5 4 3 HSYNC width [7:0] 2 1 0 HSYNC width [7:0]: Number of clock cycles between the leading and trailing edges of the HSYNC input. A known timing reference based on either the internal clock reference (~6.5 MHz) or an external clock reference input (EXT_CLK) of up to 27 MHz may be selected using subaddress 1Ah. NOTE: The HSYNC width counter is not dependent on the H-PLL being locked. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 47 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com VSYNC Width Subaddress 3Ch 7 Read only 6 Reserved 5 4 3 2 VSYNC width [4:0] 1 0 VSYNC width [4:0]: Number of lines between the leading and trailing edges of the VSYNC input. The VSYNC width along with the HSYNC and VSYNC polarities can be used to determine whether the input graphics format is using VESA-CVT generated timings. NOTE: The VSYNC width counter is not dependent on the H-PLL being locked. Line Length Tolerance Subaddress 3Dh Default (03h) 7 Reserved 6 5 4 3 Line length tolerance [6:0] 2 1 0 Line length tolerance [6:0]: Controls sensitivity to HSYNC input stability when using either the internal or external clock reference. Increased line length tolerance settings may be required for input signals having horizontal instability. This setting may affect the precison of the clock cycles per line counter (see subaddresses 39h–3Ah) 00h = (minimum) tolerance 03h = (default) tolerance 06h = (recommended) tolerance 7Fh = (maximum) tolerance Reserved Subaddress 3Eh Default (04h) 7 6 5 4 3 2 1 3 2 1 0 Reserved [7:0] Reserved [7:0]: 04h = Required setting (default) Video Bandwidth Control Subaddress 3Fh Default (00h) 7 6 5 4 Reserved 0 BW select [3:0] BW select [3:0]: Selectable low-pass filter settings for controlling the analog video bandwidth. This control affects the analog video bandwidth of all three ADC channels. 0h = Highest video bandwidth (default) Fh = Lowest video bandwidth (~95 MHz analog video bandwidth ) NOTE: This register can be used to filter high frequency noise but lacks the precision for maximum filtering of various video formats. The lowest bandwidth setting provides a video bandwidth of at least 50 MHz. AVID Start Pixel Subaddress 40h–41h Subaddress 40h 41h 7 Default (012Ch) 6 Reserved 5 4 3 AVID start [7:0] AVID active 2 1 0 AVID start [12:8] AVID active 0 = AVID out active during VBLK (default) 1 = AVID out inactive during VBLK AVID start [12:0]: AVID start pixel number, this is an absolute pixel location from the leading edge of HSYNC (start pixel 0). The TVP7002 updates the AVID start only when the AVID start MSB byte is written to. AVID start pixel register also controls the position of SAV code. The TVP7002 inserts the SAV code four pixels before the pixel number specified in the AVID start pixel register. 48 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 AVID Stop Pixel Subaddress 42h–43h Subaddress 42h 43h 7 Default (062Ch) 6 5 4 3 AVID stop [7:0] Reserved 2 1 0 AVID stop [12:8] AVID stop [12:0]: AVID stop pixel number. The number of pixels of active video must be an even number. This is an absolute pixel location from the leading edge of HSYNC (start pixel 0). The TVP7002 updates the AVID Stop only when the AVID Stop MSB byte is written to. AVID stop pixel register also controls the position of EAV code. VBLK Field 0 Start Line Offset Subaddress 44h 7 Default (05h) 6 5 4 3 VBLK start 0 [7:0] 2 1 0 VBLK start 0 [7:0]: VBLK start line offset for field 0 relative to the leading edge of VSYNC. The VBLK start line offset value affects the location of transitions on the embedded sync V-bit and VBLK of the Data Enable output, but not the VSYNC output (VSOUT). Unsigned integer. VBLK Field 1 Start Line Offset Subaddress 45h 7 Default (05h) 6 5 4 3 VBLK start 1 [7:0] 2 1 0 VBLK start 1 [7:0]: VBLK start line offset for field 1 relative to the leading edge of VSYNC. The VBLK start line offset value affects the location of transitions on the embedded sync V-bit and VBLK of the Data Enable output, but not the VSYNC output (VSOUT). Unsigned integer. VBLK Field 0 Duration Subaddress 46h 7 Default (1Eh) 6 5 4 3 VBLK duration 0 [7:0] 2 1 0 VBLK duration 0 [7:0]: VBLK duration in lines for field 0. VBLK Field 1 Duration Subaddress 47h 7 Default (1Eh) 6 5 4 3 VBLK duration 1 [7:0] 2 1 0 VBLK duration 1 [7:0]: VBLK duration in lines for field 1. F-bit Field 0 Start Line Offset Subaddress 7 48h Default (00h) 6 5 4 3 F-bit start 0 [7:0] 2 1 0 F-bit start 0 [7:0]: F-bit Field 0 start line offset relative to the leading edge of VSYNC, signed integer, set F-bit to 0 until field 1 start line, it only applies in interlaced mode. For a non-interlace mode, F-bit is always set to 0. NOTE: The field ID output (FIDOUT) is always aligned with the leading edge of the VSYNC output (VSOUT). Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 49 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com F-bit Field 1 Start Line Offset Subaddress 49h Default (00h) 7 6 5 4 3 F-bit start 1 [7:0] 2 1 0 F-bit start 1 [7:0]: F-bit Field 1 start line offset relative to the leading edge of VSYNC, signed integer, set F-bit to 1 until field 0 start line, it only applies in interlaced mode. For a non-interlace mode, F-Bit is always set to 0. NOTE: The field ID output (FIDOUT) is always aligned with the leading edge of the VSYNC output (VSOUT). 1st CSC Coefficient Subaddress 4Ah–4Bh Subaddress 4Ah 4Bh 7 Default (16E3h) 6 5 4 3 1st Coefficient [7:0] 1st Coefficient [15:8] 2 1 5 4 3 2nd Coefficient [7:0] 2nd Coefficient [15:8] 2 1 5 4 3 3rd Coefficient [7:0] 3rd Coefficient [15:8] 2 1 0 1st Coefficient [15:0]: 16-bit G’ coefficient MSB for Y 2nd CSC Coefficient Subaddress 4Ch–4Dh Subaddress 4Ch 4Dh 7 Default (024Fh) 6 0 2nd Coefficient [15:0]: 16-bit B’ coefficient MSB for Y 3rd CSC Coefficient Subaddress 4Eh–4Fh Subaddress 4Eh 4Fh 7 Default (06CEh) 6 0 3rd Coefficient [15:0]: 16-bit R’ coefficient MSB for Y 4th CSC Coefficient Subaddress 50h–51h Subaddress 50h 51h 7 Default (F3ABh) 6 5 4 3 4th Coefficient [7:0] 4th Coefficient [15:8] 2 1 0 4th Coefficient [15:0]: 16-bit G’ coefficient MSB for U 5th CSC Coefficient Subaddress 52h–53h Subaddress 52h 53h 7 Default (1000h) 6 5 4 3 5th Coefficient [7:0] 5th Coefficient [15:8] 2 1 0 5th Coefficient [15:0]: 16-bit B’ coefficient MSB for U 50 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 6th CSC Coefficient Subaddress 54h–55h Subaddress 54h 55h 7 Default (FC55h) 6 5 4 3 6th Coefficient [7:0] 6th Coefficient [15:8] 2 1 0 6th Coefficient [15:0]: 16-bit R’ coefficient MSB for U 7th CSC Coefficient Subaddress 56h–57h Subaddress 56h 57h 7 Default (F178h) 6 5 4 3 7th Coefficient [7:0] 7th Coefficient [15:8] 2 1 5 4 3 8th Coefficient [7:0] 8th Coefficient [15:8] 2 1 5 4 3 9th Coefficient [7:0] 9th Coefficient [15:8] 2 1 0 7th Coefficient [15:0]: 16-bit G’ coefficient MSB for V 8th CSC Coefficient Subaddress 58h–59h Subaddress 58h 59h 7 Default (FE88h) 6 0 8th Coefficient [15:0]: 16-bit B’ coefficient MSB for V 9th CSC Coefficient Subaddress 5Ah–5Bh Subaddress 5Ah 5Bh 7 Default (1000h) 6 0 9th Coefficient [15:0]: 16-bit R’ coefficient MSB for V Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 51 TVP7002 SLES206C – MAY 2007 – REVISED APRIL 2013 www.ti.com APPLICATION INFORMATION PLL Loop Filter 0.1 µF 4.7 nF 1 nF G/Y GIN_1 FILT1 FILT2 0.1 µF PLL_F SOGIN_1 1.5 kW 75 W G[9:0] 0.1 µF B/Pb B[9:0] BIN_1 75 W R[9:0] 0.1 µF R/Pr DATACLK RIN_1 75 W TVP7002 HSYNC FIDOUT HSYNC_A 330 W SOGOUT 5 V/3.3 V VSYNC VSOUT VSYNC_A 1 nF HSOUT TMS CLAMP PWDN COAST SCL SDA 3.3 V I2CA RESETB 2.2 kW × 2 2.2 kW × 3 NOTE: System level ESD protection is not shown in this application circuit but is highly recommended on the RGB and H/VSYNC inputs. Figure 8. TVP7002 Application Example 52 Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 TVP7002 www.ti.com SLES206C – MAY 2007 – REVISED APRIL 2013 REVISION HISTORY Revision SLES206 Comments Initial Release SLES206A Changed Functional Block Diagram Updated Timing Requirements Changed Sync Activity Detection section Changed Power Up, Reset, and Initialization section Editorial changes throughout SLES206B Modified pin 73 I2CA pin description in Table 1, Terminal Functions. Reset and I2C Bus Address Selection section, Modified I2CA description and Table 10. Modified Supported Formats and Sync Separator sections. Added format detection information to the Control Registers section Added sync separator information to the Control Registers section Modified H-PLL Phase Select register bit description. Modified Input Mux Select 2 register bit description. Modified Blue Coarse Offset register bit description. Modified the Output Timing Information in Figure 6. Added information to the Embedded Syncs section. SLES206C Table 4, Standard: Video, Resolution: 720 x 480i: Changed Line Rate (kHz) from 15.374 to 15.734. Table 4, Standard: Video, Resolution: 1920 x 1080i: Changed Frame Rate (Hz) from 60 to 30 and from 50 to 25. Submit Documentation Feedback Copyright © 2007–2013, Texas Instruments Incorporated Product Folder Links: TVP7002 53 PACKAGE OPTION ADDENDUM www.ti.com 10-Dec-2020 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Pins Package Drawing Qty Eco Plan (2) Lead finish/ Ball material MSL Peak Temp Op Temp (°C) Device Marking (3) (4/5) (6) TVP7002PZP ACTIVE HTQFP PZP 100 90 RoHS & Green NIPDAU Level-3-260C-168 HR 0 to 70 TVP7002 TVP7002PZPR ACTIVE HTQFP PZP 100 1000 RoHS & Green NIPDAU Level-3-260C-168 HR 0 to 70 TVP7002 (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may reference these types of products as "Pb-Free". RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption. Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of
TVP7002PZPR 价格&库存

很抱歉,暂时无法提供与“TVP7002PZPR”相匹配的价格&库存,您可以联系我们找货

免费人工找货