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.

[参考译文] LP-AM243:LP-AM243

Guru**** 2402105 points
Other Parts Discussed in Thread: BP-AM2BLDCSERVO

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1507320/lp-am243-lp-am243

器件型号:LP-AM243
Thread 中讨论的其他器件:BP-AM2BLDCSERVO

工具/软件:

您好、

我有 BP-AM2BLDCSERVO 和 AM243x LaunchPad。  我修改了代码"C:\ti\motor_control_sdk_am243x_09_02_00_09\examples\tidep_01032_dual_motor_drive\single_chip_servo\am243x-lp\r5fss0-1_nortos"、而不是 使用 endat 编码器、  我使用了不同的 伺服电机(4极对)、它工作正常。 我的问题 与"pruEncoderIrqHandler"有关。  此例程的周期时间与"SD 时钟的值"有关、对吗?

/*测试 Sdfm 参数*/
SdfmPrms gTestSdfmPrms ={
300000000、/* IEP 时钟*/的值
20000000、/* SD 时钟的值(应与 SD 时钟值完全相等)*/

...

...}

  "pruEncoderIrqHandler"例程和 PWM 周期时间之间是否存在系统化? 如果是、您能解释一下吗?

此致、

Vedat