>> TI Home > DSP Village > DSP University > DSP Educators' Information Exchange >

Resources  DSP University Educators Information ExchangeGray Rule

> Type of Materials
   > Lecture notes
   > Lab exercises
   > Educational Software
> Application Area
> DSP Family
> Type/Level of Lab
> Major Emphasis of Course
  
Lab Exercises

Name/Title of Material: Audio Effects using TMS320C6711 and Audio Daughter Card
Author: Richard Sikora
E-mail: richard@sikora.demon.co.uk
DSP device on which material is based: TMS320C6000
DSP development tools used in material: TMS320C6711 DSK, Audio Daughter Card
Type of Materials: Lab Exercises
Application area: Audio
Type/level of lab: General EE, Non-EE, Introductory undergraduate, Advanced undergraduate, TMS320C6000
Is the Lab a primary focus of the course? Yes
Type of course for which material was developed: Application
Language in which material is written: English
Developed/Last Updated Date: 18th March 2002
File type: Code Composer Studio Project
File: Audio Effects Using C6711 & ADC.zip (278K)
Computer Language on which the material is based: C
Description of item(s)/value to others: A series of 8 audio applications using the Audio Daughter Card and the TMS320C6711 DSK. Illustrates the use of DSP in audio setting. Applications are controlled by user switches on DSK and use LEDS as bargraph.

Additional equipment required: CD player with cable, multi-media computer loudspeakers. Signal generator or electric guitar.

  • Application 1. Alien voices. Using ring-modulation to produce sum and difference frequencies, as used in science- fiction TV/films.
  • Application 2. Delays and Echo. Using buffers to generate delayed playback (as used on radio phone-ins). Introduction to Finite Impulse Response (FIR) configuration.
  • Application 3. Electronic Crossover. Using FIR filters to divide audio signal into bass and treble.
  • Application 4. Guitar Effects. Reverberation, treble boost and distortion for electric guitar.
  • Application 5. Guitar Tuner. Uses adaptive filter to identify 6 notes of guitar strings.
  • Application 6. Record and Playback. Use buffers as to record and playback voice / music. Playback at half-speed and double speed to introduce concepts of decimation and interpolation.
  • Application 7. Reverberation. Simulation of echoing room / auditorium using feedback filter. Introduction to Infinite Impulse Response (IIR) filter configuration.
  • Application 8. Signal generator. Generates sine waves sweeping between 60 Hz to 12 kHz to act as test wave forms for filters etc. Sine wave forms generated using recursive equation.


Name/Title of Material: DSP systems design
Author: Evangelos Zigouris
University: University of Patras
E-mail: ez@physics.upatras.gr
DSP device on which material is based: TMS320C6000
DSP development tools used in material: TMS320C6211 DSK
Type of Materials: Lab Exercises
Application area: Communications, General Signal Processing
Type/level of lab: Advanced graduate
Is the Lab a primary focus of the course? Yes
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: 28/03/02
File types: Archived Source, Adobe Acrobat PDF
File: DSP Systems Design.zip (3M)
Computer Language on which the material is based: C
Description of item(s)/value to others: The DSPlab_programs.zip file contains the programs of the laboratory that takes place in the Master course in Electronics, at the Department of Physics, in Patras, Greece. In the DSPlab.pdf the programs and some theory of the applications are described. Finally, the submitted paper to the DSP2002 conference,3-5 July Santorini, Greece, which is based in this real-time DSP course, is in the DSP2002_paper.pdf.


