Embedded Target for Texas Instruments C6000 DSPs    

Testing Your C6711 DSK

The Embedded Target for TI C6000 DSP includes a Simulink demonstration model called c6711dsktest. You can use this model to verify that you installed your C6711 DSK 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 C6711 DSK. Refer to your CCS documentation for more information on connecting sources and scopes to your C6711 DSK. In addition, you should connect your signal generator to the oscilloscope input so you can display the source and output signals together.

To Test the Operation of Your C6711 DSK

As a test to verify that your Embedded Target for TI C6000 DSP software and C6711 DSK are installed and operating correctly, open and build the Simulink model c6711dsktest. Test model c6711dsktest appears in the figure below.

  1. Enter c6711dsktest at the MATLAB command prompt.
  1. Test model c6711dsktest opens in Simulink.

  1. Select Simulation -> Simulation parameters from the menu bar.
  1. Figure 2-8, Using c6711dsktest to Test Your Embedded Target for TI C6000 DSP Installation, shows the model c6711dsktest with Simulation Parameters selected.

Figure 2-8: Using c6711dsktest to Test Your Embedded Target for TI C6000 DSP Installation

  1. Click Real-Time Workshop in the Simulation Parameters dialog to view the Real-Time Workshop dialog.
  2. Click Build to run the model. Building the model provides a comprehensive test of the build, download, and run processes in the Embedded Target for TI C6000 DSP.
  1. MATLAB returns a lengthy series of messages in the command window, starting with

    If c6711dsktest.mdl builds, compiles, and downloads to the C6711 DSK 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 C6711 DSK. 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 the C6711 DSK and watching to see that the output changes to match by changing the amplitude modulation.

Error Message While Building c6711dsktest

If you receive an error message from the build and compile process, your board or the software may not be configured correctly. Reinstall the board and review the configurations listed in section Configuring Your C6711 DSK. 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 the C6711 DSK immediately.

Verifying That c6711dsktest 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 the C6711 DSK. On the oscilloscope display, you should see the sine wave input from the signal generator, and the amplitude-modulated sine wave output from the C6711 DSK. If you change the frequency of the sine wave input, you should see the change on the oscilloscope, in the input and output traces.

Starting and Stopping c6711dsktest.mdl on the C6711 DSK

When you build and download the model c6711dsktest.mdl to your C6711 DSK, 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 c6711dsktest.mdl. To run c6711dsktest.mdl on the starter kit, you open the Simulink model and click Build on the Real-Time Workshop pane to rebuild the machine executable and download the new executable to the board. Building and downloading the new executable starts the process running on the C6711 DSK.

Once your application is running on your target, stop the process by one of the following methods:


  Confirming Your C6711 DSK Installation C6711 DSK Tutorial 2-3--Single Rate Application