This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/TMS320F28069M:TMS320F28069M

Guru**** 2589300 points
Other Parts Discussed in Thread: C2000WARE

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/665800/ccs-tms320f28069m-tms320f28069m

器件型号:TMS320F28069M
主题中讨论的其他器件:C2000WARE

工具/软件:Code Composer Studio

您好!  

我正在尝试运行一个项目、其中涉及使用 Matlab 为 PI 控制器生成代码、然后在 CLA 上实现该函数。 当在 DSP 上的中断内直接执行该函数时、该函数会正常工作。 使用中断调用函数的操作已经完成、这样我就可以定义控制器被触发的速率。 但是、当我尝试使用 CLA 任务来调用函数时、代码不会生成、这表明 function_name 不存在。 可以通过以某个频率运行的 CLA 任务来调用 CAN 函数。 我使用 ADC 中断触发 CLA 任务、并且在任务内部运行一个计数、这证明代码进入任务、但是一旦我调用控制函数、代码甚至不会生成。 我在这里缺少一些基础知识吗?

Farhan