AD AD9888KSZ-140 100 msps/140 msps/170 msps analog flat panel interface Datasheet

FEATURES
170 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 at 170 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 at 170 MSPS
FUNCTIONAL BLOCK DIAGRAM
RAIN0
RAIN1
GAIN0
GAIN1
BAIN0
BAIN1
HSYNC0
HSYNC1
VSYNC0
VSYNC1
SOGIN0
SOGIN1
APPLICATIONS
COAST
RGB graphics processing
LCD monitors and projectors
Plasma display panels
Scan converters
Microdisplays
Digital TV
CLAMP
2:1
MUX
2:1
MUX
2:1
MUX
ADC
CLAMP
CLAMP
ADC
CLAMP
ADC
8
8
8
8
8
8
8
8
8
2
DRA[7:0]
DRB[7:0]
DGA[7:0]
DGB[7:0]
DBA[7:0]
DBB[7:0]
2:1
MUX
DATACK
2:1
MUX
VSOUT
2:1
MUX
HSOUT
SOGOUT
SYNC
PROCESSING
AND CLOCK
GENERATION
REF
REF
BYPASS
CKINV
CKEXT
FILT
SCL
SDA
A0
SERIAL REGISTER
AND
POWER MANAGEMENT
AD9888
02442-001
Data Sheet
100 MSPS/140 MSPS/170 MSPS
Analog Flat Panel Interface
AD9888
Figure 1.
GENERAL DESCRIPTION
The AD9888 is a complete 8-bit, 170 MSPS, monolithic analog
interface optimized for capturing RGB graphics signals from
personal computers and workstations. Its 170 MSPS encode rate
capability and full-power analog bandwidth of 500 MHz supports
resolutions of up to 1600 × 1200 (UXGA) 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 that has a 170 MHz triple ADC with
an internal 1.25 V reference phase-locked loop (PLL) to generate a
pixel clock from HSYNC and COAST; midscale clamping; and
programmable gain, offset, and clamp controls. The user provides
only a 3.3 V power supply, analog input, and HSYNC and COAST
signals. Three-state CMOS outputs can be powered from 2.5 V
to 3.3 V.
The on-chip PLL of the AD9888 generates a pixel clock from the
HSYNC and COAST inputs. Pixel clock output frequencies
range from 10 MHz to 170 MHz. PLL clock jitter is typically
less than 450 ps p-p at 170 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 can be provided by the
user through the CLAMP input pin. This device is fully programmable via a 2-wire serial port.
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. The AD9888 is also available in a Pb-free package.
Rev. C
Information furnished by Analog Devices is believed to be accurate and reliable. However, no
responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other
rights of third parties that may result from its use. Specifications subject to change without notice. No
license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
Trademarks and registered trademarks are the property of their respective owners.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700
www.analog.com
Fax: 781.461.3113 ©2001–2011 Analog Devices, Inc. All rights reserved.
AD9888
Data Sheet
TABLE OF CONTENTS
Features .............................................................................................. 1
Chip Identification ..................................................................... 24
Applications....................................................................................... 1
PLL Divider Control .................................................................. 24
Functional Block Diagram .............................................................. 1
Clock Generator Control .......................................................... 24
General Description ......................................................................... 1
Clamp Timing............................................................................. 24
Revision History ............................................................................... 3
HSYNC Pulse Width.................................................................. 25
Specifications..................................................................................... 4
Input Gain ................................................................................... 25
Absolute Maximum Ratings............................................................ 6
Input Offset ................................................................................. 25
Explanation of Test Levels ........................................................... 6
Sync Control ............................................................................... 25
ESD Caution.................................................................................. 6
Input Control .............................................................................. 26
Pin Configuration and Function Descriptions............................. 7
Mode Control 1 .......................................................................... 29
Design Guide................................................................................... 12
2-Wire Serial Control Port ............................................................ 31
General Description................................................................... 12
Data Transfer via Serial Interface............................................. 31
Input Signal Handling................................................................ 12
Sync Processing .......................................................................... 32
Sync Processing Overview ........................................................ 12
Sync Slicer.................................................................................... 33
HSYNC and VSYNC Inputs...................................................... 12
Sync Separator ............................................................................ 33
Serial Control Port ..................................................................... 12
PCB Layout Recommendations.................................................... 34
Output Signal Handling............................................................. 12
Analog Interface Inputs ............................................................. 34
Clamping ..................................................................................... 12
Power Supply Bypassing ............................................................ 34
Gain and Offset Control............................................................ 13
PLL ............................................................................................... 34
Sync-on-Green Input ................................................................. 14
Outputs (Both Data and Clocks).............................................. 34
Clock Generation ....................................................................... 14
Digital Inputs .............................................................................. 35
Alternate Pixel Sampling Mode ................................................ 16
Voltage Reference ....................................................................... 35
Timing.......................................................................................... 17
Outline Dimensions ....................................................................... 36
2-Wire Serial Register Map ........................................................... 21
Ordering Guide .......................................................................... 36
2-Wire Serial Control Register Details ........................................ 24
Rev. C | Page 2 of 36
Data Sheet
AD9888
REVISION HISTORY
12/11—Rev. B to Rev. C
Updated Format.................................................................. Universal
Deleted AD9888AKSZ-205 Model .................................. Universal
Changed Maximum Conversion Rate from
205 MSPS to 170 MSPS ............................................ Throughout
Changes to Figure 1 and General Description ..............................1
Deleted AD9888KS-205 Columns, Changes to tDHO Parameter,
Table 1.............................................................................................4
Changes to Output Voltage, Low (VOL) Parameter, Table 1;
Moved Figure 2..............................................................................5
Changes to Table 2 and ESD Caution Section...............................6
Changes to Table 3 ............................................................................8
Changes to Table 4 ............................................................................9
Changes to YUV Clamping Section and to Gain and Offset
Control Section............................................................................13
Changes to Sync-on-Green Input Section and to Figure 8........14
Changes to Table 5 ..........................................................................15
Moved Figure 10, Figure 11, and Figure 12 .................................16
Changes to Captions of Figure 16 Through Figure 25 ...............17
Changes to Table 8 ..........................................................................21
Changes to Chip Identification Section .......................................24
Changes to Table 14 and Table 17 .................................................26
Changes to Address 0x10[7:3]—Sync-on-Green Slicer Threshold
Section and to Address 0x11[7:0]—Sync Separator Threshold
Section ..........................................................................................27
Changes to Address 0x14[6]—Active HSYNC (AHS) Section,
Added Table 29, Changes to Address 0x14[3]—Active
VSYNC (AVS) Section, Added Table 33, Changes to
Table 34.........................................................................................28
Changes to Address 0x15[6]—Output Mode Section and to
Address 0x15[5]—A/B Invert Control (OUTPHASE)
Section ..........................................................................................29
Moved Figure 26..............................................................................31
Moved Figure 27..............................................................................32
Changes to Outputs (Both Data and Clocks) Section................34
Changes to Voltage Reference Section .........................................35
Updated Outline Dimensions........................................................36
Changes to Ordering Guide...........................................................36
3/03—Rev. A to Rev. B
Changes to Specifications ...............................................................2
Changes to Pin Configuration.........................................................4
Changes to Table II .........................................................................11
Changes to Table IV........................................................................11
Changes to Figure 20 ......................................................................16
Changes to Figure 22 ......................................................................17
Changes to Table V .........................................................................17
Changes to Table VI........................................................................20
Changes to Table XIII .....................................................................22
Changes to Clamp Input Signal Source Section..........................22
Changes to Table XXX....................................................................24
Added text to Outputs (Both Data and Clocks) Section ...........29
Updated Outline Dimensions........................................................30
1/02—Rev. 0 to Rev. A.
Change to Title–Part Name .............................................................1
Change to Pin Function Detail, CKINV Section..........................7
Change to Figure 13..........................................................................5
Change to Figure 14........................................................................15
Change to Figure 15........................................................................16
Change to Figure 16........................................................................16
Change to Figure 17........................................................................17
Change to Figure 18 .......................................................................17
Change to Figure 21........................................................................19
Change to Figure 22........................................................................19
7/01—Revision 0: Initial Version
Rev. C | Page 3 of 36
AD9888
Data Sheet
SPECIFICATIONS
VD = 3.3 V, VDD = 3.3 V, ADC clock = maximum conversion rate.
Table 1.
AD9888KSZ-100/-140 1
Parameter
RESOLUTION
DC ACCURACY
Differential Nonlinearity
Integral Nonlinearity
No Missing Codes
ANALOG INPUT
Input Voltage Range
Minimum
Maximum
Gain Temperature Coefficient
Input Bias Current
Input Capacitance
Input Resistance
Input Offset Voltage
Input Full-Scale Matching
Offset Adjustment Range
REFERENCE OUTPUT
Output Voltage
Temperature Coefficient
SWITCHING PERFORMANCE
Maximum Conversion Rate
Minimum Conversion Rate
Clock to Data Skew (tskew)
I2C Timing 2
tBUFF
tSTAH
tDHO
tDAL
tDAH
tDSU
tSTASU
tSTOSU
HSYNC Input Frequency
Maximum PLL Clock Rate
Minimum PLL Clock Rate
PLL Jitter 3
Sampling Phase Temperature
Coefficient
Temp
Test
Level
25°C
Full
25°C
Full
25°C
I
VI
I
VI
I
25°C
25°C
25°C
25°C
Full
Full
Full
Full
Full
Full
I
I
V
IV
IV
V
IV
VI
VI
VI
Full
Full
VI
V
1.20
Full
Full
Full
VI
IV
IV
100/140
Full
Full
Full
Full
Full
Full
Full
Full
Full
Full
Full
25°C
Full
Full
VI
VI
VI
VI
VI
VI
VI
VI
IV
VI
IV
IV
IV
IV
4.7
4.0
250
4.7
4.0
250
4.7
4.0
15
100/140
Min
Typ
8
Max
±0.5
±1.25/−1.0
+1.35/−1.0
±2.0
±2.5
±0.5
AD9888KSZ-170
Min
Typ
8
Max
Unit
Bits
±0.6
+1.25/−1.0
+1.50/−1.0
±2.25
±2.75
LSB
LSB
LSB
LSB
0.5
V p-p
V p-p
ppm/°C
μA
μA
pF
M
mV
% FS
% FS
±0.75
Guaranteed
Guaranteed
0.5
1.0
1.0
100
100
1
2
1
2
3
3
1
1
44
7
2.5
49
90
9.0
53
44
1.25
±50
1.30
1.20
7
2.5
49
90
9.0
53
1.25
±50
1.30
170
10
+1.25
−1.25
110
470
15
Rev. C | Page 4 of 36
10
700
1000
10
+1.25
−1.25
4.7
4.0
250
4.7
4.0
250
4.7
4.0
15
170
110
450
15
10
700
1000
V
ppm/°C
MSPS
MSPS
ns
μs
μs
ns
μs
μs
ns
μs
μs
kHz
MHz
MHz
ps p-p
ps p-p
ps/°C
Data Sheet
AD9888
AD9888KSZ-100/-140 1
Parameter
DIGITAL INPUTS
Input Voltage, High (VIH)
Input Voltage, Low (VIL)
Input Current, High (IIH)
Input Current, Low (IIL)
Input Capacitance
DIGITAL OUTPUTS
Output Voltage, High (VOH)
Output Voltage, Low (VOL)
Duty Cycle
DATACK, DATACK
Output Coding
POWER SUPPLY
Analog Power Supply Voltage (VD)
Output Power Supply Voltage (VDD)
PLL Power Supply Voltage (PVD)
Analog Power Supply Current (ID)
Output Power Supply Current (IDD) 4
PLL Power Supply Current (IPVD)
Total Power Dissipation
Power-Down Supply Current
Power-Down Dissipation
DYNAMIC PERFORMANCE
Analog Bandwidth, Full Power 5
Transient Response
Overvoltage Recovery Time
Signal-to-Noise Ratio (SNR) 6
Without Harmonics, fIN = 40.7 MHz
Crosstalk
THERMAL CHARACTERISTICS
Junction-to-Case Thermal
Resistance (θJC)
Junction-to-Ambient Thermal
Resistance (θJA)
Temp
Full
Full
Full
Full
Full
25°C
Test
Level
Min
Typ
Max
AD9888KSZ-170
Min
Typ
Max
Unit
0.8
−1.0
+1.0
V
V
μA
μA
pF
VI
VI
IV
IV
V
2.5
VI
VI
VD − 0.1
IV
IV
44
49
Binary
55
44
49
Binary
55
%
Full
Full
Full
25°C
25°C
25°C
Full
Full
Full
IV
IV
IV
3.0
2.2
3.0
3.6
3.6
3.6
3.0
2.2
3.0
3.3
3.3
3.3
215
55
9
920
12
40
3.6
3.6
3.6
VI
VI
VI
3.3
3.3
3.3
200
50
8
850
12
40
V
V
V
mA
mA
mA
mW
mA
mW
25°C
25°C
25°C
25°C
Full
Full
V
V
V
IV
V
V
500
2
1.5
45
44
50
Full
Full
Full
Full
Full
2.5
0.8
−1.0
+1.0
3
3
VD − 0.1
V
V
0.1
42
1050
20
66
41
1150
20
66
500
2
1.5
44
43
50
MHz
ns
ns
dB
dB
dBc
V
8.4
8.4
°C/W
V
35
35
°C/W
1
AD9888JS-100 specifications are tested at 100 MHz. AD9888KS-140 specifications are tested at 140 MHz.
See Figure 2.
3
The maximum specifications for the AD9888KS-100 and AD9888KS-140 were obtained with VCO range = 10, charge pump current = 100, PLL divider = 1693. The
maximum specifications for the AD9888KS-170 were obtained with VCO range = 11, charge pump current = 100, PLL divider = 2159.
4
DEMUX = 1, DATACK and DATACK load = 15 pF, data load = 5 pF.
5
Maximum bandwidth setting. Bandwidth can also be programmed to 300 MHz, 150 MHz, or 75 MHz.
6
Using an external pixel clock.
2
SDA
tBUFF
tSTAH
tDHO
tDSU
tSTASU
tSTOSU
tDAL
02442-025
SCL
tDAH
Figure 2. Serial Port Read/Write Timing
Rev. C | Page 5 of 36
AD9888
Data Sheet
ABSOLUTE MAXIMUM RATINGS
EXPLANATION OF TEST LEVELS
Table 2.
Parameter
VD
VDD
Analog Inputs
REF BYBASS
Digital Inputs
Digital Output Current
Operating Temperature Range
Storage Temperature Range
Maximum Junction Temperature
Maximum Case Temperature
Rating
3.6 V
3.6 V
VD to 0.0 V
VD to 0.0 V
5 V to 0.0 V
20 mA
−25°C to +85°C
−65°C to +150°C
150°C
150°C
Stresses above those listed under Absolute Maximum Ratings
may cause permanent damage to the device. This is a stress
rating only; functional operation of the device at these or any
other conditions above those indicated in the operational
section of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect
device reliability.
I.
100% production tested.
II.
100% production tested at 25°C; 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.
ESD CAUTION
Rev. C | Page 6 of 36
Data Sheet
AD9888
DRB6
DRB7
105
104
103
VD
1
REF BYPASS
2
GND
3
100
GND
GND
4
99
GND
VDD
PIN 1
102
VDD
101
GND
RAIN0
5
98
VD
6
97
DGA0
VD
7
96
DGA1
DGA2
RAIN1
8
95
RMIDSCV
9
94
DGA3
VD
10
93
DGA4
GND
11
92
DGA5
SOGIN0
12
91
DGA6
GAIN0
13
90
DGA7
VD
14
89
15
AD9888
VDD
GND
88
16
TOP VIEW
(Not to Scale)
GND
SOGIN1
87
DGB0
DGB1
GAIN1
17
86
VD
18
85
DGB2
GND
19
84
DGB3
BAIN0
20
83
DGB4
VD
21
82
DGB5
GND
22
81
DGB6
DGB7
BAIN1
23
80
BMIDSCV
24
79
VDD
VD
25
78
GND
VD
26
77
DBA0
GND
27
76
DBA1
DBA2
GND
28
75
CKINV
29
74
DBA3
CLAMP
30
73
DBA4
SDA
31
72
DBA5
SCL
32
71
DBA6
A0
33
70
DBA7
VD
34
69
VDD
GND
35
68
GND
GND
36
67
GND
56
57
58
59
60
61
62
63
64
DBB6
DBB5
DBB4
DBB3
DBB2
DBB1
DBB0
55
GND
Rev. C | Page 7 of 36
VDD
54
CKEXT
Figure 3. Pin Configuration
DBB7
52
53
51
PVD
50
FILT
GND
COAST
49
GND
GND
48
45
46
HSYNC0
PVD
44
VSYNC0
47
43
HSYNC1
PVD
41
42
GND
VSYNC1
40
GND
GND
39
66
65
PVD
37
38
GND
VD
PVD
02442-002
DRB4
DRB5
106
DRB2
DRB1
109
DRB3
DRB0
110
107
GND
111
108
DRA7
VDD
DRA6
115
114
112
DRA5
116
113
DRA3
DRA4
117
DRA1
DRA0
120
DRA2
GND
121
118
VDD
122
119
DATACK
DATACK
HSOUT
126
125
123
SOGOUT
127
124
GND
VSOUT
128
PIN CONFIGURATION AND FUNCTION DESCRIPTIONS
AD9888
Data Sheet
Table 3. Complete Pinout List
Pin Type
Mnemonic
Description
Value
Pin No.
Analog Video Inputs
RAIN0
GAIN0
BAIN0
RAIN1
GAIN1
BAIN1
HSYNC0
VSYNC0
SOGIN0
HSYNC1
VSYNC1
SOGIN1
CLAMP
COAST
CKEXT
CKINV
HSOUT
VSOUT
SOGOUT
REF BYPASS
RMIDSCV
BMIDSCV
FILT
VD
Channel 0 Analog Input for Converter R.
Channel 0 Analog Input for Converter G.
Channel 0 Analog Input for Converter B.
Channel 1 Analog Input for Converter R.
Channel 1 Analog Input for Converter G.
Channel 1 Analog Input for Converter B.
Channel 0 Horizontal Sync Input.
Channel 0 Vertical Sync Input.
Channel 0 Sync-on-Green Input.
Channel 1 Horizontal Sync Input.
Channel 1 Vertical Sync Input.
Channel 1 Sync-on-Green Input.
Clamp Input (external CLAMP signal).
PLL Coast Signal Input.
External Pixel Clock Input (to bypass the PLL), or 10 kΩ to ground.
ADC Sampling Clock Invert.
Horizontal Sync Output Clock (phase-aligned with DATACK).
Vertical Sync Output Clock (phase-aligned with DATACK).
Sync-on-Green Slicer Output.
Internal Reference Bypass (bypass with 0.1 μF to ground).
Red Channel Midscale Clamp Voltage Bypass.
Blue Channel Midscale Clamp Voltage Bypass.
Connection for External Filter Components for Internal PLL.
Analog Power Supply.
0.0 V to 1.0 V
0.0 V to 1.0 V
0.0 V to 1.0 V
0.0 V to 1.0 V
0.0 V to 1.0 V
0.0 V to 1.0 V
3.3 V CMOS
3.3 V CMOS
0.0 V to 1.0 V
3.3 V CMOS
3.3 V CMOS
0.0 V to 1.0 V
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
1.25 V ± 10%
3.3 V ± 10%
VDD
Output Power Supply.
3.3 V ± 10%
PVD
PLL Power Supply.
3.3 V ± 10%
GND
Ground.
0V
SDA
SCL
A0
DRA[7:0]
DRB[7:0]
DGA[7:0]
DGB[7:0]
DBA[7:0]
DBB[7:0]
DATACK
DATACK
Serial Port Data I/O.
Serial Port Data Clock.
Serial Port Address Input 1.
Port A Outputs of Converter Red. Bit 7 is the MSB.
Port B Outputs of Converter Red. Bit 7 is the MSB.
Port A Outputs of Converter Green. Bit 7 is the MSB.
Port B Outputs of Converter Green. Bit 7 is the MSB.
Port A Outputs of Converter Blue. Bit 7 is the MSB.
Port B Outputs of Converter Blue. Bit 7 is the MSB.
Data Output Clock.
Data Output Clock Complement.
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
3.3 V CMOS
5
13
20
8
17
23
45
44
12
43
42
16
30
53
54
29
125
127
126
2
9
24
50
1, 6, 7, 10,
18, 21, 25,
26, 34, 37
56, 69, 79,
89, 98, 102,
112, 122
38, 39, 47,
48, 52
3, 4, 11, 15,
19, 22, 27,
28, 35, 36,
40, 41, 46,
49, 51, 55,
65 to 68,
78, 88, 99
to 101,
111, 121,
128
31
32
33
113 to 120
103 to 110
90 to 97
80 to 87
70 to 77
57 to 64
123
124
Sync/Clock Inputs
Sync Outputs
Voltage
Clamp Voltages
PLL Filter
Power Supply
Serial Port
(2-Wire Serial Interface)
Data Outputs
Data Clock Output
Rev. C | Page 8 of 36
Data Sheet
AD9888
Table 4. Pin Function Descriptions
Mnemonic
Inputs
RAIN0
GAIN0
BAIN0
RAIN1
GAIN1
BAIN1
HSYNC0
HSYNC1
VSYNC0
VSYNC1
SOGIN0
SOGIN1
CLAMP
COAST
CKEXT
CKINV
Description
Channel 0 Analog Input for Red.
Channel 0 Analog Input for Green.
Channel 0 Analog Input for Blue.
Channel 1 Analog Input for Red.
Channel 1 Analog Input for Green.
Channel 1 Analog Input for Blue.
These high impedance inputs accept red, green, and blue channel graphics signals, respectively. The six channels are
identical and can be used for any color; 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.
Channel 0 Horizontal Sync Input.
Channel 1 Horizontal Sync Input.
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 the HSYNC input polarity control (Register 0x0E, Bit 6).
Only the leading edge of HSYNC is used by the PLL. The trailing edge is used for clamp timing only. When the HSYNC input
polarity control = 0, the falling edge of HSYNC is used. When the HSYNC polarity control = 1, the rising edge is active. The
input includes a Schmitt trigger for noise immunity, with a nominal input threshold of 1.5 V.
Channel 0 Vertical Sync Input.
Channel 1 Vertical Sync Input.
These are the inputs for vertical sync.
Channel 0 Sync-on-Green Input.
Channel 1 Sync-on-Green Input.
These inputs are provided to assist in processing signals with embedded sync, typically on the green channel. These pins
are 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, these pins produce a noninverting digital output on SOGOUT. This output is usually a composite sync signal,
containing both vertical and horizontal sync information. When not used, these inputs should be left unconnected. For
more details about this function and how it should be configured, see the Sync-on-Green Input section.
External Clamp Input.
This logic input can be used to define the time during which the input signal is clamped to the reference dc level (to
ground for RGB or to midscale for YUV). It should be used when the reference dc level is known to be present on the
analog input channels, typically during a period following HSYNC, called the back porch, when a good black reference is
provided. The CLAMP pin is enabled by setting the external clamp control (Register 0x0F, 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 0x0F, Bit 6).
When not used, this pin should be grounded and the external clamp should be programmed to 0.
Clock Generator Coast Input (optional).
This input can be used to stop the pixel clock generator from synchronizing with HSYNC while continuing to produce a
clock at its current frequency and phase. This is useful when processing signals from sources that fail to produce horizontal
sync pulses during 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 the coast polarity control (Register 0x0F, Bit 3). When this pin
is not used, either ground the pin and program the coast polarity to 1 or tie the pin high (to VD through a 10 kΩ resistor)
and program the coast polarity to 0. The coast polarity register bit defaults to 1 at power-up.
External Clock Input (optional).
This pin can be used to provide an external clock to the AD9888 in place of the clock internally generated from HSYNC. The
external clock is enabled by programming the external clock select bit (Register 0x15, Bit 0) to 1. When an external clock is
used, all other internal functions operate normally. When not used, this pin should be tied through a 10 kΩ resistor to
ground, and the external clock register should be programmed to 0. The clock phase adjustment still operates when an
external clock source is used.
Sampling Clock Inversion (optional).
This pin can be used to invert the pixel sampling clock, which has the effect of shifting the sampling phase 180°. This
supports the alternate pixel sampling mode, wherein higher frequency input signals (up to 410 MSPS) can be captured by
first sampling the odd pixels, and then capturing the even pixels on the subsequent frame. This pin should be used only
during blanking intervals (typically vertical blanking) because it might produce several samples of corrupted data during
the phase shift. When not in use, this pin should be grounded.
Rev. C | Page 9 of 36
AD9888
Mnemonic
Outputs
DRA[7:0]
DRB[7:0]
DGA[7:0]
DGB[7:0]
DBA[7:0]
DBB[7:0]
DATACK,
DATACK
HSOUT
VSOUT
SOGOUT
REF BYPASS
RMIDSCV
BMIDSCV
FILT
Power Supply
VD
VDD
PVD
Data Sheet
Description
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.
Each channel has two ports. When the part is operated in single-channel mode (channel mode bit (Register 0x15, Bit 7) = 0),
all data is 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, where pixels are alternately presented to Port A and Port B of each channel. These appear
simultaneously; two pixels are presented at the time of every second input pixel when the output mode bit (Register 0x15,
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 Port A, and so on. This can be reversed by setting the A/B invert control bit
(Register 0x15, Bit 5) to 1. The delay from the pixel sampling time to the output is fixed. When the sampling time is changed by
adjusting the clock phase adjust register (Register 0x04, Bits[7:3]), the output timing is shifted as well. The DATACK, DATACK,
and HSOUT outputs are also moved; therefore, the timing relationship among the signals is maintained.
Data Output Clock, Data Output Clock Complement.
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 dualchannel mode, the clock frequency is half the pixel frequency, as is the output data frequency. When the sampling time is
changed by adjusting the clock phase adjust register (Register 0x04, Bits[7:3]), the output timing is shifted as well. The data,
DATACK, DATACK, and HSOUT outputs are all moved; therefore, the timing relationship among the signals is maintained.
Either or both signals can be used, depending on the timing mode and interface design used.
Horizontal Sync Output.
This is a reconstructed, 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.
Verical Sync Output.
Sync-on-Green (SOG) Slicer Output.
This pin can be programmed to output either the sync-on-green slicer comparator or an unprocessed but delayed version
of the HSYNC input. See the sync processing block diagram (Figure 27) to view how this pin is connected. Note that other
than slicing off SOG, the output from this pin receives no other additional processing on the AD9888. VSYNC separation is
performed via the sync separator.
Internal Reference Bypass.
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 can be employed instead.
Red Channel Midscale Voltage Bypass.
Blue 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.
External Filter Connection. For proper operation, the internal PLL that generates the pixel clock requires an external filter.
Connect the filter shown in Figure 9 to this pin. For optimal performance, minimize noise and parasitics on this node.
Main Power Supply. These pins supply power to the main elements of the circuit. This supply 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 significant power supply
transients (noise). These supply pins are identified separately from the VD pins; therefore, special care must be taken to
minimize output noise transferred into the sensitive analog circuitry. If the AD9888 is interfacing with lower voltage logic,
VDD can be connected to a lower supply voltage (as low as 2.5 V) for compatibility.
Clock Generator Power Supply.
The most sensitive portion of the AD9888 is the clock generation circuitry. These pins provide power to the PLL generated pixel
clock and help the user design for optimal performance. The designer should provide noise-free power to these pins.
Rev. C | Page 10 of 36
Data Sheet
Mnemonic
GND
Serial Port
(2-Wire)
SDA
SCL
A0
AD9888
Description
Ground.
The ground return for all circuitry on the chip. It is recommended that the AD9888 be assembled on a single solid ground
plane, with careful attention paid to ground current paths.
For a full description of the 2-wire serial register and how it works, refer to the 2-Wire Serial Control Port section.
Serial Port Data I/O.
Serial Port Data Clock.
Serial Port Address Input 1
Rev. C | Page 11 of 36
AD9888
Data Sheet
DESIGN GUIDE
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 for serving as the front end of high performance video scan converters.
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 a
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.
Implemented in a high performance CMOS process, the interface
can capture signals with pixel rates of up to 170 MHz, or of up
to 340 MHz with an alternate pixel sampling mode.
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 920 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 accommodate signals ranging
from 0.5 V p-p to 1.0 V p-p.
Signals are typically brought onto the interface board via a
digital visual interface integrated (DVI-I) connector, a 15-pin
D connector, or BNC connectors. The AD9888 should be
located as close as possible (or as close as is practical) to the
input connector. Signals should be routed via matched
impedance traces (normally 75 Ω) to the IC input pins.
At this 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.
If it were possible to have perfectly matched impedances, the
best performance would be obtained with the widest possible
signal bandwidth. The ultrawide bandwidth inputs of the
AD9888 (500 MHz) would track the input signal continuously
as it moved from one pixel level to the next, and then digitize
the pixel during a long, flat pixel time. In real-world conditions,
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 170 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 170 MHz), a very high analog bandwidth is desirable
because of the fast input signal slew rates. For VGA and lower
47nF
RGB
INPUT
75Ω
RAIN
GAIN
BAIN
02442-003
GENERAL DESCRIPTION
Figure 4. Analog Input Interface Circuit
SYNC PROCESSING OVERVIEW
The AD9888 circuitry enables it to accept composite sync
inputs, such as sync-on-green or the trilevel sync inputs found
in digital TV signals. A complete description of the sync
processing functionality is found in the Sync Slicer and the Sync
Separator sections.
HSYNC AND VSYNC INPUTS
The interface can also accept 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 (that is, by
using an external clock, external clamp, and single port output
mode), but a number of features of the chip will be unavailable;
therefore, 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 graphics systems, the sync signals are simply TTLlevel drivers feeding unshielded wires in the monitor cable.
Therefore, no termination is required or desired.
SERIAL CONTROL PORT
The serial control port is designed for 3.3 V logic. If there are
5 V 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 (VDD). They can also work with a VDD as 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 ADCs.
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
Rev. C | Page 12 of 36
Data Sheet
AD9888
ground, black is at 300 mV, and 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 time when the graphics system
is known to be producing black. An offset is then introduced,
which results in the ADCs producing a black output (Code 0x00)
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. In CRT displays, when the electron beam has completed
writing a horizontal line on the right side of the screen, 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 to begin a
retrace. It is important to avoid clamping on the tip of HSYNC.
Fortunately, there is almost always a period following HSYNC,
called the back porch, when a good black reference is provided.
This is the time when clamping should be performed.
The clamp timing can be established by simply exercising the
CLAMP pin at the appropriate time with external clamp
selected (clamp input signal source bit = 1). The polarity of this
signal is set by the clamp polarity bit (Register 0x0F, Bit 6).
A simpler method of clamp timing employs the AD9888
internal clamp timing generator. The clamp placement register
(Register 0x05) is programmed with the number of pixel times
that should pass after the trailing edge of HSYNC before clamping
begins. A second register (clamp duration, Register 0x06) sets
the duration of the clamp. Both registers are 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
Value 0x08 (providing eight pixel periods for the graphics signal
to stabilize after sync) and set the clamp duration to Value 0x14
(giving the clamp 20 pixel periods to reestablish the black
reference).
YUV Clamping
YUV graphics 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 at the bottom. For
these signals, it might be necessary to clamp to the midscale of
the ADC range (Value 0x80) rather than to the bottom of the
ADC range (Value 0x00).
Clamping to midscale rather than to ground can be accomplished
by setting the clamp select bits in Register 0x10. 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 0x10, Bit 1 and Bit 2. The
midscale reference voltage that each ADC clamps to is provided
independently on the RMIDSCV and BMIDSCV pins. These
two pins should be bypassed to ground using 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;
Register 0x08, Register 0x09, and Register 0x0A, respectively).
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; Register 0x0B, Register 0x0C, and
Register 0x0D, respectively) provide independent settings for
each channel.
The offset controls provide a ±63 LSB adjustment range. This
range is connected with the full-scale range. Therefore, 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 5 illustrates the interaction of gain and offset controls. The
magnitude of an LSB in offset adjustment is proportional to the
full-scale range; therefore, 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.
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 is a significant
amplitude change during a horizontal line time (between clamping
intervals). If the capacitor is too large, it takes an excessively long
time 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.
Rev. C | Page 13 of 36
AD9888
Data Sheet
remain fixed, the slewing and settling times are likewise fixed.
These times must be subtracted from the total pixel period to
determine the stable period. At higher pixel frequencies, both
the total cycle time and stable pixel time are shorter.
OFFSET = 0x7F
OFFSET = 0x3F
INPUT RANGE (V)
1.0
OFFSET = 0x00
PIXEL CLOCK
INVALID SAMPLE TIMES
0.5
OFFSET = 0x7F
OFFSET = 0x3F
0
0x00
0xFF
GAIN
02442-004
OFFSET = 0x00
02442-006
Figure 5. Gain and Offset Control
SYNC-ON-GREEN INPUT
47nF
RAIN[1:0]
47nF
BAIN[1:0]
47nF
SOGINx
02442-005
GAIN[1:0]
1nF
Figure 7. Pixel Sampling Times
Any jitter in the clock reduces the precision with which the
sampling time can be determined, and must be subtracted from
the stable pixel time. The AD9888 clock generation circuit is
designed to minimize jitter to less than 9% of the total pixel
time in all operating modes, making its effect on valid sampling
time negligible (see Figure 8).
14
12
JITTER PEAK-TO-PEAK (%)
The sync-on-green input operates in two steps. First, with the
aid of a negative peak detector, it sets a baseline clamp level from
the incoming video signal. Second, it sets the threshold level
(nominally 150 mV above the negative peak). The exact threshold
level is variable and can be programmed via Register 0x10. The
sync-on-green input must be ac-coupled to the green analog
input through its own capacitor, as shown in Figure 6. The value
of the capacitor must be 1 nF ± 20%. If sync-on-green input is
not used, this connection is not required and the SOGIN pin
should be left unconnected. (Note that the sync-on-green signal
is always negative polarity.) For more details, see the Sync
Processing Overview section.
10
8
6
4
2
02442-007
170.0
162.0
160.0
135.0
94.5
108.0
85.5
78.8
75.0
65.0
56.3
49.5
50.0
40.0
36.0
36.0
31.5
PIXEL CLOCK (MHz)
Figure 8. 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 9.
Recommended settings of VCO range and charge pump current
for VESA standard display modes are listed in Table 5.
The stability of this clock is very important for 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 to a new value. Then, the input voltage is
stable until the signal slews to a new value (see Figure 7). The
ratio of the slewing time to the stable time is a function of the
bandwidth of the graphics DAC, the bandwidth of the transmission system (cable and termination), and the overall pixel
rate. Therefore, if the dynamic characteristics of the system
Rev. C | Page 14 of 36
CP
0.0039µF
PVD
CZ
0.039µF
RZ
3.3kΩ
FILT
Figure 9. PLL Loop Filter Detail
02442-008
A 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
(Register 0x01 and Register 0x02), and the phase is compared
with the HSYNC input. Any error is used to shift the VCO
frequency and maintain lock between the two signals.
31.5
0
CLOCK GENERATION
25.2
Figure 6. Typical Clamp Configuration for RGB/YUV Applications
Data Sheet
AD9888
Table 5. Recommended VCO Range and Charge Pump Current Settings for Standard Display Formats
Standard
VGA
Resolution
640 × 480
SVGA
800 × 600
XGA
1024 × 768
SXGA
1280 × 1024
UXGA
1600 × 1200
QXGA
2048 × 1536
2048 × 1536
480i
480p
720p
1080i
1080p
TV Modes
1
Refresh Rate (Hz)
60
72
75
85
56
60
72
75
85
60
70
75
80
85
64.0
80.0
60
85
60
75
60
60
60
60
60
Horizontal 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
75.0
106.3
96.8
120.0
15.75
31.47
45.0
33.75
33.75
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
162.000
229.500 1
260.0001
315.0001
13.510
27.000
74.250
74.250
148.500
VCO Range
00
00
00
00
00
00
01
01
01
01
01
01
10
10
10
10
11
10
11
11
00
00
01
01
10
Charge Pump Current
010
100
100
100
100
101
011
011
011
100
100
101
011
011
011
100
100
110
100
100
000
011
011
011
011
Graphics sampled at half the incoming pixel rate using alternate pixel sampling mode.
Four programmable registers are provided to optimize the
performance of the PLL:
•
•
Table 6. VCO Frequency Ranges
The 12-bit divisor registers. The input HSYNC frequencies
range from 15 kHz to 110 kHz. The PLL multiplies the
frequency of the HSYNC signal, producing pixel clock
frequencies in the range of 10 MHz to 170 MHz. The
divisor register controls the exact multiplication factor.
This register can be set to any value between 221 and 4095.
(The divide ratio that is actually used is the programmed
divide ratio plus one.)
The 2-bit VCO range register. To lower the sensitivity of
the output frequency to noise on the control signal, the
VCO operating frequency range is divided into four
overlapping regions. The VCO range register sets this
operating range. Because there are just four possible
regions, only the two least significant bits of the VCO
range register are used. The frequency ranges for the
lowest and highest regions are shown in Table 6.
PV1
0
0
1
1
•
PV0
0
1
0
1
Pixel Clock Range (MHz)
10 to 41
41 to 82
82 to 150
150+
KVCO Gain (MHz/V)
150
150
150
180
The 3-bit charge pump current register. This register allows
the current that drives the low-pass loop filter to be varied.
The possible current values are listed in Table 7.
Table 7. Charge Pump Current/Control Bits
Ip2
0
0
0
0
1
1
1
1
Rev. C | Page 15 of 36
Ip1
0
0
1
1
0
0
1
1
Ip0
0
1
0
1
0
1
0
1
Current (μA)
50
100
150
250
350
500
750
1500
The 5-bit phase adjust register. The phase of the generated
sampling clock may be shifted to locate an optimum sampling
point within a clock cycle. The phase adjust register provides
32 phase-shift steps of 11.25° each. The HSYNC signal with
an identical phase shift is available through the HSOUT pin.
Phase adjustment is still available if the pixel clock is being
provided externally. The COAST pin is used to allow the
PLL to continue to run at the same frequency in the absence
of the incoming HSYNC signal. This can be used during the
vertical sync period, or any other time that the HSYNC signal
is unavailable. The polarity of the COAST signal can be set
through the coast polarity register, and the polarity of the
HSYNC signal can be set through the HSYNC polarity
register.
O2 E2 O2 E2 O2 E2 O2 E2 O2 E2 O2 E2
O2 E2 O2 E2 O2 E2 O2 E2 O2 E2 O2 E2
O2 E2 O2 E2 O2 E2 O2 E2 O2 E2 O2 E2
O2 E2 O2 E2 O2 E2 O2 E2 O2 E2 O2 E2
O2 E2 O2 E2 O2 E2 O2 E2 O2 E2 O2 E2
O2 E2 O2 E2 O2 E2 O2 E2 O2 E2 O2 E2
O2 E2 O2 E2 O2 E2 O2 E2 O2 E2 O2 E2
O2 E2 O2 E2 O2 E2 O2 E2 O2 E2 O2 E2
O2 E2 O2 E2 O2 E2 O2 E2 O2 E2 O2 E2
O2 E2 O2 E2 O2 E2 O2 E2 O2 E2 O2 E2
Figure 11. Even Pixels from Frame 2
O1 E1 O1 E1 O1 E1 O1 E1 O1 E1 O1 E1
O1 E1 O1 E1 O1 E1 O1 E1 O1 E1 O1 E1
O1 E1 O1 E1 O1 E1 O1 E1 O1 E1 O1 E1
O1 E1 O1 E1 O1 E1 O1 E1 O1 E1 O1 E1
O1 E1 O1 E1 O1 E1 O1 E1 O1 E1 O1 E1
On one frame, only even pixels are digitized. On the subsequent
frame, odd pixels are sampled. By reconstructing the entire frame
in the graphics controller, a complete image can be reconstructed.
This is similar to the interlacing process employed in broadcast
television systems, but the interlacing is vertical instead of
horizontal. The frame data is still presented to the display at the
full desired refresh rate (usually 60 Hz), so there are no flicker
artifacts added.
O1 E1 O1 E1 O1 E1 O1 E1 O1 E1 O1 E1
O1 E1 O1 E1 O1 E1 O1 E1 O1 E1 O1 E1
O1 E1 O1 E1 O1 E1 O1 E1 O1 E1 O1 E1
O1 E1 O1 E1 O1 E1 O1 E1 O1 E1 O1 E1
O1 E1 O1 E1 O1 E1 O1 E1 O1 E1 O1 E1
02442-010
A Logic 1 input on the clock invert pin (CKINV, Pin 29) inverts
the nominal ADC clock. CKINV can be switched between frames
to implement the alternate pixel sampling mode. This allows
higher effective image resolution to be achieved at lower pixel
rates, but with lower frame rates.
Figure 12. Odd Pixels from Frame 1
O1 E2 O1 E2 O1 E2 O1 E2 O1 E2 O1 E2
O1 E2 O1 E2 O1 E2 O1 E2 O1 E2 O1 E2
O1 E2 O1 E2 O1 E2 O1 E2 O1 E2 O1 E2
O1 E2 O1 E2 O1 E2 O1 E2 O1 E2 O1 E2
O1 E2 O1 E2 O1 E2 O1 E2 O1 E2 O1 E2
O1 E2 O1 E2 O1 E2 O1 E2 O1 E2 O1 E2
O1 E2 O1 E2 O1 E2 O1 E2 O1 E2 O1 E2
O1 E2 O1 E2 O1 E2 O1 E2 O1 E2 O1 E2
O1 E2 O1 E2 O1 E2 O1 E2 O1 E2 O1 E2
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O3 E2 O3 E2 O3 E2 O3 E2 O3 E2 O3 E2
O
E
O
E
O
E
O
E
O
E
O
E
O3 E2 O3 E2 O3 E2 O3 E2 O3 E2 O3 E2
O
E
O
E
O
E
O
E
O
E
O
E
O3 E2 O3 E2 O3 E2 O3 E2 O3 E2 O3 E2
O
E
O
E
O
E
O
E
O
E
O
E
O3 E2 O3 E2 O3 E2 O3 E2 O3 E2 O3 E2
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O
E
O1 E2 O1 E2 O1 E2 O1 E2 O1 E2 O1 E2
02442-012
ALTERNATE PIXEL SAMPLING MODE
02442-009
Figure 13. Combined Frame Output from Graphics
O3 E2 O3 E2 O3 E2 O3 E2 O3 E2 O3 E2
O3 E2 O3 E2 O3 E2 O3 E2 O3 E2 O3 E2
O3 E2 O3 E2 O3 E2 O3 E2 O3 E2 O3 E2
Figure 10. Odd and Even Pixels in a Frame
O3 E2 O3 E2 O3 E2 O3 E2 O3 E2 O3 E2
O3 E2 O3 E2 O3 E2 O3 E2 O3 E2 O3 E2
O3 E2 O3 E2 O3 E2 O3 E2 O3 E2 O3 E2
02442-013
•
Data Sheet
02442-011
AD9888
Figure 14. Subsequent Frame from Controller
Rev. C | Page 16 of 36
Data Sheet
AD9888
use HSYNC to align memory and display write cycles; therefore,
it is important to have a stable timing relationship between the
HSYNC output (HSOUT) and data clock (DATACK).
TIMING
Figure 16 through Figure 25 show the operation of the AD9888
analog interface in all clock modes. The part establishes timing
by sending the pixel corresponding with the leading edge of
HSYNC to the A data port. In dual-channel mode, the next sample
is to the B data port. Subsequent samples are alternated between
the A and B data ports. In single-channel mode, data is sent to the
A data port only, and the B data port is placed in a high impedance
state. The output data clock signal is created so that its rising
edge always occurs between transitions of the A port data and
so that it can be used to latch the output data externally.
Three things happen to horizontal sync in the AD9888. First,
the polarity of HSYNC input is determined and, therefore, has a
known output polarity. The known output polarity can be
programmed either active high or active low (Register 0x0E, Bit 5).
Second, HSOUT is aligned with DATACK and data outputs. Third,
the duration of HSOUT (in pixel clocks) is set via Register 0x07.
HSOUT is the sync signal that should be used to drive the rest
of the display system.
Coast Timing
tPER
In most computer systems, the HSYNC signal is provided
continuously on a dedicated wire. In these systems, the COAST
input and function are unnecessary and should not be used. In
some systems, however, HSYNC is disturbed during the vertical
sync period (VSYNC). In some cases, HSYNC pulses disappear.
In other systems, such as those that use composite sync (Csync)
or embedded sync-on-green (SOG) signals, HSYNC includes
equalization pulses or other distortions during VSYNC. To avoid
upsetting the clock generator during VSYNC, it is important to
ignore these distortions. If the PLL generated pixel clock sees
extraneous pulses, it attempts to lock to this new frequency and
changes frequency by the end of the VSYNC period. It then
requires a few lines of correct HSYNC timing to recover at the
beginning of a new frame, resulting in a “tearing” of the image
at the top of the display.
tDCYCLE
DATACK
DATACK
tSKEW
02442-014
RGB DATA OUTPUT
HSOUT
Figure 15. Output Timing
HSYNC Timing
Horizontal sync is processed in the AD9888 to eliminate
ambiguity in the timing of the leading edge with respect to
the phase-delayed pixel clock and data.
The COAST input pin is provided to eliminate this problem. It
is an asynchronous input that disables the PLL input and holds
the clock at its current frequency. The PLL can operate in this
manner for several lines without significant frequency drift.
The HSYNC input is used as a reference to generate the pixel
sampling clock. To optimize the pixel sampling time, the sampling
phase can be adjusted with respect to HSYNC through a full
360° in 32 steps via the clock phase adjust register. Display systems
RGB INPUT
P0
P1
P2
P3
P4
P5
P6
P7
HSYNC
PXCK
HS
8 PIPELINE DELAY
ADCCK
(INTERNAL)
DATACK
D0
HSOUT
D1
D2
D3
VARIABLE DURATION
Figure 16. Single-Port Mode
Rev. C | Page 17 of 36
D4
02442-015
DOUTA
AD9888
Data Sheet
RGB INPUT
P0 P1 P2 P3 P4 P5 P6 P7
HSYNC
PXCK
HS
8 PIPELINE DELAY
ADCCK
(INTERNAL)
DATACK
D0
HSOUT
D2
D4
D6
02442-016
DOUTA
VARIABLE DURATION
Figure 17. Single-Port Mode, Two Pixels/Clock (Even Pixels)
RGB INPUT
P0 P1 P2 P3 P4 P5 P6 P7
HSYNC
PXCK
HS
8.5 PIPELINE DELAY
ADCCK
(INTERNAL)
DATACK
D1
HSOUT
D3
D7
D5
02442-017
DOUTA
VARIABLE DURATION
Figure 18. Single-Port Mode, Two Pixels/Clock (Odd Pixels)
RGB INPUT
P0
P1
P2
P3
P4
P5
P6
P7
HSYNC
PXCK
HS
7 PIPELINE DELAY
ADCCK
(INTERNAL)
DATACK
D0
DOUTB
D2
D1
HSOUT
D4
D3
VARIABLE DURATION
Figure 19. Dual-Port Mode, Interleaved Outputs
Rev. C | Page 18 of 36
D5
02442-018
DOUTA
Data Sheet
AD9888
RGB INPUT
P0
P1
P2
P3
P4
P5
P6
P7
HSYNC
PXCK
HS
8 PIPELINE DELAY
ADCCK
(INTERNAL)
DATACK
D0
D2
D4
DOUTB
D1
D3
D5
HSOUT
02442-019
DOUTA
VARIABLE DURATION
Figure 20. Dual-Port Mode, Parallel Outputs
RGB INPUT
P0 P1 P2 P3 P4 P5 P6 P7
HSYNC
PXCK
HS
7 PIPELINE DELAY
ADCCK
(INTERNAL)
DATACK
D0
D4
D6
D2
DOUTB
HSOUT
02442-020
DOUTA
VARIABLE DURATION
Figure 21. Dual-Port Mode, Interleaved Outputs, Two Pixels/Clock (Even Pixels)
RGB INPUT
P0 P1 P2 P3 P4 P5 P6 P7
HSYNC
PXCK
HS
7.5 PIPELINE DELAY
ADCCK
(INTERNAL)
DATACK
D5
D1
D3
HSOUT
VARIABLE DURATION
D7
Figure 22. Dual-Port Mode, Interleaved Outputs, Two Pixels/Clock (Odd Pixels)
Rev. C | Page 19 of 36
02442-021
DOUTA
DOUTB
AD9888
Data Sheet
RGB INPUT
P0 P1 P2 P3 P4 P5 P6 P7
HSYNC
PXCK
HS
8 PIPELINE DELAY
ADCCK
(INTERNAL)
DOUTA
D0
D4
DOUTB
D2
D6
HSOUT
02442-022
DATACK
VARIABLE DURATION
Figure 23. Dual-Port Mode, Parallel Outputs, Two Pixels/Clock (Even Pixels)
RGB INPUT
P0 P1 P2 P3 P4 P5 P6 P7
HSYNC
PXCK
HS
6.5 PIPELINE DELAY
ADCCK
(INTERNAL)
DATACK
D1
D5
ROUTA
D3
D7
HSOUT
02442-023
GOUTA
VARIABLE DURATION
Figure 24. Dual-Port Mode, Parallel Outputs, Two Pixels/Clock (Odd Pixels)
RGB INPUT
P0
P1
P2
P3
P4
P5
P6
P7
HSYNC
PXCK
HS
8 PIPELINE DELAY
ADCCK
(INTERNAL)
GOUTA
Y0
Y1
Y2
Y3
Y4
Y5
ROUTA
U0
V0
U2
V2
U4
V4
HSOUT
VARIABLE DURATION
Figure 25. 4:2:2 Output Mode
Rev. C | Page 20 of 36
02442-024
DATACK
Data Sheet
AD9888
2-WIRE SERIAL REGISTER MAP
The AD9888 is initialized and controlled by a set of registers that determine the operating modes. An external controller is employed to
write and read the control registers through the two-line serial interface port.
Table 8. Control Register Map
Hex
Address
0x00
0x01
Read and
Write, or
Read Only
RO
R/W
Bits
[7:0]
[7:0]
01101001
0x02
0x03
R/W
R/W
[7:4]
[7:3]
1101****
01******
Default
Value
Register Name
Chip revision
PLL divider MSB
PLL divider LSB
VCO range
select/charge
pump current
**001***
0x04
R/W
[7:3]
10000***
0x05
R/W
[7:0]
00001000
0x06
0x07
R/W
R/W
[7:0]
[7:0]
00010100
00100000
0x08
R/W
[7:0]
10000000
Clock Phase
adjust
Clamp
placement
Clamp duration
HSYNC output
pulse width
Red gain
0x09
0x0A
0x0B
R/W
R/W
R/W
[7:0]
[7:0]
[7:1]
10000000
10000000
1000000*
Green gain
Blue gain
Red offset
0x0C
0x0D
0x0E
R/W
R/W
R/W
[7:1]
[7:1]
[7:0]
1000000*
1000000*
0*******
Green offset
Blue offset
Sync control
*1******
**0*****
***0****
****0***
*****0**
******0*
*******0
Function
An 8-bit register that represents the silicon revision level.
MSBs (Bits[11:4]) of the PLL divider word. Larger values mean the PLL
operates at a faster rate. This register should be loaded first whenever a
change is needed to allow the PLL more time to lock. 1
LSBs of the PLL divider word.1
Bits[7:6]—VCO range. Selects VCO frequency range. See the Clock
Generation section.
Bits[5:3]—charge pump current. Varies the current that drives the lowpass filter. See the Clock Generation section.
ADC Clock phase adjustment. Larger values mean more delay.
(1 LSB = t/32)
Places the CLAMP signal an integer number of clock periods after the
trailing edge of the HSYNC signal.
Number of clock periods that the CLAMP signal is actively clamping.
Sets the number of pixel clocks that HSOUT remains active.
Controls the ADC input range (contrast) of the red channel. Bigger
values result in less contrast.
Same function as the red gain bits, but for the green channel.
Same function as the red gain bits, but for the blue channel.
Controls dc offset (brightness) of the red channel. Bigger values
decrease brightness.
Same function as the red offset bits, but for the green channel.
Same function as the red offset bits, but for the blue channel.
Bit 7—HSYNC input polarity override. Logic 0 = polarity determined by
chip; Logic 1 = polarity set by Bit 6 in Register 0x0E.
Bit 6—HSYNC input polarity. Indicates to the PLL the polarity of the
incoming HSYNC signal. Logic 0 = active low; Logic 1 = active high.
Bit 5—HSYNC output polarity. Logic 0 = logic high sync; Logic 1 = logic
low sync.
Bit 4—active HSYNC override. Logic 1 = the user can select the HSYNC
to be used via Bit 3; Logic 0 = the active interface is selected via Bit 6 in
Register 0x14.
Bit 3—active HSYNC select. Logic 0 = selects HSYNC as the active sync;
Logic 1 = selects sync-on-green as the active sync. Note that the
indicated HSYNC is used only if Bit 4 is set to Logic 1 or if both syncs are
active (Bit 1 and Bit 7 are set to Logic 1 in Register 0x14).
Bit 2—VSYNC output invert. Logic 0 = invert; Logic 1 = no invert.
Bit 1—active VSYNC override. Logic 1 = the user can select the VSYNC to
be used via Bit 0; Logic 0 = the active interface is selected via Bit 3 in
Register 0x14.
Bit 0—active VSYNC select. Logic 0 = selects raw VSYNC as the output
VSYNC; Logic 1 = selects sync separated VSYNC as the output VSYNC.
Note that the indicated VSYNC is used only if Bit 1 is set to Logic 1.
Rev. C | Page 21 of 36
AD9888
Hex
Address
0x0F
Data Sheet
Read and
Write, or
Read Only
R/W
Bits
[7:1]
Default
Value
0*******
Register Name
*1******
**0*****
***0****
****1***
*****1**
******1*
0x10
R/W
[7:0]
01111***
Sync-on-green
threshold
*****0**
******0*
0x11
R/W
[7:0]
*******0
00100000
0x12
R/W
[7:0]
00000000
Pre-COAST
0x13
R/W
[7:0]
00000000
Post-COAST
0x14
RO
[7:0]
Sync separator
threshold
Sync detect
Function
Bit 7—clamp input signal source. Chooses between HSYNC and another
external signal to be used for clamping. Logic 0 = HSYNC; Logic 1 =
CLAMP.
Bit 6—clamp input signal polarity. Valid only with external CLAMP
signal. Logic 0 = active high; Logic 1 = active low.
Bit 5—coast select. Logic 0 = the COAST input pin is used for the PLL
coast; Logic 1 = VSYNC is used for the PLL coast.
Bit 4—coast input polarity override. Logic 0 = polarity determined by
chip; Logic 1 = polarity set by Bit 3 in Register 0x0F.
Bit 3—coast input polarity. Changes polarity of external COAST signal.
Logic 0 = active low; Logic 1 = active high.
Bit 2—seek mode override. Logic 1 = enable low power mode; Logic 0 =
disable low power mode.
Bit 1—PWRDN. Full chip power-down, active low. Logic 0 = full chip
power-down; Logic 1 = normal.
Bits[7:3]—Sync-on-green threshold. Sets the voltage level of the syncon-green slicer comparator.
Bit 2—red clamp select. Logic 0 = clamp to ground; Logic 1 = clamp to
midscale (voltage at Pin 9).
Bit 1—blue clamp select. Logic 0 = clamp to ground; Logic 1 = clamp to
midscale (voltage at Pin 24).
Bit 0—must be set to 1 for proper operation.
Sync separator threshold. Sets how many internal 5 MHz clock periods
the sync separator counts before toggling high or low. Should be set to
a number greater than the maximum HSYNC or equalization pulse
width.
Pre-COAST. Sets the number of HSYNC periods before which COAST
becomes active prior to VSYNC.
Post-COAST. Sets the number of HSYNC periods before which COAST
stays active following VSYNC.
Bit 7—HSYNC detect. Logic 1 = HSYNC is present on the analog
interface; Logic 0 = HSYNC is not present on the analog interface.
Bit 6—active HSYNC (AHS). This bit indicates which analog HSYNC is
being used. Logic 0 = HSYNC input pin; Logic 1 = HSYNC from sync-ongreen.
Bit 5—detected HSYNC input polarity status. Logic 0 = active low;
Logic 1 = active high.
Bit 4—VSYNC detect. Logic 1 = VSYNC is present on the analog
interface; Logic 0 = VSYNC is not present on the analog interface.
Bit 3—active VSYNC (AVS). This bit indicates which analog VSYNC is
being used. Logic 0 = VSYNC input pin; Logic 1 = VSYNC from sync
separator.
Bit 2—detected VSYNC output polarity status. Logic 0 = active high;
Logic 1 = active low.
Bit 1—sync-on-green detect. Logic 1 = sync is present on the green
video input; Logic 0 = sync is not present on the green video input.
Bit 0—detected coast polarity status. Logic 0 = active low; Logic 1 =
active high.
Rev. C | Page 22 of 36
Data Sheet
Hex
Address
0x15
Read and
Write, or
Read Only
R/W
AD9888
Bits
[7:0]
Default
Value
1*******
Register Name
*1******
**0*****
***0****
****0***
*****11*
*******0
0x16
0x17
0x18
0x19
1
R/W
R/W
RO
RO
[7:0]
[7:3]
[7:0]
[7:0]
11111111
00000000
Test register
Test register
Test register
Test register
Function
Bit 7—channel mode. Determines single-channel or dual-channel output
mode. Logic 0 = single-channel mode; Logic 1 = dual-channel mode.
Bit 6—output mode. Determines interleaved or parallel output mode.
Logic 0 = interleaved mode; Logic 1 = parallel mode.
Bit 5—A/B invert control. Determines which port outputs the first data
byte after HSYNC. Logic 0 = A port; Logic 1 = B port.
Bit 4—4:2:2 output formatting mode select. Logic 0 = 4:4:4 output formatting mode; Logic 1 = 4:2:2 output formatting mode.
Bit 3—input mux control. Logic 0 = Channel 0 selected; Logic 1 = Channel 1
selected
Bits [2:1]—analog bandwidth control. Logic 00 = 75 MHz; Logic 01 =
150 MHz; Logic 10 = 300 MHz; Logic 11 = 500 MHz.
Bit 0—external clock select. Shuts down PLL and allows external clock
to drive the part. Logic 0 = use internal PLL; Logic 1 = bypassing of the
internal PLL.
Must be set to 11111110 for proper operation.
Must be set to default for proper operation.
The AD9888 updates the PLL divide ratio only when the LSBs of the PLL divider are written to in Register 0x02.
Rev. C | Page 23 of 36
AD9888
Data Sheet
2-WIRE SERIAL CONTROL REGISTER DETAILS
Address 0x00[7:0]—Chip Revision
The PLL output divisor is automatically selected with the VCO
range setting.
An 8-bit register that represents the silicon revision.
Table 9. VCO Ranges Settings
PLL DIVIDER CONTROL
VCO Range Select Setting
00
01 (default)
10
11
CHIP IDENTIFICATION
Address 0x01[7:0]—PLL Divide Ratio MSBs
The eight MSBs of the 12-bit PLL divide ratio (PLLDIV). The
operational divide ratio is PLLDIV + 1.
Data Clock Range (MHz)
10 to 41
41 to 82
82 to 150
150+
The PLL derives a master clock from an incoming HSYNC signal.
The master clock frequency is then divided by an integer value,
such that the output is phase locked to HSYNC. This PLLDIV
value determines the number of pixel times (pixels plus horizontal
blanking overhead) per line. This is typically 20% to 30% more
than the number of active pixels in the display.
Address 0x03[5:3]—Charge Pump Current
The 12-bit value of the PLL divider supports divide ratios from
2 to 4095. The higher the value loaded in this register, the higher
the resulting clock frequency with respect to a fixed HSYNC
frequency.
Charge Pump Current Setting
000
001 (default)
010
011
100
101
110
111
VESA has established standard timing specifications that assist in
determining the value for PLLDIV as a function of horizontal and
vertical display resolution and frame rate (see Table 5). However,
many computer systems do not conform precisely to the recommendations, and these numbers should be used only as a guide.
The display system manufacturer should provide automatic or
manual means for optimizing PLLDIV. An incorrectly set PLLDIV
usually produces one or more vertical noise bars on the display.
The greater the error, the greater the number of bars produced.
The power-up default value of PLLDIV is 1693 (PLLDIVM = 0x69,
PLLDIVL = 0xDx).
The AD9888 updates the full divide ratio only when the LSBs are
changed. Writing to this register by itself does not trigger an update.
Address 0x02[7:4]—PLL Divide Ratio LSBs
The four LSBs of the 12-bit PLL divide ratio (PLLDIV). The
operational divide ratio is PLLDIV + 1.
The power-up default value of PLLDIV is 1693 (PLLDIVM = 0x69,
PLLDIVL = 0xDx).
The AD9888 updates the full divide ratio only when this register is
written to.
CLOCK GENERATOR CONTROL
Address 0x03[7:6]—VCO Range Select
Two bits that establish the operating range of the clock generator.
The VCO range must be set to correspond with the desired
operating frequency (incoming pixel rate).
Three bits that establish the current driving the loop filter in the
clock generator. These bits must be set to correspond with the
desired operating frequency (incoming pixel rate).
Table 10. Charge Pump Current Settings
Current (mA)
50
100
150
250
350
500
750
1500
Address 0x04[7:3]—Clock Phase Adjust
A 5-bit value that adjusts the sampling phase in 32 steps across one
pixel time. Each step represents an 11.25° shift in sampling phase.
The power-up default value is 16.
CLAMP TIMING
Address 0x05[7:0]—Clamp Placement
An 8-bit register that sets the position of the internally
generated clamp.
When the external clamp control bit is set to 0, a CLAMP signal is
generated internally after the trailing edge of HSYNC at a position
(in pixel periods) established by the clamp placement bits and
for a duration (in pixel periods) set by the clamp duration bits.
The clamp placement can be programmed to any value up to
255, except 0.
The clamp should be placed during a time when the input
signal presents a stable black level reference, usually the back
porch period between HSYNC and the image.
When the external clamp control bit is set to 1, this register is
ignored.
Address 0x06[7:0]—Clamp Duration
The PLL provides the best jitter performance at high frequencies.
To output low pixel rates while minimizing jitter, the PLL operates
at a higher frequency and then divides down the clock rate afterwards. Table 9 shows the pixel rates for each VCO range setting.
An 8-bit register that sets the duration of the internally
generated clamp.
When the external clamp control bit is set to 0, a CLAMP signal is
generated internally after the trailing edge of HSYNC at a position
Rev. C | Page 24 of 36
Data Sheet
AD9888
(in pixel periods) established by the clamp placement bits and
for a duration (in pixel periods) set by the clamp duration bits.
The clamp duration can be programmed to any value between 1
and 255. A value of 0 is not supported.
For the best results, the clamp duration should be set to include
the majority of the black reference signal time that follows the
HSYNC signal trailing edge. Insufficient clamping time can
produce brightness changes at the top of the screen and a slow
recovery from large changes in the average picture level (APL),
or brightness.
When the external clamp control bit is set to 1, this register is
ignored.
HSYNC PULSE WIDTH
Address 0x07[7:0]—HSYNC Output Pulse Width
An 8-bit register that sets the duration of the HSYNC output pulse.
The leading edge of the HSYNC output is triggered by the
internally generated, phase-adjusted PLL feedback clock. The
AD9888 then counts a number of pixel clocks equal to the value
in this register. This triggers the trailing edge of the HSYNC
output, which is also phase adjusted.
INPUT GAIN
Address 0x08[7:0]—Red Channel Gain Adjust (Red Gain)
adjustment scales as the gain of the channel changes. A nominal
setting of 63 results in the channel nominally clamping to Code 00
during the back porch clamping interval. An offset setting of 127
results in the channel clamping to Code 64 of the ADC. An offset
setting of 0 clamps to Code −63. Increasing the value of red
offset decreases the brightness of the channel. The same
functionality also applies to the green and blue channel offset
adjust bits.
Address 0x0C[7:1]—Green Channel Offset Adjust
(Green Offset)
A 7-bit offset binary word that sets the dc offset of the green
channel (see the Address 0x0B[7:1]—Red Channel Offset
Adjust (Red Offset) section for more information).
Address 0x0D[7:1]—Blue Channel Offset Adjust
(Blue Offset)
A 7-bit offset binary word that sets the dc offset of the blue
channel (see the Address 0x0B[7:1]—Red Channel Offset
Adjust (Red Offset) section for more information).
SYNC CONTROL
Address 0x0E[7]—HSYNC Input Polarity Override
This register is used to override the internal circuitry that
determines the polarity of the HSYNC signal going into the PLL.
Table 11. HSYNC Input Polarity Override Settings
An 8-bit word that sets the gain of the red channel.
The AD9888 can accommodate input signals with a full-scale range
between 0.5 V p-p and 1.0 V p-p. Setting red gain to 255 corresponds to an input range of 1.0 V p-p. A red gain of 0 establishes
an input range of 0.5 V p-p. Note that increasing red gain results
in the picture having less contrast because the input signal uses
fewer of the available converter codes (see Figure 5). The same
functionality also applies to the green and blue channel gain
adjust bits.
Address 0x09[7:0]—Green Channel Gain Adjust
(Green Gain)
An 8-bit word that sets the gain of the green channel (see the
Address 0x08[7:0]—Red Channel Gain Adjust (Red Gain)
section for more information).
Address 0x0A[7:0]—Blue Channel Gain Adjust (Blue Gain)
An 8-bit word that sets the gain of the blue channel (see the
Address 0x08[7:0]—Red Channel Gain Adjust (Red Gain)
section for more information).
HSYNC Input Polarity
Override Setting
0 (default)
1
Function
HSYNC polarity is determined by chip.
HSYNC polarity is determined by user.
Address 0x0E[6]—HSYNC Input Polarity
This bit must be set to indicate the polarity of the HSYNC
signal that is applied to the PLL HSYNC input.
Table 12. HSYNC Input Polarity Settings
HSYNC Input Polarity
Setting
0
1 (default)
Function
Active low
Active high
Active low means that the leading edge of the HSYNC pulse is
negative-going and, therefore, timing is based on the leading
edge of HSYNC, which is the falling edge. The rising edge has
no effect.
Active high means that the leading edge of the HSYNC pulse is
positive-going and, therefore, timing is based on the leading
edge of HSYNC, which is the rising edge.
INPUT OFFSET
Address 0x0B[7:1]—Red Channel Offset Adjust
(Red Offset)
A 7-bit offset binary word that sets the dc offset of the red channel.
One LSB of offset adjustment equals approximately one LSB change
in the ADC offset. Therefore, the absolute magnitude of the offset
Although the device can operate if this bit is set incorrectly, the
internally generated clamp position, as established by the clamp
placement (Register 0x05), will not be placed as expected, which
may generate clamping errors.
Rev. C | Page 25 of 36
AD9888
Data Sheet
Address 0x0E[5]—HSYNC Output Polarity
Address 0x0E[0]—Active VSYNC Select
This bit determines the polarity of the HSYNC output and the
SOG output (see Table 13).
This bit is used to select the active VSYNC when the override
bit (Register 0x0E, Bit 1) is set.
Table 13. HSYNC Output Polarity Settings
Table 18. Active VSYNC Select Settings
HSYNC Output Polarity Setting
0 (default)
1
Active VSYNC Select Setting
0 (default)
1
Function
Logic 1 (positive polarity)
Logic 0 (negative polarity)
Function
VSYNC input
Sync separator output
Address 0x0E[4]—Active HSYNC Override
INPUT CONTROL
This bit is used to override the automatic HSYNC selection. To
initiate this override, set this bit to Logic 1. When overriding the
automatic HSYNC selection, the active HSYNC is set via Bit 3
in this register.
Address 0x0F[7]—Clamp Input Signal Source
Table 14. Active HSYNC Override Settings
Active HSYNC Override Setting
0 (default)
1
Function
Bit 6 in Register 0x14 determines the active interface.
Override, Bit 3 determines
the active interface.
Address 0x0E[3]—Active HSYNC Select
This bit is used under two conditions. It is used to select the
active HSYNC when the override bit (Register 0x0E, Bit 4) is
set. Alternatively, it is used to determine the active HSYNC
when the override bit is not set but both HSYNCs are detected.
This bit determines the source of clamp timing.
Table 19. Clamp Input Signal Source Settings
Clamp Input Signal Source Setting
0 (default)
1
Function
Internally generated
clamp
Externally provided
clamp signal
A 0 enables the clamp timing circuitry controlled by clamp
placement and clamp duration. The clamp position and
duration is counted from the trailing edge of HSYNC.
A 1 enables the external CLAMP input pin. The three channels are
clamped when the CLAMP signal is active. The polarity of CLAMP
is determined by the clamp input signal polarity bit (Register 0x0F,
Bit 6).
Table 15. Active HSYNC Select Settings
Address 0x0F[6]—Clamp Input Signal Polarity
Active HSYNC Select Setting
0 (default)
1
This bit determines the polarity of the externally provided
CLAMP signal.
Function
HSYNC input
Sync-on-green input
Table 20. Clamp Input Signal Polarity Settings
Address 0x0E[2]—VSYNC Output Invert
This bit inverts the polarity of the VSYNC output (see Table 16).
Table 16. VSYNC Output Polarity Settings
VSYNC Output Invert Setting
0 (default)
1
Function
Invert
Do not invert
A Logic 0 means the circuit clamps when CLAMP is high and
passes the signal to the ADC when CLAMP is low.
This bit is used to override the automatic VSYNC selection. To
initiate this override, set this bit to Logic 1. When overriding
the automatic VSYNC selection, the active interface is set via
Bit 0 in this register.
Table 17. Active VSYNC Override Settings
1
Function
Active high
Active low
A Logic 1 means the circuit clamps when CLAMP is low and
passes the signal to the ADC when CLAMP is high.
Address 0x0E[1]—Active VSYNC Override
Active VSYNC Override Setting
0 (default)
CLAMP Input Signal Polarity Setting
0
1 (default)
Function
Bit 3 in Register 0x14 determines the active VSYNC.
Override, Bit 0 determines
the active VSYNC.
Address 0x0F[5]—Coast Select
This bit is used to select the active coast source. The choices are
the COAST input pin or VSYNC. If VSYNC is selected, users
must decide whether to use the VSYNC input pin or the output
from the sync separator (Register 0x0E, Bit 1 and Bit 0).
Table 21. Coast Source Selection Settings
Coast Select Setting
0 (default)
1
Rev. C | Page 26 of 36
Function
COAST input pin
VSYNC (must choose
VSYNC input pin or
output from sync
separator)
Data Sheet
AD9888
Address 0x0F[4]—Coast Input Polarity Override
Address 0x10[7:3]—Sync-on-Green Slicer Threshold
This bit is used to override the internal circuitry that determines
the polarity of the COAST signal going into the PLL.
These bits allow the comparator threshold of the sync-on-green
slicer to be adjusted. The threshold can be adjusted in steps of
10 mV, with a minimum setting of 10 mV and a maximum
setting of 330 mV.
Table 22. Coast Input Polarity Override Settings
Coast Input Polarity
Override Setting
0 (default)
1
Function
Coast polarity is determined by chip.
Coast polarity is determined by user.
Address 0x10[2]—Red Clamp Select
This bit determines whether the red channel is clamped to
ground or to midscale. For RGB video, all three channels are
referenced to ground. For YCbCr (or YUV), the Y channel is
referenced to ground, but the CbCr channels are referenced to
midscale. Clamping to midscale clamps to Pin 9.
Address 0x0F[3]—Coast Input Polarity
This bit indicates the polarity of the COAST signal that is
applied to the PLL coast input.
Table 23. Coast Input Polarity Settings
Coast Input Polarity
Setting
0
1 (default)
The default setting is 01111, which corresponds to a threshold
value of 0.16 V.
Table 26. Red Clamp Select Settings
Function
Active low
Active high
Active low means that the clock generator ignores HSYNC
inputs when COAST is low and continues operating at the same
nominal frequency until COAST goes high.
Active high means that the clock generator ignores HSYNC
inputs when COAST is high and continues operating at the
same nominal frequency until COAST goes low.
Red Clamp Select Setting
0 (default)
1
Function
Clamp to ground
Clamp to midscale (Pin 9)
Address 0x10[1]—Blue Clamp Select
This bit determines whether the blue channel is clamped to
ground or to midscale. Clamping to midscale clamps to Pin 24.
Table 27. Blue Clamp Select Settings
This function needs to be used along with the coast polarity
override bit (Bit 4).
Blue Clamp Select Setting
0 (default)
1
Address 0x0F[2]—Seek Mode Override
Address 0x11[7:0]—Sync Separator Threshold
This bit is used to either enable or disable the low power mode.
The low power mode (seek mode) occurs when there are no
signals on any of the sync inputs.
These bits are used to set the responsiveness of the sync separator.
The bits set how many internal 5 MHz clock periods the sync
separator must count before toggling high or low. This functions
like a low-pass filter to ignore HSYNC pulses to extract the VSYNC
signal. The bits should be set to a number greater than the maximum HSYNC pulse width. The sync separator threshold uses an
internal dedicated clock with a frequency of approximately 5 MHz.
Table 24. Seek Mode Override Settings
Seek Mode Override
Setting
0
1 (default)
Function
Disable seek mode
Enable seek mode
The default for this register is 0x20.
Address 0x12[7:0]—Pre-COAST
Address 0x0F[1]—PWRDN
This bit is used to put the chip into power-down mode. In this
mode, the power dissipation of the chip is reduced to a fraction
of the typical power (see the specifications in Table 1 for exact
power dissipation). When the chip is in power-down mode, the
HSOUT, VSOUT, DATACK, DATACK, and all 48 of the data
outputs are put into a high impedance state. Note that the
SOGOUT output is not put into high impedance. Circuit blocks
that continue to be active during power-down mode include the
voltage references, sync processing, sync detection, and the serial
register. These blocks facilitate a fast startup from power-down.
Table 25. PWRDN Settings
PWRDN Setting
0
1 (default)
Function
Clamp to ground
Clamp to midscale (Pin 24)
These bits allow the COAST signal to be applied prior to the
VSYNC signal. This is necessary in cases where preequali
zation pulses are present. The step size for this control is one
HSYNC period.
The default is 0.
Address 0x13[7:0]—Post-COAST
This register allows the COAST signal to be applied after the
VSYNC signal. This is necessary in cases where postequalization pulses are present. The step size for this control is one
HSYNC period.
The default setting for each of these bits is 0.
Function
Power-down
Normal operation
Rev. C | Page 27 of 36
AD9888
Data Sheet
Address 0x14[7]—HSYNC Detect
Address 0x14[4]—VSYNC Detect
This bit indicates when activity is detected on the selected
HSYNC input pin. If HSYNC is held high or low, activity is not
detected.
This bit is used to indicate when activity is detected on the
selected VSYNC input pin. If VSYNC is held high or low,
activity is not detected.
Table 28. HSYNC Detection Results
Table 32. VSYNC Detection Status
HSYNC Detect Setting
0
1
VSYNC Detect Setting
0
1
Function
No activity detected
Activity detected
Function
No activity detected
Activity detected
The sync processing block diagram (Figure 27) shows where
this function is implemented.
The sync processing block diagram (Figure 27) shows where
this function is implemented.
Address 0x14[6]—Active HSYNC (AHS)
Address 0x14[3]—Active VSYNC (AVS)
This bit indicates which horizontal sync input source (HSYNC
or SOG) is used by the PLL (see Table 29). When AHS is 0, the
HSYNC pin is used. When AHS is 1, the SOG pin is used.
This bit indicates which VSYNC source is being used: the
VSYNC input or the output from the sync separator. When AVS
is 1, the sync separator is used. When AVS is 0, the VSYNC
input is used.
Determine which source is active by using Bit 7 and Bit 1 in this
register. Bit 7 indicates when activity is detected on HSYNC,
and Bit 1 indicates when activity is detected on SOG. If activity
is detected on both HSYNC and SOG, the user can determine
which has priority via Bit 3 in Register 0x0E. The user can
override the function of AHS via Bit 4 in Register 0x0E. If the
override bit is set to Logic 1, AHS is forced to the state that Bit 3
is set to in Register 0x0E.
Table 29. Active HSYNC Settings
Active HSYNC Setting
1
0
Function
SOG pin is used for HSYNC input
HSYNC pin is used for HSYNC input
Table 30. Active HSYNC Results
Bit 7 in 0x14
(HSYNC Detect)
0
Bit 1 in 0x14
(SOG Detect)
0
Bit 4 in 0x0E
(Override)
0
0
1
1
1
0
1
0
0
0
X1
X1
1
1
Table 33. Active VSYNC Settings
Active VSYNC Setting
1
0
Function
The sync separator is used
The VSYNC input is used
Table 34. Active VSYNC Results
AHS
N/A (use
Bit 3 in 0x0E)
1
0
N/A (use
Bit 3 in 0x0E)
N/A (use
Bit 3 in 0x0E)
X = don’t care.
Address 0x14[5]—Detected HSYNC Input Polarity Status
This bit reports the status of the HSYNC input polarity detection
circuit. It can be used to determine the polarity of the HSYNC
input. The location of the detection circuit is shown in the sync
processing block diagram (Figure 27).
Bit 4 in 0x14
(VSYNC Detect)
0
1
X1
1
Bit 1 in 0x14
(SOG Detect)
0
1
X1
Function
HSYNC polarity is negative.
HSYNC polarity is positive.
Bit 1 in 0x0E
(Override)
0
0
1
AVS
1
0
N/A (use
Bit 0 in 0x0E)
X = don’t care.
Address 0x14[2]—Detected VSYNC Output Polarity
Status
This bit indicates the status of the VSYNC output polarity
detection circuit and can be used to determine the polarity of
the VSYNC input. The location of the detection circuit is shown
in the sync processing block diagram (Figure 27).
Table 35. Detected VSYNC Input Polarity Status
Detected VSYNC Output Polarity
Status Setting
0
Table 31. Detected HSYNC Input Polarity Status
Detected HSYNC Input Polarity
Status Setting
0
1
Determine which source is active by using Bit 4 and Bit 1 in this
register. Bit 4 indicates when activity is detected on VSYNC,
and Bit 1 indicates when activity is detected on SOG. If activity
is detected on both VSYNC and SOG, the user can determine
which has priority via Bit 0 in Register 0x0E. The user can
override the function of AVS via Bit 1 in Register 0x0E. If the
override bit is set to Logic 1, AVS is forced to the state that Bit 0
is set to in Register 0x0E.
1
Rev. C | Page 28 of 36
Function
VSYNC polarity is active
high.
VSYNC polarity is active
low.
Data Sheet
AD9888
Address 0x14[1]—Sync-on-Green Detect
Address 0x15[5]—A/B Invert Control (OUTPHASE)
This bit indicates when sync activity is detected on the selected
sync-on-green input pin.
This bit determines whether even pixels or odd pixels go to Port A.
Table 36. Sync-on-Green Detection Status
A/B Invert Control Setting
0 (default)
1
Sync-on-Green Detect Setting
0
1
Function
No activity detected
Activity detected
Address 0x14[0]—Detected Coast Polarity Status
This bit reports the status of the coast input polarity detection
circuit and can be used to determine the polarity of the coast
input. The location of the detection circuit is shown in Figure 27.
Table 37. Detected Coast Input Polarity Status
When OUTPHASE = 1, these ports are reversed and the first
sample goes to Port B.
When DEMUX = 0, this bit is ignored because data always
comes out of only Port A.
Address 0x15[4]—4:2:2 Output Mode Select
Function
Coast polarity is negative.
Coast polarity is positive.
MODE CONTROL 1
Address 0x15[7]—Channel Mode (DEMUX)
This bit determines whether all pixels are presented to a single
port (Port A) or if pixels are alternately demultiplexed to Port A
and Port B.
Table 38. Output Port Mode Settings
Channel Mode Setting
0
1 (default)
First Pixel after HSYNC
Port A
Port B
In normal operation (OUTPHASE = 0) when operating in dualport output mode (DEMUX = 1), the first sample after the HSYNC
leading edge is presented at Port A. Every subsequent odd sample
goes to Port A. All even samples go to Port B.
The sync processing block diagram (Figure 27) shows where
this function is implemented.
Detected Coast Polarity
Status Setting
0
1
Table 40. A/B Invert Control Settings
Function
All data goes to Port A.
Pixels are alternately presented to
Port A and Port B.
This bit configures the output data in 4:2:2 mode. This mode can
be used to reduce the number of data lines used from 24 to 16
for applications using YUV, YCbCr, or YPbPr graphics signals.
A timing diagram for this mode is shown in Figure 25. Recommended input and output configurations are shown in Table 42.
In 4:2:2 mode, the red and blue channels can be interchanged to
help satisfy board layout or timing requirements, but the green
channel must be configured for Y.
Table 41. 4:2:2 Output Mode Select Settings
4:2:2 Output Mode Select
Setting
0 (default)
1
Output Mode
4:4:4
4:2:2
Table 42. 4:2:2 Input/Output Configuration
When DEMUX = 0, Port B outputs are in a high impedance
state. The maximum data rate for single-port mode is 110 MHz.
The timing diagrams in Figure 16 to Figure 18 show the effects
of this option.
Channel
Red
Green
Blue
Address 0x15[6]—Output Mode
Address 0x15[3]—Input Mux Control
This bit determines whether all pixels are presented to Port A
and Port B simultaneously upon every second DATACK rising
edge or if pixels are alternately presented to Port A and Port B
upon successive DATACK rising edges.
This bit selects analog inputs from either Channel 0 or
Channel 1.
Table 39. Output Mode Settings
Output Mode Setting
0
1 (default)
Function
Data is interleaved.
Data is simultaneous on every
other data clock.
Input Connection
V
Y
U
Output Format
U/V
Y
High impedance
Table 43. Input Mux Control Settings
Input Mux Control Setting
0 (default)
1
When in single-port mode (DEMUX = 0), this bit is ignored.
When in dual-port mode, the Figure 19 to Figure 24 timing
diagrams show the effects of this option.
Rev. C | Page 29 of 36
Channel Selected
Channel 0
Channel 1
AD9888
Data Sheet
Address 0x15[2:1]—Analog Bandwidth Control
Address 0x15[0]—External Clock Select
These bits select the analog bandwidth.
This bit determines the source of the pixel clock.
Table 44. Analog Bandwidth Control Settings
Table 45. External Clock Select Settings
Analog Bandwidth Control
Setting
00
01
10
11 (default)
External Clock Select Setting
0 (default)
1
Analog Bandwidth
75 MHz
150 MHz
300 MHz
500 MHz
Function
Internally generated clock
Externally provided clock signal
A Logic 0 enables the internal PLL that generates the pixel clock
from an externally provided HSYNC.
A Logic 1 enables the external CKEXT input pin. In this mode,
the PLL divide ratio (PLLDIV) is ignored. The clock phase adjust
register is still functional.
Rev. C | Page 30 of 36
Data Sheet
AD9888
2-WIRE SERIAL CONTROL PORT
A 2-wire serial control interface is provided. Up to two AD9888
devices can be connected to the 2-wire serial interface, with
each device having a unique address.
DATA TRANSFER VIA SERIAL INTERFACE
The 2-wire serial interface comprises a clock (SCL) and a
bidirectional data (SDA) pin. The AD9888 acts as a slave for
receiving and transmitting data over the serial interface. When
the serial interface is not active, the logic levels on SCL and SDA
are pulled high by external pull-up resistors.
If the AD9888 does not acknowledge the master device during a
write sequence, the SDA remains high so that the master can
generate a stop signal. If the master device does not acknowledge
the AD9888 during a read sequence, the AD9888 interprets this
as being the end of data. The SDA remains high so that the
master can generate a stop signal.
Data received or transmitted on the SDA line must be stable for
the duration of the positive-going SCL pulse. Data on SDA must
change only when SCL is low. If SDA changes state while SCL is
high, the serial interface interprets the action as a start or stop
sequence.
There are five components to serial bus operation:
•
•
•
•
•
Start signal
Slave address byte
Base register address byte
Data byte to read or write
Stop signal
The first eight bits of data transferred after a start signal compose
a 7-bit slave address (the first seven bits) and a single R/W bit
(the eighth bit). The R/W bit indicates the direction of data
transfer—that is, whether data is being read from (R/W = 1) or
written to (R/W = 0) the slave device. If the transmitted slave
address matches the address of the device (set by the state of the
A0 input pin; see Table 46), the AD9888 acknowledges this by
bringing SDA low on the ninth SCL pulse. If the addresses do
not match, the AD9888 does not send an acknowledgment.
Table 46. Serial Port Addresses
BIT 7
BIT 6
BIT 5
Bit 5
A4
0
0
BIT 4
Bit 4
A3
1
1
BIT 3
BIT 2
Bit 3
A2
1
1
BIT 1
Bit 2
A1
0
0
BIT 0
Bit 1
A0
0
1
ACK
02442-026
SDA
Bit 6
A5
0
0
Writing data to a control register of the AD9888 requires writing
to its 8-bit address after the slave address is established. This
control register address is the base address for subsequent write
operations. The base address autoincrements by 1 for each byte
of data written after the data byte intended for the base address.
If more bytes are transferred than there are available addresses,
the address does not increment and remains at its maximum
value of 0x19. Any base address higher than 0x19 does not
produce an acknowledge signal.
Data are read from the control registers of the AD9888 in a
similar manner. Reading requires two data transfer operations.
When the serial interface is inactive (SCL and SDA are high),
communications are initiated by sending a start signal. The start
signal is a high-to-low transition on SDA while SCL is high.
This signal alerts all slaved devices that a data transfer sequence
is imminent.
Bit 7 (MSB)
A6
1
1
For each byte of data read or written, the MSB is the first bit of
the sequence.
SCL
Figure 26. Serial Interface—Typical Byte Transfer
The base address must be written with the R/W bit of the slave
address byte low to set up a sequential read operation.
Reading (with the R/W bit of the slave address byte high) begins
at the previously established base address. The address of the
read register autoincrements after each byte is transferred.
To terminate a read/write sequence to the AD9888, a stop signal
must be sent. A stop signal comprises a low-to-high transition
of SDA while SCL is high.
A repeated start signal occurs when the master device driving the
serial interface generates a start signal without first generating a
stop signal to terminate the current communication. This is used to
change the mode of communication (read or write) between the
slave and master without releasing the serial interface lines.
Serial Interface Read/Write Examples
Write to One Control Register
1.
2.
3.
4.
5.
Start signal
Slave address byte (R/W bit = low)
Base address byte
Data byte to base address
Stop signal
Write to Four Consecutive Control Registers
1.
2.
3.
4.
5.
6.
Rev. C | Page 31 of 36
Start signal
Slave address byte (R/W bit = low)
Base address byte
Data byte to base address
Data byte to (base address + 1)
Data byte to (base address + 2)
AD9888
Data byte to (base address + 3)
Stop signal
SYNC PROCESSING
Figure 27 shows the sync processing block diagram, and Table 47
provides information related to serial register controls.
Read from One Control Register
1.
2.
3.
4.
5.
6.
7.
Start signal
Slave address byte (R/W bit = low)
Base address byte
Start signal
Slave address byte (R/W bit = high)
Data byte from base address
Stop signal
Table 47. Control of the Sync Block Muxes via the
Serial Register
Read from Four Consecutive Control Registers
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Start signal
Slave address byte (R/W bit = low)
Base address byte
Start signal
Slave address byte (R/W bit = high)
Data byte from base address
Data byte from (base address + 1)
Data byte from (base address + 2)
Data byte from (base address + 3)
Stop signal
Serial Bus
Control Bit
0x0E, Bit 3
Control Bit
State
0
1
3
0x0F, Bit 5
4
0x0E, Bit 0
0
1
0
1
5
0x15, Bit 3
0
1
SYNC SLICER
ACTIVITY
DETECT
NEGATIVE PEAK
CLAMP
SOGIN0
Mux
Number(s)
1 and 2
Result
Pass HSYNC signal
Pass sync-on-green
signal
Pass coast signal
Pass VSYNC signal
Pass VSYNC signal
Pass sync separator
signal
Pass Channel 0
inputs
Pass Channel 1
inputs
SYNC SEPARATOR
COMP
SYNC
INTEGRATOR
1/S
SOGIN1
VSYNC
MUX 1
MUX 5
HSYNC0
SOGOUT
HSYNC1
MUX 5
PLL
ACTIVITY
DETECT
POLARITY
DETECT
HSOUT
HSYNC
CLOCK
GENERATOR
MUX 2
PIXEL CLOCK
COAST
COAST
MUX 3
POLARITY
DETECT
AD9888
VSYNC0
VSOUT
VSYNC1
MUX 5
ACTIVITY
DETECT
POLARITY
DETECT
MUX 4
Figure 27. Sync Processing Block Diagram
Rev. C | Page 32 of 36
02442-027
7.
8.
Data Sheet
Data Sheet
AD9888
SYNC SLICER
The purpose of the sync slicer is to extract the sync signal from
the green graphics channel. A sync signal is not present on all
graphics signals, only those with sync-on-green. The sync signal
is extracted from the green channel in a two-step process. First,
the SOG input is clamped to its negative peak (typically 0.3 V
below the black level). Next, the signal goes to a comparator
with a variable trigger level, nominally 0.15 V above the clamped
level. The “sliced” sync is typically a composite sync signal
containing both HSYNC and VSYNC.
SYNC SEPARATOR
A sync separator extracts the VSYNC signal from a composite sync
signal by using a low-pass filter-like or integrator-like operation.
It works on the idea that the VSYNC signal stays active for a much
longer time than the HSYNC signal. Therefore, the sync separator
rejects any signal shorter than a threshold value, which is somewhere between an HSYNC pulse width and a VSYNC pulse width.
The sync separator on the AD9888 is an 8-bit digital counter
with a 5 MHz clock. It works independently of the polarity of
the composite sync signal. Polarities are determined elsewhere
on the chip. The basic idea is that the counter counts up when
HSYNC pulses are present. Because HSYNC pulses are relatively
short in width, the counter only reaches a value of N before the
pulse ends. It then starts counting down, eventually reaching 0
before the next HSYNC pulse arrives. The specific value of N varies
among video modes, but is always less than 255. For example, with
a 1 μs width HSYNC, the counter reaches only 5 (1 μs/200 ns = 5).
When VSYNC is present on the composite sync, the counter
also counts up. However, because the VSYNC signal is much
longer, the counter reaches a higher number, M. For most video
modes, M is at least 255. Therefore, VSYNC can be detected on
the composite sync signal by detecting when the counter counts
to higher than N. The specific count that triggers detection (T)
can be programmed through the serial register (Address 0x0F).
After VSYNC is detected, there is a similar process to detect when
it becomes inactive. Upon detection, the counter first resets to 0,
and then starts counting up when VSYNC disappears. Similar to
the previous case, the sync separator detects the absence of VSYNC
when the counter reaches the threshold count (T). In this way,
the sync separator rejects noise and/or serration pulses. After
VSYNC is detected to be absent, the counter resets to 0 and begins
the cycle again.
Rev. C | Page 33 of 36
AD9888
Data Sheet
PCB LAYOUT RECOMMENDATIONS
The AD9888 is a high precision, high speed analog device. To
optimize its performance, it is important to have a well laid out
board. This section provides guidelines for designing a board
using the AD9888.
ANALOG INTERFACE INPUTS
Using the following layout techniques on the graphics inputs is
extremely important.
Minimize the trace length running into the graphics inputs by
placing the AD9888 as close as possible to the graphics (VGA)
connector. Long input trace lengths are undesirable because they
pick up more noise from the board and other external sources.
Place the 75 Ω termination resistors (see Figure 4) as close as
possible to the AD9888 chip. Any additional trace length between
the termination resistors and the input of the AD9888 increases the
magnitude of reflections, which corrupts the graphics signal.
Use 75 Ω matched impedance traces. Trace impedances other
than 75 Ω increase the chance of reflections.
The AD9888 has very high input bandwidth (500 MHz).
Although this is desirable for acquiring a high resolution PC
graphics signal with fast edges, it means that the device also
captures any high frequency noise present. Therefore, it is
important to reduce the amount of noise coupled to the inputs.
Avoid running any digital traces near the analog inputs.
The AD9888 can digitize graphics signals over a very wide range of
frequencies (10 MHz to 170 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 170 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.
POWER SUPPLY BYPASSING
It is recommended to bypass each power supply pin with a
0.1 μF capacitor. The exception is when two or more supply
pins are adjacent to each other. For these groupings of powers/
grounds, it is necessary to have only one bypass capacitor. The
fundamental idea is to have a bypass capacitor within about 0.5 cm
of each power pin. In addition, avoid placing the capacitor on
the side of the PC board opposite from the AD9888 because this
interposes resistive vias in the path.
The bypass capacitors should be physically located between the
power plane and the power pin. Current should flow from the
power plane to the capacitor to the power pin. Do not make the
power connection between the capacitor and the power pin.
Placing a via underneath the capacitor pads, down to the power
plane, is generally the best approach.
It is particularly important to maintain low noise and good stability
of PVD (the PLL, VCO supply). Abrupt changes in PVD can result
in similarly abrupt changes in sampling clock phase and frequency.
This can be avoided by careful regulation, filtering, and bypassing.
It is highly desirable to provide separate, regulated supplies for
each of the analog circuitry groups, VD and PVD.
Some graphics controllers use substantially different levels of
power when active (during active picture time) and when idle
(during horizontal and vertical sync periods). This can result in
a measurable change in the voltage supplied to the analog supply
regulator, which can in turn produce changes in the regulated
analog supply voltage. This can be mitigated by regulating the
analog supply, or at least PVD, from a different, cleaner power
source, for example, from a 12 V supply.
It is also recommended to use a single ground plane for the entire
board. Experience shows that the noise performance is the same
or better with a single ground plane. Using multiple ground planes
can be detrimental because each separate ground plane is smaller,
and long ground loops can result.
In some cases, using separate ground planes is unavoidable. For
these cases, it is recommended to at least place a single ground
plane under the AD9888. The location of the split should be at
the receiver of the digital outputs, making it even more important
to place components wisely because the current loops will be
much longer, and current takes the path of least resistance. The
following is an example of a current loop signal path: power plane
to AD9888 to digital output trace to digital data receiver to
digital ground plane to analog ground plane.
PLL
Place the PLL loop filter components as close as possible to the
FILT pin. Do not place any digital or other high frequency trace
near these components. Use the values suggested in the data
sheet with 10% tolerances or less.
OUTPUTS (BOTH DATA AND CLOCKS)
Try to minimize the trace length that the digital outputs must
drive. Longer traces have higher capacitance, requiring more
current and causing more internal digital noise. Shorter traces
reduce the possibility of reflections.
Adding a series resistor with a value of 22 Ω to 100 Ω can suppress
reflections, reduce EMI, and reduce the current spikes inside the
AD9888. However, if 50 Ω traces are used on the PCB, the data
output should not need these resistors.
A 22 Ω resistor on the DATACK output should provide good
impedance matching that reduces reflections. If series resistors are
used, place them as close as possible to the AD9888 pins, but
avoid adding vias or extra length to the output trace.
Rev. C | Page 34 of 36
Data Sheet
AD9888
If possible, limit the capacitance that each of the digital outputs
drives to less than 10 pF. This can easily be accomplished by
keeping traces short and connecting the outputs to only one
device. Loading the outputs with excessive capacitance increases
the current transients inside of the AD9888, creating more
digital noise on its power supplies.
DIGITAL INPUTS
Any noise in the HSYNC input trace produces jitter in the
system. Therefore, minimize the trace length, and do not run
any digital or other high frequency trace near it.
VOLTAGE REFERENCE
The voltage reference should be bypassed with a 0.1 μF
capacitor. Place it as close as possible to the REF BYPASS pin.
Make the ground connection as short as possible.
The digital inputs on the AD9888 were designed to work with
3.3 V signals, but are tolerant of 5.0 V signals. Therefore, no
extra components are needed when using 5.0 V logic.
Rev. C | Page 35 of 36
AD9888
Data Sheet
OUTLINE DIMENSIONS
17.45
17.20
16.95
1.03
0.88
0.73
14.20
14.00
13.80
3.40
MAX
128
1
103
102
SEATING
PLANE
20.20
20.00
19.80
TOP VIEW
(PINS DOWN)
10°
6°
2°
2.90
2.70
2.50
VIEW A
0.23
0.11
38
39
64
7°
0°
0.50
0.25
23.45
23.20
22.95
0.10
COPLANARITY
0.50 BSC
LEAD PITCH
65
0.27
0.17
LEAD WIDTH
VIEW A
ROTATED 90° CCW
Figure 28. 128-Lead Metric Quad Flat Package [MQFP]
(S-128-1)
Dimensions shown in millimeters
ORDERING GUIDE
Model 1
AD9888KSZ-100
AD9888KSZ-140
AD9888KSZ-170
1
Temperature Range
0°C to 70°C
0°C to 70°C
0°C to 70°C
Package Description
128-Lead MQFP
128-Lead MQFP
128-Lead MQFP
Z = RoHS Compliant Part.
©2001–2011 Analog Devices, Inc. All rights reserved. Trademarks and
registered trademarks are the property of their respective owners.
D02442-0-12/11(C)
Rev. C | Page 36 of 36
Package Option
S-128-1
S-128-1
S-128-1
Similar pages