ad5932 Analog Devices, Inc., ad5932 Datasheet - Page 21

no-image

ad5932

Manufacturer Part Number
ad5932
Description
Programmable Frequency Scan Waveform Generator
Manufacturer
Analog Devices, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ad5932YRUZ
Manufacturer:
AD
Quantity:
4 130
AD5932 TO 68HC11/68L11 INTERFACE
Figure 35 shows the serial interface between the AD5932 and
the 68HC11/68L11 microcontroller. The microcontroller is
configured as the master by setting Bit MSTR in the SPCR to 1,
which provides a serial clock on SCK while the MOSI output
drives the serial data line, SDATA. Because the microcontroller
does not have a dedicated frame sync pin, the FSYNC signal is
derived from a port line (PC7). The set-up conditions for
correct operation of the interface are as follows:
• SCK idles high between write operations (CPOL = 0).
• Data is valid on the SCK falling edge (CPHA = 1).
When data is being transmitted to the AD5932, the FSYNC line
is taken low (PC7). Serial data from the 68HC11/68L11 is
transmitted in 8-bit bytes with only eight falling clock edges
occurring in the transmit cycle. Data is transmitted MSB first.
In order to load data into the AD5932, PC7 is held low after the
first eight bits are transferred and a second serial write operation is
performed to the AD5932. Only after the second eight bits have
been transferred should FSYNC be taken high again.
AD5932 TO 80C51/80L51 INTERFACE
Figure 36 shows the serial interface between the AD5932 and
the 80C51/80L51 microcontroller. The microcontroller is
operated in Mode 0 so that TxD of the 80C51/80L51 drives
SCLK of the AD5932, while RxD drives the serial data line
SDATA. The FSYNC signal is again derived from a bit program-
mable pin on the port (P3.3 being used in the diagram). When
data is to be transmitted to the AD5932, P3.3 is taken low. The
80C51/80L51 transmits data in 8-bit bytes; thus, only eight
falling SCLK edges occur in each cycle.
1
ADDITIONAL PINS OMITTED FOR CLARITY.
68HC11/68L11
Figure 35. 68HC11/68L11 to AD5932 Interface
MOSI
SCK
PC7
1
FSYNC
SDATA
SCLK
AD5932
1
Rev. 0 | Page 21 of 28
To load the remaining eight bits to the AD5932, P3.3 is held low
after the first eight bits have been transmitted, and a second
write operation is initiated to transmit the second byte of data.
P3.3 is taken high following completion of the second write
operation. SCLK should idle high between the two write
operations. The 80C51/80L51 outputs the serial data in an LSB-
first format. The AD5932 accepts the MSB first (the four MSBs
being the control information, the next four bits being the
address, while the eight LSBs contain the data when writing to a
destination register). Therefore, the transmit routine of the
80C51/80L51 must consider this and rearrange the bits so that
the MSB is output first.
AD5932 TO DSP56002 INTERFACE
Figure 37 shows the interface between the AD5932 and the
DSP56002. The DSP56002 is configured for normal mode,
asynchronous operation with a gated internal clock (SYN = 0,
GCK = 1, SCKD = 1). The frame sync pin is generated internally
(SC2 = 1), the transfers are 16 bits wide (WL1 = 1, WL0 = 0),
and the frame sync signal frames the 16 bits (FSL = 0). The
frame sync signal is available on Pin SC2, but it must be
inverted before being applied to the AD5932. The interface to
the DSP56000/DSP56001 is similar to that of the DSP56002.
1
1
ADDITIONAL PINS OMITTED FOR CLARITY.
ADDITIONAL PINS OMITTED FOR CLARITY.
80C51/80L51
DSP56002
Figure 36. 80C51/80L51 to AD5932 Interface
Figure 37. DSP56002 to AD5932 Interface
SCK
P3.3
RxD
STD
TxD
SC2
1
1
FSYNC
SDATA
SCLK
FSYNC
SDATA
SCLK
AD5932
AD5932
1
1
AD5932

Related parts for ad5932