Real Time Parameter Tuning in the target F28335(Experimenter Kit) using Matlab Simulink 2013b and CCS version 5.

1 次查看(过去 30 天)
I have created my model in Matlab Simulink using Texas instrument C2000 processor supported blocks. The code runs perfectly with CCS version 5. Now i want to tune 3 parameters in real time(vary the value in real time). From the examples provided by matlab, it seems like it is possible with CAN. But unfortunately, i do not have any CAN hardware http://vector.com/vi_vn1600_en.html to perform it. Are there any alternative methods to achieve this task?
Thanks in advance!

回答(2 个)

Antonin
Antonin 2015-11-26
Hi Sam, Starting in MATLAB release R2015a, External mode is supported via a serial connection with the target. You can use the serial over USB connection that is present with most controlCARDs and launchpads to do so. Here is a link to a shipping example that explains the workflow:
Here is a link to the documentation chapter for External Mode:
And here is a helper link to setup serial connections with controlCARDs:
Antonin.

Kamal Joshi
Kamal Joshi 2015-11-26
Hi Antonin,
Is it possible to have communication setup through SCI so whenever in the field one can just plug a simple USB cable and use the hyperterminal to modify certain parameters in the code ?
Please advise.
Thank you, Kamal Joshi
  1 个评论
Antonin
Antonin 2015-11-27
Hi Kamal,
You can implement this using the SCI block. If you need "printf" capabilities, you can get it from a MATLAB function block in your Simulink model, that is compatible with code generation. It's not too hard to do. Careful with printf as it eats quite a bit of memory.
I hope it helps, Antonin.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by