TMS320F28335: Simulink generates code automatically

조회 수: 43 (최근 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.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Embedded Coder 支持的硬件에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!