What is the best methode for deploying the Code from Simulink model to TI C2000 MCU?

7 views (last 30 days)
Hi.
I am using Texas Instrument TIC2000 MCU for my application and I am confused about a bit for a while. I have a Simulink model for my application and now I want to deploy the Simulink model from Simulink to MCU. As far as I know, there are two options for that. One is Matlab embedded coder and the second is CCS(TI Code Composer Studio) bare metal. I have seen a few posts about Matlab embedded coder and They said that It's not fully efficient for big models.(ie. unnecessary long codes, and inefficient register management etc.) What is your suggestion about that issue? Is there anyone who tried to deploy the model with both these two options?
  2 Comments
Venkatesh Chilapur
Venkatesh Chilapur on 7 Oct 2020
Edited: Venkatesh Chilapur on 7 Oct 2020
Hi Kadir Dogan,
When trying MATLAB Embedded coder if you experience any issue then you can contact our support:
Please note this code generation for C2000 is used by many customers and some have done realtime execution profiling with good results.
Our C2000 support package has options for doing profiling, you should checkout the documentation for more information.
Please check this page as a starting point.
As an example of the efficiency of the generated code checkout the DC DC converter example which runs the PI controller at 200KHz.
Regards,
Venkatesh C

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!