Name/Title of Material: C6701 EVM - Skeleton Programs / Matlab Interface
Author: DSP Department at Signal Processing
University: Royal Institute of Technology
E-mail: s3dsp@s3.kth.se
DSP device on which material is based: TMS320C6000
DSP development tools used in material: TMS320C6701 EVM
Type of materials: Educational Software
Application areas: Audio, General Signal Processing
Type/level of lab: TMS320C6000
Is the lab a primary focus of the course? Yes
Type of course for which material was developed: Lab
Language in which material is written: English
Developed / Last Updated Date: March 2002
Course URL: http://www.s3.kth.se/signal/edu/projekt
File Types: Adobe Acrobat PDF, Code Composer Studio Project, Executable File, HTML
File: c6x_skeletons.zip (7.9M)
Computer Language on which the material is based: C, C++, Assembler, Matlab Description of item(s)/value to others: Provides a number of skeleton programs to make it easier getting started with the C6701 EVM. Examples of how to implement block based (using DMA), as well as sample based (using polling), signal processing of audio data. Routines for importing/exporting audio data to/from Matlab are also included. An application which displays the impulse response of the acustic channel in real-time serves as an illustrative example of how the an windows interface might be designed and used for controlling the DSP-program.

Unpack the zip-archive and read "readme1st.htm" for how to proceed.


Name/Title of Material: DSK C5402 FIR
Author: Massimo Martelli
E-mail: m-martelli@ti.com
DSP device on which material is based: TMS320C5000
DSP development tools used in material: TMS320C5402 DSK
Type of Materials: Lab exercises
Application area: Audio
Type/level of lab: TMS320C5000
Is the Lab a primary focus of the course? No
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: 5/31/2002
File type: Code Composer Studio Project
File: DSK5402_filter.zip (191K)
Computer Language on which the material is based: C
Description of item(s)/value to others: This example shows how setup the DSP peripherals for a simple audio application with the "standard" Chip Support Library

(CSL) instead of the C5402 DSK Board Library. The DSK Board Library is not supported at the same level of CSL and sometimes doesn't give to the user the complete control of the DSP.

This lab project is derived from the TI Reference Framework #1, leaving only a very simple framework that should be easy to understand for a first time user. The original Reference Framework can be downloaded from http://www.dspvillage.com.


Name/Title of Material: Use of Audio Daughter Card with C6711 DSK
Author: Rulph Chassaing
University: University of Massachusetts Dartmouth
Email: chassaing@msn.com
DSP Device on which this Material is Based: TMS320C6000
DSP Development Tools Used in Material: TMS320C6711 DSK
Type of Materials: Lab Exercises
Application Area: Audio, General Signal Processing
Type/Level of Lab: General EE, Non-EE, Advanced undergraduate, Introductory graduate, TMS320C6000
Is the Lab a Primary Focus of the Course?: Yes
Type of course for which material was developed: Lab
Language in which Material is Written: English
Developed/Last Updated Date: January 2002
File Type: Executable, C/Assembly Code
File: AudioDC Examples.zip (28.5K)
Computer Language on which Material is based: C, C++
Description of item(s)/value to others: Two examples using TI's stereo codec PCM3003-based Audio Daughter Card with C6711 DSK. Taken from book "DSP Applications Using C and the TMS320C6x DSK" by Rulph Chassaing.

  1. "Loop" with output=delayed input
  2. FIR filter implementation


Name/Title of material: Hands-on TMS320LF2407 in C
Author: Frank Bormann
University: University of Applied Sciences Zwickau
E-mail: Frank.Bormann@fh-zwickau.de
DSP device on which material is based: TMS320C2000
DSP development tools used in material: TMS320C243 EVM, TMS320C2407 EVM
Type of Materials: Lab Exercises
Application Area: General Signal Processing
Type/level of lab: General EE, Introductory Undergraduate, Introductory graduate, TMS320C2000
Is the Lab a primary focus of the course? Yes
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: June 2000
Course URL: http://www.fh-zwickau.de/tutorial/dsp
File type: Adobe Acrobat PDF, HTML, C/Assembly/Executable
File: F24x EVM Labs.zip (2.4MB)
Computer Language on which the material is based: C
Description of item(s)/value to others: The labs are based on the TMS320LF2407 EVM / TMS320F243 EVM. They involve two add-on boards for these EVMs. They include LED's,Switches,Potentiometers and an SPI-EEPROM. The aim of the lab is to get all the internal peripherals of this DSP to work. The labs are based on CodeComposer and are programmed in C. The additional boards are manufactured by our university.


