AD9865
tDH
For the AD9865, the most significant nibble defaults to 6 bits,
and the least significant nibble defaults to 4 bits. This can be
changed so that the least significant nibble and most significant
nibble have 5 bits each. To accomplish this, set the 5/5 nibble bit
in Register 0x0C and Register 0x0D and use data pins Tx[5:1]
and Rx[5:1].
RXCLK
tDv
RXSYNC
Rx2MSB
Rx3MSB
Rx1MSB
Rx1LSB
Rx3LSB
Rx[5:0]
Rx0LSB
Figure 54. Full-Duplex Rx Port Timing
Figure 55 shows a possible digital interface between an ASIC
and the AD9865. The AD9865 serves as the master generating
the required clocks for the ASIC. This interface requires that the
ASIC reserve 16 pins for the interface, assuming a 6-bit nibble
width and the use of the Tx port for RxPGA gain control. Note
that the ASIC pin allocation can be reduced by 3, if a 5-bit
nibble width is used and the gain (or gain strobe) of the RxPGA
is controlled via the SPI port.
To add flexibility to the full-duplex digital interface port, several
programming options are available in the SPI registers. These
options are listed in Table 14. The timing for the Tx[5:0] and/or
Rx[5:0] ports can be independently changed by selecting either
the rising or falling clock edge as the sampling/validating edge
of the clock. Inverting RXCLK (via Bit 1 or Register 0x05)
affects both the Rx and Tx interface, because they both use
RXCLK.
AD9865/AD9866
DIGITAL ASIC
6
TO
RxPGA
OPTIONAL
GAIN
Table 14. SPI Registers for Full-Duplex Interface
Address (Hex)
Bit
Description
Tx[5:0]
10/12
10/12
TO
Tx DIGITAL
FILTER
0x05
(2)
OSCIN to RXCLK
Tx Data[5:0]
Rx Data[5:0]
(1)
(0)
(2)
(4)
(3)
(2)
(1)
(0)
(5)
(4)
(3)
(2)
(1)
(0)
(7)
Invert RXCLK
Disable RXCLK
Rx[5:0]
FROM
RxADC
0x0B
0x0C
Rx gain on Tx port
Invert TXSYNC
Tx 5/5 nibble
RX_SYNC
TX_SYNC
RXSYNC
TXSYNC
LS nibble first
TXCLK negative edge
Twos complement
Rx port three-state
Invert RXSYNC
RXCLK
CLKIN
CLKOUT1
CLKOUT2
0x0D
OSCIN
Rx 5/5 nibble
FROM
CRYSTAL
LS nibble first
RXCLK negative edge
Twos complement
Low drive strength
OR MASTER CLK
Figure 55. Example of a Full-Duplex Digital Interface
with Optional RxPGA Gain Control via Tx[5:0]
0x0E
RxPGA CONTROL
The default Tx and Rx data input formats are twos complement,
but can be changed to straight binary. The default TXSYNC and
RXSYNC settings can be changed such that the first nibble of
the word appears while TXSYNC, RXSYNC, or both are high.
Also, the least significant nibble can be selected as the first
nibble of the word (LS nibble first). The output driver strength
can also be reduced for lower data rate applications.
The AD9865 contains a digital PGA in the Rx path that is used
to extend the dynamic range. The RxPGA can be programmed
over −12 dB to +48 dB with 1 dB resolution using a 6-bit word,
and with a 0 dB setting corresponding to a 2 V p-p input signal.
The 6-bit word is fed into a LUT that is used to distribute the
desired gain over three amplification stages within the Rx path.
Upon power-up, the RxPGA gain register is set to its minimum
gain of −12 dB. The RxPGA gain mapping is shown in Figure 56.
Table 15 lists the SPI registers pertaining to the RxPGA.
Rev. A | Page 25 of 48