1
Real Time DSP Programs for supporting Chapter 9
All the C programs are created for TMS320C6711 DSK, the floating-point processor. Since
coding of DSP algorithms is robust, these programs can easily be adapted to a similar
processor like TMS320C6713.
Each DSP implementation contains its own folder in which the source code, project, map,
interrupt vector, and header files are included except the library file: rts6700.lib. The library
(along with the tool such as the code composer studio [CCS]) is provided by the
manufacture (Texas Instrument), and must be included before compiling and building the
project.
As default, ADC and DAC in all the programs are set to have power gains with 0 dB for the
input (line-in) and 0 dB for the output (line-out) in order to use the input produced by a
function generator and use an oscilloscope to monitor the processed output signal. A pair
of the mono audio cable and coaxial cable with a NBC connector and alligator clips could
be used to serve connection between the line-in and the function generator. The other pair
of the mono audio cable and coaxial cable with the NBC connector and alligator clips will
connect the line-out to the oscilloscope.
To use the microphone and speaker, which requires 20 dB and 12 dB power gains,
respectively, the control codes are commented in the C program, and can easily be
modified in the source code to program the power gain. Programming for the other power
gain level can be found in the ADC535 data sheets.
The source codes for all the folders are listed bellow and see comments for more
information in each source program.
=====================================================================
==
1. sampletest: sampling.c (test for ADC and DAC channels)
2. firfloat: firf.c (FIR filtering example using the floating-point format)