ARIZONA STATE UNIVERSITY
Department of Electrical Engineering

EEE 404/591 - Real-Time Digital Signal Processing
Spring 2009


INSTRUCTOR:
Prof. L. J. Karam
Office: GWC 430
Department of Electrical Engineering
Email: karam@asu.edu
Office Hours: Mondays 3:30pm to 4:25pm; Wednesdays 1:00 to 1:50pm

TEACHING ASSISTANTS: Mr. Srenivas Varadarajan email: srenivas.varadarajan@asu.edu ; Mr. Adithya Murthy, email: adithya.murthy@asu.edu

MANUALS AND HANDOUTS

USEFUL LINKS AND RESOURCES

Announcement

Many of the documents for this class will be in PDF format. The computers here at ASU should have a PDF viewer installed. A free copy of the PDF viewer is also available; you can look at Adobe's home page for information on the viewer and how to download it.


This course is a four-credit course. The weekly schedule of lectures, homeworks, and exams follows for Spring 2009.


Conditions for Use and Distribution

These resources for Real-Time DSP Lab are being made available under the Creative Commons License terms called the Attribution, Share Alike, Non-Commercial License 1.0. The full text of this license can be found here.

The attribution should be "Based on Real-Time DSP Lab course material by Prof. Lina Karam, EE Department, Arizona State University."

If resources herein indicate other attributions, credits, or acknowledgements, these should also be indicated by users in addition to the above attribution.


Week Lectures (in PDF) Reading Homework Labs Notes
01/19 Course Information Handout

Real-Time DSP: Introduction and Basics

Read Sections 1.1 to 1.6 of Kuo and Gan. - No lab sessions this week.

Posted on Blackboard under Online Labs (will be posted this week):
Remote Lab Access Instructions for On-line Students - please test access and report any problems.

Lab Questions, Comments and Feedback

No prelab quiz for Lab 1.
-
01/26 Basic Concepts in Signals and Systems I: Analog to Digital Conversion; Discrete-time representation; Sampling; Linear shift-invariant systems

Basic Concepts in Signals and Systems II: Impulse response; Convolution; Frequency Response; Fourier Transform

Finish Sections 1.1 to 1.6 of Kuo and Gan. Start reading Sections 2.1 to 2.3 of Kuo and Gan. - Posted on Blackboard under Labs:
Lab 1: Overview of Hardware and Software Tools. No report and no prelab quiz are required for Lab 1.

Posted on Blackboard under Online Labs:
Online Lab 1: Overview of Hardware and Software Tools. Lab Session starts this week. No report and no prelab quiz are required for Lab 1.

Lab 2 and the Prelab Quiz for Lab 2 will be posted on Blackboard starting this Thursday (Jan. 29) night. The prelab quiz will be due by next Tuesday (Feb. 3) before 1:00pm.
Once you start a prelab quiz, you need to finish it and submit within an hour from the start time. Do NOT start the prelab quiz if you cannot complete it within an hour from the start time. Do NOT pause, suspend, stop, or log out after you start a prelab quiz as you cannot retake/continue the quiz if you stop it.

Lab Questions, Comments and Feedback

-
02/02 Basic Concepts in Signals and Systems II: Impulse response; Linear Convolution; Circular Convolution; Difference Equation Finish reading Sections 2.1 to 2.3 of Kuo and Gan.

Read Chapters 1 and 2 of the DSP56800E 16-bit DSP Core Reference Manual.
Homework 1 assigned (due Feb. 18). Posted on Blackboard under On-Campus and Online Labs:
Lab 2: Introduction to CodeWarrior.

Prelab test for Lab 2 (Prelab 2) needs to be completed by 1:00pm on Tuesday 10 February.

Lab 2 report is due the following week:
On-campus students: hardcopy report due the following lab session.
On-line students: report due in digital dropbox by Friday 13 February.
Lab 2 report should follow the Lab 2 submission sheet posted under Labs on Blackboard.

Lab 3 and the Prelab Quiz for Lab 3 will be posted on Blackboard starting this Thursday (Feb. 5) night. The prelab quiz for Lab 3 is due by next Tuesday (Feb. 10) before 1:00pm.

Lab Questions, Comments and Feedback

-
02/09 Basic Concepts in Signals and Systems III: Difference equation; Z-Transform; Transfer Function; Block diagram representation; Frequency Response; Fourier Transform

Freescale DSP56858: Overview

Freescale DSP56858: Architecture

Finish reading Chapters 1 and 2 of the DSP56800E 16-bit DSP Core Reference Manual. Complete Homework 1 (due Feb. 18). Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 3: Introduction to the DSP56800E Assembly.

