Embedded Coder and C2000 PIL or External
6 views (last 30 days)
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!
Antonin on 12 Oct 2017
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,