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

조회 수: 3 (최근 30일)
Juanma
Juanma 2011년 6월 20일
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
Kaustubha Govind
Kaustubha Govind 2011년 6월 21일
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
Sai Surya Kumar Dontabhaktuni 2017년 8월 2일
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"

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by