Name/Title of material: FIR Filters
Author: Mohamed El-Tanany
University: Carleton University
E-mail: tanany@sce.carleton.ca
DSP device on which material is based: TMS320C5000
DSP development tools used in material: TMS320C54x EVM
Type of Materials: Lab Exercises
Type/level of lab: General EE, Introductory Undergraduate, TMS320C5000
Is the Lab a primary focus of the course? Yes
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: August 2001
File type: Adobe Acrobat PDF, Matlab, Executable, Assembly
File: FIR Lab.zip (132K)
Computer Language on which the material is based: Assembler
Description of item(s)/value to others: This lab is meant to explore the basic characteristics and design of FIR filters. Included are all the files needed to run the experiment in addition to the Matlab files needed for the design, plus the lab/assignment writing as it was given to our students, plus two sets of lecture notes.


Name/Title of Material: Guias de Laboratorio Programación DSP
Author: Dennis Paredes Sánchez
University: San Marcos University
Email: dennisps@ieee.org
DSP Device on which this Material is Based: TMS320C3x
DSP Development Tools Used in Material: TMS320C3x DSK
Type of Materials: Lab Exercises
Application Area: General Signal Processing
Type/Level of Lab: Advanced undergraduate
Is the Lab a Primary Focus of the Course?: Yes
Type of course for which material was developed: Application
Language in which Material is Written: Spanish
Developed/Last Updated Date: October 2001
File Type: MS Word
File: Neural Network Algo.zip (129K)
Computer Language on which Material is based: Assembler
Description of item(s)/value to others: Neural Network Training Algorithm implementation on the TMS320C31 DSP.


Name/Title of material: Introduction to DSP
Author: David Waldo
University: Oklahoma Christian University
E-mail: dwaldo@oc.edu
DSP device on which material is based: TMS320C6000
DSP development tools used in material: TMS320C6701 EVM
Type of Materials: Lab exercises
Application area: Audio, General Signal Processing
Type/level of lab: Introductory undergraduate
Is the Lab a primary focus of the course? Yes
Type of course for which material was developed: Theory
Language in which material is written: English
Developed/Last Updated Date: 5/01
Course URL: http://www.oc.edu/faculty/david.waldo/projects/nsfccli/nsfccli.html
File types: Archived Source File, Code Composer Studio Project, MS Word
Files: labho.zip (31K), codecpoll.zip (59K), codecint.zip(59K)
Computer Language on which the material is based: C
Description of item(s)/value to others: This is part of an NSF sponsored project. Nine laboratory assignments were developed as well as a base set of code for use with the TMS320C6701 EVM boards. The laboratory assignments are:

  • Assembly programming basics
  • Assembly programming
  • C programming basics
  • Real-time processing using polling
  • Real-time processing using interrupts
  • Spectral inversion
  • FIR filtering
  • IIR filtering
  • Adaptive filtering

To aid the students in learning to use the TMS320C6701 EVM some example projects were developed. These projects were the basis for student projects that processed data using the on board CODEC. The projects and files are:

  • Polling project: codec_poll.c, codec_poll.h, link.cmd, main.c
  • Interrupt project: codec_int.c, codec_int.h, link.cmd, main.c


Name/Title of Material: C3x DSP Teaching Kit
Author: Mehmet Akhan/Keith Larson
University: University of Hertfordshire/Texas Instruments
Email: dsph@ti.com
DSP Platform on which Material is Based: TMS320C3x
DSP Device on which this Material is Based: TMS320C3x
DSP Development Tools Used in Material: TMS320C3x DSK
Type of Material: Lecture Materials, Lab Exercises
Application Area: None
Type/Level of Lab: Introductory Undergraduate
Is the Lab a Primary Focus of the Course?: No
Major Emphasis of Course for which Material was Developed: Theory
Language in which Material is Written: English
Developed/Last Updated Date: August 1998
Computer Language in which Material is Written: Assembly, C
File Types: Word, PowerPoint, Executable/Source Code
Files: TMS320C3x DTK.zip (13.6 Mb)
Description/Value to Others: These materials are lecture slides with accompanying instructor and student notes, suggested test questions, and five demo programs ipreviously offered by TI as the TMS320C3x DSP Teaching Kit. They cover five lectures on DSP theory and demonstrate the software and basic capabilities of the C3x DSK board. The demos cover number representation, the speed of the floating-point multiply and accumulate operation, tone generation, analog to digital conversion, use of an FIR filter, how analog signals appear in the frequency domain, and an introduction to developing a DSP system taking into account communication between the DSP and digital to analog converter and sine wave generation.


