a CMOS 220 MHz True-Color Graphics Triple 10-Bit Video RAM-DAC ADV7150 FEATURES 220 MHz, 24-Bit (30-Bit Gamma Corrected) True Color Triple 10-Bit “Gamma Correcting” D/A Converters Triple 256 3 10 (256 3 30) Color Palette RAM On-Chip Clock Control Circuit Palette Priority Select Registers RS-343A/RS-170 Compatible Analog Outputs TTL Compatible Digital Inputs Standard MPU l/O Interface 10-Bit Parallel Structure 8+2 Byte Structure Programmable Pixel Port: 24-Bit, 15-Bit and Programmable Pixel Port: 8-Bit (Pseudo) Pixel Data Serializer Multiplexed Pixel Input Ports; 1:1, 2:1, 4:1 +5 V CMOS Monolithic Construction 160-Lead Plastic Quad Flatpack (QFP) Thermally Enhanced to Achieve uJC < 1.08C/W MODES OF OPERATION 24-Bit True Color (30-Bit Gamma Corrected) @ 220 MHz @ 170 MHz @ 135 MHz @ 110 MHz @ 85 MHz 8-Bit Pseudo Color 15-Bit True Color APPLICATIONS High Resolution, True Color Graphics Professional Color Prepress Imaging GENERAL DESCRIPTION The ADV7150 (ADV®) is a complete analog output, Video RAM-DAC on a single CMOS monolithic chip. The part is specifically designed for use in high performance, color graphics workstations. The ADV7150 integrates a number of graphic functions onto one device allowing 24-bit direct True-Color operation at the maximum screen update rate of 220 MHz. The ADV7150 implements 30-bit True Color in 24-bit frame buffer designs. The part also supports other modes, including 15-bit True Color and 8-bit Pseudo or Indexed Color. Either the Red, Green or Blue input pixel ports can be used for Pseudo Color. (Continued on page 12) ADV is a registered trademark of Analog Devices, Inc. FUNCTIONAL BLOCK DIAGRAM VAA 24 A RED (R7–R0), GREEN (G7–G0), BLUE (B7–B0) COLOR DATA 24 B 24 C 24 D PALETTE SELECTS (PS0, PS1) 8 256-COLOR/GAMMA PALETTE RAM ADV7150 P I X E L P O R T GREEN 256 x 10 8 8 MUX 4:1 BLUE 256 x 10 8 PRGCKOUT SCKIN SCKOUT IOR 10-BIT RED DAC IOR 8 96 10 10 10-BIT GREEN DAC IOG 10-BIT BLUE DAC IOB CONTROL REGISTERS CLOCK DIVIDE & SYNCHRONIZATION CIRCUIT ÷32 ÷16, ÷8, ÷4, ÷2 IOG IOB 2 MUX 4:1 CLOCK CONTROL LOADIN LOADOUT 10 RED 256 x 10 PIXEL MASK REGISTER ADDRESS REGISTER ADDR (A7–A0) MODE REGISTER (MR1) TEST REGISTERS COMMAND REGISTERS (CR1–CR3) REVISION REGISTER ID REGISTER DATA TO PALETTES 30 RED REGISTER SYNC OUTPUT IPLL VOLTAGE REFERENCE CIRCUIT VREF RSET COMP SYNCOUT COLOR REGISTERS BLUE REGISTER GREEN REGISTER SYNC BLANK MPU PORT CLOCK CLOCK ECL TO CMOS 10 (8+2) CE R/W C0 C1 D9 – D0 GND REV. A 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 which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. © Analog Devices, Inc., 1996 One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 617/329-4700 Fax: 617/326-8703 ADV7150–SPECIFICATIONS (VAA1 = +5 V; VREF = +1.235 V; RSET = 280 V. IOR, IOG, IOB (RL = 37.5 V, CL = 10 pF); IOR, IOG, IOB = GND. All specifications TMIN to TMAX2 unless otherwise noted.) Parameter All Versions Unit 10 Bits ±1 ±1 ±5 LSB max LSB max % Gray Scale max Binary DIGITAL INPUTS (Excluding CLOCK, CLOCK) Input High Voltage, V INH Input Low Voltage, VINL Input Current, IIN Input Capacitance, CIN 2 0.8 ± 10 10 V min V max µA max pF max CLOCK INPUTS (CLOCK, CLOCK) Input High Voltage, V INH Input Low Voltage, VINL Input Current, IIN Input Capacitance, CIN VAA – 1.0 VAA – 1.6 ± 10 10 V min V max µA max pF typ DIGITAL OUTPUT Output High Voltage, V OH Output Low Voltage, V OL Floating-State Leakage Current Floating-State Output Capacitance 2.4 0.4 20 20 V min V max µA max pF typ 15/22 mA min/max 17.69/20.40 16.74/18.50 0.95/1.90 0/50 6.29/8.96 0/50 17.22 3 0/+1.4 100 30 mA min/max mA min/max mA min/max µA min/max mA min/max µA min/max µA typ % max V min/V max kΩ typ pF max Typically 19.05 mA Typically 17.62 mA Typically 1.44 mA Typically 5 µA Typically 7.62 mA Typically 5 µA VOLTAGE REFERENCE Voltage Reference Range, V REF Input Current, I VREF 1.14/1.26 +5 V min/V max µA typ VREF = 1.235 V for Specified Performance POWER REQUIREMENTS VAA IAA3 IAA3 IAA IAA IAA Power Supply Rejection Ratio 5 400 370 350 330 315 0.5 V nom mA max mA max mA max mA max mA max %/% max DYNAMIC PERFORMANCE Clock and Data Feedthrough 4, 5 –30 dB typ 50 –23 pV secs typ dB typ STATIC PERFORMANCE Resolution (Each DAC) Accuracy (Each DAC) Integral Nonlinearity Differential Nonlinearity Gray Scale Error Coding ANALOG OUTPUTS Gray Scale Current Range Output Current White Level Relative to Blank White Level Relative to Black Black Level Relative to Blank Blank Level on IOR, IOB Blank Level on IOG Sync Level on IOG LSB Size DAC-to-DAC Matching Output Compliance, V OC Output Impedance, R OUT Output Capacitance, C OUT Glitch Impulse DAC-to-DAC Crosstalk6 Test Conditions/Comments Guaranteed Monotonic VIN = 0.4 V or 2.4 V VIN = 0.4 V or 2.4 V ISOURCE = 400 µA ISINK = 3.2 mA Typically 1% IOUT = 0 mA 220 MHz Parts 170 MHz Parts 135 MHz Parts 110 MHz Parts 85 MHz Parts Typically 0.12%/%: COMP = 0.1 µF NOTES 1 ± 5% for all versions. 2 Temperature range (T MIN to TMAX): 0°C to +70°C; TJ (Silicon Junction Temperature) ≤ 100°C. 3 Pixel Port is continuously clocked with data corresponding to a linear ramp. T J = 100°C. 4 Clock and data feedthrough is a function of the amount of overshoot and undershoot on the digital inputs. Glitch impulse includes clock and data feedthrough. 5 TTL input values are 0 to 3 volts, with input rise/fall times ≤ 3 ns, measured the 10% and 90% points. Timing reference points at 50% for inputs and outputs. 6 DAC-to-DAC crosstalk is measured by holding one DAC high while the other two are making low-to-high and high-to-low transitions. Specifications subject to change without notice. –2– REV. A ADV7150 TIMING CHARACTERISTICS1 (V = +5 V; VREF = +1.235 V; RSET = 280 V. IOR, IOG, IOB (RL = 37.5 V, CL = 10 pF); IOR, IOG, I0B = GND. All specifications TMIN to TMAX3 unless otherwise noted.) AA 2 CLOCK CONTROL AND PIXEL PORT 4 Parameter fCLOCK t1 t2 t3 t4 fLOADIN 1:1 Multiplexing 2:1 Multiplexing 4:1 Multiplexing t5 1:1 Multiplexing 2:1 Multiplexing 4:1 Multiplexing t6 1:1 Multiplexing 2:1 Multiplexing 4:1 Multiplexing t7 1:1 Multiplexing 2:1 Multiplexing 4:1 Multiplexing t8 t9 t10 τ–t115 tPD6 1:1 Multiplexing 2:1 Multiplexing 4:1 Multiplexing t12 t13 t14 t15 220 MHz 170 MHz 135 MHz 110 MHz 85 MHz Version Version Version Version Version Units 220 4.55 2 2 10 170 5.88 2.5 2.5 10 135 7.4 3.2 3 10 110 9.1 4 4 10 85 11.77 4 4 10 MHz max ns min ns min ns min ns max 110 110 55 110 85 42.5 110 67.5 33.75 110 55 27.5 85 42.5 21.25 MHz max MHz max MHz max 9.1 9.1 18.18 9.1 11.76 23.53 9.1 14.8 29.63 9.1 18.18 36.36 9.1 23.53 47.1 ns min ns min ns min 4 4 8 4 5 9 4 6 12 4 8 15 4 9 18 ns min ns min ns min 4 4 8 0 5 0 τ–5 4 5 9 0 5 0 τ–5 4 6 12 0 5 0 τ–5 4 8 15 0 5 0 τ–5 4 9 18 0 5 0 τ–5 ns min ns min ns min ns min ns min ns min ns max 5 6 8 10 5 5 1 5 6 8 10 5 5 1 5 6 8 10 5 5 1 5 6 8 10 5 5 1 5 6 8 10 5 5 1 CLOCKs CLOCKs CLOCKs ns max ns max ns min ns min Conditions/Comments Pixel CLOCK Rate Pixel CLOCK Cycle Time Pixel CLOCK High Time Pixel CLOCK Low Time Pixel CLOCK to LOADOUT Delay LOADIN Clocking Rate LOADIN Cycle Time LOADIN High Time LOADIN Low Time Pixel Data Setup Time Pixel Data Hold Time LOADOUT to LOADIN Delay LOADOUT to LOADIN Delay Pipeline Delay (1 × CLOCK = t1) Pixel CLOCK to PRGCKOUT Delay SCKIN to SCKOUT Delay BLANK to SCKIN Setup Time BLANK to SCKIN Hold Time ANALOG OUTPUTS7 Parameter t16 t17 t18 tSK 220 MHz 170 MHz 135 MHz 110 MHz 85 MHz Version Version Version Version Version Units 15 1 15 2 0 15 1 15 2 0 15 1 15 2 0 15 1 15 2 0 15 1 15 2 0 ns typ ns typ ns typ ns max ns typ Conditions/Comments Analog Output Delay Analog Output Rise/Fall Time Analog Output Transition Time Analog Output Skew (IOR, IOG, IOB) MPU PORTS8, 9 Parameter t19 t20 t21 t22 t238 t249 t259 t26 t27 REV. A 220 MHz 170 MHz 135 MHz 110 MHz 85 MHz Version Version Version Version Version Units 3 10 45 25 5 45 20 5 20 5 3 10 45 25 5 45 20 5 20 5 3 10 45 25 5 45 20 5 20 5 3 10 45 25 5 45 20 5 20 5 3 10 45 25 5 45 20 5 20 5 –3– ns min ns min ns min ns min ns min ns max ns max ns min ns min ns min Conditions/Comments R/W, C0, C1 to CE Setup Time R/W, C0, C1 to CE Hold Time CE Low Time CE High Time CE Asserted to Databus Driven CE Asserted to Data Valid CE Disabled to Databus Three-Stated Write Data (D0–D9) Setup Time Write Data (D0–D9) Hold Time ADV7150 NOTES 1 TTL input values are 0 to 3 volts, with input rise/fall times ≤ 3 ns, measured between the 10% and 90% points. ECL inputs (CLOCK, CLOCK) are VAA–0.8 V to V AA–1.8 V, with input rise/fall times ≤ 2 ns, measured between the 10% and 90% points. Timing reference points at 50% for inputs and outputs. Analog output load ≤ 10 pF. Databus (D0–D9) loaded as shown in Figure 1. Digital output load for LOADOUT, PRGCKOUT, SCKOUT, I PLL and SYNCOUT ≤ 30 pF. 2 ± 5% for all versions. 3 Temperature range (T MIN to TMAX): 0°C to +70°C; TJ (Silicon Junction Temperature) ≤ 100°C. 4 Pixel Port consists of the following inputs: Pixel Inputs: RED [A, B, C, D]; GREEN [A, B, C, D]; BLUE [A, B, C, D], Palette Selects: PS0 [A, B, C, D]; PS1 [A, B, C, D]; Pixel Controls: SYNC, BLANK; Clock Inputs: CLOCK, CLOCK, LOADIN, SCKIN; Clock Outputs: LOADOUT, PRGCKOUT, SCKOUT. 5 τ is the LOADOUT Cycle Time and is a function of the Pixel CLOCK Rate and the Multiplexing Mode: 1:1 multiplexing; τ = CLOCK = t1 ns. 2:1 Multiplexing; τ = CLOCK × 2 = 2 × t1 ns. 4:1 Multiplexing; τ = CLOCK × 4 = 4 × t1 ns. 6 These fixed values for Pipeline Delay are valid under conditions where t 10 and τ-t11 are met. If either t 10 or τ-t11 are not met, the part will operate but the Pipe line Delay is increased by 2 additional CLOCK cycles for 2:1 Mode and is increased by 4 additional CLOCK cycles for 4:1 Mode, after calibration is performed. 7 Output delay measured from the 50% point of the rising edge of CLOCK to the 50% point of full-scale transition. Output rise/fall time measured between the 10% and 90% points of full-scale transition. Transition time measured from the 50% point of full-scale transition to the output remaining within 2% of the final output value (Transition time does not include clock and data feedthrough). 8 t23 and t24 are measured with the load circuit of Figure 1 and defined as the time required for an output to cross 0.4 V or 2.4 V. 9 t25 is derived from the measured time taken by the data outputs to change by 0.5 V when loaded with the circuit of Figure 1. The measured number is then extrapolated back to remove the effects of charging the 100 pF capacitor. This means that the time, t 25, quoted in the Timing Characteristics is the true value for the device and as such is independent of external databus loading capacitances. Specifications subject to change without notice. ISINK TO OUTPUT PIN +2.1V 100pF ISOURCE Figure 1. Load Circuit for Databus Access and Relinquish Times t2 t3 t1 CLOCK CLOCK t4 LOADOUT (1:1 MULTIPLEXING) LOADOUT (2:1 MULTIPLEXING) LOADOUT (4:1 MULTIPLEXING) Figure 2. LOADOUT vs. Pixel Clock Input (CLOCK, CLOCK) t6 t5 t7 LOADIN t8 PIXEL INPUT DATA* VALID DATA t9 VALID DATA VALID DATA *INCLUDES PIXEL DATA (R0–R7, G0–G7, B0–B7); PALETTE SELECT INPUTS (PS0–PS1); BLANK; SYNC Figure 3. LOADIN vs. Pixel Input Data –4– REV. A ADV7150 CLOCK t10 LOADOUT LOADIN PIXEL INPUT DATA* AN BN C N DN AN+1 B N+1 C N+1 DN+1 A N+2 B N+2 CN+2 D N+2 DIG OUTITAL INP PUT U PIPE T TO A LINE NAL OG ANALOG OUTPUT DATA IOR, IOR IOG, IOG IOB, IOB IPLL, SYNCOUT A N–1 BN–1 C N–1 D N–1 AN BN CN DN AN+1 BN+1 C N+1 D N+1 A N+2 B N+2 CN+2 D N+2 tPD *INCLUDES PIXEL DATA (R0–R7, G0–G7, B0–B7); PALETTE SELECT INPUTS (PS0–PS1); BLANK; SYNC Figure 4. Pixel Input to Analog Output Pipeline with Minimum LOADOUT to LOADIN Delay (4:1 Multiplex Mode) CLOCK τ τ– t 11 LOADOUT LOADIN PIXEL INPUT DATA* AN BN C N DN AN+1 B N+1 C N+1 DN+1 AN+2 B N+2 C N+2 D N+2 DIG TO ITAL OU ANAL INPU PIP TPUT OG T ELI NE ANALOG OUTPUT DATA IOR, IOR IOG, IOG IOB, IOB IPLL, SYNCOUT AN–1 B N–1 CN–1 DN–1 AN BN CN DN A N+1 B N+1 CN+1 D N+1 AN+2 B N+2 C N+2 D N+2 tPD *INCLUDES PIXEL DATA (R0–R7, G0–G7, B0–B7); PALETTE SELECT INPUTS (PS0–PS1); BLANK; SYNC Figure 5. Pixel Input to Analog Output Pipeline with Maximum LOADOUT to LOADIN Delay (4:1 Multiplex Mode) REV. A –5– ADV7150 CLOCK t10 LOADOUT LOADIN PIXEL INPUT DATA* AN+1 B N+1 AN BN A N+2 BN+2 DIGITA OUTPU L INPUT TO T PIPE A LINE NALOG ANALOG OUTPUT DATA IOR, IOR IOG, IOG IOB, IOB IPLL, SYNCOUT AN-1 BN-1 AN BN AN+1 BN+1 AN+2 BN+2 tPD *INCLUDES PIXEL DATA (R0–R7, G0–G7, B0–B7); PALETTE SELECT INPUTS (PS0–PS1); BLANK; SYNC Figure 6. Pixel Input to Analog Output Pipeline with Minimum LOADOUT to LOADIN Delay (2:1 Multiplex Mode) CLOCK τ τ– t 11 LOADOUT LOADIN PIXEL INPUT DATA* AN BN AN+1 B N+1 A N+2 BN+2 DIGIT OUTP AL INPUT UT PIP TO ELINE ANALOG ANALOG OUTPUT DATA IOR, IOR IOG, IOG IOB, IOB IPLL, SYNCOUT AN-1 BN-1 AN BN AN+1 BN+1 AN+2 BN+2 tPD *INCLUDES PIXEL DATA (R0–R7, G0–G7, B0–B7); PALETTE SELECT INPUTS (PS0–PS1); BLANK; SYNC Figure 7. Pixel Input to Analog Output Pipeline with Maximum LOADOUT to LOADIN Delay (2:1 Multiplex Mode) –6– REV. A ADV7150 CLOCK PRGCKOUT (CLOCK/4) PRGCKOUT (CLOCK/8) PRGCKOUT (CLOCK/16) PRGCKOUT (CLOCK/32) t12 Figure 8. Pixel Clock Input vs. Programmable Clock Output (PRGCKOUT) t13 t14 SCKIN t15 BLANKING PERIOD BLANK SCKOUT START OF SCAN LINE (N+1) END OF SCAN LINE (N) Figure 9. Video Data Shift Clock Input (SCKIN) & BLANK vs. Video Data Shift Clock Output (SCKOUT) CLOCK t18 t16 WHITE LEVEL 90 % ANALOG OUTPUTS IOR, IOR IOG, IOG IOB, IOB IPLL, SYNCOUT 50 % FULL-SCALE TRANSITION 10 % BLACK LEVEL t17 NOTE: THIS DIAGRAM IS NOT TO SCALE. FOR THE PURPOSES OF CLARITY, THE ANALOG OUTPUT WAVEFORM IS MAGNIFIED IN TIME AND AMPLITUDE W.R.T THE CLOCK WAVEFORM. IPLL AND SYNCOUT ARE DIGITAL VIDEO OUTPUT SIGNALS. t16 IS THE ONLY RELEVENT OUTPUT TIMING SPECIFICATION FOR I PLL AND SYNCOUT. Figure 10. Analog Output Response vs. CLOCK REV. A –7– ADV7150 t19 t20 VALID CONTROL DATA R/W, C0, C1 t21 CE t22 t24 t25 t23 D0–D9 (READ MODE) R/W = 1 D0–D9 (WRITE MODE) R/W = 0 t27 t26 Figure 11. Microprocessor Port (MPU) Interface Timing RECOMMENDED OPERATING CONDITION Parameter Symbol Min Typ Max Units Power Supply Ambient Operating Temperature Reference Voltage Output Load VAA TA VREF RL 4.75 0 1.14 5.00 5.25 +70 1.26 Volts °C Volts Ω 1.235 37.5 CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the ADV7150 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. WARNING! ESD SENSITIVE DEVICE ABSOLUTE MAXIMUM RATINGS 1 16-Lead QFP Configuration VAA to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 V Voltage on Any Digital Pin . . . . GND – 0.5 V to VAA + 0.5 V Ambient Operating Temperature (TA) . . . . . –55°C to +125°C Storage Temperature (TS) . . . . . . . . . . . . . . –65°C to +150°C Junction Temperature (TJ) . . . . . . . . . . . . . . . . . . . . +150°C Lead Temperature (Soldering, 10 secs) . . . . . . . . . . . +260°C Vapor Phase Soldering (1 minute) . . . . . . . . . . . . . . . +220°C Analog Outputs to GND2 . . . . . . . . . . . . . GND – 0.5 to VAA 160 121 ROW D 1 120 NOTES 1 Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those listed in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 Analog Output Short Circuit to any Power Supply or Common can be of an indefinite duration. ROW A ADV7150 QFP TOP VIEW (NOT TO SCALE) ROW C PIN NO. 1 IDENTIFIER ORDERING GUIDE1, 2, 3 Speed 220 MHz 170 MHz 135 MHz ADV7150LS220 ADV7150LS170 ADV7150LS135 110 MHz ADV7150LS110 85 MHz ADV7150LS85 40 41 NOTES 1 ADV7150 is packaged in a 160-pin plastic quad flatpack, QFP. 2 All devices are specified for 0°C to +70°C operation. 3 Contact sales office for latest information on package design. –8– 81 ROW B 80 REV. A ADV7150 ADV7150 PIN ASSIGNMENTS Pin Number Mnemonic Pin Number Mnemonic Pin Number Mnemonic Pin Number Mnemonic 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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 G3A G3B G3C G3D G4A G4B G4C G4D G5A G5B G5C G5D CLOCK CLOCK LOADIN LOADOUT VAA VAA PRGCKOUT SCKIN SCKOUT SYNCOUT GND GND GND G6A G6B G6C G6D G7A G7B G7C G7D PS0A PS0B PS0C PS0D PS1A PS1B PS1C 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 PS1D B0A B0B B0C B0D B1A B1B B1C B1D B2A B2B B2C B2D B3A B3B B3C B3D B4A B4B B4C B4D B5A B5B B5C B5D B6A B6B B6C B6D B7A B7B B7C B7D CE R/W C0 C1 D0 D1 GND 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 NC D2 NC GND GND GND D3 D4 D5 VAA D6 D7 D8 D9 GND GND GND IOB IOR IOG IOB IOG VAA VAA VAA IOR COMP VREF RSET IPLL GND VAA VAA VAA SYNC BLANK R0A R0B R0C R0D 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 1 56 157 158 159 160 R1A R1B R1C R1D R2A R2B R2C R2D R3A R3B R3C R3D R4A R4B R4C R4D R5A R5B R5C R5D R6A R6B R6C R6D R7A R7B R7C R7D G0A G0B G0C G0D G1A G1B G1C G1D G2A G2B G2C G2D NC = No Connect. REV. A –9– ADV7150 PIN FUNCTION DESCRIPTION Mnemonic Function RED (R0A . . . R0D–R7A . . . R7D), GREEN (G0A . . . G0D–G7A. . . G7D), BLUE (B0A . . . B0D–B7A . . . B7D) Pixel Port (TTL Compatible Inputs): 96 pixel select inputs, with 8 bits each for Red, 8 bits for Green and 8 bits for Blue. Each bit is multiplexed [A-D] 4:1, 2:1 or 1:1. It can be configured for 24-Bit True-Color Data, 8-Bit Pseudo-Color Data and 15-Bit True-Color Data formats. Pixel Data is latched into the device on the rising edge of LOADIN. PS0A . . . PS0D, PS1A . . . PS1D Palette Priority Selects (TTL Compatible Inputs): These pixel port select inputs determine whether or not the device’s pixel data port is selected on a pixel by pixel basis. The palette selects allow switching between multiple palette devices. The device can be preprogrammed to completely shut off the DAC analog outputs. If the values of PS0 and PS1 match the values programmed into bits MR16 and MR17 of the Mode Register, then the device is selected. Each bit is multiplexed [A-D] 4:1, 2:1 or 1:1. PS0 and PS1 are latched into the device on the rising edge of LOADIN. LOADIN Pixel Data Load Input (TTL Compatible Input). This input latches the multiplexed pixel data, including PS0–PS1, BLANK and SYNC into the device. LOADOUT Pixel Data Load Output (TTL Compatible Output). This output control signal runs at a divided down frequency of the pixel CLOCK input. Its frequency is a function of the multiplex rate. It can be used to directly or indirectly drive LOADIN fLOADOUT = fCLOCK/M where M = 1 for 1:1 Multiplex Mode where M = 2 for 2:1 Multiplex Mode where M = 4 for 4:1 Multiplex Mode. PRGCKOUT Programmable Clock Output (TTL Compatible Output). This output control signal runs at a divided down frequency of the pixel CLOCK input. Its frequency is user programmable and is determined by bits CR30 and CR31 of Command Register 3 fPRGCKOUT = fCLOCK/N where N = 4, 8, 16 and 32. SCKIN Video Shift Clock Input (TTL Compatible Input). The signal on this input is internally gated synchronously with the BLANK signal. The resultant output, SCKOUT, is a video clocking signal that is stopped during video blanking periods. SCKOUT Video Shift Clock Output (TTL Compatible Output). This output is a synchronously gated version of SCKIN and BLANK. SCKOUT, is a video clocking signal that is stopped during video blanking periods. CLOCK, CLOCK Clock Inputs (ECL Compatible Inputs). These differential clock inputs are designed to be driven by ECL logic levels configured for single supply (+5 V) operation. The clock rate is normally the pixel clock rate of the system. BLANK Composite Blank (TTL Compatible Input). This video control signal drives the analog outputs to the blanking level. SYNC Composite-Sync Input (TTL Compatible Input). This video control signal drives the IOG analog output to the SYNC level. It is only asserted during the blanking period. CR22 in Command Register 2 must be set if SYNC is to be decoded onto the analog output, otherwise the SYNC input is ignored. SYNCOUT Composite-Sync Output (TTL Compatible Output). This video output is a delayed version of SYNC. The delay corresponds to the number of pipeline stages of the device. D0–D9 Databus (TTL Compatible Input/Output Bus). Data, including color palette values and device control information is written to and read from the device over this 10-bit, bidirectional databus. 10-bit data or 8-bit data can be used. The databus can be configured for either 10-bit parallel data or byte data (8+2) as well as standard 8-bit data. Any unused bits of the databus should be terminated through a resistor to either the digital power plane (VCC) or GND. CE Chip Enable (TTL Compatible Input). This input must be at Logic “0,” when writing to or reading from the device over the databus (D0–D9). Internally, data is latched on the rising edge of CE. –10– REV. A ADV7150 Mnemonic Function R/W Read/Write Control (TTL Compatible Input). This input determines whether data is written to or read from the device’s registers and color palette RAM. R/W and CE must be at Logic “0” to write data to the part. R/W must be at Logic “1” and CE at Logic “0” to read from the device. C0, C1 Command Controls (TTL Compatible Inputs). These inputs determine the type of read or write operation being performed on the device over the databus (see Interface Truth Table). Data on these inputs is latched on the falling edge of CE. IOR; IOR, IOG; IOG, IOB; IOB Red, Green and Blue Current Outputs (High Impedance Current Sources). These RGB video outputs are specified to directly drive RS-343A and RS-170 video levels into doubly terminated 75 Ω loads. IOR, IOG and IOB are the complementary outputs of IOR, IOG and IOB. These outputs can be tied to GND if it is not required to use differential outputs. VREF Voltage Reference Input (Analog Input). An external 1.235 V voltage reference is required to drive this input. An AD589 (2-terminal voltage reference) or equivalent is recommended. (Note: It is not recommended to use a resistor network to generate the voltage reference.) RSET Output Full-Scale Adjust Control (Analog Input). A resistor connected between this pin and analog ground controls the absolute amplitude of the output video signal. The value of RSET is derived from the full-scale output current on IOG according to the following equations: RSET (Ω) = C1 × VREF/IOG (mA); SYNC on GREEN RSET (Ω) = C2 × VREF/IOG (mA); NO SYNC on GREEN. Full-Scale output currents on IOR and IOB for a particular value of RSET are given by: IOR (mA)= C2 × VREF(V)/RSET (Ω) and IOB (mA) = C2 × VREF (V)/RSET (Ω) where C1 = 6,050; PEDESTAL = 7.5 IRE where C1 = 5,723; PEDESTAL = 0 IRE and where C2 = 4,323; PEDESTAL = 7.5 IRE where C1 = 3,996; PEDESTAL = 0 IRE. COMP Compensation Pin. A 0.1 µF capacitor should be connected between this pin and VAA. IPLL Phase Lock Loop Output Current (High Impedance Current Source). This output is used to enable multiple ADV7150s along with ADV7151s to be synchronized together with pixel resolution when using an external PLL. This output is triggered either from the falling edge of SYNC or BLANK as determined by bit CR21 of Command Register 2. When activated, it supplies a current corresponding to: IPLL (mA) = 1,728 × VREF(V)/RSET (Ω) When not using the IPLL function, this output pin should be tied to GND. VAA Power Supply (+5 V ± 5%). The part contains multiple power supply pins, all should be connected together to one common +5 V filtered analog power supply. GND Analog Ground. The part contains multiple ground pins, all should be connected together to the system’s ground plane. REV. A –11– ADV7150 (Continued from page 1) The device consists of three, high speed, 10-bit, video D/A converters (RGB), three 256 × 10 (one 256 × 30) color look-up tables, palette priority selects, a pixel input data multiplexer/ serializer and a clock generator/divider circuit. The ADV7150 is capable of 1:1, 2:1 and 4:1 multiplexing. The onboard palette priority select inputs enable multiple palette devices to be connected together for use in multipalette and window applications. The part is controlled and programmed through the microprocessor (MPU) port. The part also contains a number of onboard test registers, associated with self diagnostic testing of the device. The individual Red, Green and Blue pixel input ports allow True-Color, image rendition. True-Color image rendition, at speeds of up to 220 MHz, is achieved through the use of the onboard data multiplexer/serializer. The pixel input port’s flexibility allows for direct interface to most standard frame buffer memory configurations. The 30 bits of resolution, associated with the color look-up table and triple 10-bit DAC, realizes 24-bit True-Color resolution, while also allowing for the onboard implementation of linearization algorithms, such as Gamma-Correction. This allows effective 30-Bit True-Color operation. The on-chip video clock controller circuit generates all the internal clocking and some additional external clocking signals. An external ECL oscillator source with differential outputs is all that is required to drive the CLOCK and CLOCK inputs of the ADV7150. The part can also be driven by an external clock generator chip circuit, such as the AD730. The ADV7150 is capable of generating RGB video output signals which are compatible with RS-343A and RS-170 video standards, without requiring external buffering. Test diagnostic circuitry has been included to complement the users system level debugging. The ADV7150 is fabricated in a +5 V CMOS process. Its monolithic CMOS construction ensures greater functionality with low power dissipation. The ADV7150 is packaged in a plastic 160-pin power quad flatpack (QFP). Superior thermal dissipation is achieved by inclusion of a copper heatslug, within the standard package outline to which the die is attached. CIRCUIT DETAILS AND OPERATION Pixel Port and Clock Control Circuit OVERVIEW The Pixel Port of the ADV7150 is directly interfaced to the video/graphics pipeline of a computer graphics subsystem. It is connected directly or through a gate array to the video RAM of the systems Frame-Buffer (video memory). The pixel port on the device consists of: Digital video or pixel data is latched into the ADV7150 over the devices Pixel Port. This data acts as a pointer to the onboard Color Palette RAM. The data at the RAM address pointed to is latched into the digital-to-analog converters (DACs) and output as an RGB analog video signal. For the purposes of clarity of description, the ADV7150 is broken down into three separate functional blocks. These are: Color Data Pixel Controls Palette Selects 1. Pixel port and clock control circuit The associated clocking signals for the pixel port include: 2. MPU port, registers and color palette Clock Inputs 3. Digital-to-analog converters and video outputs Clock Outputs Table I shows the architectural and packaging differences between other devices in the ADV715x series of workstation parts. (For more details consult the relevant data sheets.) Table I. Architectural and Packaging Differences of the ADV715x Series Description ADV7150 ADV7152* 24-Bit “Gamma” True Color 24-Bit “Standard” True Color 8-Bit “Gamma” Pseudo Color 8-Bit “Standard” Pseudo Color 15-Bit True Color 220 MHz – True Color 220 MHz – Pseudo Color Triple 10-Bit DACs 4:1 Multiplexing 2:1 Multiplexing 1:1 Multiplexing 160-Lead QFP 100-Lead QFP • • • • • • • • • • • • • • • • • • • • ADV7151* RED, GREEN, BLUE SYNC, BLANK PS0–PS1 CLOCK, CLOCK, LOADIN, SCKIN LOADOUT, PRGCKOUT, SCKOUT These onboard clock control signals are included to simplify interfacing between the part and the frame buffer. Only two control input signals are necessary to get the part operational, CLOCK and CLOCK (ECL Levels). No additional signals or external glue logic are required to get the Pixel Port & Clock Control Circuit of the part operational. Pixel Port (Color Data) • • • • • • • • • The ADV7150 has 96 color data inputs. The part has four (for 4:1 multiplexing) 24-bit wide direct color data inputs. These are user programmed to support a number of color data formats including 24-Bit True Color, 15-Bit True Color and 8-Bit Pseudo Color (see “Color Data Formats” section) in 4:1, 2:1 and 1:1 multiplex modes. RED GREEN 8 BLUE • A B 8 C • 24 8 24 24 MULTIPLEXER 24 24 *See ADV7151 and ADV7150 data sheets for more information on these parts. D Figure 12. Multiplexed Color Inputs for the ADV7150 –12– REV. A ADV7150 Color data is latched into the parts pixel port on every rising edge of LOADIN (see Timing Waveform, Figure 3). The required frequency of LOADIN is determined by the multiplex rate, where: fLOADIN = fCLOCK/4 fLOADIN = fCLOCK/2 fLOADIN = fCLOCK Multiplexing The onboard multiplexers of the ADV7150 eliminate the need for external data serializer circuits. Multiple video memory devices can be connected, in parallel, directly to the device. 4:1 Multiplex Mode 2:1 Multiplex Mode 1:1 Multiplex Mode VIDEO MEMORY/ FRAME BUFFER ADV7150 24 Other pixel data signals latched into the device by LOADIN include SYNC, BLANK and PS0–PS1. VRAM (BANK A) 33MHz VRAM (BANK B) 33MHz 24 Internally, data is pipelined through the part by the differential pixel clock inputs, CLOCK and CLOCK. The LOADIN control signal needs only have a frequency synchronous relationship to the pixel CLOCK (see “Pipeline Delay & Onboard Calibration” section). A completely phase independent LOADIN signal can be used with the ADV7150, allowing the CLOCK to occur anywhere during the LOADIN cycle. MULTIPLEXER 24 VRAM (BANK C) 33MHz VRAM (BANK D) 33MHz 24 132 MHz (4 x 33 MHz) 24 Figure 13. Direct Interfacing of Video Memory to ADV7150 Figure 13 shows four memory banks of 33 MHz memory connected to the ADV7150, running in 4:1 multiplex mode, giving a resultant pixel or dot clock rate of 132 MHz. As mentioned in the previous section, the ADV7150 supports a number of color data formats in 4:1, 2:1 and 1:1 multiplex modes. Alternatively, the LOADOUT signal of the ADV7150 can be used. LOADOUT can be connected either directly or indirectly to LOADIN. Its frequency is automatically set to the correct LOADIN requirement. SYNC, BLANK In 1:1 multiplex mode, the ADV7150 is clocked using the LOADIN signal. This means that there is no requirement for differential ECL inputs on CLOCK and CLOCK. The pixel clock is connected directly to LOADIN. (Note: The ECL CLOCK can still be used to generate LOADOUT PRGCKOUT, etc.) The BLANK and SYNC video control signals drive the analog outputs to the blanking and SYNC levels respectively. These signals are latched into the part on the rising edge of LOADIN. The SYNC information is encoded onto the IOG analog signal when Bit CR22 of Command Register 2 is set to a Logic “1.” The SYNC input is ignored if CR22 is set to “0.” CLOCK CONTROL CIRCUIT SYNCOUT In some applications where it is not permissible to encode SYNC on green (IOG), SYNCOUT can be used as a separate TTL digital SYNC output. This has the advantage over an independent (of the ADV7150) SYNC in that it does not necessitate knowing the absolute pipeline delay of the part. This allows complete independence between LOADIN/Pixel Data and CLOCK. The SYNC input is connected to the device as normal with Bit CR22 of Command Register 2 set to “0” thereby preventing SYNC from being encoded onto IOG. Bit CR12 of Command Register 1 is set to “1,” enabling SYNCOUT. The output signal generates a TTL SYNCOUT with correct pipeline delay that is capable of directly driving the composite SYNC signal of a computer monitor. The ADV7150 has an integrated Clock Control Circuit (Figure 14). This circuit is capable of both generating the ADV7150’s internal clocking signals as well as external graphics subsystem clocking signals. Total system synchronization can be attained by using the parts output clocking signals to drive the controlling graphics processor’s master clock as well as the video frame buffers shift clock signals. PS0–PS1 (Palette Priority Select Inputs) CLOCK CLOCK PRGCKOUT ECL TO TTL DIVIDE BY N (÷ N) LOADOUT SCKOUT These pixel port select inputs determine whether or not the device is selected. These controls effectively determine whether the devices RGB analog outputs are turned-on or shut down. When the analog outputs are shut down, IOR, IOG and IOB are forced to 0 mA regardless of the state of the pixel and control data inputs. This state is determined on a pixel by pixel basis as the PS0–PS1 inputs are multiplexed in exactly the same format as the pixel port color data. These controls allow for switching between multiple palette devices (see Appendix 4). If the values of PS0 and PS1 match the values programmed into bits MR16 and MR17 of the Mode Register, then the device is selected, if there is no match the device is effectively shut down. DIVIDE BY M (÷ M) LATCH BLANK ENABLE SYNC SCKIN LOADIN ADV7150 TO COLOR DATA MULTIPLEXER M IS A FUNCTION OF MULTIPLEX RATE M = 4 IN 4:1 MULTIPLEX MODE M = 2 IN 2:1 MULTIPLEX MODE M = 1 IN 1:1 MULTIPLEX MODE N IS INDEPENDENTLY PROGRAMMABLE N= (4, 8, 16, 32) Figure 14. Clock Control Circuit of the ADV7150 REV. A –13– ADV7150 CLOCK, CLOCK Inputs LOADOUT(1) LOADOUT The Clock Control Circuit is driven by the pixel clock inputs, CLOCK and CLOCK. These inputs can be driven by a differential ECL oscillator running from a +5 V supply. VIDEO FRAME BUFFER Alternatively, the ADV7150 CLOCK inputs can be driven by a Programmable Clock Generator (Figure 15), such as the ICS1562. The ICS1562 is a monolithic, phase-locked-loop, clock generator chip. It is capable of synthesizing differential ECL output frequencies in a range up to 220 MHz from a single low frequency reference crystal. LOW FREQUENCY OSCILLATOR VCLOCK VCC GND 220Ω +5V +5V 220Ω VAA LOADIN LOADOUT(2) DELAY where N = 4, 8, 16 or 32. One application of the PRGCKOUT is to use it as the master clock frequency of the graphics subsystems processor or controller. GND GND SCKIN, SCKOUT These video memory signals are used to minimize external support chips. Figure 17 illustrates the function that is provided. An input signal applied to SCKIN is synchronously AND-ed with the video blanking signal (BLANK). The resulting signal is output on SCKOUT. Figure 9 of the Timing Waveform section shows the relationship between SCKOUT, SCKIN and BLANK. Figure 15. PLL Generator Driving CLOCK, CLOCK of the ADV7150 CLOCK CONTROL SIGNALS LOADOUT The ADV7150 generates a LOADOUT control signal which runs at a divided down frequency of the pixel CLOCK. The frequency is automatically set to the programmed multiplex rate, controlled by CR37 and CR36 of Command Register 3. fLOADOUT = fCLOCK/4 fLOADOUT = fCLOCK/2 fLOADOUT = fCLOCK LOADOUT(1) fPRGCKOUT = fCLOCK/N VREF D0-D3 CS R/W LOADOUT ADV7150 0.1 µF VREF OUT PIXEL DATA The PRGCKOUT control signal outputs a user programmable clock frequency. It is a divided down frequency of the pixel CLOCK (see Figure 8). The rising edge of PRGCKOUT is synchronous to the rising edge of LOADOUT 330Ω GND LOADIN PIXEL DATA Figure 16. LOADOUT vs. Pixel Clock Input (CLOCK, CLOCK) CLOCK GND ADV7150 LOADOUT(2) PRGCKOUT CLOCK CLOCK GENERATOR LOADIN VIDEO FRAME BUFFER VAA VCC ECL OUT+ ECL OUT– 330Ω ADV7150 LOADOUT SCKOUT 4:1 Multiplex Mode 2:1 Multiplex Mode 1:1 Multiplex Mode LATCH BLANK ENABLE SYNC SCKIN The LOADOUT signal is used to directly drive the LOADIN pixel latch signal of the ADV7150. This is most simply achieved by tying the LOADOUT and LOADIN pins together. Alternatively, the LOADOUT signal can be used to drive the frame buffer’s shift clock signals, returning to the LOADIN input delayed with respect to LOADOUT. If it is not necessary to have a known fixed number of pipeline delays, then there is no limitation on the delay between LOADOUT and LOADIN (LOADOUT(1) and LOADOUT(2)). Figure 17. SCKOUT Generation Circuit The SCKOUT signal is essentially the video memory shift control signal. It is stopped during the screen retrace. Figure 18 shows a suggested frame buffer to ADV7150 interface. This is a minimum chip solution and allows the ADV7150 control the overall graphics system clocking and synchronization. LOADIN and Pixel Data must conform to the setup and hold times (t8 and t9). LOADOUT LOADIN SCKIN If, however, it is required that the ADV7150 has a fixed number of pipeline delays (tPD), LOADOUT and LOADIN must conform to timing specifications t10 and τ-t11 as illustrated in Figures 4 to 7. VIDEO FRAME BUFFER ADV7150 BLANK SCKOUT PIXEL DATA Figure 18. ADV7150 Interface Using SCKIN and SCKOUT –14– REV. A ADV7150 Pipeline Delay and Onboard Calibration The ADV7150 has a fixed number of pipeline delays (tPD), so long as timings t10 and τ-t11 are met. However, if a fixed pipeline delay is not a requirement, timings t10 and τ-t11 can be ignored, a calibration cycle must be run and there is no restriction on LOADIN to LOADOUT timing. If timings t10 and τ-t11 are not met, the part will function correctly though with an increased number of pipeline delays, tPD + N CLOCKS (for 4:1 mode N = 4, for 2:1 mode N = 2, for 1:1 mode N = 0). The ADV7150 has onboard calibration circuitry which synchronizes pixel data and LOADIN with the internal ADV7150 clocking signals. Calibration can be performed in two ways: during the devices initialization sequence by toggling two bits of the Mode Register, MR10 followed by MR15, or by writing a “1” to Bit CR10 of Command Register 1 which executes a calibration on every Vertical Sync. COLOR VIDEO MODES The ADV7150 supports a number of color video modes all at the maximum video rate. Command bits CR24–CR27 of Command Register 2 along with Bit MR11 of Mode Register 1 determine the color mode. 24-BIT COLOR DATA RED 256 x 8 8 8 8 30-BIT COLOR DATA ANALOG VIDEO OUTPUTS 24-BIT COLOR DATA 8 8-BIT RED DAC 8 8-BIT GREEN DAC GREEN OUT 8 8-BIT BLUE DAC BLUE OUT RED OUT Figure 20. 24-Bit to 24-Bit Direct True-Color Configuration 8-Bit “Gamma” Pseudo Color (CR25, CR26, CR27 = X, 0, 0 or X, 1, 0 or X, 0, 1 and MR11 = 1) This mode sets the part into 8-bit Pseudo-Color operation. The pixel port accepts 8 bits of pixel data which indexes a 30-bit word in the Look-Up Table RAM. The Look-Up Table is configured as a 256 location by 30 bits deep RAM (10 bits each for Red, Green and Blue). The output of the RAM drives the DACs with 30-bit data (10 bits each for Red, Green and Blue). 8-BIT PIXEL DATA The part is set to 24-bit/30-bit True-Color operation. The pixel port accepts 24 bits of color data which is directly mapped to the Look-Up Table RAM. The Look-Up Table is configured as a 256 location by 30 bits deep RAM (10 bits each for Red, Green and Blue). The output of the RAM drives the DACs with 30-bit data (10 bits each for Red, Green and Blue). The RAM is preloaded with a user determined, nonlinear function, such as a gamma correction curve. 24-BIT TO 30-BIT LOOK-UP TABLE GREEN 256 x 8 BLUE 256 x 8 24-Bit “Gamma” True Color (CR25, CR26, CR27 = 1, 1, 1 and MR11 = 1) 24-BIT COLOR DATA 24-BIT TO 24-BIT LOOK-UP TABLE 8 8-BIT TO 30-BIT LOOK-UP TABLE RED 256 x 10 GREEN 256 x 10 BLUE 256 x 10 30-BIT COLOR DATA ANALOG VIDEO OUTPUTS 10 10-BIT RED DAC 10 10-BIT GREEN DAC GREEN OUT 10 10-BIT BLUE DAC BLUE OUT RED OUT ANALOG VIDEO OUTPUTS Figure 21. 8-Bit to 30-Bit Pseudo-Color Configuration RED 256 x 10 10 10-BIT RED DAC 10 10-BIT GREEN DAC GREEN OUT 10 10-BIT BLUE DAC BLUE OUT RED OUT 8 8 8 GREEN 256 x 10 BLUE 256 x 10 Figure 19. 24-Bit to 30-Bit True-Color Configuration This mode allows for the display of full 24-bit, GammaCorrected True-Color Images. This mode allows for the display of 256 simultaneous colors out of a total palette of millions of addressable colors. 8-Bit “Standard” Pseudo Color (CR25, CR26, CR27 = X, 0, 0 or X, 1, 0 or X, 0, 1 and MR11 = 0) This mode sets the part into 8-bit Pseudo-Color operation. The pixel port accepts 8 bits of pixel data which indexes a 24-bit word in the Look-Up Table RAM. The Look-Up Table is configured as a 256 location by 24 bits deep RAM (10 bits each for Red, Green and Blue). The output of the RAM drives the DACs with 24-bit data (8 bits each for Red, Green and Blue). 8-BIT PIXEL DATA 24-Bit “Standard” True Color (CR25, CR26, CR27 = 1, 1, 1 and MR11 = 0) This mode sets the part into direct 24-bit True-Color operation. The pixel port accepts 24 bits of color data which is directly mapped to Look-Up Table RAM. The Look-Up Table is configured as a 256 location by 24 bits deep RAM (8 bits each for Red, Green and Blue) and essentially acts as a bypass RAM. The output of the RAM drives the DACs with 24-bit data (8 bits each for Red, Green and Blue). The RAM is preloaded with a linear function. 8 8-BIT TO 24-BIT LOOK-UP TABLE RED 256 x 8 GREEN 256 x 8 BLUE 256 x 8 This mode allows for the display of full 24-bit True-Color Images. 24-BIT COLOR DATA ANALOG VIDEO OUTPUTS 8 8-BIT RED DAC 8 8-BIT GREEN DAC GREEN OUT 8 8-BIT BLUE DAC BLUE OUT RED OUT Figure 22. 8-Bit to 24-Bit Pseudo-Color Configuration This mode allows for the display of 256 simultaneous colors out of a total palette of millions of addressable colors. REV. A –15– ADV7150 15-Bit “Gamma” True Color (CR24, CR25, CR26, CR27 = 0, 0, 1, 1 or 1, 0, 1, 1 and MR11 = 1) R4 R3 The part is set to 15-bit True-Color operation. The pixel port accepts 15-bits of color data which is mapped to the 5 LSBs of each of the red, green and blue palettes of the Look-Up Table RAM. The Look-Up Table is configured as a 32 location by 30 bits deep RAM (10 bits each for Red, Green and Blue). The output of the RAM drives the DACs with 30-bit data (10 bits each for Red, Green and Blue). 15-BIT COLOR DATA 15-BIT TO 30-BIT LOOK-UP TABLE 30-BIT COLOR DATA 10 RED 32 x 10 R2 R1 R0 x x x GREEN 32 x 10 10 10-BIT RED DAC G4 RED OUT G3 10-BIT GREEN DAC G2 GREEN OUT G1 BLUE 32 x 10 10 10-BIT BLUE DAC BLUE OUT G0 x x x Figure 23. 15-Bit to 30-Bit True-Color Configuration This mode allows for the display of 15-bit, Gamma-Corrected True-Color Images. B4 15-Bit “Standard” True Color (CR24, CR25, CR26, CR27 = 0, 0, 1, 1 or 1, 0, 1, 1 and MR11 = 0) B3 B2 The part is set to 15-bit True-Color operation. The pixel port accepts 15 bits of color data which is mapped to the 5 LSBs of each of the red, green and blue palettes of the Look-Up Table RAM. The Look-Up Table is configured as a 32 location by 24 bits deep RAM (8 bits each for Red, Green and Blue). The output of the RAM drives the DACs with 24-bit data (8 bits each for Red, Green and Blue). 15-BIT COLOR DATA 15-BIT TO 24-BIT LOOK-UP TABLE RED 32 x 8 24-BIT COLOR DATA B1 B0 x x x PIXEL INPUT DATA ANALOG VIDEO OUTPUTS 8 8-BIT RED DAC 8 8-BIT GREEN DAC GREEN OUT 8 8-BIT BLUE DAC BLUE OUT RED OUT 5 5 5 GREEN 32 x 8 BLUE 32 x 8 R6 R5 R4 R3 R2 R1 R0 R4 0 R3 0 R2 0 R1 R4 R0 R3 x R2 x R1 x R0 G4 0 G3 0 256 x 10 RAM (RED LUT) 5 LOCATION "31" LOCATION "0" ANALOG VIDEO OUTPUTS 5 5 5 R7 G7 G6 G5 G4 G3 G2 G1 G0 B7 B6 B5 B4 B3 B2 B1 B0 PIN ASSIGNMENTS G2 0 G1 G4 G0 G3 x G2 x G1 x G0 B4 0 B3 0 B2 0 B1 B4 B0 B3 x B2 x B1 x B0 DATA LATCHED TO PIXEL PORT 10 TO RED DAC 256 x 10 RAM (GREEN LUT) 5 LOCATION "31" LOCATION "0" 10 TO GREEN DAC 256 x 10 RAM (BLUE LUT) 5 DATA INTERNALLY SHIFTED TO 5 LSBS LOCATION "31" LOCATION "0" 10 TO BLUE DAC DATA LATCHES FIRST 32 LOCATIONS OF RAM Figure 25. 15-Bit True-Color Mapping Using R3–R7, G3–G7 and B3–B7 This mode allows for the display of 15-bit True-Color Images. PIXEL PORT MAPPING Figure 24. 15-Bit to 24-Bit True-Color Configuration The pixel data to the ADV7150 is automatically mapped in the parts pixel port as determined by the pixel data mode programmed (Bits CR24–CR27 of Command Register 2). Pixel data in the 24-bit True-Color modes is directly mapped to the 24 color inputs R0–R7, G0–G7 and B0–B7. There are three modes of operation for 8-bit Pseudo Color. Each mode maps the input pixel data differently. Data can be input one of the three color channels, R0–R7 or G0–G7 or B0–B7. –16– REV. A ADV7150 R4 R3 R2 R1 R0 G4 G3 G2 x G1 G0 B4 B3 B2 B1 B0 x x x x x x x x R7 R6 R5 R4 R3 R2 R1 R0 G7 G6 G5 G4 G3 G2 G1 G0 B7 B6 B5 B4 B3 B2 B1 B0 R4 0 R3 0 R2 0 R1 R4 R0 R3 G4 R2 G3 R1 G2 R0 x 0 G1 0 G0 0 G4 G4 B4 G3 B3 G2 B2 G1 B1 G0 x 0 x 0 x 0 x B4 x B3 x B2 x B1 x B0 PIXEL PIN DATA INPUT ASSIGN- LATCHED DATA MENTS TO PIXEL PORT MICROPROCESSOR (MPU) PORT The ADV7150 supports a standard MPU Interface. All the functions of the part are controlled via this MPU port. Direct access is gained to the Address Register, Mode Register and all the Control Registers as well as the Color Palette. The following sections describe the setup for reading and writing to all of the devices registers. 256 x 10 RAM (RED LUT) 5 LOCATION "31" LOCATION "0" 10 TO RED DAC 256 x 10 RAM (GREEN LUT) 5 LOCATION "31" LOCATION "0" DATA INTERNALLY SHIFTED TO 5 LSBS LOCATION "31" LOCATION "0" 10 TO GREEN DAC Databus Width RAM/DAC Resolution Read/Write Mode 10-Bit 10-Bit 8-Bit 8-Bit 10-Bit 8-Bit 10-Bit 8-Bit 10-Bit Parallel 8-Bit Parallel 8+2 Byte 8-Bit Parallel Register Mapping The ADV7150 contains a number of onboard registers including the Mode Register (MR17–MR10), Address Register (A7– A0) and nine Control Registers as well as Red (R9–R0), Green (G9–G0) and Blue (B9–B0) Color Registers. These registers control the entire operation of the part. Figure 28 shows the internal register configuration. 10 TO BLUE DAC DATA LATCHES FIRST 32 LOCATIONS OF RAM Figure 26. 15-Bit True-Color Mapping Using R0–R7 and G0–G6 The part has two modes of operation for 15-bit True Color. In the first mode, data is input to the device over the red, green and blue channel (R3–R7, G3–G7 and B3–B7) and is internally mapped to locations 0 to 31 of the Look-Up Table (LUT) according to Figure 25. In the second mode, data is input to the device over just two of the color ports, red and green (R0–R7 and G0–G6) and is internally mapped to LUT locations 0 to 31 according to Figure 26. (Note: Data on unused pixel inputs is ignored.) REV. A The MPU interface (Figure 27) consists of a bidirectional, 10-bit wide databus and interface control signals CE, C0, C1 and R/W. The 10-bit wide databus is user configurable as illustrated. Table II. Databus Width Table 256 x 10 RAM (BLUE LUT) 5 MPU Interface Control lines C1 and C0 determine which register the MPU is accessing. C1 and C0 also determine whether the Address Register is pointing to the color registers and look-up table RAM or the control registers. If C1, C0 = 1, 0 the MPU has access to whatever control register is pointed to by the Address Register (A7–A0). If C1, C0 = 0, 1 the MPU has access to the Look-Up Table RAM (Color Palette) through the associated color registers. The CE input latches data to or from the part. The R/W control input determines between read or write accesses. The Truth Tables III and IV show all modes of access to the various registers and color palette for both the 8-bit wide databus configuration and 10-bit wide databus configuration. It should be noted that after power-up, the devices MPU port is automatically set to 10-bit wide operation (see Power-On Reset section). Color Palette Accesses Data is written to the color palette by first writing to the address register of the color palette location to be modified. The MPU performs three successive write cycles for each of the red, green and blue registers (10-bit or 8-bit). An internal pointer moves from red to green to blue after each write is completed. This pointer is reset to red after a blue write or whenever the address register is written. During the blue write cycle, the three bytes of red, green and blue are concatenated into a single 30-bit/24-bit word and written to the RAM location as specified in the address register (A7–A0). The address register then automatically increments to point to the next RAM location and a similar red, green and blue palette write sequence is performed. The address register resets to 00H following a blue write cycle to color palette RAM location FFH. –17– ADV7150 CONTROL REGISTERS PIXEL MASK REGISTER ADDRESS REGISTER ADDR (A7–A0) COMMAND REGISTERS (CR1–CR3) TEST REGISTERS MODE REGISTER (MR1) DATA TO PALETTES 30 REVISION REGISTER ID REGISTER RED REGISTER COLOR REGISTERS GREEN REGISTER BLUE REGISTER MPU PORT 10 (8+2) CE R/W C0 C1 D9 – D0 Figure 27. MPU Port and Register Configuration Data is read from the color palette by first writing to the address register of the color palette location to be read. The MPU performs three successive read cycles from each of the red, green and blue locations (10-bit or 8-bit) of the RAM. An internal pointer moves from red to green to blue after each read is completed. This pointer is reset to red after a blue read or whenever the address register is written. The address register then automatically increments to point to the next RAM location, and a similar red, green and blue palette read sequence is performed. The address register resets to 00H following a blue read cycle of color palette RAM location FFH. C1 = 1 C0 = 0 ADDRESS REGISTER (A15–A0) 00H 01H Register Accesses The MPU can write to or read from all of the ADV7150s registers. C0 and C1 determine whether the Mode Register or Address Register is being accessed. Access to these registers is direct. The Control Registers are accessed indirectly. The Address Register must point to the desired Control Register. Figure 28 along with the 8-bit and 10-bit Interface Truth Tables illustrate the structure and protocol for device communication over the MPU port. MODE REGISTER (MR17–MR10) C1 = 1 C0 = 1 ADDRESS REGISTER (A7–A0) C1 = 0 C0 = 0 C1 = 0 C0 = 1 CONTROL REGISTERS PIXEL TEST REGISTER R G B DAC TEST REGISTER R G B 02H SYNC, BLANK & I PLL TEST REGISTER 03H ID REGISTER (READ ONLY) 04H PIXEL MASK REGISTER 05H COMMAND REGISTER 1 06H COMMAND REGISTER 2 07H COMMAND REGISTER 3 08H RESERVED* (READ ONLY) 09H RESERVED* (READ ONLY) 0AH RESERVED* (READ ONLY) 0BH REVISION REGISTER RED REGISTER (R9–R0) POINTS TO LOCATION CORRESPONDING TO ADDRESS REG (A7–A0) GREEN REGISTER (G9–G0) BLUE REGISTER (B9–B0) LOOK-UP TABLE RAM (256 x 30) ADDRESS REG = ADDRESS REG + 1 * THIS REGISTER IS READ ONLY. A READ CYCLE WILL RETURN ZEROS "00". Figure 28. Internal Register Configuration and Address Decoding –18– REV. A ADV7150 Table III. Interface Truth Table (10-Bit Databus Mode) R/W C1 C0 Databus (D9–D0) Operation Result 0 0 0 1 0 1 1 0 0 DB7–DB0 DB7–DB0 DB7–DB0 Write to Mode Register DB7–DB0 → MR17–MR10 Write to Address Register DB7–DB0 → A7–A0 Write to Control Registers DB7–DB0 → Control Register (Particular Control Register Determined by Address Register) 0 0 0 0 0 0 1 1 1 DB9–DB0 DB9–DB0 DB9–DB0 Write to RED Register DB9–DB0 → R9–R0 Write to GREEN Register DB9–DB0 → G9–G0 Write to BLUE Register DB9–DB0 → B9–B0 Write RGB Data to RAM Location Pointed to by Address Register (A7–A0) Address Register = Address Register + 1 1 1 1 1 0 1 1 0 0 DB7–DB0 DB7–DB0 DB7–DB0 Read Mode Register MR17–MR10 → DB7–DB0 Read Address Register A7–A0 → DB7–DB0 Read Control Registers Register Data → DB7–DB0 (Particular Control Register Determined by Address Register) 1 1 1 0 0 0 1 1 1 DB9–DB0 DB9–DB0 DB9–DB0 Read RED RAM Location R9–R0 → DB9–DB0 Read GREEN RAM Location G9–G0→ DB9–DB0 Read BLUE RAM Location B9–B0 → DB9–DB0 (RAM Location Pointed to by Address Register(A7–A0)) Address Register = Address Register + 1 DB = Data Bit. Table IV. Interface Truth Table (8-Bit Databus Mode)* R/W C1 C0 Databus (D7–D0) Operation Result 0 0 0 1 0 1 1 0 0 DB7–DB0 DB7–DB0 DB7–DB0 Write to Mode Register DB7–DB0 → MR17–MR10 Write to Address Register DB7–DB0 → A7–A0 Write to Control Registers DB7–DB0 → Control Registers (Particular Control Register Determined by Address Register (A7–A0)) 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 DB9–DB2 DB1–DB0 DB9–DB2 DB1–DB0 DB9–DB2 DB1–DB0 Write to RED Register DB9–DB2 → R9–R2 Write to RED Register DB1–DB0 → R1–R0 Write to GREEN Register DB9–DB2 → G9–G2 Write to GREEN Register DB1–DB0 → G1–G0 Write to BLUE Register DB9–DB2 → B9–B2 Write to BLUE Register DB1–DB0 → B1–B0 Write RGB Data to RAM Location Pointed to by Address Register (A7-A0) Address Register = Address Register + 1 1 1 1 1 0 1 1 0 0 DB7–DB0 DB7–DB0 DB7–DB0 Read Mode Register MR17–MR10 → DB7–DB0 Read Address Register A7–A0 → DB7–DB0 Read Control Registers Register Data → DB7–DB0 (Particular Control Register Determined by Address Register) 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 DB9–DB2 DB1–DB0 DB9–DB2 DB1–DB0 DB9–DB2 DB1–DB0 Read RED RAM Location R9–R2 → DB9–DB2 Read RED RAM Location R1–R0 → DB1–DB0 Read GREEN RAM Location G9–G2 → DB9–DB2 Read GREEN RAM Location G1–G0 → DB1–DB0 Read BLUE RAM Location B9–B2 → DB9–DB2 Read BLUE RAM Location B1–B0 → DB1–DB0 (RAM Location Pointed to by Address Register (A7–A0)) Address Register = Address Register + 1 *Writing or reading 10-bit data (DB9–DB0) over an 8-bit databus (D7–D0) requires two write or two read cycles. :DB9–DB2 is mapped to D7–D0 on the first cycle. :DB1–DB0 is mapped to D1–D0 on the second cycle. DB = Data Bit. REV. A –19– ADV7150 Power-On Reset REGISTER PROGRAMMING On power-up of the ADV7150 executes a power-on reset operation. This initializes the pixel port such that the pixel sequence ABCD starts at A. The Mode Register (MR17–MR10), Command Register 2 (CR27–CR20) and Command Register 3 (CR37–CR30) have all bits set to a Logic “1.” Command Register 1 (CR17–CR10) has all bits set to a Logic “0.” The following section describes each register, including Address Register, Mode Register and each of the nine Control Registers in terms of its configuration. Address Register (A7–A0) As illustrated in the previous tables, the C0 and C1 control inputs, in conjunction with this address register specify which control register, or color palette location is accessed by the MPU port. The address register is 8-bits wide and can be read from as well as written to. When writing to or reading from the color palette on a sequential basis, only the start address needs to be written. After a red, green and blue write sequence, the address register is automatically incremented. The output clocking signals are also set during this reset period. PRGCKOUT = CLOCK/32 LOADOUT = CLOCK/4 The power-on reset is activated when VAA goes from 0 V to 5 V. This reset is active for 1 µs. The ADV7150 should not be accessed during this reset period. The pixel clock should be applied at power-up. MR19 MR18 MR17 MR15 MR16 MR14 RESERVED* MR13 MR12 MR11 MR10 MPU DATA BUS WIDTH CALIBRATE LOADIN PALETTE SELECT MATCH BITS CONTROL MR16 PS0 MR17 PS1 MR12 MR15 0 8-BIT (D7–D0) 1 10-BIT (D9–D0) RAM-DAC RESOLUTION CONTROL OPERATIONAL MODE CONTROL MR11 MR14 MR13 0 0 0 1 RESERVED NORMAL OPERATION 1 0 RESERVED 1 1 RESERVED 0 8-BIT 1 10-BIT RESET CONTROL MR10 * THESE BITS ARE READ-ONLY RESERVED BITS. A READ CYCLE WILL RETURN ZEROS "00." Mode Register 1 (MR1) (MR19–MR10) MODE REGISTER MR1 (MR19–MR10) The mode register is a 10-bit wide register. However for programming purposes, it may be considered as an 8-bit wide register (MR18 and MR19 are both reserved). It is denoted as MR17–MR10 for simplification purposes. The diagram shows the various operations under the control of the mode register. This register can be read from as well written to. In read mode, if MR18 and MR19 are read back, they are both returned as zeros. Mode Register (MR17–MR10) Bit Description Reset Control (MR10) This bit is used to reset the pixel port sampling sequence. This ensures that the pixel sequence ABCD starts at A. It is reset by writing a “1” followed by a “0” followed by a “1.” This bit must be run through this cycle during the initialization sequence. RAM-DAC Resolution Control (MR11) When this is programmed with a “1,” the RAM is 30 bits deep (10 bits each for red, green and blue) and each of the three DACs is configured for 10-bit resolution. When MR11 is programmed with a “0,” the RAM is 24-bits deep (8 bits each for red, green and blue) and the DACs are configured for 8-bit resolution. The two LSBs of the 10-bit DACs are pulled down to zero in 8-bit RAM-DAC mode. MPU Databus Width (MR12) This bit determines the width of the MPU port. It is configured as either a 10-bit wide (D9–D0) or 8-bit wide (D7–D0) bus. 10-bit data can be written to the device when configured in 8-bit wide mode. The 8 MSBs are first written on D7–D0, then the two LSBs are written over D1–D0. Bits D9–D8 are zeros in 8-bit mode. Operational Mode Control (MR14–MR13) When MR14 is “0” and MR13 is “1,” the part operates in normal mode. Calibrate LOADIN (MR15) This bit automatically calibrates the onboard LOADIN/ LOADOUT synchronization circuit. A “0” to “1” transition initiates calibration. This bit is set to “0” in normal operation. See “Pipeline Delay and Calibration” section. This bit must be run through this cycle during the initialization sequence. –20– REV. A ADV7150 Palette Select Match Bits Control (MR17–MR16) These bits allow multiple palette devices to work together. When bits PS1 and PS0 match MR17 and MR16 respectively, the device is selected. If these bits do not match, the device is not selected and the analog video outputs drive 0 mA, see “Palette Priority Select Inputs” section. CONTROL REGISTERS The ADV7150 has 9 control registers. To access each register, two write operations must be performed. The first write to the address register specifies which of the 9 registers is to be accessed. The second access determines the value written to that particular control register. Pixel Test Register (Address Reg (A7–A0) = 00H) This register is used when the device is in test/diagnostic mode. It is a 24-bit (8 bits each for RED, GREEN and BLUE) wide read-only register which allows the MPU to read data on the pixel port, see “Test Diagnostic” section. DAC Test Register (Address Reg (A7–A0) = 01H) This register is used when the device is in test/diagnostic mode. It is a 30-bit (10 bits each for RED, GREEN and BLUE) wide read-only register which allows MPU access to the DAC port, see “Test Diagnostic” section. SYNC, BLANK and IPLL Test Register (Address Reg (A7–A0) = 02H) This register is used when the device is in test/diagnostic mode. It is a 3-bit wide (3 LSBs) read/write register which allows MPU access to these particular pixel control bits, see “Test Diagnostic” section. CR19 CR18 CR17 CR16 CR15 ID Register (Address Reg (A7–A0) = 03H) This is an 8-bit wide “Identification” read-only register. For the ADV7150 it will always return the hexadecimal value 8EH. Pixel Mask Register (Address Reg (A7–A0) = 04H) The contents of the pixel mask register are individually bit-wise logically AND-ed with the Red, Green and Blue pixel input stream of data. It is an 8-bit read/write register with D0 corresponding to R0, G0 and B0. For normal operation, this register is set with FFH. COMMAND REGISTER 1 (CR1) (Address Reg (A7–A0) = 05H) This register contains a number of control bits as shown in the diagram. CR1 is a 10-bit wide register. However for programming purposes, it may be considered as an 8-bit wide register (CR18 to CR19 are reserved). The diagram below shows the various operations under the control of CR1. This register can be read from as well as written to. In write mode, “0” should be written to CR11 and CR13 to CR17. In read mode, CR11 and CR13 to CR19 are returned as zeros. COMMAND REGISTER 1-BIT DESCRIPTION Calibration Control (CR10) This bit automatically calibrates the onboard LOADIN/ LOADOUT synchronization circuit. MR15 of Mode Register MR1 must be set to “0.” SYNCOUT Control (CR12) This bit specified whether the video SYNCOUT signal is to be enabled. On power up a “0” is written to the bit and “SYNCOUT” is set three-state. CR14 CR13 CR12 CR11 CR10 RESERVED* *THESE BITS ARE READ–ONLY RESERVED BITS. A READ CYCLE WILL RETURN ZEROS "00." CR17-CR13 (00000) CR11 (0) THESE BITS SHOULD BE SET TO ZERO THIS BIT SHOULD BE SET TO ZERO SYNCOUT CONTROL CALIBRATION CONTROL CR12 0 1 DISABLE ENABLE SYNCOUT CR10 0 1 Command Register 1 (CR1) (CR19–CR10) REV. A –21– DISABLE CALIBRATES ON EVERY VERTICAL SYNC (MR15=0) ADV7150 IPLL Trigger Control (CR21) COMMAND REGISTER 2 (CR2) (Address Reg (A7–A0) = 06H) This bit specifies whether the IPLL output is triggered from BLANK or SYNC. This register contains a number of control bits as shown in the diagram. CR2 is a 10-bit wide register. However, for programming purposes, it may be considered as an 8-bit wide register (CR28 and CR29 are both reserved). SYNC Recognition Control (CR22) This bit specifies whether the video SYNC input is to be encoded onto the IOG analog output or ignored. The diagram shows the various operations under the control of CR2. This register can be read from as well written to. In read mode, CR28 and CR29 are both returned as zeros. Pedestal Enable Control (CR23) This bit specifies whether a 0 IRE or a 7.5 IRE blanking pedestal is to be generated on the video outputs. True-Color/Pseudo-Color Mode Control (CR27–CR24) COMMAND REGISTER 2-BIT DESCRIPTION R7 Trigger Polarity Control (CR20) These 4 bits specify the various color modes. These include a 24-bit true-color mode, two 15-bit true-color modes and three 8-bit pseudo color modes. This bit is used when the device is in test/diagnostic mode. It determines whether the pixel data is latched into the test registers in the rising or falling edge of R7. (See “Test Diagnostics” section.) CR29 CR27 CR28 CR26 CR25 PEDESTAL ENABLE CONTROL RESERVED* *THESE BITS ARE READONLY RESERVED BITS. A READ CYCLE WILL RETURN ZEROS "00." CR23 CR24 CR21 CR20 SYNC RECOGNITION CONTROL CR23 0 1 CR22 CR22 0 IRE 7.5 IRE 0 1 TRUE COLOR/PSEUDO-COLOR MODE CONTROL IGNORE DECODE IPLL TRIGGER CONTROL CR21 CR27 CR26 CR25 CR24 MODE 0 0 1 1 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 1 1 1 1 0 8-BIT PSEUDO COLOR ON R7–R0 8-BIT PSEUDO COLOR ON G7–G0 8-BIT PSEUDO COLOR ON B7–B0 15-BIT TRUE COLOR ON R7–R3, G7–G3, B7–B3 15-BIT TRUE COLOR ON R7–R0, G6–G0 24-BIT TRUE COLOR R7–R0, G7–G0, B7–B0 0 SYNC 1 BLANK R7 TRIGGER POLARITY CONTROL CR20 0 1 Command Register 2 (CR2) (CR29–CR20) –22– REV. A ADV7150 COMMAND REGISTER 3 (CR3) (Address Reg (A7–A0) = 07H) BLANK Pipeline Delay Control (CR35–CR32) These bits specify the additional pipeline delay that can be added to the BLANK function, relative to the overall device pipeline delay (tPD). As the BLANK control normally enters the video DAC from a shorter pipeline than the video pixel data, this control is useful in deskewing the pipeline differential. This register contains a number of control bits as shown in the diagram. CR3 is a 10-bit wide register. However for programming purposes, it may be considered as an 8-bit wide register (CR38 and CR39 are both reserved). The diagram shows the various operations under the control of CR3. This register can be read from as well written to. In read mode, CR38 and CR39 are both returned as zeros. Pixel Multiplex Control (CR37–CR36) These bits specify the device’s multiplex mode. It, therefore, also determines the frequency of the LOADOUT signal. LOADOUT is a divided down version of the pixel CLOCK. COMMAND REGISTER 3-BIT DESCRIPTION PRGCKOUT Frequency Control (CR31–CR30) Revision Register (Address Reg (A7–A0) = 0BH) These bits specify the output frequency of the PRGCKOUT output. PRGCKOUT is a divided down version of the pixel CLOCK. CR39 CR38 RESERVED* *THESE BITS ARE READONLY RESERVED BITS. A READ CYCLE WILL RETURN ZEROS "00." CR37 CR36 This register is a read only register containing the revision of silicon. CR35 CR34 0 0 0 0 0 0 0 0 1 0 1 0 tPD tPD + 1 x LOADOUT tPD + 2 x LOADOUT · · · · · · · · · · 1 1 1 1 tPD + 15 x LOADOUT CR30 PRGCKOUT FREQUENCY CONTROL CR31 CR30 1:1 MUXING: LOADOUT = CLOCK ÷ 1 2:1 MUXING LOADOUT = CLOCK ÷ 2 RESERVED 4:1 MUXING :LOADOUT = CLOCK÷ 4 0 0 1 1 Command Register 3 (CR3) (CR39–CR30) REV. A CR31 CR35 CR34 CR33 CR32 CR37 CR36 0 1 0 1 CR32 EXTRA BLANK PIPELINE DELAY CONTROL (ADDS TO PIXEL PIPELINE DELAY; t ) PD PIXEL MULTIPLEX CONTROL 0 0 1 1 CR33 –23– 0 1 0 1 CLOCK ÷ 4 CLOCK ÷ 8 CLOCK ÷ 16 CLOCK ÷ 32 ADV7150 DIGITAL-TO-ANALOG CONVERTERS (DACS) AND VIDEO OUTPUTS Reference Input and RSET A resistor RSET is connected between the RSET input of the part and ground. For specified performance, RSET has a value of 280 Ω. This corresponds to the generation of RS-343A video levels (with SYNC on IOG and Pedestal = 7.5 IRE) into a doubly terminated 75 Ω load. Figure 30 illustrates the resulting video waveform, and the Video Output Truth Table shows the corresponding control input stimuli. IOR, IOB DACs and Analog Outputs mA The part contains three matched 10-bit digital-to-analog converters. The DACs are designed using an advanced, high speed, segmented architecture. The bit currents corresponding to each digital input are routed to either IOR, IOG, IOB (bit = “l”) or IOR, IOG, IOB (bit = “0”). (Normally IOR, IOG, IOB = GND.) V IOG mA V WHITE LEVEL SC AL E 19.05 0.714 26.67 1.000 GR AY The ADV7150 contains three high speed video DACs. The DAC outputs are represented as the three primary analog color signals IOR (red video), IOG (green video) and IOB (blue video). Other analog signals on the part include IPLL and VREF as well as complementary video outputs IOR, IOG, IOB. These complementary outputs can be used to drive differentially terminated video loads, they will have equal but opposite output levels to IOR, IOG and IOB when loaded with a resistive load similar to IOR, IOG and IOB. An external 1.23 V voltage reference is required to drive the analog outputs of the ADV7150. The reference voltage is connected to the VREF input. 92.5 IRE The analog video outputs are high impedance current sources. Each of the these three RGB current outputs are specified to directly drive a 37.5 Ω load (doubly terminated 75 Ω). 1.44 0.054 0 0 9.05 7.62 BLACK LEVEL 0.340 0.286 7.5 IRE BLANK LEVEL 40 IRE IOR, IOG, IOB 0 ZO = 75Ω DACs Figure 30. Composite Video Waveform (SYNC Decoded on IOG; Pedestal = 7.5 IRE; RSET = 280 Ω) (CABLE) ZS = 75Ω ZL = 75Ω (SOURCE TERMINATION) SYNC LEVEL 0 (MONITOR) Variations on RS-343A Figure 29. DAC Output Termination (Doubly Terminated 75 Ω Load) Various other video output configurations can be implemented by the ADV7150, including RS-170. Values of RSET for particular output video formats/levels are calculated by using the equations for RSET given in the “Pin Configuration” section. The table shows calculated values of RSET for some of the most common variants on the RS-343A standard. The associated waveforms are shown in the diagrams. Table V. Video Output Truth Table Description IOG (mA) IOR, IOB (mA) SYNC BLANK DAC Input Data WHITE LEVEL VIDEO VIDEO to BLANK BLACK LEVEL BLACK to BLANK BLANK LEVEL SYNC LEVEL 26.67 Video + 9.05 Video + 1.44 9.05 1.44 7.62 0 19.05 Video + 1.44 Video + 1.44 1.44 1.44 0 0 1 1 0 1 0 1 0 1 1 1 1 1 0 0 3FFH Data Data 000H 000H xxxH xxxH Decoded on IOG; Pedestal = 0 IRE; R SET = 265 Ω. –24– REV. A ADV7150 IOR, IOB mA IOG V mA V WHITE LEVEL SC AL E 18.62 0.698 26.67 1.000 0 0 8.05 0.302 0 0 GR AY 100 IRE BLACK/ BLANK LEVEL SYNC LEVEL Figure 31. Composite Video Waveform SYNC IOR, IOB, IOG 265 280 259 SYNC decoded on IOG; Pedestal = 0 IRE No SYNC decoded; Pedestal = 7.5 IRE No SYNC decoded; Pedestal = 0 IRE This output synchronization signal is used in applications where it is necessary to synchronize multiple palette devices (ADV7150 + ADV7151) to subpixel resolution. Each devices IPLL output signal is in phase with its analog RGB output signal. If multiple devices have differing output delays, the time difference can be derived from the IPLL signals. This time difference is then used to phase shift the CLOCK inputs on one or other of the devices inputs. V 19.05 0.714 The IPLL signal is internally triggered by either the falling edge of SYNC or BLANK as determined by CR21 of Command Register 2. GR AY SC AL E WHITE LEVEL 92.5 IRE 1.44 Video Signal IPLL Synchronization Output Control 43 IRE mA RSET (V) BLACK LEVEL 0.054 7.5 IRE 0 0 BLANK LEVEL Figure 32. Composite Video Waveform (Pedestal = 7.5 IRE; RSET = 280 Ω) IOR, IOB, IOG mA V WHITE LEVEL GR AY 100 IRE SC AL E 19.05 0.714 0 0 BLACK/ BLANK LEVEL Figure 33. Composite Video Waveform (Pedestal = 0 IRE; RSET = 259 Ω) REV. A –25– ADV7150 APPENDIX 1 BOARD DESIGN AND LAYOUT CONSIDERATIONS POWER SUPPLY DECOUPLING (0.1µF AND 0.01µF CAPACITOR FOR EACH VAA GROUP) 0.1µF 0.01µF 0.1µF 0.01µF 0.1µF 0.01µF 0.1µF +5V (VCC ) +5V (VAA ) ANALOG POWER PLANE +5V (VAA ) 33µF +5V (VAA ) 1kΩ (1% METAL) VAA 0.1µF COMP 0.01µF L1 (FERRITE BEAD) 0.1µF 0.1µF VREF R SET AD589 (1.2V REF) R SET 280Ω ADV7150 CO-AXIAL CABLE (75Ω) MONITOR (CRT) 75Ω IOR 75Ω IOG 75Ω IOB 75Ω 75Ω 75Ω BNC CONNECTORS IOR IOG COMPLIMENTARY OUTPUTS IOB NOTES: 1. ALL RESISTORS ARE 1% METAL FILM 2. 0.1µF AND 0.01µF CAPACITORS ARE CERAMIC 3. ADDITIONAL DIGITALCIRCUITRY OMITTED FOR CLARITY IPLL GND Recommended Analog Circuit Layout The ADV7150 is a highly integrated circuit containing both precision analog and high speed digital circuitry. It has been designed to minimize interference effects on the integrity of the analog circuitry by the high speed digital circuitry. It is imperative that these same design and layout techniques be applied to the system level design such that high speed, accurate performance is achieved. The “Recommended Analog Circuit Layout” shows the analog interface between the device and monitor. power plane (VCC) at a single point through a ferrite bead. This bead should be located within three inches of the ADV7150. The PCB power plane should provide power to all digital logic on the PC board, and the analog power plane should provide power to all ADV7150 power pins and voltage reference circuitry. Plane-to-plane noise coupling can be reduced by ensuring that portions of the regular PCB power and ground planes do not overlay portions of the analog power plane, unless they can be arranged such that the plane-to-plane noise is common mode. The layout should be optimized for lowest noise on the ADV7150 power and ground lines by shielding the digital inputs and providing good decoupling. The lead length between groups of VAA and GND pins should by minimized so as to minimize inductive ringing. Supply Decoupling Ground Planes The ground plane should encompass all ADV7150 ground pins, voltage reference circuitry, power supply bypass circuitry for the ADV7150, the analog output traces, and all the digital signal traces leading up to the ADV7150. The ground plane is the graphics board’s common ground plane. Power Planes The ADV7150 and any associated analog circuitry should have its own power plane, referred to as the analog power plane (VAA). This power plane should be connected to the regular PCB For optimum performance, bypass capacitors should be installed using the shortest leads possible, consistent with reliable operation, to reduce the lead inductance. Best performance is obtained with 0.1 µF ceramic capacitor decoupling. Each group of VAA pins on the ADV7150 must have at least one 0.1 µF decoupling capacitor to GND. These capacitors should be placed as close as possible to the device. It is important to note that while the ADV7150 contains circuitry to reject power supply noise, this rejection decreases with frequency. If a high frequency switching power supply is used, the designer should pay close attention to reducing power supply noise and consider using a three terminal voltage regulator for supplying power to the analog power plane. –26– REV. A ADV7150 Digital Inputs, especially Pixel Data Inputs and clocking signals (CLOCK, LOADOUT, LOADIN, etc.) should never overlay any of the analog signal circuitry and should be kept as far away as possible. Digital Signal Interconnect The digital inputs to the ADV7150 should be isolated as much as possible from the analog outputs and other analog circuitry. Also, these input signals should not overlay the analog power plane. For best performance, the analog outputs (IOR, IOG, IOB) should each have a 75 Ω load resistor connected to GND. These resistors should be placed as close as possible to the ADV7150 so as to minimize reflections. Normally, the differential analog outputs (IOR, IOG, IOB) are connected directly to GND. In some applications, improvements in performance are achieved by terminating these differential outputs with a resistive load similar in value to the video load. For a doubly terminated 75 Ω load, this means that IOR, IOG, IOB are each terminated with 37.5 Ω resistors. Due to the high clock rates involved, long clock lines to the ADV7150 should be avoided to reduce noise pickup. Any active termination resistors for the digital inputs should be connected to the regular PCB power plane (VCC), and not the analog power plane. Analog Signal Interconnect The ADV7150 should be located as close as possible to the output connectors to minimize noise pick-up and reflections due to impedance mismatch. The video output signals should overlay the ground plane, and not the analog power plane, to maximize the high frequency power supply rejection. APPENDIX 2 TYPICAL FRAME BUFFER INTERFACE CLOCK CLOCK GENERATOR ECL TO TTL CLOCK PRGCKOUT DIVIDE BY N (÷ N) DIVIDE BY M (÷ M) LOADOUT SCKOUT CLOCK LATCH GRAPHICS PROCESSOR/ CONTROLLER BLANK BLANK SYNC SYNC ENABLE SCKIN LOADIN ADV7150 FRAME BUFFER/ VIDEO MEMORY REV. A VRAM (BANK A) 33MHz VRAM (BANK B) 33MHz 24 24 24 24 24 MULTIPLEXER VRAM (BANK C) 33MHz VRAM (BANK D) 33MHz 24 24 24 24 –27– TO PALETTE/RAM & DAC ADV7150 APPENDIX 3 10-BIT DACS AND GAMMA CORRECTION 10-Bit DACs Gamma Correction 8 Bits vs. 10 Bits Up to now we have assumed that there exists a linear relationship between the actual RGB values input to a monitor and the intensity produced on the screen. This, however, is not the case. Half scale digital input (1000 0000) might correspond to only 20% output intensity on the CRT (Cathode Ray Tube). The intensity (ICRT) produced on a CRT by an input value IIN is given by: ICRT = (IIN)χ where χ ranges from 2.0 to 2.8. If the individual values of χ for red, green and blue are known, then so called “Gamma Correction” can be applied to each of the three video input signals (IIN); therefore: IIN(corrected) = k(IIN)1/χ (k = 1, normally) 8-Bit Data Gamma Corrected (2.7) Quantized to 8 Bits Quantized to 10 Bits 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 0.977797 0.979304 0.980807 0.982306 0.983801 0.985292 0.986780 0.988264 0.989744 0.991220 0.992693 0.994161 0.995626 0.997088 0.998546 1.000000 250 250 251 251 251 252 252 252 253 253 254 254 254 255 255 255 1001 1002 1004 1005 1007 1008 1010 1011 1013 1015 1016 1018 1019 1021 1022 1023 Traditionally, there has been a tradeoff between implementing a nonlinear graphics function, such as gamma correction, and color dynamic range. The ADV7150 overcomes this by increasing the individual color resolution of each of the red, green and blue primary colors from 8 bits per color channel to 10 bits per channel (24 bits to 30 bits). The table highlights the loss of resolution when 8-bit data is gamma-corrected to a value of 2.7 and quantized in a traditional 8-bit system. Note that there is no change in the 8-bit quantized data for linear changes in the input data over much of the transfer function. On the other hand, when quantized to 10 bits via the 10-bit RAMs and 10-bit DACs of the ADV7150, all changes on the input 8-bit data are reflected in corresponding changes in the 10-bit data. 1.00 0.90 DAC OUTPUT – Normalized to 1 10-Bit RAM-DAC resolution allows for nonlinear video correction, in particular Gamma Correction. The ADV7150 allows for an increase in color resolution from 24-bit to 30-bit effective color without the necessity of a 30-bit deep frame buffer. In true-color mode, for example, the part effectively operates as a 24-bit to 30-bit color look-up table. VE UR NC TIO C E E RR EY E CO TH MA M Y B GA ED IV CE E PR SE ON P S RE AR SE NE I L ON SP E R T CR 0.80 0.70 0.60 0.50 0.40 0.30 0.20 0.10 0.00 0 32 64 96 128 160 192 224 256 INPUT CODE – Decimal The graph shows a typical gamma curve corresponding to a gamma value of 2.7. This is programmed to the red, green and blue RAMs of the color lookup table instead of the more traditional linear function. Different curves corresponding to any particular gamma value can be independently programmed to each of the red, green and blue RAMs. Gamma Correction Curve (Gamma Value = 2.7) Other applications of the 10-bit RAM-DAC include closed-loop monitor color calibration. –28– REV. A ADV7150 APPENDIX 4 MULTIPLE PALETTE APPLICATIONS Palette Priority Select Inputs The palette priority selection inputs allow up to four separate palette devices to be used in a single system to drive a single monitor with subpixel resolution. The IOR, IOG and IOB analog video output signals of each device are connected together, as shown. Signal inputs (PS0, PS1) determine on a pixel by pixel basis which palette device drives the monitor. This allows for implementation of multiple windows applications with each device acting as an independent palette. During initialization, each device is assigned two match bits, MR16 (PS0) and MR17 (PS1) in Mode Register MR1. PS0 and PS1 inputs will select one of the preprogrammed devices at any instant when PS0, PS1 matches MR16, MR17, respectively. PS0 and PS1 are multiplexed similar to the pixel data, thus allowing for subpixel resolution. The diagrams show an example of one ADV7150 operating in conjunction with three ADV7151’s (Pseudo-Color RAM-DACs). Each displayed window on the monitor is driven by one of the four devices, as determined on a pixel basis by PS0, PS1. Each device’s analog output signals are connected together as shown. Note: Only one palette device is selected at any particular instant. The analog output levels of the unselected devices will be 0 mA. Other applications for the palette priority function using a minimum of two devices (one ADV7150 and one ADV7151) include: Cursor Overlay on 24-Bit Graphics Active Live Video Overlay (from Frame Grabber) Text/Character Generation and Overlay (DEVICE: 2) IOR, IOG, IOB DACs ADV7150 (DEVICE: 1) B0–B7 ZO = 75Ω DACs R0–R7 G0–G7 IOR, IOG, IOB 256 x 30 RAM (CABLE) ANALOG O/P ZS = 75Ω ZL = 75Ω (SOURCE TERMINATION) (MONITOR) PALETTE SELECT BITS PS0, PS1 MR16 0 MR17 0 Multiple Devices Termination for a Single Monitor ADV7151 (1) P0–P7 256 x 30 PALETTE RGB ANALOG VIDEO MONITOR PALETTE SELECT BITS MR16 0 TRUE-COLOR BACKGROUND MR17 1 VIDEO TO MONITOR WINDOW 2 (Pseudo-Color) PS0=1: PS1=0 ADV7151 (2) 256 x 30 PALETTE WINDOW 1 (Pseudo-Color) PS0=0: PS1=1 RGB ANALOG VIDEO PALETTE SELECT BITS MR16 1 MR17 0 ADV7151 (3) 256 x 30 PALETTE RGB ANALOG VIDEO PALETTE SELECT BITS MR16 1 MR17 1 Multiple Devices Driving a Multiwindow Application REV. A –29– WINDOW 3 (Pseudo-Color) PS0=1: PS1=1 ADV7150 APPENDIX 5 INITIALIZATION AND PROGRAMMING ADV7150 Initialization The following section gives examples of initialization of the ADV7150 operating in various modes. After power has been supplied, the ADV7150 must be initialized. The Mode Register and Control Registers must be set. The values written to the various registers will be determined by the desired operating mode of the part, i.e., True Color/Pseudo Color, 2:1 Muxing/2:1 Muxing, etc. Example 1 Color Mode Multiplexing Databus RAM-DAC Resolution SYNC Pedestal 24-Bit True Color 2:1 8-Bit 8-Bit Enabled on IOG 7.5 IRE Register Initialization Write 09H to Mode Register (MR1) Write 08H to Mode Register (MR1) Write 09H to Mode Register (MR1) Write 29H to Mode Register (MR1) Write 09H to Mode Register (MR1) Write 04H to Address Register (A7–A0) Write FFH to Pixel Mask Register Write 05H to Address Register (A7–A0) Write 00H to Command Reg 1 (CR1) Write 06H to Address Register (A7–A0) Write ECH to Command Reg 2 (CR2) Write 07H to Address Register (A7–A0) Write C0H to Command Reg 3 (CR3) C1 1 1 1 1 1 0 1 0 1 0 1 0 1 C0 1 1 1 1 1 0 0 0 0 0 0 0 0 R/W 0 0 0 0 0 0 0 0 0 0 0 0 0 Comment Resets to Normal Operation, 8-Bit Bus/RAM-DAC *(Initializes Pipelining *( “ *(Calibrates LOADOUT/LOADIN Timing *( “ Address Reg Points to Pixel Mask Register Sets the Pixel Mask to All “1s” Address Reg Points to Command Register 1 (CR1) Address Reg Points to Command Register 2 (CR2) Sets 24-Bit Color, 7.5 IRE, SYNC on Green (IOG) Address Reg Points to Command Register 3 (CR3) Sets 2:1 Multiplexing, PRGCKOUT = CLOCK/4 Color Palette RAM Initialization C1 C0 R/W Comment Write Write Write Write Write Write Write • • Write Write Write 0 0 0 0 0 0 0 • • 0 0 0 0 1 1 1 1 1 1 • • 1 1 1 0 0 0 0 0 0 0 • • 0 0 0 Points to Color Palette RAM (Initializes Palette RAM ( to a Linear Ramp** ( ( ( ( ( ( ( ( (RAM Initialization Complete 00H to Address Register (A7–A0) 00H (Red Data) to RAM Location (00H) 00H (Green Data) to RAM Location (00H) 00H (Blue Data) to RAM Location (00H) 01H (Red Data) to RAM Location (01H) 01H (Green Data) to RAM Location (01H) 01H (Blue Data) to RAM Location (01H) • • • • • • • • FFH (Red Data) to RAM Location (FFH) FFH (Green Data) to RAM Location (FFH) FFH (Blue Data) to RAM Location (FFH) **These four command lines reset the ADV7150. The pipelines for each of the Red, Creen and Blue pixel inputs are synchronously reset to the Multiplexer’s “A” input. Mode Register bit MR10 is written by a “1” followed by “0” followed by “1.” LOADIN/LOADOUT timing is internally synchronized by writing a “0” followed by a “1” followed by a “0” to Mode Register MR15. **This sequence of instructions would, of course, normally be coded using some form of loop instruction. –30– REV. A ADV7150 Example 2 Color Mode Multiplexing Databus RAM-DAC Resolution SYNC Pedestal Calibration 24-Bit Gamma Corrected True Color (30 Bits) 2:1 10 Bit 10 Bit Ignored 0 IRE Every Vertical Sync Register Initialization C1 C0 R/W Comment Write Write Write Write Write Write Write Write Write Write Write Write Write 1 1 1 1 1 0 1 0 0 0 1 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Resets to Normal Operation, 10-Bit Bus/RAM-DAC *(Initializes Pipelining *( “ *(Calibrates LOADOUT/LOADIN Timing *( “ Address Reg Points to Pixel Mask Register Sets the Pixel Mask to All “1s” Address Reg Points to Command Register 1 (CR1) Calibrates Every Vertical Sync Address Reg Points to Command Register 2 (CR2) Sets 24-Bit Color, 0 IRE, No SYNC Address Reg Points to Command Register 3 (CR3) Sets 2:1 Multiplexing, PRGCKOUT = CLOCK/8 C1 0 0 0 0 0 0 0 • • 0 0 0 C0 0 1 1 1 1 1 1 • • 1 1 1 R/W 0 0 0 0 0 0 0 • • 0 0 0 Comment Points to Color Palette RAM (Initializes Palette RAM ( to a “Gamma” Ramp** ( ( ( ( ( ( ( ( (RAM Initialization Complete 0FH to Mode Register (MR1) 0EH to Mode Register (MR1) 0FH to Mode Register (MR1) 2FH to Mode Register (MR1) 0FH to Mode Register (MR1) 04H to Address Register (A7–A0) FFH to Pixel Mask Register 05H to Address Register (A7–A0) 01H to Command Reg 1 (CR1) 06H to Address Register (A7–A0) E0H to Command Reg 2 (CR2) 07H to Address Register (A7–A0) 41H to Command Reg 3 (CR3) Color Palette RAM Initialization Write 00H to Address Register (A7–A0) Write 000H (Red Data) to RAM Location (00H) Write 000H (Green Data) to RAM Location (00H) Write 000H (Blue Data) to RAM Location (00H) Write xxxH (Red Data) to RAM Location (01H) Write xxxH (Green Data) to RAM Location (01H) Write xxxH (Blue Data) to RAM Location (01H) • • • • • • • • • • Write 3FFH (Red Data) to RAM Location (FFH) Write 3FFH (Green Data) to RAM Location (FFH) Write 3FFH (Blue Data) to RAM Location (FFH) **These four command lines reset the ADV7150 The pipelines for each of the Red, Green and Blue pixel inputs are synchronously reset to the Multiplexer’s “A” input. Mode Register bit MR10 is written by a “1” followed by “0” followed by “1.” LOADIN/LOADOUT timing is internally synchronized by writing a “0” followed by a “1” followed by a “0” to Mode Register MR15. **Data for a gamma curve characteristic is obtainable in Appendix 3. REGISTER DIAGNOSTIC TESTING The previous examples show the register initialization sequence for the ADV7150. These show control data going to the registers and palette RAM. As well as this writing function, it may also be necessary, due to system diagnostic requirements, to confirm that correct data has been transferred to each register and palette RAM location. There are two ways to incorporate register value/RAM value checking: 1. READ after each WRITE: After data is written to a particular register, it can be read back immediately. The following table shows an example with Command Registers CR2 and CR3. C1 C0 R/W D0–D7 Comment 0 1 1 0 1 1 0 0 1 0 0 1 06H E0H E0H 07H 40H 40H Select Command Register 2 (CR2) Sets 24-Bit True-Color Command Reg 2 Value Read-Back Select Command Register 3 (CR3) Set 2:1 Mux Mode Command Reg 3 Value Read-Back 0 0 0 0 0 0 REV. A 2. READ after all WRITEs completed: All registers and the color palette RAM are written to and set. Once this is complete, all registers are again accessed but this time in Read-Only mode. The table below shows this method for Command Registers CR2 and CR3. C1 C0 R/W D0–D7 Comment 0 1 0 1 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 06H E0H 07H 40H 06H E0H 07H 40H 40H Select Command Register 2 (CR2) Sets 24-Bit True-Color Select Command Register 3 (CR3) Set 2:1 Mux Mode Select CR2 CR2 Value Read-Back Select CR3 CR3 Value Read-Back CR3 Value Read-Back It is clear that this latter case requires more command lines than the previous READ after each WRITE case. –31– ADV7150 APPENDIX 6 TEST DIAGNOSTICS SYNC BLANK PIXEL DATA COLOR PALETTE RAM GRAPHICS PIPELINE INPUT MUX TRIGGER DECODE GRAPHICS PIPELINE DACs TRIGGER DECODE COLOR REGISTERS PIXEL TEST REGISTER DAC TEST REGISTERS SYNC BLANK IPLL TEST REGISTER MPU PORT CE R/W C0 C1 D0–D9 Test/Diagnostic Block Diagram The ADV7150 contains onboard circuitry which enables both device and system level test diagnostics. The test circuitry can be used to test the frame buffer memory as well as the functionality of the ADV7150. A number of test registers are integrated into the part which effectively allow for monitoring of the graphics pipeline. Pixel data is read from the graphics pipeline independent of the pixel CLOCK. The pixel data itself contains the triggering information that latches data into the test registers. This allows for system diagnostics in a continuously clocked graphics system. The test register data is then read by the microprocessor over the MPU. the graphics pipeline and after a number of clocks get latched into the DAC Test Register. This data can then be read from the Pixel Test Register and the DAC Test Registers over the MPU Port. This data will remain in the Pixel Test Registers and the DAC Test Registers until the next rising edge of R7 causes new data to be latched in. Access to the test registers is as described in the “Microprocessor (MPU) Port” section. This section also gives the address decode locations for the various test registers. Pixel Test Register Test Trigger (R7) The test trigger is decoded from the pixel data stream. Bit R7 of the RED channel is assigned the task of latching pixel data into the test registers. A “0” to “1” or a “1” to “0” (as determined by bit CR20 of Command Register 2) transition on R7, fills the test register with the corresponding pixel data. This effectively means that a sequence of data travels along the graphics pipeline, with the test registers taking a sample only when there is a transition on Bit R7. The following example shows a sequence with the ADV7150 preset to sample the graphics pipeline on a low to high transition of R7. Pixel 0: Pixel 1: Pixel 2: Pixel 3: . . . . . . . . Pixel n- l: Pixel n: Pixel n: RED GREEN BLUE 00000000 0........ 1........ 0........ . . . . . . 0........ 1........ 0........ 00000000 ........ ........ ........ 00000000 ........ ........ ........ ........ ........ ........ ........ ........ ........ In the above example, the next rising edge of R7 occurs on the Pixel n input. Therefore the data in the Pixel Test Registers and DAC Test Registers must be read over the MPU before the Pixel n data is applied, otherwise they will be overwritten by the Pixel n data and the Pixel 2 data will be lost. The read-only Pixel Test Register is 24 bits wide, 8 bits each for red green and blue. It is situated directly after the Pixel Mask Register. After data is latched into this register by a transition on R7, it is read in three cycles over the MPU Port as described in the “Microprocessor (MPU) Port” section. DAC Test Register The DAC Test Register is latched with data some CLOCKs after the Pixel Test Register. The DAC Test Register is a 30-bit wide read-only register, corresponding to 10 bits each for red, green and blue data. It is located the Color Palette RAM. If the RAM-DAC is in 8-bit after resolution mode, the upper two bits of the red, green and blue data will be zero. After data is latched into the DAC Test Register by a transition on R7, it is read in three or six cycles over the MPU Port as described in the “Microprocessor (MPU) Port” section. SYNC, BLANK and IPLL Test Register This is an 8-bit wide register but with only three effective bits. The three lower bits correspond to SYNC, BLANK and IPLL respectively. The upper bits should be masked in software. This register is at the same position in the graphics pipeline as the DAC Test Register. When pixel data is latched into the DAC Test Register, the corresponding status of SYNC, BLANK and IPLL is latched into this register. It is read over the MPU Port as described in the “Microprocessor (MPU) Port” section. In the above sequence of pixels, there is a rising edge on R7 on Pixel 2. The Red, Green and Blue data for Pixel 2, therefore, gets latched into the Pixel Test Register. Pixel 2 continues down (Note: If BLANK is low, the corresponding pixel data to the DAC Test Register will be all “0s.”) –32– REV. A ADV7150 APPENDIX 7 THERMAL AND ENVIRONMENTAL CONSIDERATIONS The ADV7150 is a very highly integrated monolithic silicon device. This high level of integration, in such a small package, inevitably leads to consideration of thermal and environmental conditions in which the ADV7150 must operate. Reliability of the device is significantly enhanced by keeping it as cool as possible. In order to avoid destructive damage to the device, the absolute maximum junction temperature of 150°C must never be exceeded. Certain applications, depending on pixel data rates, may require forced air cooling, or external heatsinks. The following data is intended as a guide in evaluating the operating conditions of a particular application so that optimum device and system performance is achieved. It should be noted that information on package characteristics published herein may not be the most up to date at the time of reading this. Advances in package compounds and manufacture will inevitably lead to improvements in the thermal data. Please contact your local sales office for the most up-to-date information. Power Dissipation The diagram shows graphs of power dissipation in watts vs. pixel clock frequency for the ADV7150. POWER DISSIPATION – Watts 1.50 V AA = 5V V REF = 1.2V 1.25 Table A. Thermal Characteristics vs. Airflow Air Velocity (Linear feet/min) 0 (Still Air) θJA (°C/W) No Heatsink 25.5 EG&G D10100-28 Heatsink 23 Thermalloy 2290 Heatsink 19 50 100 200 23 20 17 21 18 15 19 16 12 Thermal Model The junction temperature of the device in a specific application is given by: TJ = TA + PD (θJC + θCA) or TJ = TA + PD (θJA) (1) (2) where: TJ = Junction Temperature of Silicon (°C) TA = Ambient Temperature (°C) PD = Power Dissipation (W) θJC = Junction to Case Thermal Resistance (°C/W) θCA = Case to Ambient Thermal Resistance (°C/W) θJA = Junction to Ambient Thermal Resistance (°C/W) Package Enhancements T A = +25°C The standard QFP package has been enhanced to a PowerQuad2 package. This supports an improved thermal performance compared to standard QFP. In this case, the die is attached to heatslug so that the power that is dissipated can be conducted to the external surface of the package. This provides a highly efficient path for the transfer of heat to the package surface. The package configuration also provides an efficient thermal path from the ADV7150 to the Printed Circuit Board via the leads. 1.00 0.75 Heatsinks 0.50 60 80 100 120 140 160 180 200 220 PIXEL CLOCK FREQUENCY – MHz NOTE: THE "WORST CASE ON-SCREEN PATTERN" CORRESPONDS TO FULL-SCALE TRANSITION ON EACH PIXEL VALUE FOR EVERY CLOCK EDGE (00H, FFH, 00H, ... ). THE "TYPICAL ON-SCREEN PATTERN" CORRESPONDS TO LINEAR CHANGES IN THE PIXEL INPUT (I. E., A BLACK TO WHITE RAMP). IN GENERAL, COLOR IMAGES TEND TO APPROXIMATE THIS CHARACTERISTIC. The maximum silicon junction temperature should be limited to 100°C. Temperatures greater than this will reduce long term device reliability. To ensure that the silicon junction temperature stays within prescribed limits, the addition of an external heatsink may be necessary. Heatsinks, will reduce θJA as shown in the “Thermal Characteristics vs. Airflow” table. Typical Power Dissipation vs. Pixel Rate Package Characteristics The table of thermal characteristics shows typical information for the ADV7150 (160-Lead Plastic Power QFP) using various values of Airflow. Junction to Case (θJC) Thermal Resistance for this particular part is: θJC (160-Lead Plastic Power QFP) = 1.0°C/W (Note: θJC is independent of airflow.) REV. A –33– ADV7150 APPENDIX 8 OUTLINE DIMENSIONS Dimensions shown in inches and (mm). S-160 160-Lead Plastic Power Quad Flatpack 1.239 (31.45) 1.219 (30.95) SQ 1.107 (28.10) SQ 1.100 (27.90) 0.160 (4.07) MAX 0.037 (0.95) 6°±4° 0.026 (0.65) 120 121 81 80 4°±4° MAX TOP VIEW (PINS DOWN) SEATING PLANE PIN 1 10° 0.004 (0.10) MAX 160 41 40 1 0.070 (1.77) 0.062 (1.57) 0.070 (1.77) 0.062 (1.57) 0.026 (0.65) MIN 0.014 (0.35) 0.011 (0.27) 0.145 (3.67) 0.125 (3.17) –34– REV. A –35– –36– REV. A PRINTED IN U.S.A. C1695–10–8/94