Charlotte, North Carolina
June 20, 1999
June 20, 1999
June 23, 1999
4.488.1 - 4.488.13
Teaching Real-World DSP Using MATLAB and the TMS320C31 DSK Cameron H. G. Wright Department of Electrical Engineering U.S. Air Force Academy, CO Thad B. Welch, Michael G. Morrow Department of Electrical Engineering U.S. Naval Academy, MD Walter J. Gomes III Naval Undersea Warfare Center Newport, RI
ABSTRACT A graphically-oriented MATLAB program written by the authors facilitates teaching real-world digital signal processing concepts such as quantization of digital filter coefficients that occur in fixed-point processors, for example the widely used TMS320C5x. While many universities have or plan to buy the inexpensive floating-point TMS320C31 DSKs for pedagogical reasons, this MATLAB program simulates certain fixed-point effects on these floating-point devices and eliminates the need to purchase expensive specialized software programs or extra hardware. The program described in this paper provides an interactive graphical user interface that communicates directly with the DSK, and demonstrates in real-time how both coefficient quantization and filter implementation affect filter performance, without the need for tedious programming of the TMS320C31.
1. INTRODUCTION Modern software tools such as MATLAB greatly facilitate the professor's ability to demonstrate the concepts of digital signal processing (DSP) in class, and to assign realistic projects to reinforce these concepts.1-3 An increasing number of DSP textbooks are becoming available which take advantage of this ability,4-8 and a growing trend is for DSP concepts to be introduced earlier in the curriculum.9 These concepts can be further reinforced, and greater interest generated by the students, if they can be easily implemented in real-time on modern DSP hardware.10 Affordable hardware is now available to schools: Texas Instruments, for example, markets DSP Starter Kits (DSKs) for $99.11 While fixed-point processors are more prevalent in industry12 (albeit floating point is gaining in use), floating-point processors are becoming more popular for schools due to pedagogical reasons. We will examine how MATLAB, already accepted as a powerful learning tool for DSP, can be closely integrated with a DSK for teaching purposes while avoiding the tedium of manually programming the DSP processor.
1.1 Teaching with MATLAB MATLAB is an excellent learning tool for DSP education, enabling an easier transition for the student from theory to practice. This greatly facilitates a student’s ability to apply signal processing concepts to real-world DSP hardware such as the widely-used Texas Instruments TMS320C series of fixed-point and floating-point DSP microprocessors. In particular, the sptool program supplied with the latest release of the student edition of MATLAB (version 5) and also available in the latest Signal Processing Toolbox (version 4.x, written for MATLAB 5.x Professional) provides an excellent interactive graphical user interface (GUI) for designing both
Gomes, W. J. I., & Wright, C., & Morrow, M., & Welch, T. (1999, June), Teaching Real World Dsp Using Matlab And The Tms 320 C31 Dsk Paper presented at 1999 Annual Conference, Charlotte, North Carolina. https://peer.asee.org/7972
ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 1999 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015