Name/Title of Material: TMS320C5x DSP Teaching Kit
Author: Mehmet Akhan/Keith Larson
University: University of Hertfordshire/Texas Instruments
Email: dsph@ti.com
DSP Platform on which Material is Based: Other (TMS320C5x)
DSP Device on which this Material is Based: TMS320C5x
DSP Development Tools Used in Material: TMS320C5x DSK
Type of Material: Lecture Materials, Lab Exercises
Application Area: None
Type/Level of Lab: Introductory Undergraduate
Is the Lab a Primary Focus of the Course?: No
Major Emphasis of Course for which Material was Developed: Theory
Language in which Material is Written: English
Developed/Last Updated Date: 4/97
Computer Language in which Material is Written: Assembly, C
File Types: Word, PowerPoint, Executable/Source Code
Files: TMS320C5x DTK.zip (3.3M)
Description/Value to Others: These materials are lecture slides with accompanying instructor and student notes, suggested test questions, and five demo programs previously offered by TI as the TMS320 C5x DSP Teaching Kit. They cover five lectures on DSP theory and demonstrate the software and basic capabilities of the C5x DSK board. The demos cover playing a musical tune, the speed of the multiply and accumulate operation, quantization errors, aliasing, a low-pass filter, displaying graphical displays of the signals using the software tools, and an introduction to developing a DSP system taking into account communication between the DSP and digital to analog converter and sine wave generation.


Name/Title of Material: C5000 DSP Teaching Kit
Author: Mehmet Akhan/Keith Larson/Richard Sikora/Walter J. Gomes III
University: University of Hertfordshire/Texas Instruments/iDSP
Email: dsph@ti.com
DSP Platform on which Material is Based: TMS320C5000
DSP Device on which this Material is Based: TMS320C54x
DSP Development Tools Used in Material: TMS320C5402 DSK
Type of Material: Lectures, Tutorials, Lab Exercises
Application Area: None
Type/Level of Lab: Introductory Undergraduate
Is the Lab a Primary Focus of the Course?: No
Major Emphasis of Course for which Material was Developed: Theory
Language in which Material is Written: English
Developed/Last Updated Date: March 2001
Computer Language in which Material is Written: Assembly, C
File Types: Word, PowerPoint, Executable/Source Code
Files: TMS320C5000 DTK.zip(17.9M)
Description/Value to Others: These materials are lecture slides, instructor notes, suggested test questions, and 5402 DSK-based programs previously offered by TI as the TMS320C5000 DSP Teaching Kit. Included are:

  • Six chapters of information on DSP and C5000 DSP architecture including slides, lecture notes, and test questions for each chapter.
    • Chapter 1: Introduction to DSP (includes C5000 architecture overview)
    • Chapter 2: From Analog to Digital
    • Chapter 3: Filtering
    • Chapter 4: The Frequency Domain
    • Chapter 5: Applications of DSP
    • Chapter 6: Assembly Language Basics
  • Fourteen C5000 DSP assembly language tutorials
  • Five demo programs that demonstrate the Code Composer Studio software and as well as the capabilities of the C5402 DSK board. The demos cover number representation, the speed of the fixed-point multiply and accumulate operation, analog to digital conversion, how analog signals appear in the frequency domain, and digital filters.
All files are editable so instructors can customize the materials.


