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.

[参考译文] AM2434:AM243x-LP

Guru**** 2391415 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1508607/am2434-am243x-lp

器件型号:AM2434

工具/软件:

您好!

关于电机控制 SDK 以及其中包含的 SDK、我看到这两个函数:  
EC_API_SLV_cbRegisterUserApplicationRun ()
EC_API_SLV_cbRegisterUserApplicationMainLoop ()

请参阅: https://software-dl.ti.com/processor-industrial-sw/esd/ind_comms_sdk/am243x/09_02_00_24/docs/am243x/ethercat_slave/group___e_c___a_p_i___s_l_v___s_s_c_gac0d2d5da054bfd38ecdc08b4848f4302.html#gac0d2d5da054bfd38ecdc08b4848f4302。

区别是什么?  

回调是由 PDI 中断、sync0信号还是 sync1信号触发?  

此致、

金龙

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

    您好、金龙、

    使用  EC_API_SLV_cbRegisterUserApplicationRun ()注册的 API 由 PDI 中断和 Sync 0信号触发,该信号根据用户应用程序处理过程数据。 使用 EC_API_SLV_cbRegisterUserApplicationMainLoop ()注册的 API 由循环任务 EC_SLV_APP_SS_loopTask  ()触发。

    此致、