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

Resources  DSP University Educators Information ExchangeGray Rule

> Type of Materials
> Application Area
> DSP Family
> Type/Level of Lab
   > General EE
   > Non-EE
   > Introductory undergraduate
   > Advanced undergraduate
   > Introductory graduate
   > Advanced graduate
   > TMS320C6000
   > TMS320C5000
   > TMS320C2000
   > TMS320C3x
   > Other DSP Platform
   > Other
> Major Emphasis of Course
  
TMS320C5000

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: An Introduction to Digital Signal Processors
Author: Bruno Paillard
University: Universite de Sherbrooke
E-mail: bruno.paillard@videotron.ca
DSP device on which material is based: TMS320C5000
DSP development tools used in material: Signal Ranger DSP board
Type of Materials: Introductory Book
Type/level of lab: General EE, Introductory Graduate, 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: February 2002
File type: Adobe Acrobat PDF
File: C5000 Course Manual (English).zip (3.1MB)
Computer Language on which the material is based: Assembler
Description of item(s)/value to others: (New edition, written in English) This book has been written to support an introductory course on Microprocessors and Microprocessor applications. The focus is on embedded systems in general, and systems incorporating Digital Signal Processing functions in particular.

The book covers the following topics:

  • Short history of the microprocessor
  • Systems architecture
  • Boolean algebra and fixed point computation
  • Development tools
  • The TMS320VC5402
  • Software development methodology for embedded systems


Name/Title of material: Une introduction aux processeurs de traitement du signal
Author: Bruno Paillard
University: Universite de Sherbrooke
E-mail: bruno.paillard@videotron.ca
DSP device on which material is based: TMS320C5000
DSP development tools used in material: Third Party tools (Signal Ranger DSP Board)
Type of Materials: Introductory Book
Application area: General Microprocessors
Type/level of lab: General EE, Introductory undergraduate, 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: French
Developed/Last Updated Date: May 2001
File type: Adobe Acrobat PDF
File: introduction_dsp.zip (2.4M)
Computer Language on which the material is based: Assembler
Description of item(s)/value to others: This book has been written to support an introductory course on Microprocessors and Microprocessor implementation. The focus is on embedded systems in general, and systems incorporating Digital Signal Processing functions in particular.

The book covers the following topics:

  • Short history of the microprocessor
  • Systems architecture
  • Boolean algebra and fixed point computation
  • Development tools
  • The TMS320VC5402
  • Software development methodology for embedded systems


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.


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?