Real Time Parameter Tuning in the target F28335(Experimenter Kit) using Matlab Simulink 2013b and CCS version 5.
2 ビュー (過去 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!
0 件のコメント
回答 (2 件)
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:
http://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/set-up-the-hardware-target.html I hope this helps, Thanks,
Antonin.
0 件のコメント
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
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!