Generating C code from a Matlab-Simulink model for DSP C6748

3 views (last 30 days)
I'm trying to generate C code from a Matlab-Simulink simple model (eg.: sine wave generator with a DAC at the output). This code must be executed with Code Composer Studio for TMS320C6748 DSP (Texas Instrument C6748). Specifically, for the development board OMAP-L138 ZOOM ™EVM DEVELOPMENT KIT.
For this, I am using the following versions: Simulink (Version 7.7 - R2011a) Embedded Coder (Version 6.0 - R2011a) Code Composer Studio v3.3
I tried several options (with generic modules in Simulink and programming the C6748 timers, configuring a module "Target Preferences" with "OMAP_L138/C6748 EVM"...) but it isn't working.
Is it possible to implement this idea? Is there an example working?
Thanks
  4 Comments
Kaustubha Govind
Kaustubha Govind on 21 Jun 2011
Perhaps your CCS is not configured properly for C6748? Look at the instructions for C6713 at http://www.mathworks.com/help/toolbox/ecoder/ug/f3-22315.html#f3-23316 and see if you can reproduce them similarly for C6748.
Sai Surya Kumar Dontabhaktuni
I am also getting these errors.. I tried this example, but I get this error: "No suitable replacement found for processor 'OMAPL138' set currently in the Target Preferences block. Delete the current Target Preferences block and add a new one"

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!