
AD9854
–28–
REV. 0
Serial Port I/O Operation
With the S/P SELECT pin tied low, the serial I/O mode is active.
The AD9854 serial port is a flexible, synchronous, serial com-
munications port allowing easy interface to many industry-standard
microcontrollers and microprocessors. The serial I/O is compat-
ible with most synchronous transfer formats, including both the
Motorola 6905/11 SPI and Intel 8051 SSR protocols. The inter-
face allows read/write access to all twelve registers that configure
the AD9854 and can be configured as a single pin I/O (SDIO)
or two unidirectional pins for in/out (SDIO/SDO). Data transfers
are supported in most significant bit (MSB) first format or least
significant bit (LSB) first format at up to 10 MHz.
When configured for serial I/O operation, most pins from the
AD9854 parallel port are inactive; some are used for the serial
I/O. Table VI describes pin requirements for serial I/O.
Table VI. Serial I/O Pin Requirements
Pin
Number
Pin
Name
Serial I/O Description
1, 2, 3, 4,
5, 6, 7, 8
14, 15, 16
D[7:0]
The parallel data pins are not active, tie
to VDD or GND.
The parallel address Pins A5, A4, A3
are not active, tie to VDD or GND.
IO RESET
SDO
SDIO
Update Clock. Same functionality for
Serial Mode as Parallel Mode.
SCLK
CSB—Chip Select
A[5:3]
17
18
19
20
A2
A1
A0
I/O UD
21
22
WRB
RDB
GENERAL OPERATION OF THE SERIAL INTERFACE
There are two phases to a communication cycle with the AD9854.
Phase 1 is the instruction cycle, which is the writing of an
instruction byte into the AD9854, coincident with the first eight
SCLK rising edges. The instruction byte provides the AD9854
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 register address in which to transfer data
to/from.
The first eight SCLK rising edges of each communication cycle
are used to write the instruction byte into the AD9854. The
remaining SCLK edges are for Phase 2 of the communication
cycle. Phase 2 is the actual data transfer between the AD9854
and the system controller. The number of data bytes transferred
in Phase 2 of the communication cycle is a function of the regis-
ter address. The AD9854 internal serial I/O controller expects
every byte of the register being accessed to be transferred. Table
VII describes how many bytes must be transferred.
Table VII. Register Address vs. Data Bytes Transferred
Serial
Register
Address
Number
of Bytes
Transferred
Register Name
0
1
2
3
4
5
6
7
8
9
A
B
Phase Offset Tuning Word Register #1
Phase Offset Tuning Word Register #2
Frequency Tuning Word #1
Frequency Tuning Word #2
Delta Frequency Register
Update Clock Rate Register
Ramp Rate Clock Register
Control Register
I Path Digital Multiplier Register
Q Path Digital Multiplier Register
Shaped On/Off Keying Ramp Rate Register
Q DAC Register
2 Bytes
2 Bytes
6 Bytes
6 Bytes
6 Bytes
4 Bytes
3 Bytes
4 bytes
2 Bytes
2 Bytes
2 Bytes
2 Bytes
At the completion of any communication cycle, the AD9854
serial port controller expects the next eight rising SCLK edges
to be the instruction byte of the next communication cycle. In
addition, an active high input on the IO RESET pin immediately
terminates the current communication cycle. After IO RESET
returns low, the AD9854 serial port controller requires the next
eight rising SCLK edges to be the instruction byte of the next
communication cycle.
All data input to the AD9854 is registered on the rising edge of
SCLK. All data is driven out of the AD9854 on the falling edge
of SCLK.
Figures 51 and 52 are useful in understanding the general opera-
tion of the AD9854 Serial Port.
INSTRUCTION
CYCLE
DATA TRANSFER
INSTRUCTION
BYTE
DATA BYTE 1
DATA BYTE 2
DATA BYTE 3
SDIO
CS
Figure 51. Using SDIO as a Read/
Write
Transfer
INSTRUCTION
CYCLE
DATA TRANSFER
DATA BYTE 2
INSTRUCTION
BYTE
SDIO
CS
DATA TRANSFER
DATA BYTE 1
DATA BYTE 3
SDO
Figure 52. Using SDIO as an Input, SDO as an Output