ADCS9888 - 205/170/140 MSPS Video Analog Front End
March 2005
ADCS9888 205/170/140 MSPS Video Analog Front End
General Description
The ADCS9888 is a high performance Analog Front End (AFE) for digital video applications at resolutions up to UXGA. It performs all the analog and mixed signal functions necessary to digitize a variety of computer and component video sources. The ADCS9888 has a 3 channel, 8 bit 205 MHz ADC with full DC restoration and gain/offset compensation. Full processing of synchronization signals is included with on-chip PLL locked to the pixel rate. Digital sync and analog sync-on-green signals are supported. Flexible data output modes support a variety of downstream data capture and processing applications. n Output format supports 4:2:2 video pulldown
Key Specifications
n n n n n n n Output data resolution Maximum pixel conversion rate Analog input bandwidth (typical) PLL clock jitter (typical) Analog supply voltage I/O supply voltage Power dissipation (typical) 8 bits x 3 channels 205 MHz 500 MHz 570 ps p-p 3.0 V to 3.6 V 2.2 V to 3.6 V 1.3W
Applications
n n n n n LCD flat panel monitors Video projectors Plasma display panels Video capture hardware RGB and YUV video processing
Features
n 205 million pixels/s conversion rate n Digitally programmed gain and offset for red, green and blue color balancing n Compatible with RGB and YUV/YPbPr video signals
Typical Application
20062801
Ordering Information
Temperature Range 0˚C ≤ TA ≤ +70˚C Order Number ADCS9888CVH1-205 ADCS9888CVH1-170 ADCS9888CVH1-140
Notes:1 - Tray transport media, 66 parts per tray.
NSC Drawing Device Marking
ADCS9888CVH-205 ADCS9888CVH-170 ADCS9888CVH-140
VLA128A
© 2005 National Semiconductor Corporation
DS200628
www.national.com
ADCS9888
Simplified Block Diagram
20062802
www.national.com
2
ADCS9888
Connection Diagram
20062803
3
www.national.com
ADCS9888
Pin Descriptions
Pin Analog Video Inputs 5 RAIN0 Analog Input Channel 0 Red (V) Video Input. Input for Red component video channel or V chrominance channel in YUV/YPbPr/YCbCr applications. A high impedance analog input. Input signal should be capacitively coupled to the input using a 0.1 µF capacitor to support clamping and DC restoration. Signal range of 0.5 VPP to 1.0 VPP depending on gain setting. Channel 0 Green (Y) Video Input. Input for Green component video channel or Y luminance channel in YUV/YPbPr/YCbCr applications. A high impedance analog input. Input signal should be capacitively coupled to the input using a 0.1 µF capacitor to support clamping and DC restoration. Signal range of 0.5 VPP to 1.0 VPP depending on gain setting. Channel 0 Blue (U) Video Input. Input for Blue component video channel or U chrominance channel in YUV/YPbPr/YCbCr applications. A high impedance analog input. Input signal should be capacitively coupled to the input using a 0.1 µF capacitor to support clamping and DC restoration. Signal range of 0.5 VPP to 1.0 VPP depending on gain setting. Channel 1 Red (V) Video Input. See RAIN0 for more information. Channel 1 Green (Y) Video Input. See GAIN0 for more information. Channel 1 Blue (U) Video Input. See BAIN0 for more information. Label Type Description
13
GAIN0
Analog Input
20
BAIN0
Analog Input
8 17 23 Analog Video Sync 12
RAIN1 GAIN1 BAIN1
Analog Input Analog Input Analog Input Analog Input
SOGIN0
Channel 0 Sync-On-Green-Input. A high impedance analog input. The video channel containing synchronization information should be capacitively coupled to this input using a 1.0 nF capacitor to support negative peak clamping of the signal. When unused, this input should be left unconnected. Channel 1 Sync-On-Green-Input. See SOGIN0 for more information.
16 Sync/Clock Inputs 45
SOGIN1
Analog Input
HSYNC0
Digital Input Channel 0 Horizontal Sync Input. A logic level synchronization signal at the horizontal line rate is applied to this input. In applications where a composite, logic level sync signal is present, that signal should be connected to the HSYNC input. A Schmitt trigger input is used for improved noise rejection. See the applications section for more information. Digital Input Channel 0 Vertical Sync Input. A logic level synchronization signal at the vertical frame rate is applied to this input. A Schmitt trigger input is used for improved noise rejection. See the applications section for more information. Digital Input Channel 1 Horizontal Sync Input. See HSYNC0 for more information. Digital Input Channel 1 Vertical Sync Input. See VSYNC0 for more information. Digital Input External CLAMP Timing Input. When enabled via Register OFh, Bit 7, this input will turn on the clamp circuits in the analog video inputs. This signal should be asserted during the black reference portion of the video waveform. Please refer to the applications section for more information.
44
VSYNC0
43 42 30
HSYNC1 VSYNC1 CLAMP
www.national.com
4
ADCS9888
Pin Descriptions
Pin 53 COAST
(Continued) Type Description
Label
Digital Input PLL Clock Generator Coast Input. When enabled via Register 0Fh, Bit 5, this input will cause the clock generator circuit to run open loop and ignore the input reference clock. This is useful when operating with sync signals that contain extra equalization pulses that must be ignored by the PLL. In many cases, the internal VSOUT signal is used to provide the coast control signal, but in some cases it is useful to provide an external COAST control. Please refer to the applications section for more information. Digital Input External Clock Input (Optional). This input can be used to provide an external clock source instead of the internally generated clock. It is enabled via Register 15h, Bit 0. When an external clock is used, most other internal functions operate normally. When unused, this pin can be connected to ground directly, or through a 10 kΩ resistor. The sampling phase adjustment feature is operational when CKEXT is used. Digital Input Sampling clock Inverting Input. This input can be used to invert the pixel sampling clock, with respect to the normal phase of operation. This causes the pixel sampling point to be shifted by 180 degrees in phase. Alternate pixel sampling mode makes use of this feature by sampling at 1/2 the incoming pixel rate, and switching the sampling phase by 180 degree between alternate frames of video. When unused, this input should be grounded. See the applications section for more information. Digital I/O Serial Control Interface Data Input/Output. The serial interface is used to access the configuration and status registers in the ADCS9888. Mode and Data information are transferred through the SDA pin from the host or master device. Please refer to the applications section of the datasheet under Serial Communications for more information.
54
CKEXT
29
CKINV
Serial Interface 31 SDA
32
SCL
Digital Input Serial Control Interface Clock Input. The clock input is controlled by the host or master device, and is used to load in the data sent by the host, and to clock data out of the ADCS9888. Please refer to the applications section of the datasheet under Serial Communications for more information. Digital Input The least significant bit of the device serial address is selectable as 0 or 1 to allow up to 2 ADCS9888 devices to be connected on the same serial interface. Please refer to the applications section of the datasheet under Serial Communications for more information. Digital Output Horizontal Sync Output. Internally generated and phase aligned horizontal sync signal. This signal is used as a timing reference for the digital output data stream. Please refer to the section on sync processing for more information. Vertical Sync Output. A delayed version of the input vertical synchronization signal. Please refer to the section on sync processing for more information. Sync-On-Green Output. A logic level signal that is the output of the Sync-On-Green slicer circuit. Please refer to the section on sync processing for more information.
33
A0
Sync. Outputs 125 HSOUT
127
VSOUT
Digital Output Digital Output
126
SOGOUT
5
www.national.com
ADCS9888
Pin Descriptions
Pin Data Clock Output 123
(Continued) Type Digital Output Description Data Output Clock. Complementary data clocks are provided so that output data and HSOUT can be synchronously captured by external logic or memory devices. The clock outputs are synchronous with the internal pixel sample clock. As the sampling phase is adjusted, the DATACK, data, and HSOUT signals all shift together with the sampling interval. When the chip is in power down or seek mode, the DATACK outputs enter a high impedance state. Data Output Clock Invert. See DATACK description.
Label DATACK
124 Data Outputs 113-120
DATACK_B Digital Output DR_A(7:0) Digital Output
Red Port A (V or U/V) Output Data. Converted pixel data is presented at the data output port synchronous with the DATACK and HSOUT signals. As the pixel sample phase is adjusted, the HSOUT, DATACK and data outputs all shift together. In single channel mode, all data is presented at the A output ports. In dual channel mode, output data is presented at A and B outputs, either in alternating (interleaved mode) or simultaneous (parallel mode ) timing. When 4:2:2 pulldown mode is enabled, only the A ports are used, with U/V data output on Red Port A, and Y data output on Green Port A. When the chip is in seek mode, or low power mode, all data outputs are placed in a high impedance state. See the applications section and configuration registers section for more information. Red Port B (V) Output Data. See DR_A(7:0). Green Port A (Y) Output Data. See DR_A(7:0). Green Port B (Y) Output Datasheet. See DR_A(7:0). Blue Port A (U) Output Data. See DR_A(7:0). Blue Port B (U) Output Data. See DR_A(7:0).
103-110 90-97 80-87 70-77 57-64
DR_B(7:0) DG_A(7:0) DG_B(7:0) DB_A(7:0) DB_B(7:0)
Digital Output Digital Output Digital Output Digital Output Digital Output Analog Bypass Analog Bypass
Voltage Reference Bypass 2 REF BYPASS RMIDSCV (NC) Internal Reference Bypass. A 0.1 µF capacitor will be connected from this pin to ground, to provide a low impedance decoupling for the internal 1.23V bandgap voltage reference. Red (V) Channel midscale Voltage Bypass. No external bypass is required for the midscale voltage. Therefore, this pin is not connected to the internal circuitry. To maintain compatibility with other designs external capacitors can be connected without affecting operation, performance, or reliability. Blue (U) Channel midscale Voltage Bypass. No external bypass is required for the midscale voltage. Therefore, this pin is not connected to the internal circuitry. To maintain compatibility with other designs external capacitors can be connected without affecting operation, performance, or reliability. Phase Locked Loop - Voltage Controlled Oscillator filter connection. An R/C filter circuit is used to maintain the VCO control voltage. This circuit should be isolated from all other circuitry to minimize clock jitter. The circuit is connected to the PVD bus to provide the maximum isolation from noisy power and ground buses. Refer to the applications section for more information.
9
24
BMIDSCV (NC)
Analog Bypass
PLL Loop Filter 50 FILT PLL VCO Bypass
www.national.com
6
ADCS9888
Pin Descriptions
Pin Power Supply 1, 6, 7, 10, 14, 18, 21, 25, 26, 34, 37 56, 69, 79, 89, 98, 102, 112, 122 47, 48, 52 VD
(Continued) Type Power Supply Power Supply Power Supply Ground Description Main power supply for analog and digital circuitry inside the IC. The data outputs and PLL are powered from separate buses for additional noise isolation. Power supply for digital data outputs. This voltage can be operated at voltages below the Main Power Supply, down to 2.5V, to provide convenient interfaces to lower voltage circuitry. Phase Locked Loop Power Supply. This input should be well filtered, isolated, and decoupled, to provide a very stable, low noise, voltage source for the PLL and VCO circuitry in the ADCS9888. Ground Return. Ground return for all circuitry on the chip. For best performance, the printed circuit board should be designed using a single solid ground plane. Other ICs should be placed to minimize the effects of noisy digital ground returns interfering with the ADCS9888 operation.
Label
VDD
PVD
3, 4, 11, 15, 19, 22, GND 27, 28, 35, 36, 40, 41, 46, 49, 51, 55, 65-68, 78, 88, 99-101, 111, 121, 128 39, 39 NC
NC
To ensure compliance with designs using the AD9888, these pins are not connected to the IC die. They may be physically connected to either VD or PVD with no effect on operation, performance, or reliability.
7
www.national.com
ADCS9888
Absolute Maximum Ratings
1)
(Notes 2,
Machine Model Soldering Information Storage Temperature
250V (Note 6) −65˚C to +150˚C
If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications. Positive Supply Voltage (V+ = VD, PVD, VDD) With Respect to GND Voltage on Any Input or Output Pin Voltage on VSYNC, HSYNC Input Pin Input Current at any pin (Note 3) Package Input Current (Note 3) Package Dissipation at TA = 25˚C ESD Susceptibility (Note 5) Human Body Model 6500V 3.6V −0.3V to V+ +0.3V −0.3V to 5.5V
Operating Ratings (Notes 1, 2)
Operating Temperature Range ADCS9888CVH VD Supply Voltage PVD Supply Voltage VDD Supply Voltage (PVD or VDD)-VD, VD-PVD Analog Input Voltage Range Digital Input Voltage Range TMIN ≤ TA ≤ TMAX 0˚C ≤ TA ≤ +70˚C +3.0V to +3.6V +3.0V to +3.6V +2.2V to +3.6V ≤100 mV −0.05 to VD + 0.05V −0.05 to VD + 0.05V
± 25 mA ± 50 mA
(Note 4)
Electrical Characteristics
The following specifications apply for GND = 0 V, VD = VDD = PVD = +3.3 VDC, ADC Clock = 205 MHz, unless otherwise specified. Boldface limits apply for TA = TMIN to TMAX; all other limits TA = 25˚C. Symbol Parameter Conditions Min (Note 9) Typical (Note 8) 8 140 MSPS 170 MSPS 205 MSPS INL Integral Non-Linearity Error 140 MSPS 170 MSPS 205 MSPS CODES VIN No Missing Codes Input Voltage Range Minimum Input Voltage Range Maximum Gain Tempco IIN CIN RIN VOS Input Bias Current Input Capacitance Input Resistance Input Offset Voltage Input Full-Scale Matching Offset Adjustment Range VREF Output Voltage Temperature Coefficient 25˚C 25˚C Full Temp. Range (Note 12) Full Temp. Range Full Temp. Range (Note 12) Full Temp. Range Full Temp. Range Full Temp. Range Full Temp. Range Full Temp. Range 41 1.15 1 12 1 49 1.225 105 9 57 1.30 3 25˚C 25˚C 1.0 100 1 2 ppm/˚C µA pF MΩ mV %FS %FS V ppm/˚C +0.5 –0.4 +0.6 –0.5 +0.8 –0.6 +1.0 −0.7 +1.0 −0.9 +1.2 −1.0 Guaranteed 0.5 VPP +1.35 −1.0 +1.5 −1.0 +1.80 −1.0 +2.0 –2.0 +2.25 –2.25 +2.75 –2.75 LSBs Max (Note 9) Units
ANALOG VIDEO CHANNEL CHARACTERISTICS Resolution DC ACCURACY DNL Differential Non-Linearity LSBs Bits
ANALOG INPUT CHARACTERISTICS
INTERNAL VOLTAGE REFERENCE CHARACTERISTICS
± 50
www.national.com
8
ADCS9888
AC Electrical Characteristics
The following specifications apply for GND = 0 V, VD = VDD = PVD = +3.3 VDC, ADC Clock = 205 MHz, unless otherwise specified. Boldface limits apply for TA = TMIN to TMAX; all other limits TA = 25˚C. Symbol Parameter Maximum Conversion Rate Conditions Full Temp. Range Min (Note 9) 140 170 205 10 0.9 4.7 4.0 0 4.7 4.0 259 4.7 4.0 15 100/140 170 205 15 570 15 800 110 Typical (Note 8) Max (Note 9) Units MSPS
Minimum Conversion Rate Data to Clock Skew tBUFF tSTAH tDHO tDAL tDAH tDSU tSTASU tSTOSU HSYNC Input Frequency Maximum PLL Clock Rate
Full Temp. Range (Note 12) Full Temp. Range Full Temp. Range Full Temp. Range Full Temp. Range Full Temp. Range Full Temp. Range Full Temp. Range Full Temp. Range Full Temp. Range Full Temp. Range Full Temp. Range
MSPS ns µs µs µs µs µs ns µs µs kHz MHz
Minimum PLL Clock Rate PLL Jitter Sampling Phase Tempco
Full Temp. Range 25˚C (Note 12) Full Temp. Range (Note 12)
MHz ps p-p ps/˚C
DC and Logic Electrical Characteristics
The following specifications apply for GND = 0 V, VD = VDD = PVD = +3.3 VDC, ADC Clock = 205 MHz, unless otherwise specified. Boldface limits apply for TA = TMIN to TMAX; all other limits TA = 25˚C. Symbol Parameter Conditions Min (Note 9) 2.5 0.8 (Note 12) (Note 12) 3 VDD-0.1 0.1 (Note 12) 44 49 Binary (Note 12) (Note 12) (Note 12) 25˚C - 140 MSPS 25˚C - 170 MSPS 25˚C - 205 MSPS 3.0 2.2 3.0 3.3 3.3 3.3 259 275 316 3.6 3.6 3.6 V V V mA 55 −1.0 1.0 Typical (Note 8) Max (Note 9) Units
DIGITAL INPUT CHARACTERISTICS VIN(1) VIN(0) IIH IIL CIN VOUT(1) VOUT(0) Logical “1” Output Voltage Logical “0” Output Voltage Input Leakage Current Input Leakage Current Input Capacitance Logic “1” Output Voltage Logic “0” Output Voltage Duty Cycle DATACK, DATACK_B Output Coding POWER SUPPLY CHARACTERISTICS VD Supply Voltage VDD Supply Voltage PVD Supply Voltage ID Core Supply Current V V µA µA pF V V %
DIGITAL OUTPUT CHARACTERISTICS
9
www.national.com
ADCS9888
DC and Logic Electrical Characteristics
Symbol IDD Parameter I/O Supply Current Conditions 25˚C - 140 MSPS 25˚C - 170 MSPS 25˚C - 205 MSPS IPVD PLL Supply Current 25˚C - 140 MSPS 25˚C - 170 MSPS 25˚C - 205 MSPS Total Power Dissipation
(Continued) The following specifications apply for GND = 0 V, VD = VDD = PVD = +3.3 VDC, ADC Clock = 205 MHz, unless otherwise specified. Boldface limits apply for TA = TMIN to TMAX; all other limits TA = 25˚C. Min (Note 9) Typical (Note 8) 38 40 57 13 14 18 320 330 390 8.4 28 365 375 420 15 50 mA mW mA mA Max (Note 9) Units mA
Full Temp. – 140 MSPS Full Temp. – 170 MSPS Full Temp. – 205 MSPS
Power Down Supply Current Power Down Dissipation
Full Temp. Full Temp.
Analog Channel Characteristics
The following specifications apply for GND = 0 V, VD = VDD = PVD = +3.3 VDC, VDD = +3.3 VDC, ADC Clock = 205 MHz, unless otherwise specified. Boldface limits apply for TA = TMIN to TMAX; all other limits TA = 25˚C (Note 7). Symbol Parameter Analog Bandwidth, Full Power Transient Response Overvoltage Recovery Time SNR Signal to Noise Ratio (Without Harmonics) Signal to Noise Ratio (Without Harmonics) Crosstalk THERMAL CHARACTERISTICS θJC θJA Junction to Case Thermal Resistance Junction to Ambient Thermal Resistance 12.3 30.2 ˚C/W ˚C/W 25˚C 25˚C 25˚C 25˚C – 140 MSPS 25˚C –170 MSPS 25˚C –205 MSPS SNR Full temp. – 140 MSPS Full Temp. – 170 MSPS Full Temp. – 205 MSPS Full Temp. 40.7 40.7 40.5 Conditions Min (Note 9) Typical (Note 8) 500 2 1.5 44 43.5 43.5 44 43.5 43.5 50 dBc dB Max (Note 9) Units MHz ns ns dB
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is functional, but do not guarantee specific performance limits. For guaranteed specifications and test conditions, see the Electrical Characteristics. The guaranteed specifications apply only for the test conditions listed. Some performance characteristics may degrade when the device is not operated under the listed test conditions. Note 2: All voltages are measured with respect to GND = 0 V, unless otherwise specified. Note 3: When the input voltage (VIN) at any pin exceeds the power supplies (VIN < GND or VIN > VA or VD), the current at that pin should be limited to 25 mA. The 50 mA maximum package input current rating limits the number of pins that can simultaneously safely exceed the power supplies with an input current of 25 mA to two. Note 4: The maximum power dissipation must be derated at elevated temperatures and is dictated by TJMAX, θJA and the ambient temperature, TA. The maximum allowable power dissipation at any temperature is PD = (TJMAX – TA)/θJA. TJMAX = 150˚C for this device. The typical thermal resistance (θJA) of this part when board mounted is TBD ˚C/W for the VLA128A 128 pin PQFP package. Note 5: Human body model is 100 pF capacitor discharged through a 1.5 kΩ resistor. Machine model is 200 pF discharged through a 0 Ω resistor. Note 6: Soldering process must comply with National Semiconductor’s reflow temperature profile specifications. Refer to "www.national.com/packaging". Note 7: Two diodes clamp the OS analog inputs to AGND and VA as shown below. This input protection, in combination with the external clamp capacitor and the output impedance of the video source, prevents damage to the ADCS9888 from transients during power-up.
www.national.com
10
ADCS9888
Analog Channel Characteristics
(Continued)
20062804
Note 8: Typical figures are at TJ = TA = 25˚C, with the ADC Clock at the stated speed, and represent most likely parametric norm. Note 9: Test limits are guaranteed to National’s AOQL (Average Outgoing Quality Level). Note 10: Full channel integral non-linearity error is defined as the deviation of the analog value, expressed in LSBs from the straight line that best fits the actual transfer function of the AFE. Note 11: The output supply current (IDD) includes the power required to drive a typical digital bus and load circuit at the stated test frequency. The actual output supply current will depend on the load capacitance of the printed circuit board and connected load device, and the operating frequency and output mode in the application. Note 12: These values are guaranteed by design and characterization testing.
11
www.national.com
ADCS9888
Timing Diagrams
20062805
Single Channel Mode
20062806
Single Channel Mode - 2 Pixels per Clock (Even Pixels)
www.national.com
12
ADCS9888
Timing Diagrams
(Continued)
20062807
Single Channel Mode - 2 Pixels per Clock (Odd Pixels)
20062808
Dual Channel Mode - Interleaved Outputs
13
www.national.com
ADCS9888
Timing Diagrams
(Continued)
20062809
Dual Channel Mode - Parallel Outputs
20062810
Dual Channel Mode - Interleaved Outputs - 2 Pixels/Clock - Even Pixels
www.national.com
14
ADCS9888
Timing Diagrams
(Continued)
20062811
Dual Channel Mode - Interleaved Outputs - 2 Pixels/Clock - Odd Pixels
20062812
Dual Channel Mode - Parallel Outputs - 2 Pixels/Clock - Even Pixels
15
www.national.com
ADCS9888
Timing Diagrams
(Continued)
20062813
Dual Channel Mode - Parallel Outputs - 2 Pixels/Clock - Odd Pixels
20062814
4:2:2 Output Mode
www.national.com
16
ADCS9888
Timing Diagrams
(Continued)
20062815
Data Output Timing
20062816
Configuration Register Serial Timing
20062817
Serial Interface Protocol
17
www.national.com
ADCS9888
Configuration Register Descriptions
Address Write/Read (Hex) or Read Only 00H 01H RO W/R Bits 7:0 7:0 POR Value Revision 01101001 Name Chip Revision PLL Divisor MSB Bit Name/Description 8 bit value that indicates the silicon version. 00000000 = Rev. 0 The upper 8 MSBs of the 12 bit PLL divider value. Larger divisors cause the PLL to generate a higher frequency clock. This register should be loaded first, then register 02H, whenever the divider is changed. The PLL divider value is only updated when the LSB value in register 02H is updated. The actual PLL divider value = (PLL register value + 1), so setting a value of 1055d in registers 01H and 02H will result in a divide value of 1056. Lower 4 LSBs of the 12 bit PLL divisor value. See register 01H. Sets rate. 00 = 01 = 10 = 11 = the VCO frequency range for the desired pixel 15 - 41 MHz 41 - 82 MHz 82 - 150 MHz 150+ MHz
02H 03H
W/R W/R
7:4 7:6
1101**** 01******
PLL Divisor LSB VCO RNG/CPMP
5:3
**001***
Sets the VCO charge pump current for the desired pixel rate. 000 = 50 µA 001 = 100 µA 010 = 150 µA 011 = 250 µA 100 = 350 µA 101 = 500 µA 110 = 750 µA 111 = 1500 µA Sample Phase Adjust Clamp Placement 5 bit value that adjusts the ADC sample timing relative to HSYNC. LSB = 1/32 of one pixel period or 11.25 degrees of phase. The power up default value is 16D. Sets the Clamp starting point N pixel periods after the trailing edge of the Hsync signal. Settings from 1 to 255 are legal values for Clamp Placement. DO NOT SET = 0.
04H
W/R
7:3
10000***
05H
W/R
7:0
00001000
06H 07H
W/R W/R
7:0 7:0
00010100 00100000
Clamp Duration Sets the Clamp duration to N pixel periods. Settings from 1 to 255 are legal values. DO NOT SET = 0. HSOUT Pulsewidth Sets the number of pixel periods that HSOUT is active. The leading edge of HSOUT is set by an internally generated phase-adjusted PLL output. The chip then counts the number of pixel periods set by HSOUT Pulsewidth and triggers the trailing edge of HSOUT. Controls the ADC input range for the RGB video inputs. Default setting provides a nominal signal range of 0.7 VPP. Higher settings increase the signal range up to 1.0 VPP typ. Lower settings reduce the signal range to a minimum of 0.5 VPP typ.
08H 09H 0AH
W/R W/R W/R
7:0 7:0 7:0
10000000 10000000 10000000
Red Gain Green Gain Blue Gain
www.national.com
18
ADCS9888
Configuration Register Descriptions
Address Write/Read (Hex) or Read Only 0BH OCH ODH OEH W/R W/R W/R W/R Bits 7:1 7:1 7:1 7 6 5 4 POR Value 1000000* 1000000* 1000000* 0******* *1****** **0***** ***0****
(Continued) Bit Name/Description Controls the DC offset correction prior to analog to digital conversion. Default setting is for no offset. Settings higher than 10H make resulting image less bright, settings lower than 10H makes image more bright. Absolute offset amount is also dependent on setting of corresponding gain channel. See description of Offset/Gain functions for more information. Hsync Polarity Override. 0 = polarity determined by chip, 1 = polarity set by Register 0EH, bit 6. Hsync Input Polarity. 0 = active low, 1 = active high. Hsync Output Polarity. 0 = logic high HSOUT, 1 = logic low HSOUT. Active Hsync Override. 1 = Hsync source determined by user setting in Register 0EH, bit 3. 0 = determined by chip results in Register 14H, bit 6. Active Hsync Select. 0 = HSYNC input is Hsync source. 1 = output of SOGIN sync slicer is Hsync source. This bit only takes effect if Register 0EH bit 4 is 1, or if both Hsync sources are active. Vsync Output Invert. 0 = inverted. 1 = not inverted. Active Vsync Override. 1 = source determined by user setting in Register 0EH, bit 0. 0 = source determined by chip results in Register 14H, bit 3. Active Vsync Select. 0 = VSYNC input is Vsync source. 1 = Sync separator output is Vsync source. This bit only has effect if Register 0EH, bit 1 = 1.
Name Red Offset Green Offset Blue Offset Sync Control
3
****0***
2 1
*****0** ******0*
0
*******0
19
www.national.com
ADCS9888
Configuration Register Descriptions
Address Write/Read (Hex) or Read Only 0FH W/R Bits 7 POR Value 0*******
(Continued) Bit Name/Description Clamp Select. 0 = clamp timing determined by internal chip counters derived from hsync. 1 = clamp timing determined by external CLAMP signal. CLAMP Polarity. 0 active high, 1 = active low. This bit only has effect if Register 0FH, bit 7 = 1.
Name Clamp Control
6 5 4 3
*1****** **0***** ***0**** ****1***
COAST Control COAST Select. 0 = COAST input pin is PLL coast source. 1 = VSYNC is PLL coast source. COAST Polarity Override. 0 = determined by chip. 1 = determined by Register 0FH, bit 3. COAST Polarity. 0 = active low, 1 = active high. This bit only has an effect when Register 0FH, bit 5 = 0, and Register 0FH bit 4 = 1. Seek Override Seek Mode Override. 0 = don’t allow low power mode. 1 = allow low power mode when sync inputs inactive. In seek mode operation the HSOUT, VSOUT, DATACK and DATACK, and all 48 data outputs are placed in a high impedance state. The SOGOUT pin is still active. The voltage references, sync detection and processing, and serial register sub-system (for obvious reasons) are maintained in an active state to provide a rapid transition to normal operation. Full chip power down. 0 = power down. 1 = normal operation. In power down mode, the HSOUT, VSOUT, DATACK, DATACK, and all 48 data outputs are placed in a high impedance state. The SOGOUT pin is still active. The voltage reference, sync detection and processing, and serial register sub-system (for obvious reasons) are maintained in an active state to provide a rapid transition to normal operation.
2
*****1**
1
******1*
PWRDN
10H
W/R
7:3
01111***
Sync-On-Green Set the voltage of the sync slicer threshold. 00H to 1FH. Threshold LSB size is 10 mV. Setting of 00h gives a nominal threshold of 10 mV, while maximum setting of 1FH gives a nominal threshold of 330 mV. Optimal settings will be lower than those used with the Analog Devices AD9888. Red Clamp Select Blue Clamp Select 0 = clamp to ground. 1 = clamp to RMIDSCV. 0 = clamp to ground. 1 = clamp to BMIDSCV.
2 1 11H W/R 7:0
*****0** ******0* 00100000
Sync Separator Sets how many internal 5 MHz clock periods the sync Threshold separator will count to before toggling high or low. This value should be set to some amount greater than the widest expected hsync or equalization pulse width. Pre-coast Sets the number of Hsync periods that the PLL coast becomes active prior to Vsync. This setting is only valid when Vsync is used as the PLL coast source. Sets the number of Hsync periods that the PLL coast stays active after Vsync becomes inactive. This setting is only valid when Vsync is used as the PLL coast source.
12H
W/R
7:0
00000000
13H
W/R
7:0
00000000
Post-Coast
www.national.com
20
ADCS9888
Configuration Register Descriptions
Address Write/Read (Hex) or Read Only 14H RO Bits 7 6 POR Value
(Continued) Bit Name/Description Hsync Detect. 1 = activity is detected on the HSYNC input pin. 0 = no activity detected. AHS - Active Hsync Select. The bit indicates which Hsync source will automatically be used by the chip. 0 = HSYNC input pin. 1 = output of sync slicer. This can be overridden by asserting the Active Hsync Override bit at Register 0EH, bit 4 and setting the Hsync source at Register 0EH, bit 3. Input Hsync Polarity Detect. 0 = active low. 1 = active high. Vsync Detect. 1 = activity is detected on the VSYNC input pin. 0 = no activity detected. AVS - Active Vsync Select. This bit indicates which Vsync source will automatically be used by the chip. 0 = VSYNC input pin. 1 = output of sync separator. This can be overridden by asserting the Active Vsync Override bit at Register 0EH, bit 1 and setting the Vsync source at Register 0EH, bit 0. VSOUT Polarity Detect. 0 = active high, 1 = active low. SOGIN Activity Detect. This bit indicates if there is activity at the output of the sync slicer. 0 = no activity. 1 = activity detected. Coast Polarity Detect. This bit indicates the polarity of the signal being applied to the PLL coast function. 0 = active low, 1 = active high.
Name Sync Detect Status
5 4 3
2 1
0
21
www.national.com
ADCS9888
Configuration Register Descriptions
Address Write/Read (Hex) or Read Only 15H W/R Bits 7 POR Value 1*******
(Continued) Bit Name/Description Sets the channel mode of the data outputs. 0 = single channel mode. 1 = dual channel mode. In dual channel mode, the DATACK output clocks operate at 1/2 of the pixel conversion rate, and pixel data is updated on the A and B output ports. See also Register 15H, bit 6. Sets the output mode of the data outputs. 0 = interleaved mode, 1 = parallel mode. In interleaved mode, one output port is updated on the rising edge of DATACK, the other output port is updated on the falling edge of DATACK. When this bit is set to 1, HSOUT transitions on the rising edge of DATACK. (Instead of the falling edge as shown in the timing diagrams). Selects 4:2:2 subsampled output formatting mode, for use with YUV type video signals. 0 = normal output formatting, 1 = 4:2:2 output formatting. In YUV 4:2:2 mode, the channel connections and data output are as follows: Channel Red Green Blue Input Signal V Y U Output U/V Y High Z
Name Channel Mode
6
*1******
Output Mode
5
**0*****
A/B Even/Odd
4
***0****
4:2:2 Output Mode
3 2:1
****0*** *****11*
Input Mux Input Bandwidth
Selects which video input source is used. 0 = port 0, 1 = port 1. Sets 11 = 10 = 01 = 00 = the analog input bandwidth. 500 MHz 300 MHz 150 MHz 75 MHz
0
*******0
External Clock
Determines whether the internal Hsync referenced PLL is used as the clock source, or the CKEXT source is used. 0 = internal PLL. 1 = CKEXT is used.
16H 17H 18H 19H
W/R W/R RO RO
7:0 7:0 7:0 7:0
11111111 00000000
Test Register Test Register Test Register Test Register
www.national.com
22
ADCS9888
Application Information
1.0 INTRODUCTION The ADCS9888 is a complete 8 bit, 205 MSPS monolithic analog front end for capturing analog component video in digital video applications. The high sampling rate allows it to support video capture at full frame rate at resolutions up to 1600 by 1200 at 75 Hz. Higher resolution (and therefore pixel rate) video can be captured by subsampling even and odd columns (pixels) of video on alternating frames. This highly integrated solution incorporates all of the functions necessary to convert standard computer video signals into digital output data suitable for acquisition by video scaler and similar processing systems. Included components are a 2 channel mux to allow 2 independent video sources to be selected. A full sync processing and clock generation system is included to generate the sampling pixel clock based on the horizontal synchronization signal. 3 inputs with 500 MHz bandwidth are used to capture component RGB or YUV video data. Video clamp circuitry is included to provide the proper AC coupling and black level restoration required in this application. Video is captured at up to 205 MSPS by 8 bit analog to digital converters, and output to a highly flexible output interface. Data can be output on a single 8 bit parallel output per channel, or on dual 8 bit parallel interfaces for each color channel for the higher pixel rate settings. A variety of different output formats are supported to ensure flexible interfacing to a variety of video processing solutions. 2.0 VIDEO SIGNAL PATH 2.1 Input Muxes The ADCS9888 supports two complete video input channels #0 and #1. This allows two sources of video input to be used for dual input panels, monitors and projectors. All analog video signals and sync signals are muxed. 2.2 Input Termination Video input signals are normally received from 75Ω sources. In this case, the signal path should be properly impedance matched through the incoming connectors, and across the printed circuit board up to the video inputs on the ADCS9888. The signal traces should be designed for the proper characteristic impedance, and should be continuous traces that stay on the same side of the printed circuit board, avoiding vias and sharp bends in the trace that can introduce impedance discontinuities. The 75Ω/47 nF termination network shown should be located as close as possible to the video input pins to minimize unmatched stub impedances and resulting signal distortion. The 75Ω termination resistance should be connected to the system ground plane using a via directly to the plane.
Blue channels will normally be clamped to the zero scale level of the ADC when a black level signal is present on the inputs. This normally happens during the back porch period of the horizontal blanking interval. Register controlled options allow the Red and Blue channels to be clamped to the ADC mid scale point. This allows YUV signal processing where the U and V channels are at a mid scale voltage during “Black”.
20062819
2.4 Gain/Offset Adjustment Gain and Offset adjustment is provided to support video signal ranges of 0.5 Vp-p to 1.0 Vp-p. When the 8 bit Gain registers are set to the maximum value, the signal range is largest at 1.0 Vp-p typical. When the Gain registers are set to the minimum values of 00h, the signal range is smallest at 0.5 Vp-p. This means that for a given video input signal, maximum settings of Gain will reduce the contrast or range of the converted data, while minimum settings of Gain will increase the contrast or range of the converted data. The "power on defalt" values for Gain are 80h which give a nominal input range of 0.7 Vp-p. The 7 bit Offset registers provide a ± 63 step adjustment. High values of Offset will lower the value of the converted output data, low values of Offset setting will increase the value of the converted output data. As the Gain and Offset adjustments cause the ADC reference voltages to change, they also cause shifts in the RMIDSCV and BMIDSCV voltages. 2.5 Analog To Digital Converter Three 8 bit, 205 MSPS analog to digital converters are included. One for each video input channel. 2.6 Output Data Ports Two 8 bit data ports are provided at the output of each video color channel. This allows a variety of different video output formats for ease of processing by the attached video scaler/ processor used in different applications. Supported modes include: • Single channel mode, where all data is present on the A output port for each color channel. • Parallel Dual Channel mode, where data is presented on A and B outputs simultaneously, updated at one half the pixel conversion rate. • Interleaved Dual Channel mode, where data is presented alternately on A and B outputs one new sample with each incoming pixel clock. • In both Dual Channel modes, the output data sequence can be altered to provide all Odd pixels on Port B or on Port A, controlled by Bit 5 of Register 15h. The timing relationship between the data outputs, output clocks, and HSOUT are all synchronized. When the sample phase is adjusted, all of these digital outputs will be shifted together with respect to the source Hsync signal.
23 www.national.com
20062818
2.3 Video Input Clamp The analog video inputs will be AC coupled using 47 nF capacitors. Clamping on the inputs is done to ensure the proper DC level of the converted signals. Red, Green and
ADCS9888
Application Information
(Continued)
In dual channel output modes, if Register 15H, Bit 5 is set to one, then HSOUT will transition on the rising edge of DATACK instead of the falling edge as shown in the timing diagrams. All DATA and DATACK outputs are placed in high impedance tri-state mode when the chip is in power down. No pull-up or pull-down features are present in the high impedance state. Refer to the specific sections regarding the other logic outputs for their configuration during power down or low power modes of chip operation. 2.6.1 Output Termination All data and timing outputs are high speed CMOS drivers and should be properly terminated to reduce EMI and optimize signal integrity. Each output should have a series terminating resistor located as close to the output pin as possible. The value of the terminating resistor is dependant on 3.0 SYNC INPUTS AND PROCESSING
the printed circuit board trace impedance. The optimum performance will be when the output impedance of the chip plus the terminating resistor is equal to the characteristic impedance of the printed circuit board trace. Typical output impedance of the ADCS9888 SOGOUT, DATACK and DATACKB is around 30Ω, while the HSOUT, VSOUT and DATA are 90Ω. So for a 150Ω trace impedance, the optimum terminating resistor values would be 120Ω and 60Ω respectively.
20062870
20062820
3.1 SYNC On Green Input The Sync-On-Green input is provided to support applications where separate TTL Hsync and Vsync inputs are not provided. In these applications, the composite sync information is provided on the Green video signal. The SOG input accepts an AC coupled version of the green input signal. This signal is clamped, and then further processed to extract the horizontal and vertical sync signals. 3.1.1 Sync Slicer The Sync Slicer is an adjustable clamp/comparator. First the input is clamped so that the most negative voltage is set to equal an internal reference voltage. This clamped signal is
www.national.com 24
then fed into a 5 bit adjustable comparator to provide a logic level signal with the analog video data removed and only the sync signals remaining. The default comparator setting is 160 mV above the reference voltage. Adjustment increments are in 10 mV intervals with a resulting comparator range from 10 mV to 330 mV. Optimal settings will be lower than those used with the Analog Devices AD9888. The recommended starting value is a setting of 01111b, but the best setting is dependent on amplitude of the input video signal and synchronizing pulse.
ADCS9888
Application Information
(Continued)
The Sync Slicer output has the same polarity as the input signal. “Normal” video with white positive and black negative will produce sync pulses that are active low. Normal synchronization signals will be mainly high with pulses going low. The Sync Slicer circuit will provide an active logic output from many signals which do not have sync on green present. Video with no Sync On Green signal present will still cause the output of the Sync Slicer circuit to toggle. The timing of this output will be much different than that caused by a signal where Sync On Green information is included. In addition, when no Sync On Green information is present, timing will always be provided on the VSYNC and/or HSYNC timing inputs. 3.1.2 Sync on Green Activity Detect The SOGIN activity detect circuit detects the absence or presence of a signal at the output of the Sync Slicer. The result of this detection is sent to Register 14h, Bit 1. (1 = Active, 0 = Inactive) 3.2 HSYNC Input In most computer video applications, a TTL horizontal sync pulse is output by the graphics card. This TTL signal is connected to the ADCS9888 HSYNC input. In other applications a TTL composite sync signal may be used. To support this, the composite sync signal from the HSYNC input can be processed by the Sync Separator circuit to generate a Vsync signal. Either Hsync signal (from HSYNC input or from SOGIN via the Sync Slicer) can be used as the reference clock for the PLL in the clock generation block. 3.2.1 HSYNC Activity Detect The HSYNC activity detect circuit detects the absence or presence of an HSYNC input signal. The result of this detection is sent to Register 14h, Bit 7. (1 = Active, 0 = Inactive) 3.2.2 AHS - Active HSYNC Selection The Clock Generator will use either the HSYNC input, or the output from the Sync Slicer as the reference for the PLL. The AHS performs an automatic selection of the PLL reference source based on the following table: Reg. 14h Bit 7 Hsync Detect 0 0 1 1 X Reg. 14h Bit 1 SOG Detect 0 1 0 1 X Reb. 0Eh Bit 4 Override 0 0 0 0 1 AHS Output
Regardless of the polarity of the Hsync signal at the detector, an automatic polarity correction circuit is used to ensure that the proper polarity signal is used to drive the PLL reference clock input. 3.3 SYNC Separator Either the SOGIN or HSYNC signals can have a composite sync signal as the input. MUX1 is used to feed this composite sync from either source into the sync separator. The sync separator is a digital low pass filter that has an adjustable number of clock ticks from 0 to 255. The default setting is 32 ticks. This filter rejects changes in the composite sync signal that are shorter than the period set. Thus, only long duration changes in the digital composite sync signal, i.e. the vertical sync pulse, are allowed to pass through. The separator uses an internal clock with a nominal frequency of 5 MHz as the filter timebase. 3.4 VSYNC Input The VSYNC input accepts a TTL vertical sync pulse provided by the video source. This signal or the vertical sync signal output by the Sync Separator can be used to control the Coast function in the clock generation circuitry. 3.4.1 Vsync Activity Detect The Vsync activity detect circuit detects the absence or presence of a Vsync input signal. The result of this detection is sent to Register 14h, Bit 4. (1 = Active, 0 = Inactive). 3.4.2 Vsync Polarity Detect The Vsync signal can be an active high or active low signal. A polarity detection circuit is used to detect the active state. The polarity is determined by observing the high/low duty cycle of the VSOUT signal to determine whether the signal is mostly high or mostly low. If the signal is mostly low, then the polarity is set as Positive. If the signal is mostly high, then the polarity is set to Negative. (0 = Negative, 1 = Positive) The results of this detection are sent to Register 14h, Bit 2. 3.4.3 AVS - Active Vsync Detection There are two possible signal sources for VSOUT. The Vsync input can be used, or the output of the SYNC SEPARATOR can be used. The AVS automatically selects the source for VSOUT based on the results and settings described in the following table. Reg. 14h Bit 4 Vsync Detect 0 0 1 1 X Reg. 14h Bit 1 SOG Detect 0 1 0 1 X Reg. 0Eh Bit 1 Override 0 0 0 0 1 AHS Output
0 – use HSYNC 1 – use SOG 0 – use HSYNC 0Eh, Bit 3 0Eh, Bit 3
Reg 0Eh, Bit 0 1 – use SOG 0 – use VSYNC 0 – use VSYNC Reg 0Eh, Bit 0
3.2.3 Hsync Polarity Detection The Hsync signal input to the Clock Generator can be an active high or active low signal. A polarity detection circuit is used to detect the state of the Hsync signal. Signals that are mostly low with pulses high will be reported as active high or positive, while signals that are mostly high with pulses low will be reported as active low or negative. The results of this detection are reported in Register 14h, Bit 5. (0 = Negative, 1 = Positive).
4.0 CLOCK GENERATION The PLL clock generator provides a high frequency pixel clock that is phase aligned to the horizontal sync signal. The horizontal sync signal can be provided by the HSYNC input, or the output of the sync slicer circuit. The pixel clock is used as the timing source for the analog to digital conversion and data output processing in the IC.
25
www.national.com
ADCS9888
Application Information
4.1 PLL
(Continued)
PV1
PV0
The PLL generates a high frequency pixel clock that is frequency locked and phase aligned to the horizontal sync signal. The main controls for the PLL are as described in the following subsections. 4.1.1 PLL Divider The PLL divider is a 12 bit counter with an adjustment range of 17 to 4096. The divider setting is configured in registers 01h, and 02h. The actual divider value used is the divider register setting + 1, so loading a value of 1055 decimal results in a divider of 1056. The PLL divider value sets the number of pixel periods per line. This value consists of the active video pixels, plus the horizontal blanking overhead. The overhead is typically 20 to 30% of the total line time. VESA (Video Equipment Standards Association) has established a series of standards for the different computer video settings (resolution and frame rate). These can be used to determine the proper settings of the PLL divider for many applications. Some applications will use non-standard video timings. In these cases, more advanced methods will be required to determine the proper divider setting to use. The power up default value of the PLL divide registers is 1693d for a real divider setting of 1694d. 4.1.2 VCO Filter Circuit The Voltage Controlled Oscillator uses an external filter circuit to smooth the charge pump current pulses, and optimize the VCO performance. This circuit connects between the FILT pin and PVD power bus. The filter circuit, and the PVD power must be well isolated from other circuitry to achieve the best PLL performance and low jitter.
Pixel Clock Range (MHz)
KVCO Gain (MHz/V)
1
1
> 150
200
4.1.4 VCO Charge Pump Current Control The PLL charge pump current can be set to different values to help optimize the performance for different frequency ranges of operation. The value is set via bits 5:3 of Register 03h. IP2 0 0 0 0 1 1 1 1 IP1 0 0 1 1 0 0 1 1 IP0 0 1 0 1 0 1 0 1 Charge Pump Current (µA) 50 100 150 250 350 500 750 1500
The VCO charge pump current can be calculated using the following equation, and the values for Kvco from the table in the previous section. Ip = [(HsyncFreq x 2 x π )/19.2]^2 x [(Ct x N)/Kvco)] Where: Ip = Target Charge Pump current. Round this value up to the next highest available setting. HsyncFreq = Frequency of Hsync reference clock π = 3.1415927 (approximately) 19.2 = The PLL stability ratio for the ADCS9888 Ct = Loop filter capacitance N = PLL divider value (register setting in 04h, 05h +1) Kvco = VCO gain in MHz/V 4.1.5 PLL Coast The PLL clock generator provides a high frequency pixel clock that is phase aligned to the horizontal sync signal. During portions of the video signal, this horizontal sync signal may be absent or may have a frequency that is different than the "normal" frequency. During these times, application of the coast signal to the PLL causes it to maintain its current operating frequency and phase (according to the voltage held on the VCO filter capacitor) and “coast”, without attempting to synchronize with the horizontal sync waveform. When the coast signal is de-asserted, the PLL will again try to phase lock with the horizontal sync input. In most applications, the coast signal is derived from the vertical synchronization pulse from the VSYNC input or from one of the composite sync sources (either SOGIN or HSYNC) after being processed in the sync separator. The COAST input allows the user to provide a separate external coast control signal. Register 0Fh, bit 5 is used to select which source is used.
20062821
4.1.3 VCO Frequency Range Control The VCO frequency range setting selects the gain of the VCO. By optimizing the gain, the VCO performance can be optimized for different operating frequency ranges. The value is set via the two most significant bits of register 03h. PV1 PV0 Pixel Clock Range (MHz) 15-41 41-82 82-150 31 61 122
26
KVCO Gain (MHz/V)
0 0 1
www.national.com
0 1 0
ADCS9888
Application Information
4.1.6 Pre-Coast and Post-Coast
(Continued)
signal to be maintained as many as 255 lines following the de-assertion of Vsync. 4.1.7 Coast Polarity Detection The coast signal input to the Clock Generator can be an active high or active low signal. A polarity detection circuit determines the polarity of the Coast signal. The polarity is determined by observing the high/low duty cycle of the COAST signal to determine whether the signal is mostly high or mostly low. If the signal is mostly low, then the polarity is set as Positive. If the signal is mostly high, then the polarity is set to Negative. (0 = Negative, 1 = Positive) The results of this detection are sent to Register 14h, Bit 0.
When Vsync is used as the coast source, the coast signal can be extended earlier and later by setting the Pre-Coast and Post-Coast settings in Registers 12h and 13h. This feature requires the chip to calculate the number of Hsync pulses (lines) per Vsync (frame). An 11 bit counter is provided to support frame sizes up to 2048 lines (active lines plus vertical blanking overhead). Once the frame size has been calculated, the chip will anticipate when the next VSYNC begins, and the coast signal can be generated up to 255 lines earlier than the anticipated Vsync. Similarly, the Post-coast setting allows the PLL coast
Clock Generation Setting Mode Resolution (Pixel/Lines) 640 x 480 Refresh Rate Hz 60 72 75 85 SVGA 800 x 600 56 60 72 75 85 XGA 1024 x 768 60 70 75 80 85 SXGA 1280 x 1024 60 75 85 UXGA 1600 x 1200 60 65 70 75 85 HSYNC Frequency kHz 31.5 37.7 37.5 43.3 35.1 37.9 48.1 46.9 53.7 48.4 56.5 60.0 64.0 68.3 64.0 80.0 91.1 75.0 81.3 87.5 93.8 106.3 Pixel Rate MHz 25.175 31.500 31.500 36.000 36.000 40.000 50.000 49.500 56.250 65.000 75.000 78.750 85.500 94.500 108.000 135.000 157.500 162.000 175.500 189.000 202.500 229.500 * VCO RNGE 00 00 00 00 00 00 01 01 01 01 01 01 10 10 10 10 11 11 11 11 11 10 VCO CPMP 010 011 011 011 011 011 011 011 011 011 100 100 011 011 011 101 100 100 100 100 101 101 PLL DIV Setting 799 831 839 831 1023 1055 1039 1055 1047 1343 1327 1311 1335 1375 1687 1687 1727 2159 2159 2159 2159 1079
VGA
Note: * Alternate pixel sampling mode. See section 4.2.1
27
www.national.com
ADCS9888
Application Information
(Continued)
5.4 DATACK/DATACKB These pins provide a complementary output pixel clock that will be used to capture the digital data and HSOUT into the connected digital logic. The output frequency of the clock is dependent on the data output mode being used. Refer to the description for register 15h. 6.0 CONFIGURATION REGISTERS All device settings are controlled via the configuration registers. These registers are accessed via a serial control bus which consists of 3 inputs/outputs (Serial Data, Serial Clock and A0). 6.1 Serial Control Interface The serial control interface consists of a bi-directional Data line and an input only Clock line. All clock information is controlled by the Master or Host device, which will usually be a microcontroller or microprocessor. The data line will be driven by the Master or Host during the control/address portions of the protocol. Data portions of the transfer can be driven by either the Master or the ADCS9888, depending on the direction of data flow. The two bus lines will have pullup resistors to a power supply bus, and all devices connected to the bus will use open-drain drivers to activate the clock and data lines. This allows multiple Master and Slave devices to coexist on the same serial interface without bus contention. 6.2 Serial Protocol The serial protocol is made up of a number of basic protocol elements. A typical transaction will consist of: • Start Signal
4.2 Pixel Clock Generation And Timing AdjustmenT Several features are provided that are related to the pixel clock timing. These include:
• Clock Phase Adjust • CKINV - This is discussed in more detail in the next section, “CKINV Input”. • Clamp Placement setting • Clamp Duration setting Please refer to the register description table for more details on these adjustments.
4.2.1 CKINV Input This is a digital input that causes the ADC sampling clock to be inverted. In effect, this causes an additional 180 degrees of phase shift in the ADC sampling point. This input is used in support of Alternate Pixel Sampling mode, which allows higher frequency video signals to be captured. In this mode, only every second pixel is sampled and converted. This is easily achieved by setting the PLL divider value to achieve one half of the true video pixel rate. On one video frame, all odd video pixels will be converted and sent to the video processor. On the next video frame, the state of CKINV will be inverted, and all even pixels will be converted and output. Frame re-assembly and display will be performed by the video scaler or other video processing system. This input should only change state during the vertical blanking interval, as it may produce several samples of corrupted ADC data during the phase shift. This input should be connected to ground when not in use. 4.2.2 CKEXT Input While most applications will use the built in PLL to generate a pixel clock, in some cases, the user will drive the CKEXT input with an external pixel clock source. In these applications, the PLL is not used and will be placed in a minimum power state. The ADC Sample Phase adjustment is available when CKEXT is used. 5.0 TIMING OUTPUTS 5.1 SOGOUT This pin outputs either the output from the sync slicer, or a delayed but unprocessed version of the HSYNC input. The signal at SOGOUT is the same polarity as the input signal. 5.2 HSOUT This pin outputs a reconstructed and phase aligned version of the HSYNC input. Both the polarity and duration of this signal are controlled via register settings. 5.3 VSOUT This pin outputs a delayed but unprocessed (except for selectable inversion via register 0Eh, bit 3) version of the vertical sync signal. This signal can be selected from either the VSYNC input, or the output of the Sync Separator.
• • • •
(Slave Address + Read/Write Bit) Byte Base Register Address Byte Data Byte Stop Signal
6.2.1 Start Signal Initially, when the bus is inactive, both SCL and SDA will be in a high logic state. A start signal consists of the SDA line transitioning from high to low, while the SCL line remains high. 6.2.2 Stop Signal When the bus is active, the data line will normally be high or low, and the clock will transition from low, to high, then return to low, to register the next bit in the sequence. A stop signal consists of the SDA line transitioning to a low state, followed by the SCL line transitioning to a high state, followed by the SDA line transitioning to the high state. 6.2.3 Repeat Start Signal A repeat start occurs in a sequence where a slave address and base address have already been transferred, but the mode of communications will be changing from Write to Read. This occurs during Read operations, since any Read operation first begins with a Write to specify the base register address. 6.2.4 Slave Address BYTE The slave address byte is used to distinguish between the different devices that may be connected to a common serial bus. Devices have a 7 bit address, with many devices having some bits configurable via external pin connections. The ADCS9888 address byte is configured as follows:
www.national.com
28
ADCS9888
Application Information
Bit 7 A6 1 Bit 6 A5 0 Bit 5 A4 0 Bit 4 A3 1 Bit 3 A2 1
(Continued) Bit 1 A0 A0 Pin Bit 0 R/W 0
• Data Byte to Register • Stop Signal
6.3.2 Burst Write to Multiple (3) Registers
Bit 2 A1 0
6.2.5 Register Address BYTE ADCS9888 register addresses are an 8 bit value. Please refer to the Register Address table at the beginning of the datasheet for more detailed information. 6.2.6 Serial Interface Timeout The serial interface incorporates a timeout feature. This is present to ensure that the bus cannot become ‘locked’ if the master and slave become out of sync due to noise or other system issues. An internal timer is used to guarantee that the interface is reset if the SCL line is held low. This is used to prevent problems in the case where the ADCS9888 is driving a low on the SDA line and the master device is reset. This allows the master to reset the state of the serial interface on the ADCS9888 by simply driving a low on SCL for more than 50 ms. The serial bus interface circuitry will be reset to the idle state if the SCL line is held low for more than 50 ms. The bus may be reset to idle if the SCL line is held low from 25 to 50 ms. The bus will not be reset if the SCL line is held low for less than 25 ms. 6.3 Specific Types Of Transfers 6.3.1 Write to Single Register • Start Signal
• • • • • • •
Start Signal Slave Address Byte (R/W Bit = 0) Register Address Byte Data Byte to Register Data Byte to Register+1 Data Byte to Register+2 Stop Signal
6.3.3 Read from Single Register
• • • • • • •
Start Signal Slave Address Byte (R/W Bit = 0) Register Address Byte Start Signal Slave Address Byte (R/W Bit = 1) Data Byte to Register Stop Signal
6.3.4 Read from Multiple (3) Registers
• • • • • • • • •
Start Signal Slave Address Byte (R/W Bit = 0) Register Address Byte Start Signal Slave Address Byte (R/W Bit = 1) Data Byte to Register Data Byte to Register+1 Data Byte to Register+2 Stop Signal
• Slave Address Byte (R/W Bit = 0) • Register Address Byte
29
www.national.com
ADCS9888
Application Information
(Continued)
20062824
Write to Single Register
www.national.com
30
ADCS9888
Application Information
(Continued)
20062825
Write to Multiple (3) Registers
31
www.national.com
ADCS9888
Application Information
(Continued)
20062822
Read from Single Register
www.national.com
32
ADCS9888
Application Information
(Continued)
20062823
Read from Multiple (3) Registers
6.3.5 Serial Clock Input Noise Filter Because the serial clock and data lines are resistively pulled up to a power bus, there is a possibility that noise will be coupled into the clock or data lines when all devices have released the line. Noise on the clock line can have serious negative effects, by desynchronizing the Master and Slave. To help prevent these problems, a filter is included on the clock input, to prevent higher frequency noise pulses from being recognized by the serial interface.
33
www.national.com
ADCS9888 - 205/170/140 MSPS Video Analog Front End
Physical Dimensions
inches (millimeters) unless otherwise noted
128-Lead PQFP NS Package Number VLA128A
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications. For the most current product information visit us at www.national.com. LIFE SUPPORT POLICY NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein: 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. BANNED SUBSTANCE COMPLIANCE National Semiconductor manufactures products and uses packing materials that meet the provisions of the Customer Products Stewardship Specification (CSP-9-111C2) and the Banned Substances and Materials of Interest Specification (CSP-9-111S2) and contain no ‘‘Banned Substances’’ as defined in CSP-9-111S2.
National Semiconductor Americas Customer Support Center Email: new.feedback@nsc.com Tel: 1-800-272-9959 www.national.com National Semiconductor Europe Customer Support Center Fax: +49 (0) 180-530 85 86 Email: europe.support@nsc.com Deutsch Tel: +49 (0) 69 9508 6208 English Tel: +44 (0) 870 24 0 2171 Français Tel: +33 (0) 1 41 91 8790 National Semiconductor Asia Pacific Customer Support Center Email: ap.support@nsc.com National Semiconductor Japan Customer Support Center Fax: 81-3-5639-7507 Email: jpn.feedback@nsc.com Tel: 81-3-5639-7560
2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness.