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!