code generation for DSP

版本 1.0.0 (48.4 KB) 作者: Yifei Sun
use dsp28335 EPWM to generate PWM, use ECAP interrupt to get PWM's frequency and time. You can expand this model base on this simulation.

103.0 次下载

更新时间 2022/11/5

查看许可证

  1. 注意:如果需要直接此版本的开源程序运行的话,必须与我的MATLAB版本与CCS版本保持一致。我的MATLAB版本是2021a,CCS版本是10.1.如果您在使用的过程中与我的版本不一致,很大概率生成的代码是不可用的,且会在CCS中报错误信息。【如果您是第一次使用代码生成,需进行环境的配置】 Note: If the open source program of this version needs to be run directly, it must be consistent with my MATLAB version and CCS version. My version of MATLAB is 2021a, and my version of CCS is 10.1. If you are not consistent with my version in the process of using it, there is a high probability that the generated code will not be available, and an error message will be reported in CCS. [If you are using code generation for the first time, you need to configure the environment]
  2. 警告:本开源软件有一部分是在我的博客中做出相应的解释,并且经过验证的成熟代码,但仍有部分代码未经过验证. Warning: Some of the open source software has been explained in my blog and has been verified as mature code, but some of the code has not been verified
  3. 使用说明(以文件Project_ECAP为例,我将会在这里详细描述如何使用 )Instructions (Take the file Project_ECAP as an example, and I will describe how to use it in detail here)
  4. 在D盘新建文件夹matlab_workspace->新建文件夹 Project_ECAPCreate a new folder matlab in disk D_ Workspace ->New Folder Project_ ECAP
  5. 右键包含该文件夹【这个文件夹之后会生成工程代码】 Right click to include the folder [This folder will generate project code]
  6. 双击进入,导入Project_ECAP.slx Double click to import Project_ ECAP.slx
  7. 找到空白地方,右键 Find the blank space, right click
  8. 你需要对这个地方做一些修改 You need to make some changes to this place
  9. 点击build,已经成功生成,并弹出报告 Click build, and the report has been successfully generated
  10. 用CCS打开即可 Using CCS open this project
  1. POWERED BY SUN YIFEI LI ZIHENG
  2. POWERED BY ZHAO PEIQI

引用格式

Yifei Sun (2023). code generation for DSP (https://www.mathworks.com/matlabcentral/fileexchange/120053-code-generation-for-dsp), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0