Council for Innovative Research International Journal of Computers & Technology www.ijctonline.com ISSN: 2277-3061 Volume 3 No. 2, OCT, 2012 266 | Page www.cirworld.com IMPLEMENTATION AND ANALYSIS OF FIR FILTER USING TMS 320C6713 DSK Sandeep Kumar ECE Deptt. HCTM Kaithal Munish Verma ECE Deptt. HCTM Kaithal Vijay K.Lamba ECE Deptt. HCTM Kaithal Susheel Kumar ECE Deptt. HCTM Kaithal Avinash Kumar ECE Deptt. HCTM Kaithal ABSTRACT In most of the applications, analog signals are produced in response to some physical phenomenon or activity. But it is quite difficult to process that analog signal; here comes the need to convert an analog signal to a digital signal. For this purpose specific digital signal processors (DSP’s) are developed. TMS 320C6713 is one of such type of processors that can be used to process or handle the signals in a variety of ways. In the current report, basically the architecture of this processor is studied. Along with the processor architecture, the hardware portion DSK (Digital Starter Kit) and the software portion CCS (Code Composer Studio) is also studied. Digital filters are very commonly found in everyday life and include a variety of applications. Mainly they are used for two major purposes: signal separation and signal restoration. Signal separation is needed when a signal has been contaminated with interference, noise, or other signals. Signal restoration is used when a signal has been distorted in some way. So, various programs have been analyzed in this work to implement efficiently those FIR filter structures on TMS 320C6713 DSK. Characteristics of FIR filters are studied in frequency domain. Keywords: FIR Filter, DSP, DSK, CCS. 1. INTRODUCTION Mostly sensors generate analog signals in response to various phenomena. Signal processing can be carried out either in analog or digital domain. To do processing of analog signals in digital domain, first digital signal is obtained by sampling and followed by quantization (digitization). The digitization can be obtained by analog to digital converter (ADC). The role of digital signal processor (DSP) is the manipulation of digital signals so as to extract desired information. In order to interface DSP with analog world, digital to analog converters (DAC) are used. Figure 1 shows basic components of a DSP system [1]. Fig 1 Basic components of a DSP system ADC captures and inputs the signal. The resulting digital representation of the input signal is processed by DSP such as C6x and then output through DAC. Within in the basic DSP system, anti aliasing filter at input to remove erroneous signals and output filter to smooth the processed data is also used [2]. There are various reasons to process the analog signals in the digital domain: The same DSP hardware can be used for various applications by just changing the code. Digital circuits are more stable and tolerant than analog circuits. Many filters and adaptive systems are realizable only by the digital manipulation of signals. Digital signal processing can be carried out on various platforms such as customized very large scale integrated (VLSI) circuits and DSP. A comparative review of both the platforms is as follows: • DSPs are programmable allowing fair amount of application flexibility which not the case with hardwired digital circuits. • DSPs are cost effective due to mass production and can be used for various applications whereas VLSI chip is normally built for a signal application. • Often quite high sampling rates can be obtained by customized chips where in DSP sampling rates are limited due to architecture design and peripheral constraints [1]. Large market shares of DSPs belong to cost-effective real time embedded systems such as cell phones and modems. Real time requires keeping processing pace with some external event [2] or in other words completing the processing within the available time between samples which of course depends upon application. Real time processing depends upon two aspects a) sampling rate b) system latencies (delays) [1]. In the current report DSP processor family TMS320C6X architecture, DSK and various programs implementing FIR filter using Code Composer Studio is studied and analyzed. 2. TMS 320C6X (C6X) FAMILY Digital signal processors such as the TMS320C6x (C6x) family of processors are like fast special-purpose microprocessors with a specialized type of architecture and an instruction set appropriate for signal processing. The C6x notation is used to designate a member of Texas Instruments’ (TI) TMS320C6000 family of digital signal processors. Based on a very-long-instruction-word (VLIW) architecture, the C6x is considered to be TI’s most powerful processor. Texas Instruments introduced the first - generation TMS32010 DSP in 1982, the TMS320C25 in 1986 [4], and the TMS320C50 in 1991. Several versions of each of these processors — C1x, C2x, and C5x — are available with different features, such as faster execution speed. These 16 - bit processors are all fixed - point processors and are code compatible [5]. The TMS320C30 floating - point processor was introduced in the late 1980s. The C31, the C32, and the more recent C33 are all members of the C3x family of floating - point processors [6, 7]. The C4x floating - point processors, introduced subsequently, are code compatible with the C3x processors and are based on the modified Harvard architecture [8]. The TMS320C6201 (C62x), announced in 1997, is the first member of the C6x family of fixed - point digital signal processors. Unlike the previous fixed - point processors, C1x, C2x, and C5x, the C62x is based on a VLIW architecture, still using separate memory spaces for instructions and data, as with the Harvard architecture. The VLIW architecture has simpler instructions, but more are needed for a task than with a conventional DSP architecture.