AD9985
Rev. 0 | Page 27 of 32
Data is read from the control registers of the AD9985 in a
similar manner. Reading requires two data transfer operations:
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 (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 AD9985, 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 communi-
cation. This is used to change the mode of communication
(read, write) between the slave and master without releasing the
serial interface lines.
Serial Interface Read/Write Examples
Write to one control register
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
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)
Data Byte to (Base Address + 3)
Stop Signal
Read from one control register
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
Read from four consecutive control registers
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
BIT 7
ACKBIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0SDA
CL
04799-0-014
Figure 13. Serial Interface—Typical Byte Transfer
AD9985
Rev. 0 | Page 28 of 32
SYNC STRIPPER
ACTIVITY
DETECT
NEGATIVE PEAK
CLAMP
COMP
SYNC
SOG
HSYNC IN
ACTIVITY
DETECT
MUX 2
HSYNC OUT
PIXEL CLOCK
MUX 1
SYNC SEPARATOR
INTEGRATOR
VSYNC
SOG OUT
HSYNC OUT
VSYNC OUT
MUX 4
VSYNC IN
1/S
PLL
HSYNC
ACTIVITY
DETECT
AD9985
CLOCK
GENERATOR
POLARITY
DETECT
POLARITY
DETECT
POLARITY
DETECT
MUX 3
COAST
COAST
04799-0-0015
Figure 14. Sync Processing Block Diagram
Table 43. Control of the Sync Block Muxes via the Serial Register
Serial Bus Control
Mux No. Control Bit Bit State Result
1 and 2 0EH: Bit 3 0 Pass Hsync
1 Pass Sync-on-Green
3 0FH: Bit 5 0 Pass Coast
1 Pass Vsync
4 0EH: Bit 0 0 Pass Vsync
1 Pass Sync Separator Signal
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 systems, 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. It does this through 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,
so it rejects any signal shorter than a threshold value, which is
somewhere between an Hsync pulsewidth and a Vsync
pulsewidth.
The sync separator on the AD9985 is simply 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. But since 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 will vary for different video modes, but will always
be less than 255. For example, with a 1 µs width Hsync, the
counter will only reach 5 (1 µs/200 ns = 5). When Vsync is
present on the composite sync, the counter will also count up.
However, since the Vsync signal is much longer, it will count to
a higher number M. For most video modes, M will be at least
255. So, 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 (11H).
Once Vsync has been detected, there is a similar process to
detect when it goes inactive. At detection, the counter first resets
to 0, then starts counting up when Vsync goes away. Similar to
the previous case, it will detect the absence of Vsync when the
counter reaches the threshold count (T). In this way, it will
reject noise and/or serration pulses. Once Vsync is detected to
be absent, the counter resets to 0 and begins the cycle again.
AD9985
Rev. 0 | Page 29 of 32
PCB LAYOUT RECOMMENDATIONS
The AD9985 is a high precision, high speed analog device. As
such, to get the maximum performance from the part, it is
important to have a well laid out board. The following is a guide
for designing a board using the AD9985.
ANALOG INTERFACE INPUTS
Using the following layout techniques on the graphics inputs is
extremely important.
Minimize the trace length running into the graphics inputs.
This is accomplished by placing the AD9985 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 3) as close to
the AD9985 chip as possible. Any additional trace length
between the termination resistors and the input of the AD9985
increases the magnitude of reflections, which will corrupt the
graphics signal.
Use 75 Ω matched impedance traces. Trace impedances other
than 75 Ω will also increase the chance of reflections.
The AD9985 has very high input bandwidth (500 MHz). While
this is desirable for acquiring a high resolution PC graphics
signal with fast edges, it means that it will also capture any high
frequency noise present. Therefore, it is important to reduce the
amount of noise that gets coupled to the inputs. Avoid running
any digital traces near the analog inputs.
Due to the high bandwidth of the AD9985, low-pass filtering
the analog inputs can sometimes help to reduce noise. (For
many applications, filtering is unnecessary.) Experiments have
shown that placing a series ferrite bead prior to the 75 Ω
termination resistor is helpful in filtering out excess noise.
Specifically, the part used was the #2508051217Z0 from Fair-
Rite, but each application may work best with a different bead
value. Alternately, placing a 100 Ω to 120 Ω resistor between the
75 Ω termination resistor and the input coupling capacitor can
also be beneficial.
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. Also, avoid placing the capacitor on
the opposite side of the PC board from the AD9985, as that
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 PV
D
(the clock generator supply). Abrupt changes in
PV
D
can result in similarly abrupt changes in sampling clock
phase and frequency. This can be avoided by careful attention to
regulation, filtering, and bypassing. It is highly desirable to
provide separate regulated supplies for each of the analog
circuitry groups (V
D
and PV
D
).
Some graphic 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 PV
D
, 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 has repeatedly shown 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
those cases, it is recommended to at least place a single ground
plane under the AD9985. The location of the split should be at
the receiver of the digital outputs. For this case it is even more
important to place components wisely because the current
loops will be much longer (current takes the path of least
resistance). An example of a current loop is shown in Figure 15.
A
N
A
L
O
G
G
R
O
U
N
D
P
L
A
N
E
P
O
W
E
R
P
L
A
N
E
A
D
9
8
8
3
A
D
I
G
I
T
A
L
O
U
T
P
U
T
T
R
A
C
E
D
I
G
I
T
A
L
G
R
O
U
N
D
P
L
A
N
E
D
I
G
I
T
A
L
D
A
T
A
R
E
C
E
I
V
E
R
04799-0-016
Figure 15. Current Loop

AD9985ABSTZ-110

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Display Interface IC b-free8-bit analog intrfce; added filte
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union