DSP Implementation using the TMS320C62x Processors

By Dr. Naim Dahnoun

Email: Naim.Dahnoun@Bristol.ac.uk

This is a list of DSP codes accompanying the Book.

Chapter1

Introduction

Chapter2

Architecture

Chapter3

Software Development

Chapter4

Software Optimisation

Chapter5

Finite Impulse Response Filter

Chapter6

Infinite Impulse Response Filter

Chapter7

Adaptive Filter

Chapter8

Goertzel Algorithm Implementation

Chapter9

JPEG Implementation

 

 

 


Chapter 1 Introduction:

 

This introductory chapter provides the reader with general knowledge on general-purpose DSP processors and also provides an up to date TMS320Cxx roadmap to show the evolution of Texas Instruments DSP chips in terms of processing power.

 

Return to Index

 


Chapter 2 The TMS320C62x/C67x Architecture:

 

The objective of this chapter is to provide a comprehensive description of the ‘C6x architecture. This a includes detailed description of the central processing unit (CPU) and program control along with an overview of the memory organisation, serial ports, boot function and internal timer.

 

Return to Index

 


Chapter 3 Software Development Tools and TMS320C6201 EVM Overview:

 

This chapter is divided into three main parts: the first part describes the software development tools, the second part describes the Evaluation Module (EVM) and finally the third part describes the codec and the use of interrupts and shows some useful programs for testing the TMS320C6201 EVM.

 

Source Code Directory: Inout (Chap3)

Source Files:

 

Return to Index

 


Chapter 4 Software Optimisation Techniques:

 

To introduce the need for code optimisation, this Chapter starts by introducing the concept of pipelining. Since with the TMS320C62x and the TMS320C67x, there are up to eight units, which are dedicated for different operations to work in parallel and also since different instructions can have different latencies, the programmer or the tools are left with the burden of scheduling the code. Backed with examples, this chapter explains the different techniques to optimise DSP code on these processors. (No source codes.)

 

Return to Index

 


Chapter 5 FIR filter Implementation:

 

The main purpose of this chapter is twofold. First it is to show how to design an FIR filter and implement it on the TMS320C62xx processor and secondly to show how to optimise code using knowledge gained in Chapter 3. This chapter also shows how to interface C and assembly, how to use intrinsics and put into practice material which has been covered in the previous chapters.

 

Codes Directory 1: Fir (Chap5)\C\

Source Files:

 

Codes Directory 2: Fir (Chap5)\ASM\

Source Files:

 

Return to Index

 


Chapter 6 Infinite Impulse Response Filter

 

This chapter introduces the IIR filters and describes the two popular design methods, that is the bilinear and the impulse invariant methods and the realisations methods. Step by step, this chapter shows the procedures necessary to implement typical IIR filters specified by their transfer functions. Finally this chapter provides complete implementation of an IIR filter in C language, assembly and linear assembly and also shows how to interface C and linear assembly.

 

Codes Directory 1: Iir (Chap6)\C\

Source Files:

 

Codes Directory 2: Iir (Chap6)\SA\

Source Files:

 

Return to Index

 


Chapter 7 Adaptive Filter Implementation:

 

This chapter starts by introducing the need for an adaptive filter in communications. It then shows how to calculate the filter coefficients using the MSE criterion, exposes the least mean square (LMS) algorithm and finally, shows how the LMS algorithm is implemented in both C and Assembly.

 

Codes Directory 1: Adaptive (Chap7)\LMS_C\

Source Files:

 

Codes Directory 2: Adaptive (Chap7)\LMS_ASM\

Source Files:

 

Return to Index

 


Chapter 8 Implementation of the Goertzel algorithm:

 

This chapter deals with DTMF detection and provides a practical example of the Goertzel algorithm. This Chapter also shows how to produce optimised code by the pen and paper method and linear assembly and demonstrates how to program the Direct Memory Access, DMA.

 

Codes Directory 1: Goertzel (Chap8)\BASIC\

Source Files:

 

Codes Directory 2: Goertzel (Chap8)\GTZSA\

Source Files:

 

Codes Directory 3: Goertzel (Chap8)\GTZDMA

Source Files:

Return to Index

 


Chapter 9 JPEG Implementation

 

This chapter starts by introducing the need for video compression to reduce the channel bandwidth requirement, then explains the implementation of the Joint Photographic Experts Group (JEPG) image codec. This includes detailed discussion and implementation of the DCT and IDCT and concentrates on the DCT and IDCT optimisation. The PC- DSP communication is also provided.

 

Codes Directory 1: Dct (Chap9)\SLOWDCT\

Source Files:

 

Codes Directory 2: Dct(Chap9)\FASTDCT\

Source Files:

 

Codes Directory 3: Dct (Chap9)\DctDma\

Source Files:

 

Return to Index

 


Author's Contact:

Bristol University

Queen's building

University walk

Bristol BS8 1TR, UK.

 

 

Return to Index

_