AD9874BST AD [Analog Devices], AD9874BST Datasheet - Page 14

no-image

AD9874BST

Manufacturer Part Number
AD9874BST
Description
IF Digitizing Subsystem
Manufacturer
AD [Analog Devices]
Datasheet
AD9874
SERIAL PORT INTERFACE (SPI)
The serial port of the AD9874 has 3-wire or 4-wire SPI capa-
bility, allowing read/write access to all registers that configure the
device’s internal parameters. The default 3-wire serial commu-
nication port consists of a clock (PC), peripheral enable (PE),
and a bidirectional data (PD) signal. The inputs to PC, PE, and
PD contain a Schmitt trigger with a nominal hysteresis of 0.4 V
centered about the digital interface supply (i.e., VDDH/2).
A 4-wire SPI interface can be enabled by setting the MSB of the
SSICRB register ( Reg. 0x19, Bit 7) resulting in the output data
also appearing on the DOUTB Pin. Note, since the default
power-up state sets DOUTB low, bus contention is possible for
systems sharing the SPI output line. To avoid any bus contention,
the DOUTB Pin can be three-stated by setting the fourth control
bit in the three-state bit (Reg 0x3B, Bit 3). This bit can then be
toggled to gain access to the shared SPI output line.
An 8-bit instruction header must accompany each read and write
SPI operation. Only the write operation supports an auto-increment
mode allowing the entire chip to be configured in a single write
operation. The instruction header is shown in Table I. It includes
a read/not-write indicator bit, 6 address bits, and a Don’t Care
bit. The data bits immediately follow the instruction header for
both read and write operations. Note, address and data are
always given MSB first.
Figure 1a illustrates the timing requirements for a write operation
to the SPI port. After the peripheral enable (PE) signal goes
low, data (PD) pertaining to the instruction header is read on
the rising edges of the clock (PC). To initiate a write operation,
the read/not-write bit is set low. After the instruction header is
MSB
I7
R/W
Table II. Instruction Header Information
I6
A5
PE
PC
PD
PE
PC
PD
I5
A4
I4
A3
I3
A2
t
t
DS
DS
t
t
S
S
I2
A1
R/W
R/W
t
t
HI
HI
t
t
t
t
DH
Figure 1a. SPI Write Operation Timing
DH
CLK
CLK
Figure 1b. SPI Read Operation Timing
t
t
I1
A0
LOW
LOW
A5
A5
LSB
I0
X
A4
A4
–14–
A0
A0
read, the eight data bits pertaining to the specified register are
shifted into the data pin (PD) on the rising edge of the next
eight clock cycles. PE stays low during the operation and goes
high at the end of the transfer. If PE rises before the eight clock
cycles have passed, the operation is aborted.
If PE stays low for an additional eight clock cycles, the destination
address is incremented and another eight bits of data are shifted
in. Again, should PE rise early, the current byte is ignored. By using
this implicit addressing mode, the entire chip can be configured
with a single write operation. Registers identified as being subject
to frequent updates, namely those associated with power control
and AGC operation, have been assigned adjacent addresses to
minimize the time required to update them. Note, multibyte registers
are “big-endian” (the most significant byte has the lower address)
and are updated when a write to the least significant byte occurs.
Figure 1b illustrates the timing for a read operation to the SPI port.
Although the AD9874 does not require read access for proper
operation, it is often useful in the product development phase or
for system authentication. Note, the readback enable bit (Register
0x3A, Bit 3) must be set for a read operation with a 3-wire SPI
interface. After the peripheral enable (PE) signal goes low, data
(PD) pertaining to the instruction header is read on the rising
edges of the clock (PC). A read operation occurs if the read/not-
write indicator is set high. After the address bits of the instruction
header are read, the eight data bits pertaining to the specified
register are shifted out of the data pin (PD) on the falling edges of
the next eight clock cycles. If the 4-wire SPI interface is enabled,
the eight data bits will also appear on the DOUTB Pin with the
same timing relationship as those appearing at PD. After the last
data bit is shifted out, the user should return PE high, causing PD
to become three-stated and return to its normal status as an input
pin. Since the auto-increment mode is not supported for read
operations, an instruction header is required for each register read
operation and PE must return high before initiating the next read
operation.
DON’T
DON’T
CARE
CARE
D7
D7
D6
D6
D1
D1
t
t
H
H
D0
D0
REV. 0

Related parts for AD9874BST