AD7476/AD7477/AD7478
Rev. F | Page 19 of 24
MICROPROCESSOR INTERFACING
The serial interface on the AD7476/AD7477/AD7478 allows the
part to be directly connected to a range of many different
microprocessors. This section explains how to interface the
AD7476/AD7477/AD7478 with some of the more common
microcontroller and DSP serial interface protocols.
AD7476/AD7477/AD7478 to TMS320C5x/C54x Interface
The serial interface on the TMS320C5x uses a continuous serial
clock and frame synchronization signals to synchronize the data
transfer operations with peripheral devices such as the AD7476/
AD7477/AD7478. The
CS
input allows easy interfacing between
the TMS320C5x/C54x and the AD7476/AD7477/AD7478
without any glue logic required. In addition, the serial port of
the TMS320C5x/C54x is set up to operate in burst mode with
internal CLKX (Tx serial clock) and FSX (Tx frame sync).
The serial port control register (SPC) must have the following
setup: FO = 0, FSM = 1, MCM = 1, and TXM = 1. The format
bit, FO, can be set to 1 to set the word length to eight bits, in
order to implement the power-down mode on the AD7476/
AD7477/AD7478. The connection diagram is shown in
Figure 26. Note that for signal processing applications, it is
imperative that the frame synchronization signal from the
TMS320C5x/C54x provides equidistant sampling.
01024-026
DR
SDATA
AD7476/
AD7477/
AD7478
1
TMS320C5x/
TMS320C54x
1
CLKR
SCLK CLKX
FSR
CS FSX
1
ADDITIONAL PINS OMITTED FOR CLARITY
Figure 26. Interfacing to the TMS320C5x/C54x
AD7476/AD7477/AD7478 to ADSP-21xx Interface
The ADSP-21xx family of DSPs are interfaced directly to the
AD7476/AD7477/AD7478 without any glue logic required. The
SPORT control register is set up as follows:
TFSW = RFSW = 1, Alternate Framing
INVRFS = INVTFS = 1, Active Low Frame Signal
DTYPE = 00, Right Justify Data
SLEN = 1111, 16-Bit Data-Words
ISCLK = 1, Internal Serial Clock
TFSR = RFSR = 1, Frame Every Word
IRFS = 0
ITFS = 1
To implement the power-down mode, SLEN is set to 0111 to
issue an 8-bit SCLK burst. The connection diagram is shown in
Figure 27. The ADSP-21xx has the TFS and RFS of the SPORT
tied together, with TFS set as an output and RFS set as an input.
The DSP operates in alternate framing mode and the SPORT
control register is set up as described.
The frame synchronization signal generated on the TFS is tied
to
CS
and, as with all signal processing applications, equidistant
sampling is necessary. However, in this example, the timer
interrupt controls the sampling rate of the ADC and, under
certain conditions, equidistant sampling may not be achieved.
The timer registers, for example, are loaded with a value that
provides an interrupt at the required sample interval. When an
interrupt is received, a value is transmitted with TFS/DT (ADC
control word). The TFS controls the RFS and, therefore, the
reading of data. The frequency of the serial clock is set in the
SCLKDIV register. When the instruction to transmit with TFS
is given, such as, TX0 = AX0, the state of the SCLK is checked.
The DSP waits until the SCLK has gone high, low, and high
before transmission starts. If the timer and SCLK values are
chosen such that the instruction to transmit occurs on or near
the rising edge of SCLK, the data could be transmitted, or it
could wait until the next clock edge.
For example, the ADSP-2111 has a master clock frequency of
16 MHz. If the SCLKDIV register is loaded with the value 3, a
SCLK of 2 MHz is obtained, and eight master clock periods
elapse for every one SCLK period. If the timer registers are
loaded with the value 803, 100.5 SCLKs occur between
interrupts and, subsequently, between transmit instructions.
This situation results in nonequidistant sampling as the
transmit instruction is occurring on an SCLK edge. If the
number of SCLKs between interrupts is a whole integer figure
of N, equidistant sampling is implemented by the DSP.
01024-027
DR
SDATA
AD7476/
AD7477/
AD7478
1
ADSP-21xx
1
SCLK
SCLK
TFS
CS RFS
1
ADDITIONAL PINS OMITTED FOR CLARITY
Figure 27. Interfacing to the ADSP-21xx
AD7476/AD7477/AD7478 to DSP56xxx Interface
The connection diagram in Figure 28 shows how the AD7476/
AD7477/AD7478 can be connected to the synchronous serial
interface (SSI) of the DSP56xxx family of DSPs from Motorola.
The SSI is operated in synchronous mode (SYN bit in CRB =1)
with internally generated word frame sync for both Tx and Rx
(Bits FSL1 = 0 and FSL0 = 0 in CRB). Set the word length to 16
by setting bits WL1 = 1 and WL0 = 0 in CRA.
To implement the power-down mode on the AD7476/AD7477/
AD7478, the word length can be changed to eight bits by setting
bits WL1 = 0 and WL0 = 0 in CRA. Note that for signal process-
ing applications, it is imperative that the frame synchronization
signal from the DSP56xxx provides equidistant sampling.
AD7476/AD7477/AD7478
Rev. F | Page 20 of 24
01024-028
SRD
SDATA
AD7476/
AD7477/
AD7478
1
DSP56xxx
1
SCLK
SCK
CS SC2
1
ADDITIONAL PINS OMITTED FOR CLARITY
01024-029
MISO/PMC0
SDATA
AD7476/
AD7477/
AD7478
1
MC68HC16
1
SCLK
SCLK/PMC2
CS SS/PMC9
1
ADDITIONAL PINS OMITTED FOR CLARITY
Figure 28. Interfacing to the DSP56xxx Figure 29. Interfacing to the MC68HC16
AD7476/AD7477/AD7478 to MC68HC16 Interface
The serial transfer takes place as a 16-bit operation when the
SIZE bit in the SPCR register is set to SIZE = 1. To implement
the power-down mode with an 8-bit transfer, set SIZE = 0.
A connection diagram is shown in Figure 29.
The serial peripheral interface (SPI) on the MC68HC16 is
configured for master mode (MSTR = 1), the clock polarity bit
(CPOL) = 1, and the clock phase bit (CPHA) = 0. The SPI is
configured by writing to the SPI Control Register (SPCR). For
more information on the MC68HC16, check with Motorola for
the related documentation.
AD7476/AD7477/AD7478
Rev. F | Page 21 of 24
OUTLINE DIMENSIONS
1 3
45
2
6
2.90 BSC
1.60 BSC
2.80 BSC
1.90
BSC
0.95 BSC
0.22
0.08
10°
0.50
0.30
0.15 MAX
1.30
1.15
0.90
SEATING
PLANE
1.45 MAX
0.60
0.45
0.30
PIN 1
INDICATOR
COMPLIANT TO JEDEC STANDARDS MO-178-AB
Figure 30. 6-Lead Small Outline Transistor Package [SOT-23]
(RJ-6)
Dimensions shown in millimeters

AD7477ARTZ-500RL7

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC 10Bit 1MSPS Lo-Pwr
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union