Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
From this Real-Time Workshop category you select your specific C6000 family target using the Code generation target type
option:
One feature of this pane lets you direct the Embedded Target for TI C6000 DSP to determine your target for you. When you choose Automatic
for the Board and processor selection method, the Embedded Target for TI C6000 DSP runs ccsboardinfo
when you open the Simulation Parameters dialog. ccsboardinfo
determines what boards you have set up in CCS. If you have a board of the type you selected in Code generation target type
, the Embedded Target for TI C6000 DSP identifies the board, reports the board name and processor number in this dialog, and uses that board as your target.
With the Automatic
method selected for a Simulink model, each time you launch the Simulation Parameters dialog from the model, the board selection process searches for a board of the type you selected in Code generation target type
. You can prevent this search by switching to Manual
for the selection method.
Selecting Manual
enables the Board name and Processor number options in the pane. Select your board and processor manually when these options are available. If you are not sure about which boards and processors you have, run ccsboardinfo
at the MATLAB prompt to see which boards are installed and recognized in CCS. When you have more than one board of a type, such as two C6701 EVM boards, you may need to use the manual selection option to target the correct board. In the Automatic
selection mode, the Embedded Target for TI C6000 DSP targets the first instance of the selected target type.
Simulators do not work in the Automatic
mode. If you use simulators, the target search does not work and returns an error like the following.
To avoid this error, set the Board and processor selection method for the model to Manual
when you do not have actual boards as targets.
Export CCS Handle to MATLAB Base Workspace
When you use Real-Time Workshop to build a model to a C6000 target, Embedded Target for TI C6000 DSP makes a link between MATLAB and CCS. If you have used the link portion of the Embedded Target for TI C6000 DSP, you are familiar with function ccsdsp
, which creates links between the IDE and MATLAB. This option refers to the same link, called cc
in the function reference pages. Although MATLAB to CCS is a link, what it really is is a handle to an object that contains information about the object, such as the target board and processor it accesses. In this pane, the Export handle to MATLAB base workspace checkbox lets you instruct the Embedded Target for TI C6000 DSP to export the link to your MATLAB work space, giving it the name you assign in CCS handle name.
After you build your model with the Export handle to MATLAB base workspace option selected, you see the CCS object in your MATLAB workspace browser with the name you provided and class type ccsdsp
.
![]() | General Code Generation Category Options | TI C6000 Code Generation Options | ![]() |