Name/Title of Material: Real-Time Digital Signal Processing (PDTSR)
Author: Anibal Ferreira
University: University of Porto, Portugal
Email:ajf@fe.up.pt
DSP Platform on which Material is Based: TMS320C3x
DSP Device on which Material is Based: TMS320C3x
DSP Development Tools Used in Material: TMS320C3x DSK
Type of Material: Lecture notes and lab exercises
Application Area: General Signal Processing
Type/Level of Lab: TMS320C3x, Advanced Undergraduate
Is the Lab a Primary Focus of the Course?: Yes
Major Emphasis of Course for which Material was Developed: Application
Language in which Material is Written: other Portugese
Developed/Last Updated Date: October 1999, July 2002
File Types: Compressed Archived HTML files, Compressed Archived PDF files
File:pdstr.zip (9052K)
Computer Language in which Material is Written: Assembler, MATLAB
Description/Value to Others: This course is included in the EEC curriculum of the University of Porto, is given in Portuguese language, and is dedicated to laboratory work using a TI starter kit based on the C31 floating point processor. This course assumes that students are already familiar with basic discrete time theory including such concepts and techniques as discrete time signals and systems, sampling and reconstruction of analog signals, linear time-invariant systems, structures for the realization of LTI systems, FIR and IIR filter design, decimation and interpolation, the discrete Fourier transform and Z transform, overlap-add and overlap-save methods of fast filtering in the frequency domain, response of LTI systems to discrete random signals, the FFT and its implementation.

The DSP laboratory course focuses on practical DSP applications and issues including efficient realization structures and real-time processing constraints. The motivation of the course is that the advantages of DSP are better demonstrated by lab examples covering a representative diversity of application scenarios, and that effective learning happens when the student is challenged with specific DSP design and realization issues.

Besides getting familiar with the C31 starter kit development environment plus the (unfortunately discontinued) Code Explorer debugger, students are motivated to new topics such as filter banks, uniform filter banks and their relation to the DFT, half-band filters, M-band filters, power complementary filters, the QMF filter bank and its efficient realization, multi-resolution analysis using the QMF, adaptive filtering, polyphase decomposition of interpolation and decimation filters and their efficient realization, Hilbert Transformer and SSD modulation. During a 13 week semester, students have to perform 10 laboratory experiments, most of which require Matlab and assembly programming.

The themes of those laboratory experiments are: aliasing in sampling, waveform generation and DA+AD testing, floating-point versus fixed-point processing, FIR filtering and filter modulation, IIR filtering, five-vowel synthesizer, interpolation using polyphase filters, echo cancellation, FFT assembly implementation, and SSB modulation.


First Name: Richard
Last Name: Sikora
University: None
E-mail: richard@sikora.demon.co.uk
DSP device on which material is based: TMS320C5000
DSP development tools used in material: TMS320C5402 DSK
Type of Materials: Lab exercises
Application area: Audio | General Signal Processing | Speech
Type/level of lab: General EE | Non-EE | Introductory undergraduate | TMS320C5000
Is the Lab a primary focus of the course? Yes
Name/Title of material: Configuring the Audio Daughter Card with TMS320C5402 DSK
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: 11/11/02
File type: Archived Source File | MS Word
File: Template for Audio Daughter Card with TMS320C5402 DSK.ZIP (50k)
Computer Language on which the material is based: C | Assembler
Description of item(s)/value to others: Template for an audio project for use with the TMS320C5402 DSK and Code Composer Studio V1.20.

Requires a CD player / walkman and headphones / powered computer speakers. A signal generator if available would be useful.

Code provided in C.

Configures the TMS320C5402 DSK with the Audio Daughter Card for audio usage. Allows the student to use the 2 user switches as inputs and the 3 LEDs as a bargraph display.

Intended to be used as a starting point for audio experiments.


