EVAL-AD9830EB Analog Devices Inc, EVAL-AD9830EB Datasheet - Page 5

no-image

EVAL-AD9830EB

Manufacturer Part Number
EVAL-AD9830EB
Description
Manufacturer
Analog Devices Inc
Datasheet

Specifications of EVAL-AD9830EB

Lead Free Status / Rohs Status
Not Compliant
Preliminary Technical Data
AD7002
EVAL-AD9830EB
SOFTWARE DESCRIPTION
Included in the EVAL-AD9830EB evaluation board package is a PC-compatible disk which contains software for controlling the
AD9830 using the printer port of a PC. The disk contains the executable program which runs under Windows and it is advised
that the user copy this file to the system hard disk to obtain optimum performance from the software.
PC Configuration
The executable program contains two menus. The first menu gives options on the type of PC being used. The printer port
needs to be configured correctly for one of the three different PC-types for interfacing to the AD9830. Choose the required
printer type from the menu. The PC printer port is now configured for operation with the AD9830 evaluation board.
Figure 2. Parallel Port Selection
Running the AD9830 Software
The second menu gives options for running the AD9830. All registers of the AD9830 can be written to using this software.
The MCLK frequency is set to 50MHz by default in the program. However, the user has the capability of changing the MCLK
frequency. When the master clock has a frequency other than 50MHz, the user can change the value of the MCLK frequency in
the program so that the software can correctly calculate the digital words corresponding to the different output frequencies.
The Frequency Registers are written to by writing in the required frequency in MHz to the PC. The AD9830 software will
calculate the corresponding word which will be written to the AD9830 and display the word in hex on the screen. The Phase
Registers are written to by writing in the required value in decimal to the PC. The software will then control the loading of this
information into the AD9830.
To write to a Phase Register, three transfers of data from the PC are needed since the PC uses 8-bit transfers. The 16 bit word
along with the address of the destination register is transferred from the PC to the AD9830. The sixteen bit word is split into
two 8-bit words (the 8 MSBs and the 8 LSBs). The first transfer of data involves transferring the 8 MSBs of the 16-bit word.
When these 8 bits are being transferred, a pulse is also generated on the LOAD pin so that the 8 bits of data are latched into U2
on the rising edge of LOAD.
During the second transfer, the 8 LSBs are transferred to U3, a pulse being generated on the LATCH pin so that these 8 bits are
latched into U3.
The third transfer involves transferring the address of the destination register (A0, A1 and A2). When the PC outputs the
address information (which is available on D0, D1 and D2 respectively), the PC also generates the
WR
pulse. On the rising
edge of
WR
, the 16 bits of data are read from the 74HC574 latches and the address of the destination register is read from the
data bus.
Because the Frequency Registers are 32 bits wide, there will be six transfers from the PC when these registers are being written
to. Writing the 16 LSBs to the Frequency Register involves transferring the destination register address (000 or 010) and the 16
bits of data. Similarly, the destination address for the 16 MSBs (001 or 011) and 16 bits of data need to be transferred when
writing to the 16 MSBs of the Frequency Register.
The logic inputs FSELECT, PSEL0 and PSEL1 are not controlled by the PC. These inputs can be controlled using the switch
REV 0
- 5 -