Embedded Coder and C2000 PIL or External
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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!
0 Kommentare
Antworten (2)
Antonin
am 12 Okt. 2017
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 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!