Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
Configuring Simulation Parameters for Your Model
The following sections describe how to build and run real-time digital signal processing models on your C6701 EVM. Running a model on the target starts with configuring and building your model from the Simulation Parameters dialog in Simulink.
Setting Simulink Simulation Parameters
After you have designed and implemented your digital signal processing model in Simulink, complete the following steps to set the simulation parameters for the model:
0.0
and Stop time to inf
(model runs without stopping)
fixed-step
and discrete
settings from the lists
Auto
and the Mode to Single Tasking
Setting Real-Time Workshop Target Build Options
To configure Real-Time Workshop to use the correct target files and to compile and run your model executable file, you set the options on the Real-Time Workshop pane of the Simulation Parameters dialog. Follow these steps to set the Real-Time Workshop options to target your C6701 EVM:
Target configuration
.
ti_c6000.tlc
and click OK to close the browser.
TI C6000 target
.
C6701_EVM
.
TI C6000 code generation
to specify code generation options that apply to the C6701 EVM target.
TI C6000 compiler
to set the Real-Time Workshop compile options.
TI C6000 linker
.
TI C6000 runtime
.
Building and Executing Your Model on Your C6701 EVM
After you set the simulation parameters and configure Real-Time Workshop to create the files you need, you direct Real-Time Workshop to build, download, and run your model executable on your target:
Build_and_execute
selected for Build action, the automatic build process creates an executable file that can be run by the C6701 DSP on your C6701 EVM, and then downloads the executable file to the target and runs the file.
halt
from the MATLAB command prompt as well.
Testing Your Audio Reverb Model
With your model running on your C6701 EVM, speak into the microphone you connected to the board. The model should generate a reverberation effect out of the speakers, delaying and echoing the words you speak into the mike. If you built the model yourself, rather than using the supplied model c6701evmafxr
, try running the demonstration model to compare the results.
![]() | C6701 EVM Tutorial 2-1--Single Rate Application | C6701 EVM Tutorial 2-2--A More Complex Application | ![]() |