<< Chapter < Page Chapter >> Page >
This exercise introduces the hardware and software used in the course. By the end of this module, you should be comfortable with the basics of testing a simple real-time DSP system with Code Composer Studio, the debugging environment we will be using throughout the semester. First you will connect the laboratory equipment and test a real-time DSP system with provided code to implement an eight-tap (eight coefficient) finite impulse response (FIR) filter. With a working system available, you will then begin to explore the debugging software used for downloading, modifying,and testing your code. Finally, you will create a filter in MATLAB and use test vectors to verify the DSP's output.

Introduction

This exercise introduces the hardware and software used in testing a simple DSP system. When you complete it, you shouldbe comfortable with the basics of testing a simple real-time DSP system with the debugging environment you will usethroughout the course. First, you will connect the laboratory equipment and test a real-time DSP system with pre-writtencode to implement an eight-tap (eight coefficient) finite impulse response ( FIR ) filter. With a working system available, you will then beginto explore the debugging software used for downloading, modifying, and testing code. Finally, exercises are included to refresh your familiarity with MATLAB.

Lab equipment

This exercise assumes you have access to a laboratory station equipped with a Texas Instruments TMS320C549 digital signalprocessor chip mounted on a Spectrum Digital TMS320LC54x evaluation board. The DSP evaluation module should beconnected to a PC running Windows and will be controlled using the PC application Code Composer Studio, a debugger anddevelopment environment. Mounted on top of each DSP evaluation board is a Spectrum Digital surround-sound moduleemploying a Crystal Semiconductor CS4226 codec. This board provides two analog input channels and six analog outputchannels at the CD sample rate of 44.1 kHz. The DSP board can also communicate with user code or a terminal emulator runningon the PC via a serial data interface.

In addition to the DSP board and PC, each laboratory station should also be equipped with a function generator to providetest signals and an oscilloscope to display the processed waveforms.

Step 1: connect cables

Use the provided BNC cables to connect the output of the function generator to input channel 1 on the DSP evaluationboard. Connect output channels 1 and 2 of the board to channels 1 and 2 of the oscilloscope. The input and outputconnections for the DSP board are shown in [link] .

Example hardware setup

Note that with this configuration, you will have only one signal going into the DSP board and two signals coming out.The output on channel 1 is the filtered input signal, and the output on channel 2 is the unfiltered input signal.This allows you to view the raw input and filtered output simultaneously on the oscilloscope. Turn on the functiongenerator and the oscilloscope.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Dsp laboratory with ti tms320c54x. OpenStax CNX. Jan 22, 2004 Download for free at http://cnx.org/content/col10078/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Dsp laboratory with ti tms320c54x' conversation and receive update notifications?

Ask