First Name: Richard
Last Name: Sikora
University: None
E-mail: richard@sikora.demon.co.uk
DSP device on which material is based: TMS320C5000
DSP development tools used in material: TMS320C5402 DSKOther TMS320C5416 DSK
Type of Materials: Lab exercises
Application area: Audio
Type/level of lab: General EE | Non-EE | Introductory undergraduate | TMS320C5000
Is the Lab a primary focus of the course? Yes
Name/Title of material: Audio Experiments 1 - 4 for the TMS320C5416 DSK
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: 11/11/02
File type: Executable File | MS Word
File: TMS320C5416 DSK Laboratories 1 - 4.ZIP (320K)
Computer Language on which the material is based: C | Assembler
Description of item(s)/value to others: The first four in a series of practical experiments to process audio using the TMS320C5416 DSK and Code Composer Studio V2.0. Requires a CD player / walkman and headphones / powered computer speakers. If available, a signal generator would be useful.

Code is written mostly in C and C5400 assembly language where speed is required. Users the 4 user switches on the TMS320C5416 DSK and configures the 4 LEDs as a bargraph display.

The laboratories allow the student to find out the answers to the following questions by practical experiment:

Laboratory 1. What sampling rate is required for
a) music?
b) speech?
The C code provided allows 16 different sampling rates from 24 kHz down to 1 kHz to be selected using the user switches on the DSK.

Laboratory 2. How many sampling bits are required for acceptable quality a) music and b) speech?

Sampling can be adjusted between 16 bits and 5 bits using the user switches on the DSK.

Laboratory 3. In order to divide music into bass and treble, a Finite Impulse Response (FIR) filter can be used. Which of the following types of FIR filter gives the best sound: Rectangular, Hamming, Hanning, Blackman and Kaiser?

Uses 15 different configurations of high pass and low pass FIR filters, controlled by the user switches on the DSK.

Laboratory 4. When using a Finite Impulse Reponse Filter (FIR), how many coefficients are required for hi-fi sound quality? How many coefficients are required for acceptable speech quality?

Provides 15 different configurations of low pass and high pass FIR filters with different numbers of coefficients.


First Name: Richard
Last Name: Sikora
University: None
E-mail: richard@sikora.demon.co.uk
DSP device on which material is based: TMS320C5000
DSP development tools used in material: TMS320C5402 DSKOther TMS320C5416 DSK
Type of Materials: Lab exercises
Application area: Audio | General Signal Processing | Speech
Type/level of lab: General EE | Non-EE | Introductory undergraduate | TMS320C5000
Is the Lab a primary focus of the course? Yes
Name/Title of material: Audio Applications 1 - 4 for TMS320C5416 DSK
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: 11/11/02
File type: Archived Source File | MS Word
File: TMS320C5416 DSK Applications 1 - 4.ZIP (320K)
Computer Language on which the material is based: C | Assembler
Description of item(s)/value to others: Four audio examples for use with the TMS320C5416 DSK and Code Composer Studio V2.0.

Requires a CD player / walkman and headphones / powered computer speakers. A signal generator if available would be useful.

Code provided mostly in C and 'C5400 assembly language where speed is required.

Thes applications could be applied to TMS320C5402 DSK, although this has only 2 user switches and 3 LEDs.

Application 1. Template for an audio project.

Configures the TMS320C5416 DSK for audio usage. Allows the student to use the 4 user switches as inputs and the 4 LEDs as a bargraph display.

Application 2. Delays and Echo.

Sets up the TMS320C5416 DSK for delays and echo to simulate a large auditorium. Uses circular buffers and introduces configuration also used for Finite Impulse Response (FIR) filters.

Application 3. Reverberation.

Simulates simple and multiple reflections off walls to simulate different types of rooms. Uses circular buffers and introduces the configuration used for Infinite Impulse Response (IIR) filters.

Application 4. Electronic Crossover.

Divides the audio signal into bass and treble. The frequency at which bass and treble are separated is adjusted using the 4 user switches in the range 100 Hz to 6400 Hz. Uses FIR filters.


