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/TMDSHVMTRINSPIN:lab2b 中的更新格式有问题

Guru**** 2454880 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/784118/ccs-tmdshvmtrinspin-problem-with-format-of-update-in-lab2b

器件型号:TMDSHVMTRINSPIN

工具/软件:Code Composer Studio

红色标记的值未正确更新、之前的实例中、我可以将电阻读出为5.2欧姆、L 和 V/F 读出类似的正确值。 但在这里、它们的格式对我来说是可以理解的。  

如何纠正它。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您是否在 user.h 中定义或设置了正确的电机? 您是否更改了"gMotorVars"的定义并删除了"volatile"? 无法从定义中删除"易失性"。
    如果不是以上全部、请断开仿真、右键单击项目、首先单击"清理项目"、然后重新加载/调试项目。