Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
C6701 EVM Tutorial 2-1--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 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 c6701evmafxr.mdl
as shown in the next figure. Open this model by typing c6701evmafxr
at the MATLAB prompt.
To exercise this model you need a microphone connected to the Mic In connector on your C6701 EVM and speakers and an oscilloscope connected to the Line Out connector on your C6701 EVM. 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 on your C6701 EVM, you complete the following tasks:
Your target for this tutorial is your C6701 EVM installed on your PC. Be sure to configure and test your board as directed in Configuring Your C6701 EVM in this guide before continuing this tutorial.
Building the Audio Reverberation Model
To build the model for audio reverberation, follow these steps.
Adding C6701 EVM Blocks to Your Model
So that you can send signals to your C6701 EVM and get signals back from the board, the Embedded Target for TI C6000 DSP includes a block library containing five blocks designed to work with the codec on your C6701 EVM:
Typing C6701 EVMlib
at the MATLAB prompt brings up this window showing the library blocks.
Figure 2-4: Embedded Target for TI C6000 DSP Target for C6701 EVM Block Library C6701 EVMlib
These blocks are included in the Embedded Target for TI C6000 DSP c6000lib blockset in the Simulink Library browser.
The C6701 EVM ADC and C6701 EVM DAC blocks let you configure the codec on your C6701 EVM 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 C6701 EVM ADC and C6701 EVM DAC blocks add driver software that controls the behavior of the codec for your model.
To add C6701 EVM 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
.
16-bit linear
Normalize
0.0
Saturate
.
You have completed the model. Now you configure the Real-Time Workshop options to build and download your new model to your C6701 EVM.
![]() | Creating Your Simulink Model for Targeting | Configuring Simulation Parameters for Your Model | ![]() |