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.

[参考译文] 编译器/TMS320F28377D:在线计算 F28377 CLA 中的 CLAsin ()是正确的。 在离线模式下、输出数据始终为零? ? ?

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/700102/compiler-tms320f28377d-calculating-clasin-in-the-cla-of-f28377-is-correct-online-in-the-offline-the-output-data-is-always-zero

器件型号:TMS320F28377D

工具/软件:TI C/C++编译器

当仿真器被连接(单步或全速)时,CLAsin()是正确的。但是在离线后,CLAsin()的输出总是0 (CLAsin()值被发送到 C28内核并再次显示);
非常感谢!

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

    请解释您的意思是"离线后"。

    这可能是由于 CLA 没有访问您尝试计算 sin 的值的权限。 确保 CLA 能够访问 CLA 数据 RAM 或 CPUtoCLA 消息 RAM 中的值。 后者在 CLA 数学库示例中进行了演示。

    此致、
    SAL