AD9956
Rev. A | Page 20 of 32
MODES OF OPERATION
DDS MODES OF OPERATION
Single-Tone Mode
This is the default mode of operation for the DDS core. The
phase accumulator runs at a fixed frequency, as per the active
profiles tuning word. Likewise, any phase offset applied to the
signal is a static value, which comes from the phase offset word
of the active profile. The device has eight different phase/fre-
quency profiles, each with its own 48-bit frequency tuning word
and 14-bit phase offset word. Profiles are selected by applying
their digital value on the profile-select pins (PS2, PS1, and PS0).
It is impossible to use the phase offset of one profile and the
frequency tuning word of another.
Linear Sweep Mode
This mode is entered by setting the linear sweep enable bit in
the control register (CFR1<17> = 1) but leaving the linear
sweep no dwell bit clear (CFR1<16> = 0). When the part is in
linear sweep mode, the frequency accumulator ramps the
output frequency of the device from a programmed lower
frequency to a programmed upper frequency or from the upper
frequency to the lower frequency. The lower frequency is set by the
frequency tuning word stored in Profile 0, and the upper frequency
is set by the frequency tuning word stored in Profile 1.
The combinational logic within the frequency accumulator
requires that the value stored at FTW0 must always be less than
the value stored in FTW. The direction of the sweep (sweep up
to FTW1, sweep down to FTW0) is controlled by the PS0 pin. A
high state on this pin tells the part to sweep up to FTW1. A low
state on this pin tells the part to sweep down to FTW0. The
frequency accumulator requires four values, which are stored in
the register map. First, it requires an incremental frequency
value that tells the frequency accumulator how big of a fre-
quency step to take each time it takes a step when ramping up.
This value is stored in the rising delta frequency tuning word
(RDFTW). The second value required is the rate at which the
frequency accumulator should increment, that is, how often it
should take a step. This value is stored in the rising sweep ramp
rate word (RSRR). The RSRR value specifies the number of
SYNC_CLK cycles the frequency accumulator should count
between steps. The third and fourth values are the falling ramp
equivalents, the falling delta frequency tuning word (FDFTW)
and the falling sweep ramp rate (FSRR).
When operating in the linear sweep default mode, combina-
tional logic ensures that the part never ramps up past FTW1,
even if the next RDFTW increments the frequency past FTW1.
Once it reaches FTW1, as long as the PS0 pin stays high, the
frequency remains at FTW1. Likewise, the internal logic ensures
that the part never ramps down past FTW0, even if the next
RDFTW increments the frequency past FTW0. During a sweep
down (PS0 = 0), once the part reaches FTW0, as long as the PS0
pin stays low, the frequency remains at FTW0.
If a sweep is interrupted and the state of the PS0 pin is changed
during the midst of a sweep, the part begins sweeping in the
new direction at the rate dictated by the relevant delta fre-
quency tuning word and sweep ramp rate word. For example, if
the part is programmed to sweep from 100 MHz to 140 MHz
and to take 1 kHz steps every 1000 sync clock cycles (rising and
falling sweep words are the same), it would take four seconds to
complete a sweep. If the PS0 has been low for a very long time
(more than four seconds), changing the PS0 pin to high starts a
sweep up to 140 MHz. If after two seconds (not enough time for
a full sweep in this example) the PS0 pin is brought low again,
the part begins sweeping down from the current value, roughly
120 MHz.
Linear Sweep No Dwell Mode
This mode is entered by setting the linear sweep enable bit and
the linear sweep no dwell bit in the control register
(CFR<17:16> =1). When the part is in linear sweep no dwell
mode, the frequency accumulator ramps the output frequency
of the device from a programmed lower frequency to a pro-
grammed upper frequency. Upon reaching the upper frequency,
the accumulator returns to the lower frequency directly, without
ramping back down. Unlike the default mode of the linear
sweep, this mode uses only the rising delta frequency tuning
word (RDFTW) and the rising sweep ramp rate (RSRR). The
operation is still controlled by the PS0 pin. In this mode, how-
ever, it acts as a trigger for the sweep, not a direction bit. Once a
PS0 low-to-high transition is detected, the part completes the
entire sweep, regardless of whether or not the PS0 pin is
changed back to low during the sweep. After the sweep is com-
pleted, another sweep may be initiated by applying another
rising edge on the PS0 pin. This means that the PS0 pin needs to
be brought low prior to the next sweep.
SYNCHRONIZATION MODES FOR MULTIPLE DEVICES
In a DDS system, the SYNC_CLK is derived internally off the
master system clock, SYSCLK, with a ÷4 divider. Because the
divider does not power up to a known state, it is possible for
multiple devices in a system to have staggered clock-phase
relationships. This is because each device could potentially gen-
erate the SYNC_CLK rising edge from any one of four rising
edges of SYSCLK. This ambiguity can be resolved by employing
digital synchronization logic to control the phase relationships
of the derived clocks among different devices in the system. It is
important to note that the synchronization functions included
on the AD9956 control only the timing relationships among
different digital clocks. They do not compensate for the analog
timing skew on the system clock due to mismatched phase
relationships on the input clock, REFCLK. Figure 28 illustrates
this concept.
AD9956
Rev. A | Page 21 of 32
Automatic Synchronization
In automatic synchronization mode, the device is placed into
slave mode and automatically aligns the internal SYNC_CLK to
a master SYNC_CLK signal, supplied on the SYNC_IN input.
When this bit is enabled, the PLL_LOCK is not available as an
output, however, an out-of-lock condition can be detected by
reading Control Function Register 1 and checking the status of
the PLL_LOCK_ERROR bit, CFR1<24>. The automatic
synchronization function is enabled by setting the Control
Function Register 1 automatic synchronization bit, CFR1<3>.
To employ this function at higher clock rates (SYNC_CLK >
62.5 MHz and SYSCLK > 250 MHz), the high speed sync
enable bit (CFR1<0>) should be set as well.
Manual Synchronization, Hardware Controlled
In this mode, the user controls the timing relationship of the
SYNC_CLK with respect to SYSCLK. When hardware manual
synchronization is enabled, the PLL_LOCK/ SYNC_IN pin
becomes a digital input. For each and every rising edge detected
on the SYNC_IN input, the device advances the SYNC_IN
rising edge by one SYSCLK period. When this bit is enabled, the
PLL_LOCK is not available as an output. However, an out-of-
lock condition can be detected by reading Control Function
Register 1 and checking the status of the PLL Lock Error bit,
CFR1<24>. This synchronization function is enabled by setting
the hardware manual synchronization enable bit, CFR1<1>.
Manual Synchronization, Software Controlled
In this mode, the user controls the timing relationship between
SYNC_CLK and SYSCLK through software programming.
When the software manual synchronization bit (CFR1<2>) is
set high, the SYNC_CLK is advanced by one SYSCLK cycle.
Once this operation is complete, the bit is cleared. The user can
set this bit repeatedly to advance the SYNC_CLK rising edge
multiple times. Because the operation does not use the
PLL_LOCK/ SYNC_IN pin as a SYNC_IN input, the
PLL_LOCK signal can be monitored on the PLL_LOCK pin
during this operation.
SYSCLK DUT 1
SYNC CLK
DUT1
SYNC CLK DUT2 WITHOUT
SYNC_CLK ALIGNED
SYSCLK DUT 2
SYNCHRONIZATION FUNCTIONS CAN ALIGN DIGITAL CLOCK
RELATIONSHIPS, THEY CANNOT DESKEW THE EDGES OF CLOCKS
SYNC CLK DUT2 WITH
SYNC_CLK ALIGNED
01
2
30
012
3
3
04806-0-003
Figure 28. Synchronization Functions: Capabilities and Limitations
AD9956
Rev. A | Page 22 of 32
SERIAL PORT OPERATION
An AD9956 serial data-port communication cycle has two
phases. Phase 1 is the instruction cycle, which is the writing of
an instruction byte to the AD9956, coincident with the first
eight SCLK rising edges. The instruction byte provides the
AD9956 serial port controller with information regarding the
data transfer cycle, which is Phase 2 of the communication cycle.
The Phase 1 instruction byte defines whether the upcoming data
transfer is read or write and the serial address of the
register being accessed.
The first eight SCLK rising edges of each communication cycle
are used to write the instruction byte into the AD9956. The
remaining SCLK edges are for Phase 2 of the communication
cycle. Phase 2 is the actual data transfer between the AD9956
and the system controller. The number of bytes transferred
during Phase 2 of the communication cycle is a function of the
register being accessed. For example, when accessing Control
Function Register 2, which is four bytes wide, Phase 2 requires that
four bytes be transferred. If accessing a frequency tuning word,
which is six bytes wide, Phase 2 requires that six bytes be
transferred. After transferring all data bytes per the instruction,
the communication cycle is completed.
At the completion of any communication cycle, the AD9956
serial port controller expects the next eight rising SCLK edges
to be the instruction byte of the next communication cycle. All
data input to the AD9956 is registered on the rising edge of
SCLK. All data is driven out of the AD9956 on the falling edge
of SCLK. Figure 29 through Figure 32 are useful in understand-
ing the general operation of the AD9956 serial port.
04806-0-004
I
6
I
5
I
4
I
3
I
2
I
1
D
5
D
4
D
3
D
2
D
1
D
0
I
0
D
7
D
6
I
7
INSTRUCTION CYCLE
S
CL
K
S
DI/O
DATA TRANSFER CYCLE
CS
Figure 29. Serial Port Write Timing—Clock Stall Low
04806-0-005
I
6
I
5
I
4
I
3
I
2
I
1
I
0
DON'T CAREI
7
INSTRUCTION CYCLE
S
CL
K
S
DI/O
DATA TRANSFER CYCLE
D
O 5
D
O 4
D
O 3
D
O 2
D
O 1
D
O 0
D
O 7
D
O 6
SDO
CS
Figure 30. 3-Wire Serial Port Read Timing—Clock Stall Low
04806-0-006
I
6
I
5
I
4
I
3
I
2
I
1
D
5
D
4
D
3
D
2
D
1
D
0
I
0
D
7
D
6
I
7
INSTRUCTION CYCLE
S
CL
K
S
DI/O
DATA TRANSFER CYCLE
CS
Figure 31. Serial Port Write Timing—Clock Stall High
04806-0-007
I
6
I
5
I
4
I
3
I
2
I
1
D
O 5
D
O 4
D
O 3
D
O 2
D
O 1
D
O 0
I
0
D
O 7
D
O 6
I
7
INSTRUCTION CYCLE
S
CL
K
S
DI/O
DATA TRANSFER CYCLE
CS
Figure 32. 2-Wire Serial Port Read Timing—Clock Stall High

AD9956YCPZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Data Acquisition ADCs/DACs - Specialized 400 MSPS 14-Bit 1.8V CMOS
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet