Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
C6711 DSK Tutorial 2-3--Single Rate Application
In this tutorial you create and build a model that simulates audio reverberation applied to an input signal. Reverberation is similar to the echo effect you can hear when you shout across an open valley or canyon, or in a large empty room.
You can choose to create the Simulink model for this exercise from blocks in the DSP Blockset and Simulink block libraries, or you can find the model in the Embedded Target for TI C6000 DSP demos. For this example, we show the model as it appears in the demonstration program. The demonstration model name is c6711dskafxr.mdl
as shown in the next figure. Open this model by typing c6711dskafxr
at the MATLAB prompt.
To exercise this model you need a microphone connected to the Mic In connector on your C6711 DSK and speakers and an oscilloscope connected to the Line Out connector on your C6711 DSK. To test the model, speak into the microphone and listen to the output from the speakers. You can observe the output on the oscilloscope as well.
To download and run your model to your C6711 DSK, you complete five tasks:
Your target for this tutorial is your C6711 DSK installed on your PC. Be sure to configure and test your board as directed in Configuring Your C6711 DSK.
Building the Audio Reverberation Model
To build the model for audio reverberation, follow these steps:
Adding C6711 DSK Blocks to Your Model
So that you can send signals to your C6711 DSK and get signals back, TI C6000 includes a block library that contains five blocks designed to work with the codec and LEDs on your C6711 DSK:
Type c6711dsklib
at the MATLAB prompt to bring up this window showing the library contents.
Figure 2-9: Embedded Target for TI C6000 DSP Block Library c6711dsklib
These blocks are included in the Embedded Target for TI C6000 DSP c6000lib blockset in the Simulink Library browser.
The C6711 DSK ADC and C6711 DSK DAC blocks let you configure the codec on the C6711 DSK to accept input signals from the input connectors on the board, and send the model output to the output connector on the board. Essentially, the C6711 DSK ADC and C6711 DSK DAC blocks add driver software that controls the behavior of the codec for your model.
To add an input to the your model without using a C6711 DSK ADC block, add a DSP source block, such as a signal generator, that creates the discrete time signal you need and use that signal as the input to your model.
To add C6711 DSK target blocks to your model, follow these steps:
Configuring the Embedded Target for TI C6000 DSP Blocks
To configure the Embedded Target for TI C6000 DSP blocks in your model, follow these steps:
Mic In
.
You have completed the model. Now configure the Real-Time Workshop simulation options to build and download your new model to your C6711 DSK.
![]() | Testing Your C6711 DSK | Configuring Simulation Parameters for Your Model | ![]() |