Someone can help me please, I have an error when I try to use PWM7

1 view (last 30 days)
Hello,
I have a problem with Simulink, I want use 16 PWM for my application with the F28M36P63C2. So when I use PWM 1 to 6 no problem the Simulink build an out file, and I import this file with Code Composer ... ok Howerver when I use the next PWM ie 7 and 8 I have an error and the file cannot build.
error message :
** _* * * *_ *### Invoking Target Language Compiler on Sinus_.rtw
### Using System Target File: C:\Program Files\MATLAB\R2014b\rtw\c\ert\ert.tlc
### Loading TLC function libraries
Warning: The data type "int8" uses a word size that is not available on the intended target.
Fixed-point signals using this data type will be put inside a larger word or multi words. When used,
extra software will be generated to force this larger word or multi words to emulate a smaller
word. This emulation is helpful when your prototype target and your final
production target are not the same. If the smaller word size does NOT exist
on the final production target, then consider increasing the word size to
one that is supported.
Warning: The data type "uint8" uses a word size that is not available on the intended target.
Warning: The data type "boolean" uses a word size that is not available on the intended target.
### Initial pass through model to cache user defined code
### Caching model source code
Error: Inside: EXPRESSION Line: 1 Column: 88
File: C:\Program Files\MATLAB\R2014b\toolbox\idelink\extensions\ticcs\c2000\csl_c280x_pwm.tlc Line: 96 Column: 31
syntax error
Main program:
==> [00] C:\Program Files\MATLAB\R2014b\toolbox\idelink\extensions\ticcs\c2000\csl_c280x_pwm.tlc:render_config_PWM_CFuns(96)
[01] C:\Program Files\MATLAB\R2014b\toolbox\idelink\extensions\ticcs\c2000\ti_c280x_csl.tlc:<NONE>(247)
[02] C:\Program Files\MATLAB\R2014b\rtw\c\tlc\mw\formatwide.tlc:<NONE>(493)
Error: Inside: EXPRESSION Line: 1 Column: 88
File: C:\Program Files\MATLAB\R2014b\toolbox\idelink\extensions\ticcs\c2000\csl_c280x_pwm.tlc Line: 97 Column: 31
syntax error
Main program:
==> [00] C:\Program Files\MATLAB\R2014b\toolbox\idelink\extensions\ticcs\c2000\csl_c280x_pwm.tlc:render_config_PWM_CFuns(97)
[01] C:\Program Files\MATLAB\R2014b\toolbox\idelink\extensions\ticcs\c2000\ti_c280x_csl.tlc:<NONE>(247)
[02] C:\Program Files\MATLAB\R2014b\rtw\c\tlc\mw\formatwide.tlc:<NONE>(493)
### Writing header file Sinus_.h
### Writing header file Sinus__types.h
### Writing header file rtwtypes.h
### Writing source file Sinus_.c
### Writing header file Sinus__private.h
### Writing source file Sinus__data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete.
### Build procedure for model: 'Sinus_' aborted due to an error.
Error: Errors occurred - a *borting
Component: Simulink | Category: Block er* ror* _* * * *_ **
ps: sorry for my bad english

Answers (0)

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!