Asee peer logo

Real Time Fir And Iir Filter Design Using Matlab Interfaced With The Tms320 C31 Dsk

Download Paper |

Conference

1999 Annual Conference

Location

Charlotte, North Carolina

Publication Date

June 20, 1999

Start Date

June 20, 1999

End Date

June 23, 1999

ISSN

2153-5965

Page Count

8

Page Numbers

4.439.1 - 4.439.8

DOI

10.18260/1-2--7911

Permanent URL

https://peer.asee.org/7911

Download Count

2235

Request a correction

Paper Authors

author page

Walter J., III Gomes

author page

Rulph Chassaing

Download Paper |

Abstract
NOTE: The first page of text has been automatically extracted and included below in lieu of an abstract

Session 1320

Real-Time FIR and IIR Filter Design Using MATLAB Interfaced with the TMS320C31 DSK

Walter J. Gomes III, Rulph Chassaing University of Massachusetts Dartmouth

Abstract

This paper describes the design and real-time implementation of FIR and IIR filters using MATLAB interfaced directly with the TMS320C31 (C31) digital signal processor. An FIR or IIR filter can be readily designed using MATLAB functions to generate a set of coefficients associated with a desired filter's characteristics. These coefficients are included in a generic filter program transparent to the user. While the filter’s frequency response is plotted on the PC monitor screen, it is being implemented in real-time with the C31 on board a $99 DSP Starter Kit (DSK). The authors have developed the support files required to duplicate these results. These files are available to anyone interested. Similar techniques can be developed to interface MATLAB with a different type of digital signal processor.

Introduction

Digital signal processors, such as the C31, are currently used for a wide range of applications from communications and controls to speech processing. They are found in cellular phones, fax/modems, disk drives, etc. They continue to be more and more successful because of the availability of low-cost support tools. DSP-based systems can be readily reprogrammed for a different application. 1-3 The C31-based DSK includes Texas Instruments' C31 floating-point digital signal processor, and an Analog Interface Circuit (AIC) chip with A/D and D/A converters, input (anti-aliasing) and output (reconstruction) filters, all on a single chip. The package also includes an assembler, a debugger, and many applications examples. The C31 is a 32-bit processor with 2K (32-bit) words of internal memory (approximately 256 words of internal memory in the C31 on the DSK board are used for the 24 communications kernel and vector). It has a 24-bit address bus to address 2 or 16 million words for program, data, and I/O. Its instruction cycle time of 40 ns is capable of performing 50 million floating- point operations per second (MFLOPS).

The TLC320C40 AIC on the DSK board has 14-bit ADC and DAC. Although the AIC is rated for a maximum of 20 kHz in order to achieve maximum performance, sampling rates of 44.1 kHz for audio applications can be obtained. The AIC has two inputs, and connects to the serial port on the C31. Since all the C31 pins are available through four 32-pin connectors on the DSK board, external devices such as flash memory and alternative A/D and D/A converters can be connected to the C31 via these 1,2 connectors .

Gomes, W. J. I., & Chassaing, R. (1999, June), Real Time Fir And Iir Filter Design Using Matlab Interfaced With The Tms320 C31 Dsk Paper presented at 1999 Annual Conference, Charlotte, North Carolina. 10.18260/1-2--7911

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