Embedded Coder and C2000 PIL or External
显示 更早的评论
Hi,
I hava a Simulink-Model containing some Sensor-Calibration, Calculation and PID-Controlers and am currently compiling it for my TI F28335 DSP. I get the *.out-File and run it on my DSP. That is working fine.
Now I would like to tune the parameters and see the variables in real time. I think the term for this is "Hardware in the loop". I have installed various versions of Matlab, CCS, CGT and Bios. I am not completely sure which combination is best but it seems that R2016a and CCS6 can work together.
I also would like to know: What are the differences between SiL, PiL and external mode? Which one is best for my application?
Can I use my JTAG-Connection on the XDS100v2-Debug-Probe or do I have to connect via SCI?
Thank you very much in advance!
回答(2 个)
Antonin
2017-10-12
1 个投票
Hi Martin,
External mode is what you are looking for. It is supported over serial and CAN on the C2000 processors. Here is a detailed example on how to get started:
Make sure that you have a proper serial connection in place, these pages can help you establish your serial communication:
I hope it helps,
Antonin.
2 个评论
ashwinee jadhao
2019-2-20
I want to use CAN communication. Please help me
文浩 朱
2021-3-18
Set the four pin pins of boot to SCI inF28335?choose GPIO28/29?
Martin Grüterich
2017-10-12
3 个评论
Michael Schroth
2017-11-29
编辑:Michael Schroth
2017-11-29
Hi Martin,
i know this answer is a bit late but i got the same problem today and maybe someone else needs the solution too.
Did you set your Simulation stop time to inf? In my case the Simulation stop time was set to 10 seconds and it seems that it started to count down although it wasn't even connected to the board. When it was ready to connect, the Simulation stop time already was over and i got the same error-message as you did. So i set the Simulation Stop time to inf, then it worked.
Best regards, Michael
Martin Grüterich
2017-11-29
文浩 朱
2021-3-18
Set the four pin pins of boot to SCI inF28335?choose GPIO28/29?
类别
在 帮助中心 和 File Exchange 中查找有关 Texas Instruments C2000 Processors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!