First Name: Dan
Last Name: Block
University: University of Illinois
E-mail: d-block@uicu.edu
DSP device on which material is based: TMS320C6000
DSP development tools used in material: TMS320C6711 DSK
Type of Materials: Lab exercises
Application area: Control
Type/level of lab: Advanced undergraduate | Introductory graduate | TMS320C6000
Is the Lab a primary focus of the course? Yes
Name/Title of material: Lab Exersizes for the Course "Digital Control of Dynamic Systems"
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: 11/02
Course URL: http://www.ece.uiuc.edu/coecsl/ge324
File type: Adobe Acrobat PDF | MS WordOther Lab Write Ups
File: controllabs.zip (1Mb)
File type: Code Composer Studio ProjectOther Starter Code and DSP/BIOS configurations, HTMLOther Web site index file
File size: 1Mb, 1K
Computer Language on which the material is based: C
Description of item(s)/value to others: Set of 11 laboratories to be used in a Digital control class. All experiments based on the Mechatronics Control Kit sold by Quanser. www.quanser.com.


Title: TMS320C5416 DSK Audio Applications 1-4
Author: Richard Sikora
University: None
E-mail: richard@sikora.demon.co.uk
DSP device on which material is based: TMS320C5000
DSP development tools used in material: TMS320C5402 DSK, MS320C5416 DSK
Type of Materials: Lab exercises
Application area: Audio, General Signal Processing, Speech
Type/level of lab: General EE, Non-EE, Introductory undergraduate, Introductory graduate, TMS320C5000
Is the Lab a primary focus of the course? Yes
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: 20th January 2003
File type: Archived Source File, Code Composer Studio Project, MS Word
File: TMS320C5416 Laboratories 1-4.zip (888 KB), TMS320C5416 Applications 1-4.zip (940 KB)
Computer Language on which the material is based: C, Assembler, Matlab
Description of item(s)/value to others:
Four practical audio applications of digital signal processing (DSP) using the TMS320C5416 DSK. These can also be used as the basis of laboratories.

Equipment Required:
TMS320C5416 DSK
CD player or walkman
Computer loudspeakers
Microphone

Application 1. Template
A template for an audio project. Sets up the 4 LEDs on the TMS320C5416 DSK as a bargraph and the 4 user switches to control the audio processing.

Application 2. Delays and Echo
Simulates the delays experienced in communications networks and the reflection of sound heard in a canyon. Introduces circular buffers and the configuration used for Finite Impulse Response (FIR) filters.

Application 3. Reverberation
Simulates single and multiple reflections of sound from the walls of a room or auditorium. Introduces the configuration used for Infinite Impulse Response (IIR) filters.

Application 4. Electronic Crossover
Divides an audio signal into bass and treble components for driving different loudspeakers using FIR filters. The user switches on the TMS320C5416 DSK select 15 different crossover frequencies between 300 Hz and 12800 Hz.


Title: TMS320C5416 DSK Audio Applications 5 - 8
Author: Richard Sikora
E-mail: richard@sikora.demon.co.uk
DSP device on which material is based: TMS320C5000
DSP development tools used in material: TMS320C5402 DSK, TMS320C5416 DSK
Type of Materials: Lab exercises
Application area: Audio, General Signal Processing, Speech
Type/level of lab: General EE, Non-EE, Introductory undergraduate, Introductory graduate, TMS320C5000
Is the Lab a primary focus of the course? Yes
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: 20th January 2003
File type: Archived Source File, Code Composer Studio Project, MS Word
File: TMS320C5416 Laboratories 5-8.zip (1 MB), TMS320C5416 Applications 5-8.zip (2 MB)
Computer Language on which the material is based: C, Assembler, Matlab
Description of item(s)/value to others:
Four practical applications of digital signal processing (DSP) using the TMS320C5416 DSK. These can also be used as the basis of laboratories.

Equipment Required:
TMS320C5416 DSK
CD player or walkman and computer loudspeakers
Microphone
Touch telephone
Optionally, a signal generator to generate sine waves in the range 20 Hz to 50 kHz.

Application 5. Alien Voices
Uses ring modulation to alter the spectral content of speech and music. Widely used in science-fiction films and television to generate strange voices for aliens.

