FEATURES
205 MSPS Maximum Conversion Rate
500 MHz Programmable Analog Bandwidth
0.5 V to 1.0 V Analog Input Range
Less than 450 ps p-p PLL Clock Jitter @ 205 MSPS
3.3 V Power Supply
Full Sync Processing
Sync Detect for “Hot Plugging”
2:1 Analog Input Mux
4:2:2 Output Format Mode
Midscale Clamping
Power-Down Mode
Low Power: <1 W Typical @ 205 MSPS
APPLICATIONS
RGB Graphics Processing
LCD Monitors and Projectors
Plasma Display Panels
Scan Converters
Microdisplays
Digital TV
R
R
G
G
B
B
HSYNC
HSYNC
VSYNC
VSYNC
SOGIN
SOGIN
COAST
CLAMP
CKINV
CKEXT
FILT
SCL
SDA
FUNCTIONAL BLOCK DIAGRAM
8
R
IN
IN
IN
IN
IN
IN
2:1
MUX
2:1
MUX
2:1
MUX
2:1
MUX
2:1
MUX
2:1
MUX
CLAMP
CLAMP
CLAMP
SYNC
PROCESSING
AND
CLOCK
GENERATION
A/D
A/D
A/D
8
8
8
2
REF
AD9888
SERIAL REGISTER
AND
A0
POWER MANAGEMENT
OUTA
8
R
OUTB
8
G
OUTA
8
G
OUTB
8
B
OUTA
8
B
OUTB
DATACK
HSOUT
VSOUT
SOGOUT
REF
BYPASS
GENERAL DESCRIPTION
The AD9888 is a complete 8-bit, 205 MSPS monolithic analog
interface optimized for capturing RGB graphics signals from
personal computers and workstations. Its 205 MSPS encode
rate capability and full-power analog bandwidth of 500 MHz
supports resolutions up to UXGA (1600 × 1200 at 75 Hz).
For ease of design and to minimize cost, the AD9888 is a fully
integrated interface solution for flat panel displays. The AD9888
includes an analog interface with a 205 MHz triple ADC with
internal 1.25 V reference, PLL to generate a pixel clock from
HSYNC and COAST, midscale clamping, and programmable
gain, offset, and clamp control. The user provides only a 3.3 V
power supply, analog input, and HSYNC and COAST signals.
Three-state CMOS outputs may be powered from 2.5 V to 3.3 V.
REV. B
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties that
may result from its use. No license is granted by implication or otherwise
under any patent or patent rights of Analog Devices. Trademarks and
registered trademarks are the property of their respective companies.
The AD9888’s on-chip PLL generates a pixel clock from HSYNC
and COAST inputs. Pixel clock output frequencies range from
10 MHz to 205 MHz. PLL clock jitter is typically less than 450 ps
p-p at 205 MSPS. When the COAST signal is presented, the
PLL maintains its output frequency in the absence of HSYNC.
A sampling phase adjustment is provided. Data, HSYNC, and
clock output phase relationships are maintained. The PLL can
be disabled and an external clock input can be provided as the
pixel clock. The AD9888 also offers full sync processing for composite sync and Sync-on-Green applications.
A clamp signal is generated internally or may be provided by the
user through the CLAMP input pin. This interface is fully programmable via a 2-wire serial interface.
Fabricated in an advanced CMOS process, the AD9888 is provided in a space-saving 128-lead MQFP surface-mount plastic
package and is specified over the 0°C to 70°C temperature range.
Maximum Case Temperature . . . . . . . . . . . . . . . . . . . . 150°C
*Stresses above those listed under Absolute Maximum Ratings may cause perma nent
damage to the device. This is a stress rating only; functional operation of the device
at these or any other conditions outside of those indicated in the operation sections
of this specification is not implied. Exposure to absolute maximum ratings for
extended periods may affect device reliability.
EXPLANATION OF TEST LEVELS
Test Level
I.100% production tested.
II. 100% production tested at 25°C and sample tested at
specified temperatures.
III. Sample tested only.
IV. Parameter is guaranteed by design and characterization
testing.
V. Parameter is a typical value only.
VI. 100% production tested at 25°C; guaranteed by design and
characterization testing.
ORDERING GUIDE
ModelTemperature RangePackage Option
AD9888KS-1000ºC to +70ºCS-128A
AD9888KS-1400ºC to +70ºCS-128A
AD9888KS-1700ºC to +70ºCS-128A
AD9888KS-2050ºC to +70ºCS-128A
AD9888/PCB25ºCEvaluation Board
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
AD9888 features proprietary ESD protection circuitry, permanent damage may occur on devices
subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended
to avoid performance degradation or loss of functionality.
REV. B
–3–
AD9888
REF BYPASS
GND
GND
R
AIN
R
AIN
RMIDSCV
GND
SOGIN0
G
AIN
GND
SOGIN1
G
AIN
GND
B
AIN
GND
B
AIN
BMIDSCV
GND
GND
CKINV
CLAMP
SDA
SCL
GND
GND
PV
PIN CONFIGURATION
0
3
2
1
0
A
A
A
SOGOUT
128
127
126
125
124
1
V
D
PIN 1
2
IDENTIFIER
3
123
D
GND
V
121
122
120
A
R
DD
DATACK
DATACK
HSOUT
VSOUT
GND
D
119
A
R
R
R
D
D
D
116
117
118
7
6
5
4
A
A
R
R
R
D
D
114
115
B
A
R
DD
D
GND
V
D
111
112
113
110
4
5
0
6
V
D
7
V
D
8
1
9
10
V
D
11
12
13
0
14
V
D
15
16
17
1
18
V
D
19
20
0
21
V
D
22
23
1
AD9888
TOP VIEW
(Not to Scale)
24
25
V
D
26
V
D
27
28
29
30
31
32
33
A0
34
V
D
35
36
37
V
D
38
D
39
D
PV
40
GND
41
GND
43
42
VSYNC1
HSYNC1
44
45
VSYNC0
HSYNC0
46
GND
47
DPVD
51
52
53
50
48
49
D
FILT
PV
GND
GND
PV
COAST
54
55
GND
CKEXT
57
56
DD
B
V
D
3
2
1
B
B
B
R
7
B
B
R
R
R
D
D
D
D
108
109
107
106
60
61
59
58
6
5
4
B
B
B
B
B
B
B
D
D
D
D
7
6
5
4
B
B
B
R
R
R
R
D
D
D
105
104
103
102
V
DD
101
GND
100
GND
99
GND
98
V
DD
97
DGA
0
96
DGA
1
95
DGA
2
94
DGA
3
93
DGA
4
92
DGA
5
91
DGA
6
90
DGA
7
89
V
DD
88
GND
87
D
GB0
86
DGB
1
85
DGB
2
84
DGB
3
83
DGB
4
82
DGB
5
81
DGB
6
80
DGB
7
79
V
DD
78
GND
77
D
BA0
76
DBA
1
75
DBA
2
74
DBA
3
73
DBA
4
72
D
BA5
71
DBA
6
70
DBA
7
69
V
DD
68
GND
67
GND
66
GND
65
GND
63
64
62
3
2
1
0
B
B
B
B
B
B
B
D
D
D
REV. B–4–
AD9888
Table I. Complete Pinout List
Pin TypeMnemonicFunctionValuePin No.
Analog Video Inputs R
Sync/Clock InputsHSYNC0Channel 0 Horizontal SYNC Input3.3 V CMOS45
Sync OutputsHSOUTHSYNC Output Clock (Phase-Aligned with DATACK)3.3 V CMOS125
VoltageREF BYPASSInternal Reference Bypass (Bypass with 0.1 µF to Ground)1.25 V ± 10% 2
Clamp VoltagesRMIDSCVRed Channel Midscale Clamp Voltage Bypass9
PLL FilterFILTConnection for External Filter Components for Internal PLL50
Power SupplyV
Serial PortSDASerial Port Data I/O3.3 V CMOS31
(2-WireSCLSerial Port Data Clock3.3 V CMOS32
Serial Interface)A0Serial Port Address Input 13.3 V CMOS33
Data OutputsRed A[7:0]Port A Outputs of Converter “Red.” Bit 7 is the MSB.3.3 V CMOS113–120
Data ClockDATACKData Output Clock3.3 V CMOS123
OutputDATACKData Output Clock Complement3.3 V CMOS124
0Channel 0 Analog Input for Converter R0.0 V to 1.0 V 5
AIN
0Channel 0 Analog Input for Converter G0.0 V to 1.0 V 13
G
AIN
0Channel 0 Analog Input for Converter B0.0 V to 1.0 V 20
B
AIN
1Channel 1 Analog Input for Converter R0.0 V to 1.0 V 8
R
AIN
1Channel 1 Analog Input for Converter G0.0 V to 1.0 V 17
G
AIN
B
1Channel 1 Analog Input for Converter B0.0 V to 1.0 V 23
AIN
VSYNC0Channel 0 Vertical SYNC Input3.3 V CMOS44
SOGIN0Channel 0 Input for Sync-on-Green0.0 V to 1.0 V 12
HSYNC1Channel 1 Horizontal SYNC Input3.3 V CMOS43
VSYNC1Channel 1 Vertical SYNC Input3.3 V CMOS42
SOGIN1Channel 1 Input for Sync-on-Green0.0 V to 1.0 V 16
CLAMPClamp Input (External CLAMP signal)3.3 V CMOS30
COASTPLL Coast Signal Input3.3 V CMOS53
CKEXTExternal Pixel Clock Input (to Bypass the PLL) or 10 kΩ to Ground3.3 V CMOS54
CKINVADC Sampling Clock Invert3.3 V CMOS29
VSOUTVSYNC Output Clock (Phase-Aligned with DATACK)3.3 V CMOS127
SOGOUTSync-on-Green Slicer Output3.3 V CMOS126
BMIDSCVBlue Channel Midscale Clamp Voltage Bypass24
Analog Power Supply3.3 V ± 10%
Output Power Supply3.3 V ± 10%
PLL Power Supply3.3 V ± 10%
V
PV
D
DD
D
GNDGround0 V
Red B[7:0]Port B Outputs of Converter “Red.” Bit 7 is the MSB.3.3 V CMOS103–110
Green A[7:0]Port A Outputs of Converter “Green.” Bit 7 is the MSB.3.3 V CMOS90–97
Green B[7:0]Port B Outputs of Converter “Green.” Bit 7 is the MSB.3.3 V CMOS80–87
Blue A[7:0]Port A Outputs of Converter “Blue.” Bit 7 is the MSB.3.3 V CMOS70–77
Blue B[7:0]Port B Outputs of Converter “Blue.” Bit 7 is the MSB.3.3 V CMOS57–64
REV. B
–5–
AD9888
PIN FUNCTION DESCRIPTIONS
MnemonicDescription
Inputs
R
0Channel 0 Analog Input for RED
AIN
0Channel 0 Analog Input for GREEN
G
AIN
0Channel 0 Analog Input for BLUE
B
AIN
R
1Channel 1 Analog Input for RED
AIN
1Channel 1 Analog Input for GREEN
G
AIN
1Channel 1 Analog Input for BLUE
B
AIN
These high impedance inputs that accept the RED, GREEN, and BLUE channel graphics signals, respectively.
(The six channels are identical and can be used for any colors; colors are assigned for convenient reference.)
They accommodate input signals ranging from 0.5 V to 1.0 V full scale. Signals should be ac-coupled to these pins
to support clamp operation.
These inputs receive a logic signal that establishes the horizontal timing reference and provides the frequency reference for pixel clock generation.
The logic sense of this pin is controlled by Serial Register 0EH, Bit 6 (Hsync Polarity). Only the leading edge of
Hsync is used by the PLL. The trailing edge is used for clamp timing only. When HSPOL = 0, the falling edge of
Hsync is used. When HSPOL = 1, the rising edge is active.
The input includes a Schmitt trigger for noise immunity, with a nominal input threshold of 1.5 V.
This input is provided to assist with processing signals with embedded sync, typically on the GREEN channel.
The pin is connected to a high speed comparator with an internally generated, variable threshold level, which is
nominally set to 0.15 V above the negative peak of the input signal.
When connected to an ac-coupled graphics signal with embedded sync, it will produce a noninverting digital output
on SOGOUT. (This is usually a composite sync signal, containing both vertical and horizontal sync information.)
When not used, this input should be left unconnected. For more details on this function and how it should be
configured, refer to the Sync-on-Green section.
CLAMPExternal Clamp Input
This logic input may be used to define the time during which the input signal is clamped to the reference dc level
(ground for RGB or midscale for YUV). It should be exercised when the reference dc level is known to be present
on the analog input channels, typically during the back porch of the graphics signal. The CLAMP pin is enabled
by setting the external clamp control (Register 0FH, Bit 7) to 1 (default is 0). When disabled, this pin is ignored
and the clamp timing is determined internally by counting a delay and duration from the trailing edge of the
HSYNC input. The logic sense of this pin is controlled by the clamp polarity control (Register 0FH, Bit 6). When
not used, this pin must be grounded and external clamp programmed to 0.
COASTClock Generator Coast Input (Optional)
This input may be used to cause the pixel clock generator to stop synchronizing with HSYNC and continue producing a clock at its current frequency and phase. This is useful when processing signals from sources that fail to
produce horizontal sync pulses when in the vertical interval or that include equalization pulses. The Coast signal is
usually not required for PC generated signals.
The logic sense of this pin is controlled by 0FH, Bit 3 (Coast Polarity).
When not used, this pin may be grounded and Coast Polarity programmed to 1, or tied high (to V
10 kΩ resistor) and Coast Polarity programmed to 0. The Coast Polarity register bit defaults to 1 at power-up.
CKEXTExternal Clock Input (Optional)
This pin may be used to provide an external clock to the AD9888 in place of the clock internally generated from
HSYNC. It is enabled by programming the External Clock Register to 1 (15H, Bit 0). When an external clock is
used, all other internal functions operate normally. When unused, this pin should be tied through a 10 kΩ resistor
to GROUND, and the External Clock Register programmed to 0. The clock phase adjustment still operates when
an external clock source is used.
through a
D
REV. B–6–
PIN FUNCTION DESCRIPTIONS (continued)
MnemonicDescription
CKINVSampling Clock Inversion (Optional)
This pin may be used to invert the pixel sampling clock, which has the effect of shifting the sampling phase 180°.
This is in support of Alternate Pixel Sampling mode, wherein higher frequency input signals (up to 410 Msps)
may be captured by first sampling the odd pixels, then capturing the even pixels on the subsequent frame.
This pin should be exercised only during blanking intervals (typically vertical blanking) as it may produce several
samples of corrupted data during the phase shift.
CKINV should be grounded when not used.
Outputs
D
D
D
D
D
D
RA7–0
RB7–0
GA7–0
GB7–0
BA7–0
BB7–0
Data Output, Red Channel, Port A
Data Output, Red Channel, Port B
Data Output, Green Channel, Port A
Data Output, Green Channel, Port B
Data Output, Blue Channel, Port A
Data Output, Blue Channel, Port B
These are the main data outputs. Bit 7 is the MSB.
Each channel has two ports. When the part is operated in single-channel mode (Channel Mode bit (15H, Bit 7) = 0),
all data are presented to Port A, and Port B is placed in a high impedance state.
Programming the Channel Mode bit to 1 establishes dual-channel mode, wherein alternate pixels are presented to
Port A and Port B of each channel. These will appear simultaneously; two pixels are presented at the time of every
second input pixel, when the Output Mode bit (15H, Bit 6) is set to 1 (parallel mode). When the Output Mode bit
is set to 0, pixel data appear alternately on the two ports, one new sample with each incoming pixel (interleaved mode.)
In dual-channel mode, the first pixel after HSYNC is routed to Port A. The second pixel goes to Port B, the third
to A, and so on. This can be reversed by setting the A/B Invert bit to 1 (15H, Bit 5).
The delay from pixel sampling time to output is fixed. When the sampling time is changed by adjusting the
PHASE register, the output timing is shifted as well. The DATACK, DATACK, and HSOUT outputs are also
moved, so the timing relationship among the signals is maintained.
These are differential data clock output signals to be used to strobe the output data and HSOUT into external logic.
They are produced by the internal clock generator and are synchronous with the internal pixel sampling clock.
When the AD9888 is operated in single-channel mode, the output frequency is equal to the pixel sampling frequency.
When operated in dual-channel mode, the clock frequency is one-half the pixel frequency, as is the out put data frequency.
When the sampling time is changed by adjusting the PHASE register, the output timing is shifted as well. The
Data, DATACK, DATACK, and HSOUT outputs are all moved, so the timing relationship among the signals is maintained.
Either or both signals may be used, depending on the timing mode and interface design employed.
HSOUTHorizontal Sync Output
This is reconstructed and phase-aligned version of the Hsync input. Both the polarity and duration of this output
can be programmed via serial bus registers.
By maintaining alignment with DATACK, DATACK, and Data, data timing with respect to horizontal sync can
always be determined.
SOGOUTSync-On-Green Slicer Output
This pin can be programmed to output either the output from the Sync-On-Green slicer comparator or an unprocessed but delayed version of the Hsync input. See the Sync Processing Block Diagram (Figure 25) to view how this
pin is connected. (Note: Other than slicing off SOG, the output from this pin gets no other additional processing
on the AD9888. Vsync separation is performed via the sync separator.)
REF BYPASSInternal Reference BYPASS
This bypass for the internal 1.25 V band gap reference should be connected to ground through a 0.1 µF capacitor.
The absolute accuracy of this reference is ±4%, and the temperature coefficient is ±50 ppm, which is adequate for
most AD9888 applications. If higher accuracy is required, an external reference may be employed instead.
RMIDSCVRED Channel Midscale Voltage BYPASS
BMIDSCVBLUE Channel Midscale Voltage BYPASS
These bypasses for the internal midscale voltage references should each be connected to ground through 0.1 µF
capacitors. The exact voltage varies with the gain setting of the BLUE channel.
REV. B
AD9888
–7–
AD9888
PIN FUNCTION DESCRIPTIONS (continued)
MnemonicDescription
FILTExternal Filter Connection
For proper operation, the pixel clock generator PLL requires an external filter. Connect the filter shown in Figure 6
to this pin. For optimal performance, minimize noise and parasitics on this node.
Power Supply
V
D
V
DD
PV
D
GNDGround
Serial Port (2-Wire)
SDASerial Port Data I/O
SCLISerial Port Data Clock
A0Serial Port Address Input 1
For a full description of the 2-wire serial register and how it works, refer to the Control Register section.
Main Power Supply
These pins supply power to the main elements of the circuit. It should be as quiet and filtered as possible.
Digital Output Power Supply
A large number of output pins (up to 52) switching at high speed (up to 110 MHz) generates a lot of power supply
transients (noise). These supply pins are identified separately from the V
minimize output noise transferred into the sensitive analog circuitry. If the AD9888 is interfacing with lower volt
age logic, V
may be connected to a lower supply voltage (as low as 2.5 V) for compatibility.
DD
Clock Generator Power Supply
The most sensitive portion of the AD9888 is the clock generation circuitry. These pins provide power to the clock
PLL and help the user design for optimal performance. The designer should provide “quiet,” noise-free power to
these pins.
The ground return for all circuitry on chip. It is recommended that the AD9888 be assembled on a single solid
ground plane, with careful attention paid to ground current paths.
pins, so special care can be taken to
D
DESIGN GUIDE
General Description
The AD9888 is a fully integrated solution for capturing analog
RGB signals and digitizing them for display on flat panel monitors
or projectors. The circuit is ideal for providing a computer interface for HDTV monitors or as the front end to high performance
video scan converters.
Implemented in a high performance CMOS process, the interface can capture signals with pixel rates of up to 205 MHz, and
with an Alternate Pixel Sampling mode, up to 340 MHz.
The AD9888 includes all necessary input buffering, signal dc
restoration (clamping), offset and gain (brightness and contrast)
adjustment, pixel clock generation, sampling phase control, and
output data formatting. All controls are programmable via a 2-wire
serial interface. Full integration of these sensitive analog functions
makes system design straightforward and less sensitive to the
physical and electrical environment.
With a typical power dissipation of only 650 mW and an operating temperature range of 0°C to 70°C, the device requires no
special environmental considerations.
Input Signal Handling
The AD9888 has six high impedance analog input pins for the
red, green, and blue channels. They will accommodate signals
ranging from 0.5 V to 1.0 V p-p.
Signals are typically brought onto the interface board via a DVI-I
connector, a 15-pin D connector, or BNC connectors. The
AD9888 should be located as close as practical to the input
connector. Signals should be routed via matched-impedance
traces (normally 75 Ω) to the IC input pins.
At that point, the signal should be resistively terminated (to the
signal ground return) and capacitively coupled to the AD9888
inputs through 47 nF capacitors. These capacitors form part of
the dc restoration circuit.
In an ideal world of perfectly matched impedances, the best
performance can be obtained with the widest possible signal
bandwidth. The ultrawide bandwidth inputs of the AD9888
(500 MHz) can track the input signal continuously as it moves
from one pixel level to the next, and digitize the pixel during a
long, flat pixel time. In many systems, however, there are mismatches, reflections, and noise, which can result in excessive
ringing and distortion of the input waveform. This makes it
more difficult to establish a sampling phase that provides good
image quality. The AD9888 can digitize graphics signals over a
very wide range of frequencies (10 MHz to 205 MHz). Often
characteristics that are beneficial at one frequency can be detrimental at another. Analog bandwidth is one such characteristic.
For UXGA resolutions (up to 205 MHz), a very high analog
bandwidth is desirable because of the fast input signal slew
rates. For VGA and lower resolutions (down to 12.5 MHz), a
very high bandwidth is not desirable because it allows excess
noise to pass through. To accommodate these varying needs,
the AD9888 includes variable analog bandwidth control. Four
settings are available (75 MHz, 150 MHz, 300 MHz, and 500 MHz),
allowing the analog bandwidth to be matched with the resolution
of the incoming graphics signal.
RGB
INPUT
47nF
75⍀
R
AIN
G
AIN
B
AIN
Figure 1. Analog Input Interface Circuit
REV. B–8–
AD9888
Sync Processing
The AD9888 contains circuitry that enables it to accept composite sync inputs, such as Sync-on-Green or the trilevel syncs
found in digital TV signals. A complete description of the sync
processing functionality is found in the Sync Slicer and Sync
Separator sections.
Hsync, Vsync Inputs
The interface also takes a horizontal sync signal, which is used
to generate the pixel clock and clamp timing. It is possible to
operate the AD9888 without applying Hsync (using an external
clock, external clamp, and single port output mode), but a number
of features of the chip will be unavailable; it is recommended
that Hsync be provided. This can be either a sync signal directly
from the graphics source, or a preprocessed TTL or CMOS
level signal.
The Hsync input includes a Schmitt trigger buffer for immunity
to noise and signals with long rise times. In typical PC based
graphic systems, the sync signals are simply TTL-level drivers
feeding unshielded wires in the monitor cable. As such, no
termination is required or desired.
Serial Control Port
The serial control port is designed for 3.3 V logic. If there are
5V drivers on the bus, these pins should be protected with
150 Ω series resistors placed between the pull-up resistors and
the input pins.
Output Signal Handling
The digital outputs are designed and specified to operate from a
3.3 V power supply (V
low as 2.5 V for compatibility with other 2.5 V logic.
Clamping
RGB Clamping
To digitize the incoming signal properly, the dc offset of the
input must be adjusted to fit the range of the on-board A/D
converters.
Most graphics systems produce RGB signals with black at
ground and white at approximately 0.75 V. However, if sync
signals are embedded in the graphics, the sync tip is often at
ground and black is at 300 mV; white is at approximately 1.0 V.
Some common RGB line amplifier boxes use emitter-follower
buffers to split signals and increase drive capability. This introduces a 700 mV dc offset to the signal, which must be removed
for proper capture by the AD9888.
The key to clamping is to identify a portion (time) of the signal
when the graphic system is known to be producing black. An
offset is then introduced, which results in the A/D converters
producing a black output (code 00H) when the known black
input is present. The offset then remains in place when other
signal levels are processed, and the entire signal is shifted to
eliminate offset errors.
In most graphics systems, black is transmitted between active
video lines. Going back to CRT displays, when the electron
beam has completed writing a horizontal line on the screen
(at the right side), the beam is deflected quickly to the left side
of the screen (called horizontal retrace) and a black signal is
provided to prevent the beam from disturbing the image.
In systems with embedded sync, a blacker-than-black signal
(Hsync) is produced briefly to signal the CRT that it is time to
begin a retrace. For obvious reasons, it is important to avoid
). They can also work with a VDD as
DD
clamping on the tip of Hsync. Fortunately, there is almost
always a period following Hsync called the back porch where a
good black reference is provided. This is the time when clamping
should be done.
The clamp timing can be established by simply exercising the
CLAMP pin at the appropriate time (with External Clamp = 1).
The polarity of this signal is set by the Clamp Polarity (Register
0FH, Bit 6).
A simpler method of clamp timing employs the AD9888 internal
clamp timing generator. The Clamp Placement Register is
programmed with the number of pixel times that should pass
after the trailing edge of HSYNC before clamping starts. A
second register (Clamp Duration, Register 06H) sets the duration
of the clamp. These are both 8-bit values, providing considerable
flexibility in clamp generation. The clamp timing is referenced
to the trailing edge of Hsync because, though Hsync duration
can vary widely, the back porch (black reference) always follows
Hsync. A good starting point for establishing clamping is to set the
clamp placement to 08H (providing eight pixel periods for the
graphics signal to stabilize after sync) and set the clamp duration to
14H (giving the clamp 20 pixel periods to re-establish the black
reference).
Clamping is accomplished by placing an appropriate charge on
the external input coupling capacitor. The value of this capacitor
affects the performance of the clamp. If it is too small, there will
be a significant amplitude change during a horizontal line time
(between clamping intervals). If the capacitor is too large, then
it will take excessively long for the clamp to recover from a large
change in incoming signal offset. The recommended value
(47 nF) results in recovering from a step error of 100 mV to within
1/2 LSB in 10 lines with a clamp duration of 20 pixel periods
on a 60 Hz SXGA signal.
YUV Clamping
YUV graphic signals are slightly different from RGB signals in
that the dc reference level (black level in RGB signals) can be at
the midpoint of the video signal rather than the bottom. For
these signals it can be necessary to clamp to the midscale range
of the A/D converter range (80H) rather than bottom of the
A/D converter range (00H).
Clamping to midscale rather than ground can be accomplished
by setting the clamp select bits in the series bus register. The
red and blue channels each have their own selection bit so that
they can be clamped to either midscale or ground independently.
The clamp controls are located in Register 10H, Bits 1 and 2.
The midscale reference voltage that each A/D converter clamps
to is provided independently on the RMIDSCV and BMIDSCV
pins. These two pins should be bypassed to ground with a 0.1 µF
capacitor (even if midscale clamping is not required).
Gain and Offset Control
The AD9888 can accommodate input signals with inputs ranging
from 0.5 V to 1.0 V full scale. The full-scale range is set in three
8-bit registers (Red Gain, Green Gain, and Blue Gain; Registers
08H, 09H, and 10H respectively). Note that increasing the gain
setting results in an image with less contrast.
The offset control shifts the entire input range, resulting in a
change in image brightness. Three 7-bit registers (Red Offset,
Green Offset, Blue Offset; Registers 0BH, 0CH, and 0DH,
respectively) provide independent settings for each channel.
REV. B
–9–
AD9888
The offset controls provide a ±63 LSB adjustment range. This
range is connected with the full-scale range, so if the input range
is doubled (from 0.5 V to 1.0 V), the offset step size is also
doubled (from 2 mV per step to 4 mV per step).
Figure 2 illustrates the interaction of gain and offset controls.
The magnitude of an LSB in offset adjustment is proportional
to the full-scale range, so changing the full-scale range also
changes the offset. The change is minimal if the offset setting is
near midscale. When changing the offset, the full-scale range is
not affected, but the full-scale level is shifted by the same amount
as the zero-scale level.
OFFSET = 7Fh
1.0
0.5
INPUT RANGE – V
0.0
00hFFh
GAIN
OFFSET = 3Fh
OFFSET = 00h
OFFSET = 7Fh
OFFSET = 3Fh
OFFSET = 00h
The stability of this clock is a very important element in providing
the clearest and most stable image. During each pixel time,
there is a period during which the signal is slewing from the old
pixel amplitude and settling at its new value. Then there is a
time when the input voltage is stable, before the signal must
slew to a new value (Figure 4). The ratio of the slewing time to
the stable time is a function of the bandwidth of the graphics
DAC and the bandwidth of the transmission system (cable and
termination). It is also a function of the overall pixel rate.
Clearly, if the dynamic characteristics of the system remain
fixed, then the slewing and settling time is likewise fixed. This
time must be subtracted from the total pixel period, leaving the
stable period. At higher pixel frequencies, the total cycle time is
shorter and the stable pixel time becomes shorter as well.
PIXEL CLOCK
INVALID SAMPLE
TIMES
Figure 2. Gain and Offset Control
Sync-on-Green
The Sync-on-Green input operates in two steps. First, it sets a
baseline clamp level off of the incoming video signal with a
negative peak detector. Second, it sets the sync trigger level
(nominally 150 mV above the negative peak). The exact trigger
level is variable and can be programmed via Register 11H. The
Sync-on-Green input must be ac-coupled to the green analog input
through its own capacitor, as shown in Figure 3. The value of
the capacitor must be 1 nF ± 20%. If Sync-on-Green is not used,
this connection is not required and the SOGIN pin should be
left unconnected. (Note: the Sync-on-Green signal is always
negative polarity.) For more details, see the Sync Processing section.
47nF
R
AIN
47nF
B
AIN
47nF
G
AIN
SOG
1nF
Figure 3. Typical Clamp Configuration for
RGB/YUV Applications
Clock Generation
A phase locked loop (PLL) is employed to generate the pixel
clock. The Hsync input provides a reference frequency to the
PLL. A voltage controlled oscillator (VCO) generates a much
higher pixel clock frequency. This pixel clock is divided by the
PLL divide value (Registers 01H and 02H) and phase compared
with the Hsync input. Any error is used to shift the VCO
frequency and maintain lock between the two signals.
Figure 4. Pixel Sampling Times
Any jitter in the clock reduces the precision with which the
sampling time can be determined, and must also be subtracted
from the stable pixel time.
Considerable care has been taken in the design of the AD9888’s
clock generation circuit to minimize jitter. As indicated in
Figure 5, the clock jitter of the AD9888 is less than 9% of the
total pixel time in all operating modes, making the reduction in
the valid sampling time due to jitter negligible.
14
12
10
8
6
JITTER (p-p) – %
4
2
0
25.2
31.5
31.5
36.0
36.0
40.0
50.0
49.5
56.3
65.0
75.0
78.8
85.5
94.5
108.0
135.0
160.0
162.0
175.5
189.0
PIXEL CLOCK – MHz
202.5
Figure 5. Pixel Clock Jitter vs. Frequency
The PLL characteristics are determined by the loop filter design,
the PLL charge pump current, and the VCO range setting. The
loop filter design is illustrated in Figure 6. Recommended settings
of VCO range and charge pump current for VESA standard
display modes are listed in Table IV.
REV. B–10–
Loading...
+ 22 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.