Generating a Sine Wave Using the Hardware and Software Tools for the TI TMS320C6748 DSP

Aim of the Experiment

The aim of this experiment is to

  1. become familiar with the TMS320C6748 hardware and software tools by outputting sinusoidal signals from the C6748 board and
  2. explore the design tradeoffs in signal quality vs. implementation complexity in computing values of sinusoidal signals.
Design tradeoffs in computing sinusoidal signal values are explained in a lecture 1 slides.

Sinusoidal waveforms will be output by using two different methods:

Equipment to be checked out All the above equipment can be checked out from the checkout counter on the second floor. The above list of equipment is the equipment required per work station.

Deviations from the laboratory manual


Downloads

Recitation Slides Part 1 and Part 2 by Ms. Debarati Kundu, The University of Texas at Austin

Lab #2 Handout explaining polling and interrupts, C6748 code for lab #2, and the requirements for the lab report (updated Sep. 11, 2011)

TI C6748 DSP files for lab #2 as a single zip file (7-zip free zip program)

LabVIEW transmitter demonstration to show how labs 1-6 fit together

Overview Slides, by Prof. Steven Tretter, University of Maryland (from Jan. 2008 lab manual)

OLD: LabVIEW Virtual instrument for test and measurement of results on the C6713 DSK.


Debugging and Troubleshooting Tips

Here are troubleshooting tips if you see an incorrect sinusoid on the oscilloscope:

  1. Be sure that the output impedance of the signal generator is set to be high-Z.
  2. Check the implementation of the difference equation or lookup table method. One can use the printf function to print out the values of samples they generated so they can check the correctness.
  3. Be sure that the sampling rate is set properly in both the Interrupt Service Routine (ISR) and the configuration file. The sampling frequency specified in isr file is only used for computation.
  4. Check to see if interrupt is working. Even though the interrupt is not working, the oscilloscope could still show sinusoidal-like noise. This can be easily checked by measuring the magnitude of the waveform, and knowing that noise should have a very small magnitude.


Back to the course home page


Next Experiment

Previous Experiment