Embedded Coder and C2000 PIL or External
Mostrar comentarios más antiguos
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!
Respuestas (2)
Antonin
el 12 de Oct. de 2017
1 voto
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 comentarios
ashwinee jadhao
el 20 de Feb. de 2019
I want to use CAN communication. Please help me
文浩 朱
el 18 de Mzo. de 2021
Set the four pin pins of boot to SCI inF28335?choose GPIO28/29?
Martin Grüterich
el 12 de Oct. de 2017
3 comentarios
Michael Schroth
el 29 de Nov. de 2017
Editada: Michael Schroth
el 29 de Nov. de 2017
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
el 29 de Nov. de 2017
文浩 朱
el 18 de Mzo. de 2021
Set the four pin pins of boot to SCI inF28335?choose GPIO28/29?
Categorías
Más información sobre Texas Instruments C2000 Processors en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!