Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
Testing Your C6701 EVM
The Embedded Target for TI C6000 DSP includes a Simulink demonstration model called c6701evmtest
. You can use this model to verify that you installed your C6701 EVM hardware and your Embedded Target for TI C6000 DSP software correctly and the board settings are suitable for targeting. The demonstration model presets the Real-Time Workshop settings to build and run the model on your board.
To run the model you need a signal generator, an oscilloscope, and audio cables to connect the signal generator and scope to your C6701 EVM. Refer to the Texas Instruments TMS320C6201/6701 Evaluation Module User's Guide for more information on connecting sources and scopes to your C6701 EVM. In addition, connect your signal generator to the oscilloscope input so you can display the source and output signals together.
To Confirm the Operation of Your C6701 EVM
As an initial test to determine that your Embedded Target for TI C6000 DSP software and C6701 EVM are installed and operating correctly, open and build the Simulink model c6701evmtest
. Test model c6701evmtest
appears in the figure below.
c6701evmtest
with the Simulation parameters option selected.
Figure 2-3: Using c6701evmtest to Test Your Embedded Target for TI C6000 DSP Installation
### Starting RTW build procedure for model: c6701evmtest.mdl ### Invoking Target Language Compiler on c6701evmtest.rtw
If c6701evmtest.mdl
builds, compiles, and downloads to your C6701 EVM successfully, the following message strings appear at the end of the build process messages.
When you receive this message, your model is running on the C6701 EVM. You should be able to see the input and output on your oscilloscope. When you change the input, the output should change as well.
Try increasing the frequency you send to your C6701 EVM and watch to see that the output amplitude modulation changes to match.
Error Message While Building C6701 EVMtest
If you receive an error message from the build and compile process, it that your board or the software may not be configured correctly. Reinstall the board and review the configurations listed in section Configuring Your C6701 EVM. You need to resolve errors that appear in this build before you start to develop and build your own models.
Note that after you build and download the model to the board, the build process runs the downloaded code on your C6701 EVM immediately.
Verifying That C6701 EVMtest Is Running
To see that the model is running, turn on your signal generator and set the output to produce a sine wave at 8000 Hz. Set your oscilloscope to display both the input signal from the signal generator and the output from your C6701 EVM. On the oscilloscope display, you should see the sine wave input from the signal generator, and the amplitude-modulated sine wave output from your C6701 EVM. If you change the frequency of the sine wave input, you should see the change in the input and output traces on the oscilloscope.
Starting and Stopping C6701 EVMtest.mdl on the C6701 EVM
When you build and download the model c6701evmtest.mdl
to your C6701 EVM, you are not running a simulation of the model. You are running the actual machine code, in real time, corresponding to the block diagram in c6701evmtest.mdl
. To run c6701evmtest.mdl
on the evaluation module, open the Simulink model and click Build on the Real-Time Workshop pane. Clicking Build rebuilds the machine executable and downloads the new executable to your board. Building and downloading the new executable starts the process running on your C6701 EVM. The Embedded Target for TI C6000 DSP offers a function, run
, that restarts your loaded program on your target.
Once your application is running on your target, stop the process by one of the following methods:
halt
from the MATLAB command prompt.
![]() | Confirming Your C6701 EVM Installation | Creating Your Simulink Model for Targeting | ![]() |