Other Parts Discussed in Thread: TMS320F28335
Hi, this is my first post. I use Matlab, CCS v3 with TMS320F28335 Experimenter Kit and it works fine for some models.
Now I want to make a simple model which will call interrupt (XINT1) when I push the button which is connected at the pin GPIO15.
I create the model in the Matlab like in the picture:
The Hardware Interrupt parameters are:
CPU interrupt numbers: [1]
PIE interrupt numbers: [4]
Simulink task priorities: [30]
Preemption flags: preemptible -1, non-preemptible -0 [0]
This parameters is for XINT1.
Then in the target preferences (Custom board) I want to enable DMA_ch1, like in the next picture:
But, whatever value I put in the above parameters I got the same error:
| Error: File: C:\Program
Files\MATLAB\R2010a\toolbox\idelink\extensions\ticcs\C2000\ti_c280x_csl.tlc
Line: 2886 Column: 8 The - operator only works on numeric arguments Error: File: C:\Program Files\MATLAB\R2010a\toolbox\idelink\extensions\ticcs\C2000\ti_c280x_csl.tlc Line: 2889 Column: 8 The - operator only works on numeric arguments Error: File: C:\Program Files\MATLAB\R2010a\toolbox\idelink\extensions\ticcs\C2000\ti_c280x_csl.tlc Line: 2894 Column: 8 The - operator only works on numeric arguments Error: File: C:\Program Files\MATLAB\R2010a\toolbox\idelink\extensions\ticcs\C2000\ti_c280x_csl.tlc Line: 2895 Column: 8 The - operator only works on numeric arguments |
When I open that file, there is:
Line 2886: %assign bsize = %<DMAIRInfo.BurstSize - 1>
Line 2889: %assign tsize = %<DMAIRInfo.TransferSize - 1>
Line 2894: %assign wrapsrcsize = %<DMAIRInfo.WrapSrcSize - 1>
Line 2895: %assign wrapdstsize = %<DMAIRInfo.WrapDstSize - 1>
Can someone tell me what those parameters mean and how to adjust it?

