TMS320F28335: Simulink generates code automatically

45 ビュー (過去 30 日間)
big Min
big Min 2019 年 12 月 9 日
コメント済み: big Min 2019 年 12 月 10 日
有没有在Simulink下构建DSP28335模型的例程?您能提供下载路径吗?非常感谢你。

採用された回答

Pemendra Kumar Pardhi
Pemendra Kumar Pardhi 2019 年 12 月 9 日
Dear Big Min,
For DSP kit(TMC320F28335) interfacinng with matlab, You need to do following steps:-
  1. Go to the add on and add > Get Target Hardware support Pakage> Download C2000 Support Pakage.
  2. Follow the steps for downloading
  3. Code composer Studio
  4. Instal the control suit
  5. Draw the simulink model
  6. Go on the model configuration parameter
  7. In side the Model Configuration Parameter Pane select select hartware implemantation
  8. In External Mode select COM Port
  9. For COM Chaking The COM portt Go on this PC>Computer> Manage>Device Manager> Check Port
I this it will be helpfull for you
Pemendra Kumar Pardhi
  1 件のコメント
big Min
big Min 2019 年 12 月 9 日
Thank you for your reply. I have built the DSP28335 code automatically generated based on Simulink. But I want to learn more. For example, build a buck voltage and current closed-loop circuit under Simulink, and directly generate code to write to DSP28335. Where can I download the simulation model routine of DSP28335? Looking forward to it!

サインインしてコメントする。

その他の回答 (1 件)

Pemendra Kumar Pardhi
Pemendra Kumar Pardhi 2019 年 12 月 9 日
Dear Min,
For This,
You have to required Two sumulation model, first one is control model and second one is host model.
  1. For Close Loop Control Model:-use the ADC from embeded support library for taken the feedback current or voltage(according your control approch) into the control model.
  2. For regulate the voltage or current, creat a new model(host model). For this watch following link
  3. https://in.mathworks.com/videos/developing-solar-inverter-control-with-simulink-part-3-designing-the-mppt-algorithm-and-generating-production-code-for-the-ti-c2000-microcontroller-1554990116706.html
  4. Watch part1,part 2 and part 3
  5. Also refer following link : https://in.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/photovoltaic-inverter-mppt-solar-explorer-kit.html?s_tid=answers_rc2-1_p4_Topic
  6. From host model you can regulate voltage or current of buck regulator.
  1 件のコメント
big Min
big Min 2019 年 12 月 10 日
Thank you very much.

サインインしてコメントする。

コミュニティ

カテゴリ

Help Center および File ExchangeEmbedded Coder 支持的硬件 についてさらに検索

Community Treasure Hunt

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

Start Hunting!