Dear fellow engineer,
How to insert code that access TMS570 peripheral from Simulink PIL simulation?
Best Regards.
Dzoelham
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear fellow engineer,
How to insert code that access TMS570 peripheral from Simulink PIL simulation?
Best Regards.
Dzoelham
Dzoelham,
PIL is normally used for verification of an algorithm (numerical equivalence w. simulink). The simulation isn't run in realtime. We haven't gotten as far as implementing any of the other simulation modes yet; and I think those modes are the ones that generally use peripherals. I've heard from Mathworks that they have been able help a customer use the Legacy Code Tool to integrate C functions from HalCoGen, but haven't tried this myself and don't know what to do other than point you to their doc. for this tool.
Would be interested in hearing your results if you try this.