What is the best methode for deploying the Code from Simulink model to TI C2000 MCU?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Venkatesh Chilapur
2020 年 10 月 7 日
編集済み: Venkatesh Chilapur
2020 年 10 月 7 日
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
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!