TMS320F28335: Simulink generates code automatically

42 visualizzazioni (ultimi 30 giorni)
有没有在Simulink下构建DSP28335模型的例程?您能提供下载路径吗?非常感谢你。

Risposta accettata

Pemendra Kumar Pardhi
Pemendra Kumar Pardhi il 9 Dic 2019
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 Commento
big Min
big Min il 9 Dic 2019
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!

Accedi per commentare.

Più risposte (1)

Pemendra Kumar Pardhi
Pemendra Kumar Pardhi il 9 Dic 2019
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.

Community

Più risposte nel  Power Electronics Control

Categorie

Scopri di più su Embedded Coder 支持的硬件 in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!