
AD9852
–28–
REV. 0
Instruction Byte
The instruction byte contains the following information.
Table VIII. Instruction Byte Information
MSB
D6
D5
D4
D3
D2
D1
LSB
R/
W
X
X
X
A3
A2
A1
A0
R/
W
—Bit 7 of the instruction byte determines whether a read or
write data transfer will occur after the instruction byte write. Logic
high indicates read operation. Logic zero indicates a write operation.
Bits 6, 5, and 4 of the instruction byte are don’t care.
A3, A2, A1, A0—Bits 3, 2, 1, 0 of the instruction byte determine
which register is accessed during the data transfer portion of the
communications cycle. See Table VIII for register address details.
SERIAL INTERFACE PORT PIN DESCRIPTION
SCLK
Serial Clock (Pin 21). The serial clock pin is used to synchronize
data to and from the AD9852 and to run the internal state
machines. SCLK maximum frequency is 10 MHz.
CS
Chip Select (Pin 22). Active low input that allows more than
one device on the same serial communications lines. The SDO
and SDIO pins will go to a high impedance state when this
input is high. If driven high during any communications cycle,
that cycle is suspended until
CS
is reactivated low. Chip Select
can be tied low in systems that maintain control of SCLK.
SDIO
Serial Data I/O (Pin 19). Data is always written into the AD9852
on this pin. However, this pin can be used as a bidirectional
data line. The configuration of this pin is controlled by Bit 0 of
register address 20h. The default is logic zero, which configures
the SDIO pin as bidirectional.
SDO
Serial Data Out (Pin 18). Data is read from this pin for proto-
cols that use separate lines for transmitting and receiving data.
In the case where the AD9852 operates in a single bidirectional
I/O mode, this pin does not output data and is set to a high
impedance state.
IO RESET
Synchronize I/O Port (Pin 17). Synchronizes the I/O port state
machines without affecting the addressable registers contents.
An active high input on IO RESET pin causes the current commu-
nication cycle to terminate. After IO RESET returns low (Logic
0) another communication cycle may begin, starting with the
instruction byte write.
NOTES ON SERIAL PORT OPERATION
The AD9852 serial port configuration bits reside in Bits 1 and 0
of register address 20h. It is important to note that the con-
figuration changes
immediately
upon a valid I/O update. For
multibyte transfers, writing this register may occur during the
middle of a communication cycle. Care must be taken to com-
pensate for this new configuration for the remainder of the
current communication cycle.
The system must maintain synchronization with the AD9852 or
the internal control logic will not be able to recognize further
instructions. For example, if the system sends the instruction to
write a 2-byte register, then pulses the SCLK pin for a 3-byte
register (24 additional SCLK rising edges), communication
synchronization is lost. In this case, the first 16 SCLK rising edges
after the instruction cycle will properly write the first two data
bytes into the AD9852, but the next eight rising SCLK edges
are interpreted as the next instruction byte, NOT the final byte
of the previous communication cycle.
In the case where synchronization is lost between the system and
the AD9852, the IO RESET pin provides a means to reestablish
synchronization without reinitializing the entire chip. Asserting
the IO RESET pin (active high) resets the AD9852 serial port state
machine, terminating the current IO operation and putting the
device into a state in which the next eight SCLK rising edges
are understood to be an instruction byte. The SYNC IO pin
must be deasserted (low) before the next instruction byte write can
begin. Any information that had been written to the AD9852
registers during a valid communication cycle prior to loss of
synchronization will remain intact.
CS
SCLK
SDIO
t
PRE
t
DSU
t
SCLKPWH
t
SCLKPWL
t
SCLK
t
DHLD
2ND BIT
1ST BIT
SYMBOL
T
PRE
T
SCLK
T
DSU
T
SCLKPWH
T
SCLKPWL
T
DHLD
MIN
30ns
100ns
30ns
40ns
40ns
0ns
DEFINITION
CS
SETUP TIME
PERIOD OF SERIAL DATA CLOCK
SERIAL DATA SETUP TIME
SERIAL DATA CLOCK PULSEWIDTH HIGH
SERIAL DATA CLOCK PULSEWIDTH LOW
SERIAL DATA HOLD TIME
Figure 53. Timing Diagram for Data Write to AD9852
t
DV
1ST BIT
2ND BIT
SDIO
SDO
SCLK
CS
SYMBOL
T
DV
MAX
30ns
DEFINITION
DATA VALID TIME
Figure 54. Timing Diagram for Read from AD9852