C-1
Converting DSK+ Software for the AD50-EVM
Converting DSK+ Software for the AD50-EVM
The AD50-EVM has been designed to make conversion of DSK+ programs
originally written for the AC01 analog interface circuit as easy as possible. The
serial port used by the AC01 is shared with two or four AD50s fitted to one or
two AD50-EVM boards, but logic ensures that only one type of AIC is used at
a time.
For single channel operation the only essential changes to existing code relate
to initialization. First, one AD50 must be switched on and held in reset for at
least 6 master clock cycles. While it is held in reset the DSP serial port is initial-
ized. The AD50 is then released from reset and the registers of the AD50 are
programmed with the required clock division ratio, analog gains etc.
It is not essential to change the main program code for single channel opera-
tion, as the AD50 uses the same serial port as the AC01. However, the AC01
is a 14-bit device whereas the AD50 supports 15- or 16-bit operations. For best
performance, therefore, masking operations that strip the two least significant
bits from data sent to or from the AC01 should be modified to remove only bit
0 or removed completely, depending on whether 15- or 16-bit mode is to be
used.
The following code shows how the oscilloscope program (OSCOPE) supplied
with the DSK+ was modified to use one AD50 device instead of the AC01. OS-
COPE provides an oscilloscope style display of the input waveform on the PC
screen. This program is split up into several modules, with all the ADC initial-
ization code in OSC_AC01.ASM.
The C54x algebraic assembly language is used. Code that has been added
is shown in bold, while code that has been deleted is shown in
italics. No
changes were made to the C code running on the PC for transferring and dis-
playing the acquired data, so this code is not listed below.
Appendix C
Summary of Contents for SLAU039
Page 6: ...vi ...
Page 16: ...1 6 ...
Page 26: ...2 10 ...
Page 34: ...3 8 ...
Page 40: ...4 6 ...
Page 47: ...Circuit Diagrams A 7 Installing the AD50 EVM A 4 Circuit Diagrams ...
Page 48: ...A 8 ...
Page 49: ...A 9 Installing the AD50 EVM ...
Page 50: ...A 10 ...
Page 51: ...PCB Diagrams A 11 Installing the AD50 EVM A 5 PCB Diagrams Top Side Silkscreen ...
Page 52: ...A 12 1 Top Side Tracks Top Side Tracks ...
Page 53: ...A 13 Installing the AD50 EVM Bottom Side Tracks ...
Page 54: ...A 14 Ground plane ...
Page 55: ...A 15 Installing the AD50 EVM Power plane ...
Page 56: ...A 16 ...