Application 6. Infinite Impulse Response (IIR) Filters
A collection of high pass, low pass, band pass and band stop filters for audio use. Can be used to boost or cut certain frequency bands from the audio spectrum.

Application 7. Goertzel Algorithm
A special case of the IIR filter used to identify the dual tones generated when the buttons of a touch tone telephone are pressed. Uses a microphone to pick up the sound of the telephone and shows the buttons pressed on the computer screen.

Application 8. Spectrum Analyser
Uses a Fast Fourier Transform (FFT) to analyse the power of specific bands in an audio signal.


Title: TMS320C5416 DSK Laboratories 9 - 12
Author: Richard Sikora
University: None
E-mail: richard@sikora.demon.co.uk
DSP device on which material is based: TMS320C5000
DSP development tools used in material: TMS320C5402 DSK, TMS320C5416 DSK
Type of Materials: Lab exercises
Application area: Audio, General Signal Processing, Speech
Type/level of lab: General EE, Non-EE, Introductory undergraduate, Introductory graduate, TMS320C5000
Is the Lab a primary focus of the course? Yes
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: 20th January 2003
File type: Archived Source File, Code Composer Studio Project, MS Word
File: TMS320C5416 Applications 9-10.zip (651 KB)
Computer Language on which the material is based: C, Assembler, Matlab
Description of item(s)/value to others:
The third in a series of laboratories to allow the student to find out the answers to some questions about digital signal processing (DSP) by carrying out practical experiments using audio. Complete application code for the TMS320C5416 DSK is provided for each laboratory.

Equipment Required:
CD player or walkman
Computer loudspeakers
Optionally, a signal generator to generate sine waves in the range 20 Hz to 50 kHz.
To produce quantitative results for Laboratory 9, a digital frequency meter and/or a digital storage oscilloscope are required.

Laboratory 9. Comparison of Performance of C and Assembly code
For which of the following does assembly language offer a benefit in performance over C code: a) Finite Impulse Response (FIR) filters
b) Infinite Impulse Response (IIR) filters
c) Adaptive filters?

Does the execution time of a Fast Fourier Transform (FFT) increase linearly or logarithmically with the number of points?

Laboratory 10. Decimation by Integer Amounts to Decrease Sampling Rate
How does reducing the sampling rate affect the audio quality?
Why is an anti-aliasing filter required?

Laboratory 11. Interpolation by Integer Amounts to Increase Sampling Rate
How does increasing the sampling rate affect audio quality?
Why is an anti-imaging filter required?

Laboratory 12. Noise Reduction Using Adaptive Filters and Notch Filters
In which cases would an IIR filter be used to remove noise from an audio signal?
In which cases would an adaptive filter be used to remove noise from an audio signal?


Title of Material: Signal Processing Lab, TUGraz
Author: Christian Feldbauer
University: Graz University of Technology
E-mail: feldbauer@inw.tugraz.at
DSP device on which material is based: TMS320C6000
DSP development tools used in material: TMS320C6711 DSK
Type of Materials: Lab exercises
Application Area: General Signal Processing
Type/Level of Lab: General EE, Advanced undergraduate, TMS320C6000
Is the Lab a primary focus of the course? Yes
Type of course for which material was developed: Lab
Language in which material is written: English
Developed/Last Updated Date: Apr. 2003
Course URL: http://spsc.inw.tugraz.at/courses/dsplab
File type: Adobe Acrobat PDF, Archived Source File
File: C6000 DSP Lab.zip (1.2MB)
Computer Language on which the material is based: C, Assembler, Matlab
Description of item: Laboratory course material (lab exercises and source code) for 6 labs. Experiments cover fundamental concepts of digital signal processing like sampling and aliasing, quantization in A/D conversion and in internal arithmetic operations, digital filter design and implementation, spectrum estimation and fast transforms, sampling-rate conversion and multi-rate processing. Application experiments address a selection of multi-media and digital communications problems where visual and auditory feedback is used to demonstrate the desired effects and artifacts of digital processing.