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.

[参考译文] TMDSHVMTRINSPIN:借助 F28069M MCU、如何将 CMPA:CMHR 值与周期相关联。

Guru**** 2445440 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/730916/tmdshvmtrinspin-with-f28069m-mcu-how-to-relate-cmpa-cmphr-value-with-period

器件型号:TMDSHVMTRINSPIN

所有显示的值均为小数。

我无法理解 为什么 CMPA:CMPAHR 的值为82509824、即 CMPA=8250、CMPAHR=9824、为什么它的值大于 PRD 寄存器的值。

我无法理解 CMPA:CMPAHR 的使用方式。

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

    您可以参阅 F2806x 的 TRM、"CMPA"包括两个寄存器:CMPA 和 CMPAHR、CMPA 等于"CMPA"/2^16、= 82509824/2^16=1259、而不是上面提到的8250、因为该值是十进制值、而不是十六进制值。

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

    谢谢你,罗燕明。