Prelab test for Lab 3 (Prelab 3) needs to be completed by 1:00pm on Tuesday 10 February.

Lab 2 Report is due this week during lab session.

Lab 4 and the Prelab Quiz for Lab 4 (due by Tuesday 17 before 1:00pm) will be posted on Blackboard starting this Thursday (Feb. 12) night.

Lab Questions, Comments and Feedback

-
02/16 Freescale DSP56858: Architecture

DSP56858: Overview of Peripherals

Freescale DSP56858: Instruction Set, Data Addressing and Alignment

Read Sections 3.1 to 3.6 of Kuo and Gan.

Read Chapters 3 and 4 of the DSP56800E 16-bit DSP Core Reference Manual. .

Read Sections 1.11 and 1.12 of Chapter 1 of the DSP5685x Digital Signal Processor User's Manual. .
Submit Homework 1 (due Feb. 18).

Homework 2 assigned (due Mar. 4).
Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 4: Introduction to On-Chip Peripherals

Prelab test for Lab 4 (Prelab 4) needs to be completed by 1:00pm on Tuesday 17 February.

Lab 3 Report is due this week during lab session.

Lab 5 and the Prelab Quiz for Lab 5 (due by Tuesday 24 before 1:00pm) will be posted on Blackboard starting this Thursday (Feb. 19) night.

Lab Questions, Comments and Feedback

-
02/23 Freescale DSP56858: Instruction Set, Data Addressing and Alignment

Integer Arithmetics: Part 1

Integer Arithmetics: Part 2

Read Sections 3.1 to 3.6 of Kuo and Gan.

Read Chapters 3 and 4 of the DSP56800E 16-bit DSP Core Reference Manual. .

Read Sections 1.11 and 1.12 of Chapter 1 of the DSP5685x Digital Signal Processor User's Manual. .
Complete Homework 2 (due Mar. 4). Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 5: Introduction to Processor Expert

Prelab test for Lab 5 (Prelab 5) needs to be completed by 1:00pm on Tuesday 24 February.

Lab 4 Report is due this week during lab session.

Lab 6 and the Prelab Quiz for Lab 6 (due by Tuesday 3 March before 1:00pm) will be posted on Blackboard starting this Thursday (Feb. 26) night.

Lab Questions, Comments and Feedback

-
03/02 Integer Arithmetics: Part 2

Integer Arithmetics: Part 3 - Fixed-point multiplication and addition operations; Block Floating Point; Errors due to fixed-point arithmetics; Quantization, Roundoff, overflow, saturation; Quantization noise modeling and power, SNR; Fixed-point digital filtering

Finish reading Sections 3.1 to 3.6 of Kuo and Gan.

Read Sections 6.1 and 6.2 of Chapter 6 of Kuo and Gan.
Submit Homework 2 (due Mar. 4).

Homework 3 assigned (due Mar. 25).

Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 6: Applications Using the DSP56858EVM CODEC

Prelab test for Lab 6 (Prelab 6) needs to be completed by 1:00pm on Tuesday 3 March.

Lab 5 Report is due this week during lab session.

Lab 7 and the Prelab Quiz for Lab 7 (due by Tuesday 17 March before 1:00pm) will be posted on Blackboard starting this Thursday (March 5) night.

Lab Questions, Comments and Feedback

-
03/09 Spring Break!! Have Fun. - - - -
03/16 Basics of Image Processing and Enhancement

Fractional Division

C CODE for Fractional FIXED-POINT Arithmetic Operations (Code from 3GPP, 3G TS 26.073: "AMR Speech Codec; C-source code" ):
basicop2.c
Header Files:
typedef.h
basic_op.h
count.h

Exam 1 will be held on Wednesday 18 March 2009 during class time. Online students should arrange with their proctors to take Exam 1 on Wednesday 18 March 2009. The Exam will cover the class lecture material, reading, and problems assigned in homeworks 1 and 2. Exam 1 will be closed book and closed notes. Only one 8.5in by 11in page of hand-written notes is allowed. No calculators and no other devices are allowed, except for a pencil, pen, eraser, ruler, and a water bottle.
Finish reading Sections 6.1 and 6.2 of Chapter 6 of Kuo and Gan. Work on completing Homework 3 assigned (due Mar. 25).

Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 7: Real-Time Image Processing

Prelab test for Lab 7 (Prelab 7) needs to be completed by 1:00pm on Tuesday 17 March.

Lab 6 Report is due by Friday of this week.

Lab Questions, Comments and Feedback

-
03/23 Fractional Division

C CODE for Fractional FIXED-POINT Arithmetic Operations (Code from 3GPP, 3G TS 26.073: "AMR Speech Codec; C-source code" ):
basicop2.c
Header Files:
typedef.h
basic_op.h
count.h

