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.

[参考译文] 2MTR-DYNO:FCL 379XL 示例代码

Guru**** 2558250 points
Other Parts Discussed in Thread: 2MTR-DYNO, SFRA

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/800755/2mtr-dyno-fcl-379xl-sample-code

器件型号:2MTR-DYNO
主题中讨论的其他器件:SFRA

您好!

我有一个2MTR-DYNO 评估套件、我对代码进行了实验。

我注意到、在编码外设的初始化中、在第332行的"FCL_SFRA_XL_DualServo.c"中、最大值的初始化存在错误:

V->QepRegs->QPOSMAX = 4 *(v->QEP).LineEncoder; 

我认为最大值应减少1,如中所示:

V->QepRegs->QPOSMAX = 4 *(v->QEP).LineEncoder - 1; 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我同意您的更正。 感谢您报告此问题。

    惠特尼