ECE445 Assignment 1 (due 21 Jan 1999)

You can do the assignment as groups. Each group should submit one set of documentation. Do the exercises corresponding to your group's hardware. Be prepared to demonstrate your accomplishments in class on the due date.

TMS320C3x DSP Starter Kit

Download the zip archive to obtain files needed for this assignment.

  1. Use oscope.exe to capture sine waves of various frequencies from the signal generator. Fit an ideal sine wave to the captured signal and use this information to determine the amplitude, frequency, and effective input resolution (in bits). Try this for different sampling rates. Plot the effective resolution versus frequency. Also plot the transfer function (amplitude out / amplitude in) versus frequency.

  2. Write a new version of SG_USER.ASM. Submit an oscilloscope trace of the output and a printed listing of your program.

  3. Use the DSK3D debugger on TOGGLE.ASM. Find the address for PRD0. Change this value in memory so that the LED changes every 2 seconds (instead of every 0.5 sec).


  1. Connect the switch and LED to I/O pins on the BASIC stamp. Remember to use a current-limiting resistor in series with the LED. Write a program to cycle the LED on and off at a selected rate, e.g. 1 second on/ 1 second off.

  2. Write a program to measure reaction time. Program a random pause of several sections, turn the LED on and measure the time before the subject activates the switch. Display this time on the PC.

  3. Use the PWM command in BASIC to generate a triangular waveform. Measure the fundamental frequency of the modulated signal. Insert a simple RC low-pass filter to eliminate the modulation. Display the result on an oscillosope.

You should submit documentation of your hardware (breadboard circuit) and software, including program listings.

Maintained by John Loomis, last updated 15 Jan 1999