Oveview of the TMS320C55x

TMS320C55x and TMS320C5510 Architecture

TMS320C55x Addressing Modes

Read Sections 1.7, 4.1, 4.4, and 4.6 of Kuo and Gan textbook.

Read Chapters 1, 2, and 6 of the TMS320C55x DSP CPU Reference Guide
Submit Homework 3 (due Mar. 25).

No homework assigned this week. Homework will be assigned next week.
Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 7: Real-Time Image Processing (Continuation)

Lab 7 Report is due next week during the lab session.

Lab 8 and the Prelab Quiz for Lab 8 (due by Tuesday 31 March before 1:00pm) will be posted on Blackboard starting this Thursday (March 26) night.

Lab Questions, Comments and Feedback

-
03/30 TMS320C55x Data and Program Memory Space

Intro to Sound and Music Synthesis; time-frequency representation; spectrogram
Finish reading Sections 1.7, 4.1, 4.4, and 4.6 of Kuo and Gan textbook.

Finish reading Chapters 1, 2, and 6 of the TMS320C55x DSP CPU Reference Guide

Read Chapter 3 of the TMS320C55x DSP CPU Reference Guide
Homework 4 assigned (due Apr. 15).

Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 8: Introduction to Code Composer Studio and TMS320C55x Assembly

Prelab test for Lab 8 (Prelab 8) needs to be completed by 1:00pm on Tuesday 1 April.

Lab 7 Report is due this week by midnight on Friday 3 April.

Lab 9 and the Prelab Quiz for Lab 9 (due by Tuesday 7 April before 1:00pm) will be posted on Blackboard starting this Thursday (April 2) night.

Lab Questions, Comments and Feedback

-
04/06 Intro to Sound and Music Synthesis; time-frequency representation; spectrogram

Properties and Computation of the Discrete Fourier Transform.
Finish reading Chapter 3 of the TMS320C55x DSP CPU Reference Guide

Start reading Chapter 8 in Kuo and Gan.
Complete Homework 4 assigned (due Apr. 15).

Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 9: Musical Notes Synthesis

Prelab test for Lab 9 (Prelab 9) needs to be completed by 1:00pm on Tuesday 7 April.

Lab 8 Report is due this week during lab session. Note that Part B of Lab 8 is to be submitted on April 15 as part of Homework 4.

Lab Questions, Comments and Feedback

-
04/13 The Fast Fourier Transform (FFT)

Windowing and the Short-Time Fourier Transform
Read Chapter 8 in Kuo and Gan. Submit Homework 4 assigned (due Apr. 15).

Practice Homework 5 assigned (complete by April 27).
Practice Homework 5 Solution (complete by April 27).
Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 9 (continued): Musical Notes Synthesis

No prelab test this week.

Lab 9 Report is due next week during lab session.

Lab 11 and the Prelab Quiz for Lab 11 (due by Tuesday 21 April before 1:00pm) will be posted on Blackboard starting this Thursday (April 16) night.

Lab Questions, Comments and Feedback

04/20 Online lecture: Windowing and the Short-Time Fourier Transform

Finish reading Chapter 8 in Kuo and Gan. Complete Practice Homework 5 assigned (complete by April 27).
Practice Homework 5 Solution (complete by April 27).
Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 11: Fast Fourier Transform

Prelab quiz for Lab 11 (Prelab 11) needs to be completed by 1:00pm on Tuesday 21 April.

Lab Questions, Comments and Feedback

Exam 2 will be held on Wednesday 29 April. Only one 8.5in by 11in handwritten sheet is allowed. No calculators and no other devices are allowed, except for a pen, pencil, eraser, and ruler.
04/27 Help Session on Monday 27 April.

Exam 2 will be held on Wednesday 29 April.
- Complete Practice Homework 5 assigned (complete by April 27).
Practice Homework 5 Solution (complete by April 27).
Lab This Week - Posted on Blackboard under On-Campus and Online Labs:
Lab 11 (continued): Fast Fourier Transform

Report for Lab 11 is due on Thursday 7 May.

Lab Questions, Comments and Feedback

Send an e-mail by Friday 1 May to karam@asu.edu indicating the Lab you seleted to demo from Labs 6, 7, 9, and 11.
05/04 - - - Complete and submit Lab 11 report by Thursday 7 May.

Lab Questions, Comments and Feedback

-
05/11 Final lab demos to be held on Thursday 7 May from 2:30pm to 4:20pm and on Monday 11 April from noon to 2:00pm. - - - Have a nice summer!


Last updated 03/2009. Send comments to karam@asu.edu


Lina J. Karam ( karam@asu.edu ),