<< Chapter < Page | Chapter >> Page > |
Use your netID and password to log into the PC at your laboratory station.
When you log in, verify that the
U:
and
V:
networked drives are mapped to the computer. The
U:
drive is your personal work directory, and
V:
is a read-only course drive.
Although you may want to work exclusively in one partner's network account, you should be sure that both partners have copies of the lab assignment code.
The evaluation board is controlled by the PC through the JTAG interface in CCS. This development environment allows the user to download, run, and debug code assembled on the PC. Work through the steps below to familiarize yourself with the debugging environment and real-time system using the provided FIR filter code (Steps 3, 4 and 5), then verify the filter's frequency response with the subsequent MATLAB exercises (Steps 6 and 7).
Start>All Programs>Texas Instruments>Code Composer Studio v5
. When CCS starts for the first time, Workspace Launcher will start because it will need to set up your workspace.
Create or make sure you have the following directory:
U:\workspace\ECE420
. In Workspace Launcher, hit
Browse...
, navigate to this folder, and make sure to check "Use this as the default and do not ask again".
File>Switch Workspace...
Project>Import Existing CCS Eclipse Project
:
V:\ece420\55x\ccs5\filter
Project>Build Project
.In a successful build, there will be zero errors and maybe a few warnings and remarks. The output file will be placed in a Debug folder within the project's directory. In this example, the executable binary code will be located at
.\Debug\filter.out
.
View>Target Configurations
Projects>filter
dsk5510.ccxml
and select "Launch Selected Configuration"Once CCS connects to the DSP, the debugger view will launch. Select
Run>Connect Target
Run>Load>Load Program
.filter.out
.Run>Resume
.The program you are running accepts input from input channel 1 and sends output waveforms to output channels 1 and 2 (the filtered signal and raw input, respectively).
Note that the "raw input" on output channel 2 may differ from the actual input on input channel 1. Why?
Because of distortions introduced in converting the analog input to a digital signal and then back to an analog signal.
What differences do you expect to see between the signals at input channel 1 and at output channel 2?
Hint: The A/D and D/A converters on the six-channel surround board operate at a sample rate of 48 kHz and have an anti-aliasing filter and an anti-imaging filter , respectively, that in the ideal case would eliminate frequency content above 24 kHz.
Notification Switch
Would you like to follow the 'Ece 420 fall 2013' conversation and receive update notifications?