Four project examples including sinewave generation, IIR filter, filter bank, and pulse amplitude modulation, are presented in this chapter for further exposure to the C6x code writing and optimization. All the files associated with these project examples are placed on the accompanying CD-ROM. The source codes shown in this chapter are for C6713 DSK.
This project involves generating sinusoidal waveforms based on a difference equation. An oscillatory output, y[n], can be obtained from the following difference equation:
if B1 = 1, A0 = −1, A1 = 2cos(θ) and x[n] is a delta function. ...