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.

[参考译文] LAUNCHXL-F28069M:位置规划错误

Guru**** 2595780 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/669252/launchxl-f28069m-position-plan-error

器件型号:LAUNCHXL-F28069M

大家好、

我的客户在基于 lab13b 的自定义项目中遇到以下错误。

PosPlanErrorID = 3020

PosPlanCfgErrorCode = 20

此错误的原因是什么、客户在哪里进行检查?

我检查了以下手册、但无法理解。

http://www.ti.com/lit/ug/spruhj1g/spruhj1g.pdf

此致、

Sasaki

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    为了获得这两个错误、调用了哪些函数? 在 lab13b 项目中、应调用以下3个函数、

    //获取位置控制器错误
    gMotorVars.SpinTAC.PosCtlErrorID = STPOSCTL_getErrorID (stObj->posCtlHandle);

    //获取位置移动错误
    gMotorVars.SpinTAC.PosMoveErrorID = STPOSMOVE_getErrorID (stObj->posMoveHandle);

    //获取位置转换器错误
    gMotorVars.SpinTAC.PosConvErrorID = STPOSCONV_getErrorID (stObj->posConvHandle);

    客户可以根据错误 ID、如下所示更改这3个函数的 spintac_position.h 中的设置参数。
    //设置 SpinTAC 组件
    ST_setupPosConv (stHandle);
    ST_setupPosCtl (stHandle);
    ST_setupPosMove (stHandle);
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    感谢您的支持。
    我将进行检查。