| Contents | Index |
| On this page… |
|---|
The "Working with Texas Instruments C6000 Processors" section of the User's Guide contains some references to the IDE Automation Interface and IDE Project Generator components. Embedded Coder supports these two components with Code Composer Studio 3.3 (CCSv3). Embedded Coder does not support these components with Code Composer Studio 4 (CCSv4).
For more information about Embedded Coder support for CCSv3 and CCSv4, see Working with Texas Instruments Code Composer Studio 3.3 IDE and see Working with Texas Instruments Code Composer Studio 4 IDE.
Use Embedded Coder to deploy generated code for real-time execution on embedded microprocessors, microcontrollers, and DSPs. Using Embedded Coder, you can integrate peripheral devices with the algorithms created using MATLAB function blocks, Simulink®, and Stateflow®. You can deploy the resulting executable onto embedded hardware for on-target rapid prototyping, real-time performance analysis, and field production.
This document introduces you to using Embedded Coder software to develop digital signal processing applications for the Texas Instruments C6000 family of DSP development hardware, such as the TI TMS320C6713 DSP Starter Kit. To get the most out of this manual, you should be familiar with MATLAB software and its associated programs, such as DSP System Toolbox software and Simulink software. We do not discuss details of digital signal processor operations and applications, except to introduce concepts related to using specific targets. For more information about digital signal processing, you may find one or more of the following books helpful:
McClellan, J. H., R. W. Schafer, and M. A. Yoder, DSP First: A Multimedia Approach, Prentice Hall, 1998.
Lapsley, P., J. Bier, A. Sholam, and E. A. Lee, DSP Processor Fundamentals Architectures and Features, IEEE® Press, 1997.
Oppenheim, A.V., R. W. Schafer, Discrete-Time Signal Processing, Prentice-Hall, 1989.
Mitra, S. K., Digital Signal Processing — A Computer-Based Approach, The McGraw-Hill Companies, Inc, 1998.
Steiglitz, K, A Digital Signal Processing Primer, Addison-Wesley Publishing Company, 1996.
Refer to the documentation for your TI boards for information about setting them up and using them.
If You Are a New User. New users should read Getting Started, which introduces the Embedded Coder environment—the required software and hardware, installation requirements, and the board configuration settings that you need. You will find descriptions of the blocks associated with the targeting software, and an introduction to the range of digital signal processing applications of which the Embedded Coder is capable.
If You Are an Experienced User. All users should read Targeting C6000 DSP Hardware for information and examples about using the new blocks and build software to target your C6713 DSK. Two example models introduce the targeting software and build files, and give you an idea of the range of applications supported by the Embedded Coder.
To determine whether Embedded Coder software is installed on your system, type this command at the MATLAB prompt.
c6000lib
Entering that command displays the C6000 block library:
To verify that the CCSv3 IDE is installed on your machine, enter ccsboardinfo.
The command line responds with the current board information. For example:
>> ccsboardinfo Board Board Proc Processor Processor Num Name Num Name Type --- ---------------------------------- --- ------------------------------ 0 C6713 Device Cycle Accurate Si ... 0 TMS320C6713 TMS320C6000
With the CCSv3 IDE installed and configured, the command line returns information about the boards that CCSv3 IDE recognizes on your machine, in a form similar to the preceding example.
If the command line does not return information about any boards, revisit your CCSv3 IDE installation and setup in your CCSv3 IDE documentation.
As a final test, launch CCSv3 IDE to verify that it starts up successfully. For the Embedded Coder to operate with this application, the CCSv3 IDE must be able to run on its own.
For detailed information about the software and hardware required to use Embedded Coder software, refer to the Embedded Coder system requirements areas on the MathWorks Web site:
Requirements for Embedded Coder: www.mathworks.com/products/target-package/requirements.html
Requirements for use with TI's C6000: www.mathworks.com/products/target-package/ti-adaptor/
For a list of supported hardware, visit http://www.mathworks.com/products/target-package/supportedio.html.
Consult the System Requirements for Embedded Coder . Only use supported versions of the software listed under "Third-Party Embedded Coder Requirements". Uninstall unsupported versions before installing supported versions. Doing so prevents errors that occur when the Windows Environment Variables points to the unsupported versions.
The System Requirements describe where you can obtain the additional third-party software, and when available, provide links for downloading that software.
Install the software (only the supported versions!) in the following order:
Install the required and optional MathWorks software. (The software license you purchase determines which products are available.)
Install TI Code Composer Studio (CCS).
Install TI Service Release for CCS.
Install the TI Code Generation Tools for you processor.
If you are using a Spectrum Digital board, download and install the matching Spectrum Digital Driver.
Install additional board-specific packages in the order in which they appear on the System Requirements web page.
Configure CCS as follows:
In CCS, open Help > About > Component Manager > Build tools
Open each target processor you will be using and enable the supported version of Code Generation Tools.
Open Help > About > Component Manager > Build Tools > Target Content (DSP/BIOS) .
Open each target processor you will be using and enable the supported version of Texas Instruments DSP/BIOS.
In Component Manager, select Save the changes. Then exit and restart CCS.
If you have a Spectrum Digital DM6437EVM board and or an Avnet S3ADSP DM6437 board, refer to Installing and Configuring the Avnet Board Support Library.
Verify the installation by repeating the instructions in Configuration Information.
![]() | Working with Texas Instruments C6000 Processors | Targeting C6000 DSP Hardware | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |