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

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
AD9397

AD9397

  • 厂商:

    AD(亚德诺)

  • 封装:

  • 描述:

    AD9397 - DVI Display Interface - Analog Devices

  • 数据手册
  • 价格&库存
AD9397 数据手册
DVI Display Interface AD9397 FEATURES DVI interface Supports high-bandwidth digital content protection RGB to YCbCr 2-way color conversion 1.8 V/3.3 V power supply 100-lead, Pb-free LQFP RGB and YCbCr output formats Digital video interface DVI 1.0 150 MHz DVI receiver Supports high-bandwidth digital content protection (HDCP 1.1) SCL SDA FUNCTIONAL BLOCK DIAGRAM SERIAL REGISTER AND POWER MANAGEMENT R/G/B 8 × 3 DIGITAL INTERFACE Rx0+ Rx0– Rx1+ Rx1– Rx2+ Rx2– DVI RECEIVER 2 R/G/B 8 × 3 OR YCbCr DATACK DE HSYNC VSYNC RGB ↔YCbCr MATRIX YCbCr (4:2:2 OR 4:4:4) 2 DATACK HSOUT VSOUT SOGOUT DE APPLICATIONS Advanced TVs HDTVs Projectors LCD monitors RxC+ RxC– RTERM DDCSCL DDCSDA MCL MDA HDCP 05691-001 AD9397 Figure 1. GENERAL DESCRIPTION The AD9397 is a digital visual interface (DVI) receiver integrated on a single chip. Also included is support for high bandwidth digital content protection (HDCP) with internal key storage. The AD9397 contains a DVI 1.0-compatible receiver and supports all HDTV formats (up to 1080p and 720p) and display resolutions up to SXGA (1280 × 1024 @ 80 Hz). The receiver features an intrapair skew tolerance of up to one full clock cycle. With the inclusion of HDCP, displays can receive encrypted video content. The AD9397 allows for authentication of a video receiver, decryption of encoded data at the receiver, and renewability of that authentication during transmission as specified by the HDCP 1.1 protocol. Fabricated in an advanced CMOS process, the AD9397 is provided in a space-saving, 100-lead, surface-mount, Pb-free plastic LQFP and is specified over the 0°C to 70°C temperature range. Rev. 0 Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 © 2005 Analog Devices, Inc. All rights reserved. AD9397 TABLE OF CONTENTS Features .............................................................................................. 1 Applications....................................................................................... 1 Functional Block Diagram .............................................................. 1 General Description ......................................................................... 1 Revision History ............................................................................... 2 Specifications..................................................................................... 3 Electrical Characteristics............................................................. 3 Digital Interface Electrical Characteristics ............................... 4 Absolute Maximum Ratings............................................................ 6 Explanation of Test Levels ........................................................... 6 ESD Caution.................................................................................. 6 Pin Configuration and Function Descriptions............................. 7 Design Guide................................................................................... 10 General Description................................................................... 10 Digital Inputs .............................................................................. 10 Serial Control Port ..................................................................... 10 Output Signal Handling............................................................. 10 Power Management.................................................................... 10 Timing.............................................................................................. 11 HSYNC Timing .......................................................................... 11 VSYNC Filter and Odd/Even Fields ........................................ 11 DVI Receiver............................................................................... 11 DE Generator.............................................................................. 11 4:4:4 to 4:2:2 Filter ...................................................................... 12 Output Data Formats................................................................. 12 2-Wire Serial Register Map ........................................................... 13 2-Wire Serial Control Register Details ........................................ 18 Chip Identification ..................................................................... 18 BT656 Generation ...................................................................... 20 Macrovision................................................................................. 21 Color Space Conversion ............................................................ 21 2-Wire Serial Control Port ............................................................ 23 Data Transfer via Serial Interface............................................. 23 Serial Interface Read/Write Examples ..................................... 24 PCB Layout Recommendations.................................................... 25 Power Supply Bypassing ............................................................ 25 Outputs (Both Data and Clocks).............................................. 25 Digital Inputs .............................................................................. 25 Color Space Converter (CSC) Common Settings...................... 26 Outline Dimensions ....................................................................... 28 Ordering Guide .......................................................................... 28 REVISION HISTORY 10/05—Revision 0: Initial Version Rev. 0 | Page 2 of 28 AD9397 SPECIFICATIONS ELECTRICAL CHARACTERISTICS VDD, VD = 3.3 V, DVDD = PVDD = 1.8 V, ADC clock = maximum. Table 1. Parameter RESOLUTION Data-to-Clock Skew Serial Port Timing tBUFF tSTAH tDHO tDAL tDAH tDSU tSTASU tSTOSU DIGITAL INPUTS (5 V TOLERANT) Input Voltage, High (VIH) Input Voltage, Low (VIL) Input Current, High (IIH) Input Current, Low (IIL) Input Capacitance DIGITAL OUTPUTS Output Voltage, High (VOH) Output Voltage, Low (VOL) Duty Cycle, DATACK Output Coding POWER SUPPLY VD Supply Voltage DVDD Supply Voltage VDD Supply Voltage PVDD Supply Voltage ID Supply Current (VD) IDVDD Supply Current (DVDD) IDD Supply Current (VDD) 1 IPVDD Supply Current (PVDD) Total Power Power-Down Dissipation THERMAL CHARACTERISTICS θJA Junction to Ambient 1 2 Temp Full Full Full Full Full Full Full Full Full Full Full Full Full 25°C Full Full Full Test Level IV VI VI VI VI VI VI VI VI VI VI V V V VI VI V AD9397KSTZ-100 Typ Max 8 −0.5 +2.0 Min 4.7 4.0 0 4.7 4.0 250 4.7 4.0 2.6 0.8 −82 82 3 VDD − 0.1 45 50 Binary 3.3 1.8 3.3 1.8 260 45 37 10 1.1 130 35 0.4 55 Min AD9397KSTZ-150 Typ Max 8 −0.5 +2.0 Unit Bits ns μs μs μs μs μs ns μs μs V V μA μA pF V V % 4.7 4.0 0 4.7 4.0 250 4.7 4.0 2.6 0.8 −82 82 3 VDD − 0.1 45 50 Binary 3.3 1.8 3.3 1.8 0.4 55 Full Full Full Full 25°C 25°C 25°C 25°C Full Full IV IV IV IV VI VI VI VI VI VI V 3.15 1.7 1.7 1.7 3.47 1.9 3.47 1.9 300 60 100 2 15 1.4 3.15 1.7 1.7 1.7 1.15 130 35 3.47 1.9 3.47 1.9 330 85 1302 20 1.4 V V V V mA mA mA mA W mW °C/W DATACK load = 15 pF, data load = 5 pF. Specified current and power values with a worst-case pattern (on/off). Rev. 0 | Page 3 of 28 AD9397 DIGITAL INTERFACE ELECTRICAL CHARACTERISTICS VDD = VD = 3.3 V, DVDD = PVDD = 1.8 V, ADC clock = maximum. Table 2. Parameter RESOLUTION DC DIGITAL I/O SPECIFICATIONS High Level Input Voltage, (VIH) Low Level Input Voltage, (VIL) High Level Output Voltage, (VOH) Low Level Output Voltage, (VOL) DC SPECIFICATIONS Output High Level IOHD, (VOUT = VOH) Output Low Level IOLD, (VOUT = VOL) DATACK High Level VOHC, (VOUT = VOH) DATACK Low Level VOLC, (VOUT = VOL) Differential Input Voltage, Single-Ended Amplitude POWER SUPPLY VD Supply Voltage VDD Supply Voltage DVDD Supply Voltage PVDD Supply Voltage IVD Supply Current (Typical Pattern) 1 IVDD Supply Current (Typical Pattern) 2 IDVDD Supply Current (Typical Pattern)1, 4 IPVDD Supply Current (Typical Pattern)1 Power-Down Supply Current (IPD) Test Level Conditions AD9397KSTZ-100 Min Typ Max 8 2.5 0.8 VDD − 0.1 VDD − 0.1 Output drive = high Output drive = low Output drive = high Output drive = low Output drive = high Output drive = low Output drive = high Output drive = low 75 36 24 12 8 40 20 30 15 700 75 0.1 36 24 12 8 40 20 30 15 700 AD9397KSTZ-150 Min Typ Max 8 2.5 0.8 0.1 Unit Bit V V V V mA mA mA mA mA mA mA mA mV VI VI VI VI IV IV IV IV IV IV IV IV IV IV IV IV IV V V V V VI 3.15 1.7 1.7 1.7 3.3 3.3 1.8 1.8 80 40 88 26 130 3.47 347 1.9 1.9 100 100 3 110 35 3.15 1.7 1.7 1.7 3.3 3.3 1.8 1.8 80 55 110 30 130 3.47 347 1.9 1.9 110 1753 145 40 V V V V mA mA mA mA mA Rev. 0 | Page 4 of 28 AD9397 Parameter AC SPECIFICATIONS Intrapair (+ to −) Differential Input Skew (TDPS) Channel to Channel Differential Input Skew (TCCS) Low-to-High Transition Time for Data and Controls (DLHT) Test Level IV IV IV IV Low-to-High Transition Time for DATACK (DLHT) IV IV High-to-Low Transition Time for Data and Controls (DHLT) IV IV High-to-Low Transition Time for DATACK (DHLT) IV IV Clock to Data Skew 5 ( TSKEW) Duty Cycle, DATACK5 DATACK Frequency (FCIP) 1 2 3 Conditions AD9397KSTZ-100 Min Typ Max AD9397KSTZ-150 Min Typ Max 360 6 Unit ps Clock Period ps ps ps ps ps ps ps ps ns % MHz Output drive = high; CL = 10 pF Output drive = low; CL = 5 pF Output drive = high; CL = 10 pF Output drive = low; CL = 5 pF Output drive = high; CL = 10 pF Output drive = low; CL = 5 pF Output drive = high; CL = 10 pF Output drive = low; CL = 5 pF −0.5 45 20 +2.0 50 −0.5 900 1300 650 1200 850 1250 800 1200 +2.0 55 150 IV IV VI The typical pattern contains a gray scale area, output drive = high. Worst-case pattern is alternating black and white pixels. The typical pattern contains a gray scale area, output drive = high. Specified current and power values with a worst-case pattern (on/off). 4 DATACK load = 10 pF, data load = 5 pF. 5 Drive strength = high. Rev. 0 | Page 5 of 28 AD9397 ABSOLUTE MAXIMUM RATINGS Table 3. Parameter VD VDD DVDD PVDD Analog Inputs Digital Inputs Digital Output Current Operating Temperature Range Storage Temperature Range Maximum Junction Temperature Maximum Case Temperature Rating 3.6 V 3.6 V 1.98 V 1.98 V VD to 0.0 V 5 V to 0.0 V 20 mA −25°C to + 85°C −65°C to + 150°C 150°C 150°C Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. EXPLANATION OF TEST LEVELS Table 4. Level I II III IV V VI Test 100% production tested. 100% production tested at 25°C and sample tested at specified temperatures. Sample tested only. Parameter is guaranteed by design and characterization testing. Parameter is a typical value only. 100% production tested at 25°C; guaranteed by design and characterization testing. ESD CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although this product features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. Rev. 0 | Page 6 of 28 AD9397 PIN CONFIGURATION AND FUNCTION DESCRIPTIONS DATACK PWRDN HSOUT VSOUT RED 0 RED 1 RED 2 RED 3 RED 4 RED 5 RED 6 RED 7 FIELD GND GND 78 SDA SCL VDD VDD NC NC NC 77 DE VD 100 99 95 89 88 87 84 93 92 82 97 96 91 90 86 85 81 80 98 94 83 79 76 VD GND GREEN 7 GREEN 6 GREEN 5 GREEN 4 GREEN 3 GREEN 2 GREEN 1 GREEN 0 VDD GND BLUE 7 BLUE 6 BLUE 5 BLUE 4 BLUE 3 BLUE 2 BLUE 1 BLUE 0 NC NC NC NC CTL3 CTL2 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 PIN 1 75 74 73 72 71 70 69 68 67 GND NC NC VD NC NC GND NC VD NC GND NC NC NC NC NC PVDD GND NC PVDD GND PVDD GND MDA MCL AD9397 TOP VIEW (Not to Scale) 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 27 31 37 38 39 42 48 49 26 33 34 44 29 30 35 36 40 41 45 46 28 32 Rx0– Rx1– Rx2– 43 RxC+ RxC– Rx0+ Rx1+ Rx2+ RTERM GND GND GND GND GND DVDD DVDD GND NC VD VD 47 DVDD CTL1 CTL0 Figure 2. Pin Configuration Table 5. Complete Pinout List Pin Type INPUTS DIGITAL VIDEO DATA INPUTS Pin No. 81 35 34 38 37 41 40 43 44 92 to 99 2 to 9 12 to 19 89 87 85 84 27, 26, 25, 24 Mnemonic PWRDN Rx0+ Rx0− Rx1+ Rx1− Rx2+ Rx2− RxC+ RxC− RED [7:0] GREEN [7:0] BLUE [7:0] DATACK HSOUT VSOUT O/E FIELD CTL(0 to 3) Function Power-Down Control Digital Input Channel 0 True Digital Input Channel 0 Complement Digital Input Channel 1 True Digital Input Channel 1 Complement Digital Input Channel 2 True Digital Input Channel 2 Complement Digital Data Clock True Digital Data Clock Complement Outputs of Red Converter, Bit 7 is MSB Outputs of Green Converter, Bit 7 is MSB Outputs of Blue Converter, Bit 7 is MSB Data Output Clock HSYNC Output Clock (Phase-Aligned with DATACK) VSYNC Output Clock (Phase-Aligned with DATACK) Odd/Even Field Output Control 0, 1, 2, 3 Value 3.3 V CMOS TMDS TMDS TMDS TMDS TMDS TMDS TMDS TMDS VDD VDD VDD VDD VDD VDD VDD VDD DIGITAL VIDEO CLOCK INPUTS OUTPUTS Rev. 0 | Page 7 of 28 05691-002 NC = NO CONNECT DDCSDA DDCSCL 50 AD9397 Pin Type POWER SUPPLY Pin No. 80, 76, 72, 67, 45, 33 100, 90, 10 59, 56, 54 48, 32, 30 83 82 49 50 51 52 88 46 Mnemonic VD VDD PVDD DVDD GND SDA SCL DDCSCL DDCSDA MCL MDA DE RTERM Function Analog Power Supply and DVI Terminators Output Power Supply PLL Power Supply Digital Logic Power Supply Ground Serial Port Data I/O Serial Port Data Clock HDCP Slave Serial Port Data Clock HDCP Slave Serial Port Data I/O HDCP Master Serial Port Data Clock HDCP Master Serial Port Data I/O Data Enable Sets Internal Termination Resistance Value 3.3 V 1.8 V to 3.3 V 1.8 V 1.8 V 0V 3.3 V CMOS 3.3 V CMOS 3.3 V CMOS 3.3 V CMOS 3.3 V CMOS 3.3 V CMOS 3.3 V CMOS 500 Ω CONTROL HDCP DATA ENABLE RTERM Table 6. Pin Function Descriptions Pin INPUTS Rx0+ Rx0− Rx1+ Rx1− Rx2+ Rx2− Description Digital Input Channel 0 True. Digital Input Channel 0 Complement. Digital Input Channel 1 True. Digital Input Channel 1 Complement. Digital Input Channel 2 True. Digital input Channel 2 Complement. These six pins receive three pairs of transition minimized differential signaling (TMDS ) pixel data (at 10× the pixel rate) from a digital graphics transmitter. Digital Data Clock True. Digital Data Clock Complement. This clock pair receives a TMDS clock at 1× pixel data rate. Power-Down Control/Three-State Control. The function of this pin is programmable via Register 0x26 [2:1]. RTERM is the termination resistor used to drive the AD9397 internally to a precise 50 Ω termination for TMDS lines. This should be a 500 Ω 1% tolerance resistor. Horizontal Sync Output. A reconstructed and phase-aligned version of the HSYNC input. Both the polarity and duration of this output can be programmed via serial bus registers. By maintaining alignment with DATACK and Data, data timing with respect to horizontal sync can always be determined. Vertical Sync Output. The separated VSYNC from a composite signal or a direct pass through of the VSYNC signal. The polarity of this output can be controlled via the serial bus bit (Register 0x24 [6]). Odd/Even Field Bit for Interlaced Video. This output identifies whether the current field (in an interlaced signal) is odd or even. The polarity of this signal is programmable via Register 0x24[4]. Data Enable that defines valid video. Can be received in the signal or generated by the AD9397. Control 3, Control 2, Control 1, and Control 0 are output from the DVI stream. Refer to the DVI 1.0 specification for explanation. Serial Port Data I/O for Programming AD9397 Registers—I2C Address is 0x98. Serial Port Data Clock for Programming AD9397 Registers. Serial Port Data I/O for HDCP Communications to Transmitter—I2C Address is 0x74 or 0x76. Serial Port Data Clock for HDCP Communications to Transmitter. Serial Port Data I/O to EEPROM with HDCP Keys—I2C Address is 0xA0. Serial Port Data Clock to EEPROM with HDCP Keys. Rev. 0 | Page 8 of 28 RxC+ RxC− PWRDN RTERM OUTPUTS HSOUT VSOUT FIELD DE CTL(3-0) SERIAL PORT SDA SCL DDCSDA DDCSCL MDA MCL AD9397 Pin DATA OUTPUTS RED [7:0] GREEN [7:0] BLUE [7:0] Description Data Output, Red Channel. Data Output, Green Channel. Data Output, Blue Channel. The main data outputs. Bit 7 is the MSB. The delay from pixel sampling time to output is fixed, but is different if the color space converter is used. When the sampling time is changed by adjusting the phase register, the output timing is shifted as well. The DATACK and HSOUT outputs are also moved, so the timing relationship among the signals is maintained. Data Clock Output. This is the main clock output signal used to strobe the output data and HSOUT into external logic. Four possible output clocks can be selected with Register 0x25 [7:6]. These are related to the pixel clock (1/2× pixel clock, 1× pixel clock, 2× frequency pixel clock, and a 90° phase shifted pixel clock). They are produced either by the internal PLL clock generator or EXTCLK and are synchronous with the pixel sampling clock. The polarity of DATACK can also be inverted via Register 0x24 [0]. The sampling time of the internal pixel clock can be changed by adjusting the phase register. When this is changed, the pixelrelated DATACK timing is shifted as well. The DATA, DATACK, and HSOUT outputs are all moved, so the timing relationship among the signals is maintained. Analog Power Supply. These pins supply power to the ADCs and terminators. They should be as quiet and filtered as possible. Digital Output Power Supply. A large number of output pins (up to 27) switching at high speed (up to 150 MHz) generates many power supply transients (noise). These supply pins are identified separately from the VD pins, so output noise transferred into the sensitive analog circuitry can be minimized. If the AD9397 is interfacing with lower voltage logic, VDD may be connected to a lower supply voltage (as low as 1.8 V) for compatibility. Clock Generator Power Supply. The most sensitive portion of the AD9397 is the clock generation circuitry. These pins provide power to the clock PLL and help the user design for optimal performance. The designer should provide quiet, noise-free power to these pins. Digital Input Power Supply. This supplies power to the digital logic. Ground. The ground return for all circuitry on chip. It is recommended that the AD9397 be assembled on a single solid ground plane, with careful attention to ground current paths. DATA CLOCK OUTPUT DATACK POWER SUPPLY 1 VD (3.3 V) VDD (1.8 V to 3.3 V) PVDD (1.8 V) DVDD (1.8 V) GND 1 The supplies should be sequenced such that VD and VDD are never less than 300 mV below DVDD. At no time should DVDD be more than 300 mV greater than VD or VDD. Rev. 0 | Page 9 of 28 AD9397 DESIGN GUIDE GENERAL DESCRIPTION The AD9397 is a fully integrated digital visual interface (DVI ) for receiving RGB or YUV signals for display on flat panel monitors, projectors or PDPs. This interface is capable of decoding HDCP-encrypted signals through connection to an external EEPROM. The circuit is ideal for providing an interface for HDTV monitors or as the front-end to high performance video scan converters. Implemented in a high performance CMOS process, the interface can capture signals with pixel rates of up to 150 MHz. The AD9397 includes all necessary input buffering, signal dc restoration (clamping), offset and gain (brightness and contrast) adjustment, pixel clock generation, sampling phase control, and output data formatting. Included in the output formatting is a color space converter (CSC), which accommodates any input color space and can output any color space. All controls are programmable via a 2-wire serial interface. Full integration of these sensitive analog functions makes system design straightforward and less sensitive to the physical and electrical environments. SERIAL CONTROL PORT The serial control port is designed for 3.3 V logic. However, it is tolerant of 5 V logic signals. OUTPUT SIGNAL HANDLING The digital outputs operate from 1.8 V to 3.3 V (VDD). POWER MANAGEMENT The AD9397 uses the activity detect circuits, the active interface bits in the serial bus, the active interface override bits, the power-down bit, and the power-down pin to determine the correct power state. There are four power states: full-power, seek mode, auto power-down, and power-down. Table 7 summarizes how the AD9397 determines which power mode to be in and which circuitry is powered on/off in each of these modes. The power-down command has priority and then the automatic circuitry. The power-down pin (Pin 81—polarity set by Register 0x26[3]) can drive the chip into four power-down options. Bit 2 and Bit 1 of Register 0x26 control these four options. Bit 0 controls whether the chip is powered down or the outputs are placed in high impedance mode (with the exception of SOG). Bit 7 to Bit 4 of Register 0x26 control whether the outputs, SOG, Sony Philips digital interface (S/PDIF), or InterIC sound bus (I2S or IIS) outputs are in high impedance mode or not. See the 2-Wire Serial Control Register Detail section for more details. DIGITAL INPUTS All digital control inputs (HSYNC, VSYNC, I2C) on the AD9397 operate to 3.3 V CMOS levels. In addition, all digital inputs except the TMDS (DVI) inputs are 5 V tolerant. (Applying 5 V to them does not cause any damage.) TMDS inputs (Rx0+/Rx0–, Rx1+/Rx1–, Rx2+/Rx2–, and RxC+/RxC–) must maintain a 100 Ω differential impedance (through proper PCB layout) from the connector to the input where they are internally terminated (50 Ω to 3.3 V). If additional ESD protection is desired, use of a California Micro Devices (CMD) CM1213 (among others) series low capacitance ESD protection offers 8 kV of protection to the HDMI TMDS lines. Table 7. Power-Down Mode Descriptions Mode Full Power Seek Mode Seek Mode Power-Down 1 2 3 Power-Down 1 1 1 1 0 Inputs Sync Detect 2 1 0 0 X Auto PD Enable 3 X 0 1 Power-On or Comments Everything Everything Serial bus, sync activity detect, SOG, band gap reference Serial bus, sync activity detect, SOG, band gap reference Power-down is controlled via Bit 0 in Serial Bus Register 0x26. Sync detect is determined by OR’ing Bit 7 to Bit 2 in Serial Bus Register 0x15. Auto power-down is controlled via Bit 7 in Serial Bus Register 0x27. Rev. 0 | Page 10 of 28 AD9397 TIMING The output data clock signal is created so that its rising edge always occurs between data transitions and can be used to latch the output data externally. Figure 3 shows the timing operation of the AD9397. tPER tDCYCLE DATACK QUADRANT HSIN VSIN VSOUT O/E FIELD EVEN FIELD 05691-004 SYNC SEPARATOR THRESHOLD FIELD 1 2 3 FIELD 0 4 1 FIELD 1 2 3 FIELD 0 4 1 tSKEW 05691-003 Figure 4. VSYNC Filter DATA HSOUT SYNC SEPARATOR THRESHOLD Figure 3. Output Timing FIELD 1 FIELD 0 4 1 FIELD 1 2 3 FIELD 0 4 1 HSYNC TIMING Horizontal sync (HSYNC) is processed in the AD9397 to eliminate ambiguity in the timing of the leading edge with respect to the phase-delayed pixel clock and data. The HSYNC input is used as a reference to generate the pixel sampling clock. The sampling phase can be adjusted, with respect to HSYNC, through a full 360° in 32 steps via the phase adjust register (to optimize the pixel sampling time). Display systems use HSYNC to align memory and display write cycles, so it is important to have a stable timing relationship between the HSYNC output (HSOUT) and data clock (DATACK). QUADRANT HSIN VSIN VSOUT O/E FIELD 2 3 ODD FIELD Figure 5. VSYNC Filter—Odd/Even DVI RECEIVER The DVI receiver section of the AD9397 allows the reception of a digital video stream compatible with DVI 1.0. Embedded in this data stream are HSYNCs, VSYNCs, and display enable (DE) signals. DVI restricts the received format to RGB, but the inclusion of a programmable color space converter (CSC) allows the output to be tailored to any format necessary. With this, the scaler following the AD9397 can specify that it always wishes to receive a particular format—for instance, 4:2:2 YCrCb—regardless of the transmitted mode. If RGB is sent, the CSC can easily convert that to 4:2:2 YCrCb while relieving the scaler of this task. VSYNC FILTER AND ODD/EVEN FIELDS The VSYNC filter is used to eliminate spurious VSYNCs, maintain a consistent timing relationship between the VSYNC and HSYNC output signals, and generate the odd/even field output. The filter works by examining the placement of VSYNC with respect to HSYNC and, if necessary, slightly shifting it in time at the VSOUT output. The goal is to keep the VSYNC and HSYNC leading edges from switching at the same time, eliminating confusion as to when the first line of a frame occurs. Enabling the VSYNC filter is done with Register 0x21[5]. Use of the VSYNC filter is recommended for all cases, including interlaced video, and is required when using the HSYNC per VSYNC counter. Figure 4 and Figure 5 illustrate even/odd field determination in two situations. DE GENERATOR The AD9397 has an onboard generator for DE, for start of active video (SAV), and for end of active video (EAV), all of which are necessary for describing the complete data stream for a BT656-compatible output. In addition to this particular output, it is possible to generate the DE for cases in which a scaler is not used. This signal alerts the following circuitry as to which are displayable video pixels. Rev. 0 | Page 11 of 28 05691-005 AD9397 4:4:4 TO 4:2:2 FILTER The AD9397 contains a filter that allows it to convert a signal from YCrCb 4:4:4 to YCrCb 4:2:2 while maintaining the maximum accuracy and fidelity of the original signal. One of the three channels is represented in Figure 6. In each processing channel, the three inputs are multiplied by three separate coefficients marked a1, a2, and a3. These coefficients are divided by 4096 to obtain nominal values ranging from –0.9998 to +0.9998. The variable labeled a4 is used as an offset control. The CSC_Mode setting is the same for all three processing channels. This multiplies all coefficients and offsets by a factor of 2CSC_Mode. The functional diagram for a single channel of the CSC, as shown in Figure 6, is repeated for the remaining G and B channels. The coefficients for these channels are b1, b2, b3, b4, c1, c2, c3, and c4. CSC_Mode[1:0] a1[12:0] 1 4096 a4[12:0] ×4 2 ROUT [11:0] ×2 1 0 GIN [11:0] × a3[12:0] 05691-006 Input Color Space to Output Color Space The AD9397 can support a wide variety of output formats, such as: • • • • RGB 24-bit 4:4:4 YCrCb 8-bit 4:2:2 YCrCb 8-bit, 10-bit, and 12-bit Dual 4:2:2 YCrCb 8-bit Color Space Conversion (CSC) Matrix The CSC matrix in the AD9397 consists of three identical processing channels. In each channel, three input values are multiplied by three separate coefficients. Also included are an offset value for each row of the matrix and a scaling multiple for all values. Each value has a 13-bit, twos complement resolution to ensure the signal integrity is maintained. The CSC is designed to run at speeds up to 150 MHz supporting resolutions up to 1080p at 60 Hz. With any-to-any color space support, formats such as RGB, YUV, YCbCr, and others are supported by the CSC. The main inputs, RIN, GIN, and BIN, come from the 8-bit to 12-bit inputs from each channel. These inputs are based on the input format detailed in Table 9. The mapping of these inputs to the CSC inputs is shown in Table 8. Table 8. CSC Port Mapping Input Channel R/CR Gr/Y B/CB CSC Input Channel RIN GIN BIN B RIN [11:0] × a2[12:0] × + + + × 1 4096 BIN [11:0] × × 1 4096 Figure 6. Single CSC Channel A programming example and register settings for several common conversions are listed in the Color Space Converter (CSC) Common Settings section. For a detailed functional description and more programming examples, refer to the Application Note AN-795, AD9880 Color Space Converter User's Guide. OUTPUT DATA FORMATS The AD9398 supports 4:4:4, 4:2:2, double data-rate (DDR), and BT656 output formats. Register 0x25[3:0] controls the output mode. These modes and the pin mapping are illustrated in Table 8. Green 7 6 5 4 Green/Y [7:0] Y [7:0] DDR ↑ B [3:0] DDR ↓ G [7:4] Blue 7 6 5 4 3 Blue/Cb [7:0] DDR 4:2:2 ↑ CbCr ↓ Y, Y DDR 4:2:2 ↑ CbCr [11:0] DDR 4:2:2 ↓ Y,Y [11:0] Y [11:0] 2 1 0 Table 9. Port Bit 4:4:4 4:2:2 4:4:4 DDR 4:2:2 to 12 1 Red 7 6 5 4 Red/Cr [7:0] CbCr [7:0] DDR ↑ 1 G [3:0] DDR ↓ R [7:0] CbCr[11:0] 3 2 1 0 3 2 1 0 DDR ↑ B [7:4] Arrows in the table indicate clock edge. Rising edge of clock = ↑, falling edge = ↓. Rev. 0 | Page 12 of 28 AD9397 2-WIRE SERIAL REGISTER MAP The AD9397 is initialized and controlled by a set of registers that determines the operating modes. An external controller is employed to write and read the control registers through the 2-wire serial interface port. Table 10. Control Register Map Hex Address 0x00 0x11 Read/Write or Read Only Read Read/Write Bits [7:0] [7] [6] Default Value 00000000 0******* *0****** Register Name Chip Revision HSYNC Source HSYNC Source Override VSYNC Source VSYNC Source Override Channel Select Channel Select Override Interface Select Interface Override Input HSYNC Polarity HSYNC Polarity Override Input VSYNC Polarity VSYNC Polarity Override HSYNCs per VSYNC MSB HSYNCs per VSYNC VSYNC Duration HSYNC Duration HSYNC Output Polarity Description Chip revision ID. 0 = HSYNC. 1 = SOG. 0 = auto HSYNC source. 1 = manual HSYNC source. 0 = VSYNC. 1 = VSYNC from SOG. 0 = auto HSYNC source. 1 = manual HSYNC source. 0 = Channel 0. 1 = Channel 1. 0 = autochannel select. 1 = manual channel select. 0 = analog interface. 1 = digital interface. 0 = auto-interface select. 1 = manual interface select. 0 = active low. 1 = active high. 0 = auto HSYNC polarity. 1 = manual HSYNC polarity. 0 = active low. 1 = active high. 0 = auto VSYNC polarity. 1 = manual VSYNC polarity. MSB of HSYNCs per VSYNC. HSYNCs per VSYNC count. VSYNC duration. HSYNC duration. Sets the duration of the output HSYNC in pixel clocks. Output HSYNC polarity. 0 = active low out. 1 = active high out. Output VSYNC polarity. 0 = active low out. 1 = active high out. Output DE polarity. 0 = active low out. 1 = active high out. [5] [4] **0***** ***0**** [3] [2] ****0*** *****0** [1] [0] 0x12 Read/Write [7] [6] ******0* *******0 1******* *0****** [5] [4] **1***** ***0**** 0x17 0x18 0x22 0x23 0x24 Read Read Read/Write Read/Write Read/Write [3:0] [7:0] [7:0] [7:0] [7] ****0000 00000000 4 32 1******* [6] *1****** VSYNC Output Polarity [5] **1***** DE Output Polarity Rev. 0 | Page 13 of 28 AD9397 Hex Address Read/Write or Read Only Bits [4] Default Value ***1**** Register Name Field Output Polarity Description Output field polarity. 0 = active low out. 1 = active high out. 0 = Don’t invert clock out. 1 = Invert clock out. Selects which clock to use on output pin. 1× CLK is divided down from TMDS clock input when pixel repetition is in use. 00 = ½× CLK. 01 = 1× CLK. 10 = 2× CLK. 11 = 90° phase 1× CLK. Sets the drive strength of the outputs. 00 = lowest, 11 = highest. Selects which pins the data comes out on. 00 = 4:4:4 mode (normal). 01 = 4:2:2 + DDR 4:2:2 on blue. 10 = DDR 4:4:4 + DDR 4:2:2 on blue. Enables primary output. Enables secondary output (DDR 4:2:2 in Output Mode 1 and Mode 2). Three-state the outputs. Three-state the SPDIF output. Three-state the I2S output and the MCLK out. Sets polarity of power-down pin. 0 = active low. 1 = active high. Selects the function of the power-down pin. 00 = power-down. 01 = power-down and three-state SOG. 10 = three-state outputs only. 11 = three-state outputs and SOG. 0 = normal. 1 = power-down. 0 = disable auto low power state. 1 = enable auto low power state. Sets the LSB of the address of the HDCP I2C. Set to 1 only for a second receiver in a dual-link configuration. 0 = use internally generated MCLK. 1 = use external MCLK input. If an external MCLK is used, it must be locked to the video clock according to the CTS and N available in the I2C. Any mismatch between the internal MCLK and the input MCLK results in dropped or repeated audio samples. Enables EAV/SAV codes to be inserted into the video output data. Allows use of the internal DE generator in DVI mode. Sets the difference (in HSYNCs) in field length between Field 0 and Field 1. [0] 0x25 Read/Write [7:6] *******0 01****** Output CLK Invert Output CLK Select [5:4] **11**** Output Drive Strength Output Mode [3:2] ****00** [1] [0] 0x26 Read/Write [7] [5] [4] [3] ******1* *******0 0******* **0***** ***0**** ****1*** Primary Output Enable Secondary Output Enable Output Three-State SPDIF Three-State I2S Three-State Power-Down Pin Polarity [2:1] *****00* Power-Down Pin Function [0] 0x27 Read/Write [7] *******0 1******* Power-Down Auto Power-Down Enable HDCP A0 [6] *0****** [5] **0***** MCLK External Enable [4] [3] [2:0] ***0**** ****0*** *****000 BT656 EN Force DE Generation Interlace Offset Rev. 0 | Page 14 of 28 AD9397 Hex Address 0x28 Read/Write or Read Only Read/Write Bits [7:2] [1:0] [7:0] [3:0] [7:0] [3:0] [7:0] [7] [6] [5] [3] [2:0] [6] Default Value 011000** ******01 00000100 ****0101 00000000 ****0010 11010000 0******* *0****** **0***** ****0*** *****000 *0****** Register Name VS Delay HS Delay MSB HS Delay Line Width MSB Line Width Screen Height MSB Screen Height Test 1 TMDS Sync Detect TMDS Active HDCP Keys Read DVI Quality DVI Content Encrypted Description Sets the delay (in lines) from the VSYNC leading edge to the start of active video. MSB, Register 0x29. Sets the delay (in pixels) from the HSYNC leading edge to the start of active video. MSB, Register 0x2B. Sets the width of the active video line in pixels. MSB, Register 0x2D. Sets the height of the active screen in lines. Must be written to 1 for proper operation. Detects a TMDS DE. Detects a TMDS clock. Returns 1 when read of EEPROM keys is successful. Returns quality number based on DE edges. This bit is high when HDCP decryption is in use (content is protected). The signal goes low when HDCP is not being used. Customers can use this bit to determine whether to allow copying of the content. The bit should be sampled at regular intervals because it can change on a frame-by-frame basis. Returns DVI HSYNC polarity. Returns DVI VSYNC polarity. Sets the maximum pseudo sync pulse width for Macrovision detection. Sets the minimum pseudo sync pulse width for Macrovision® detection. Tells the Macrovision detection engine whether we are oversampling or not. Tells the Macrovision detection engine to enter PAL mode. Sets the start line for Macrovision detection. 0 = standard definition. 1 = progressive scan mode. 0 = use hard-coded settings for line counts and pulse widths. 1 = use I2C values for these settings. Sets the end line for Macrovision detection. Sets the number of pulses required in the last 3 lines (SD mode only). Sets audio PLL to low frequency mode. Low frequency mode should only be set for pixel clocks
AD9397 价格&库存

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

免费人工找货